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 LDFLAGS_NEW_DTAGS 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 KDE_CHECK_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL KDE_USE_FPIE KDE_USE_PIE include_x11_TRUE include_x11_FALSE 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_KDED LIB_KDECORE LIB_KDEUI LIB_KIO LIB_KJS LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KIMPROXY LIB_KNEWSTUFF LIB_KDNSSD LIB_KUNITTEST LIB_KSYCOCA LIB_KFILE LIB_KFM TOPSUBDIRS LIBOBJS LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version
=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name
=s
,x
,x
,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir
='${exec_prefix}/bin'
496 sbindir
='${exec_prefix}/sbin'
497 libexecdir
='${exec_prefix}/libexec'
498 datadir
='${prefix}/share'
499 sysconfdir
='${prefix}/etc'
500 sharedstatedir
='${prefix}/com'
501 localstatedir
='${prefix}/var'
502 libdir
='${exec_prefix}/lib'
503 includedir
='${prefix}/include'
504 oldincludedir
='/usr/include'
505 infodir
='${prefix}/info'
506 mandir
='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
526 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
529 -build |
--build |
--buil |
--bui |
--bu)
530 ac_prev
=build_alias
;;
531 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
532 build_alias
=$ac_optarg ;;
534 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
535 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
536 ac_prev
=cache_file
;;
537 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
538 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
539 cache_file
=$ac_optarg ;;
542 cache_file
=config.cache
;;
544 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
546 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
548 datadir
=$ac_optarg ;;
550 -disable-* |
--disable-*)
551 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* |
--enable-*)
560 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
573 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
574 |
--exec |
--exe |
--ex)
575 ac_prev
=exec_prefix
;;
576 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
577 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
578 |
--exec=* |
--exe=* |
--ex=*)
579 exec_prefix
=$ac_optarg ;;
581 -gas |
--gas |
--ga |
--g)
582 # Obsolete; use --with-gas.
585 -help |
--help |
--hel |
--he |
-h)
587 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
588 ac_init_help
=recursive
;;
589 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
590 ac_init_help
=short
;;
592 -host |
--host |
--hos |
--ho)
593 ac_prev
=host_alias
;;
594 -host=* |
--host=* |
--hos=* |
--ho=*)
595 host_alias
=$ac_optarg ;;
597 -includedir |
--includedir |
--includedi |
--included |
--include \
598 |
--includ |
--inclu |
--incl |
--inc)
599 ac_prev
=includedir
;;
600 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
601 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
602 includedir
=$ac_optarg ;;
604 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
606 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
607 infodir
=$ac_optarg ;;
609 -libdir |
--libdir |
--libdi |
--libd)
611 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
614 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
615 |
--libexe |
--libex |
--libe)
616 ac_prev
=libexecdir
;;
617 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
618 |
--libexe=* |
--libex=* |
--libe=*)
619 libexecdir
=$ac_optarg ;;
621 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
622 |
--localstate |
--localstat |
--localsta |
--localst \
623 |
--locals |
--local |
--loca |
--loc |
--lo)
624 ac_prev
=localstatedir
;;
625 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
626 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
627 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
628 localstatedir
=$ac_optarg ;;
630 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
632 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
636 # Obsolete; use --without-fp.
639 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
640 |
--no-cr |
--no-c |
-n)
643 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
644 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
647 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
648 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
649 |
--oldin |
--oldi |
--old |
--ol |
--o)
650 ac_prev
=oldincludedir
;;
651 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
652 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
653 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
654 oldincludedir
=$ac_optarg ;;
656 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
658 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
661 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
662 |
--program-pre |
--program-pr |
--program-p)
663 ac_prev
=program_prefix
;;
664 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
665 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
666 program_prefix
=$ac_optarg ;;
668 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
669 |
--program-suf |
--program-su |
--program-s)
670 ac_prev
=program_suffix
;;
671 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
672 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
673 program_suffix
=$ac_optarg ;;
675 -program-transform-name |
--program-transform-name \
676 |
--program-transform-nam |
--program-transform-na \
677 |
--program-transform-n |
--program-transform- \
678 |
--program-transform |
--program-transfor \
679 |
--program-transfo |
--program-transf \
680 |
--program-trans |
--program-tran \
681 |
--progr-tra |
--program-tr |
--program-t)
682 ac_prev
=program_transform_name
;;
683 -program-transform-name=* |
--program-transform-name=* \
684 |
--program-transform-nam=* |
--program-transform-na=* \
685 |
--program-transform-n=* |
--program-transform-=* \
686 |
--program-transform=* |
--program-transfor=* \
687 |
--program-transfo=* |
--program-transf=* \
688 |
--program-trans=* |
--program-tran=* \
689 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
690 program_transform_name
=$ac_optarg ;;
692 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
693 |
-silent |
--silent |
--silen |
--sile |
--sil)
696 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
698 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
700 sbindir
=$ac_optarg ;;
702 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
703 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
704 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
706 ac_prev
=sharedstatedir
;;
707 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
708 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
709 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
711 sharedstatedir
=$ac_optarg ;;
713 -site |
--site |
--sit)
715 -site=* |
--site=* |
--sit=*)
718 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
720 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
723 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
724 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
725 ac_prev
=sysconfdir
;;
726 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
727 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
728 sysconfdir
=$ac_optarg ;;
730 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
731 ac_prev
=target_alias
;;
732 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
733 target_alias
=$ac_optarg ;;
735 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
738 -version |
--version |
--versio |
--versi |
--vers |
-V)
742 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package
=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* |
--without-*)
755 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package
=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
768 |
--x-incl |
--x-inc |
--x-in |
--x-i)
769 ac_prev
=x_includes
;;
770 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
771 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
772 x_includes
=$ac_optarg ;;
774 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
775 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
776 ac_prev
=x_libraries
;;
777 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
778 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
779 x_libraries
=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var
in exec_prefix prefix
816 eval ac_val
=$
`echo $ac_var`
818 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val
=$
`echo $ac_var`
830 [\\/$
]* | ?
:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x
; then
845 if test "x$build_alias" = x
; then
846 cross_compiling
=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
857 test "$silent" = yes && exec 6>/dev
/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted
=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir
=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted
=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set
=${build_alias+set}
897 ac_env_build_alias_value
=$build_alias
898 ac_cv_env_build_alias_set
=${build_alias+set}
899 ac_cv_env_build_alias_value
=$build_alias
900 ac_env_host_alias_set
=${host_alias+set}
901 ac_env_host_alias_value
=$host_alias
902 ac_cv_env_host_alias_set
=${host_alias+set}
903 ac_cv_env_host_alias_value
=$host_alias
904 ac_env_target_alias_set
=${target_alias+set}
905 ac_env_target_alias_value
=$target_alias
906 ac_cv_env_target_alias_set
=${target_alias+set}
907 ac_cv_env_target_alias_value
=$target_alias
908 ac_env_CC_set
=${CC+set}
910 ac_cv_env_CC_set
=${CC+set}
911 ac_cv_env_CC_value
=$CC
912 ac_env_CFLAGS_set
=${CFLAGS+set}
913 ac_env_CFLAGS_value
=$CFLAGS
914 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
915 ac_cv_env_CFLAGS_value
=$CFLAGS
916 ac_env_LDFLAGS_set
=${LDFLAGS+set}
917 ac_env_LDFLAGS_value
=$LDFLAGS
918 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value
=$LDFLAGS
920 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value
=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_env_CPP_set
=${CPP+set}
925 ac_env_CPP_value
=$CPP
926 ac_cv_env_CPP_set
=${CPP+set}
927 ac_cv_env_CPP_value
=$CPP
928 ac_env_CXX_set
=${CXX+set}
929 ac_env_CXX_value
=$CXX
930 ac_cv_env_CXX_set
=${CXX+set}
931 ac_cv_env_CXX_value
=$CXX
932 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
933 ac_env_CXXFLAGS_value
=$CXXFLAGS
934 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
935 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
936 ac_env_CXXCPP_set
=${CXXCPP+set}
937 ac_env_CXXCPP_value
=$CXXCPP
938 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value
=$CXXCPP
940 ac_env_F77_set
=${F77+set}
941 ac_env_F77_value
=$F77
942 ac_cv_env_F77_set
=${F77+set}
943 ac_cv_env_F77_value
=$F77
944 ac_env_FFLAGS_set
=${FFLAGS+set}
945 ac_env_FFLAGS_value
=$FFLAGS
946 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value
=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures this package to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --program-prefix=PREFIX prepend PREFIX to installed program names
1011 --program-suffix=SUFFIX append SUFFIX to installed program names
1012 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1015 --build=BUILD configure
for building on BUILD
[guessed
]
1016 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1017 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1021 if test -n "$ac_init_help"; then
1026 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1027 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1028 --disable-fast-perl disable fast Makefile generation
(needs perl
)
1029 --enable-debug=ARG enables debug symbols
(yes|no|full
) default
=no
1030 --disable-debug disables debug output and debug symbols default
=no
1031 --enable-strict compiles with strict compiler options
(may not
1033 --disable-warnings disables compilation with
-Wall and 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 --enable-coverage use gcc coverage testing
1040 --enable-new-ldflags enable the new linker flags
1041 --enable-final build size optimized apps
(experimental
- needs lots
1043 --enable-closure delay template instantiation
1044 --enable-nmcheck enable automatic namespace cleanness check
1045 --enable-shared[=PKGS
]
1046 build shared libraries
[default
=yes]
1047 --enable-static[=PKGS
]
1048 build static libraries
[default
=no
]
1049 --enable-libsuffix /lib directory suffix
(64,32,none
,auto
=default
)
1050 --enable-fast-install[=PKGS
]
1051 optimize
for fast installation
[default
=yes]
1052 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1053 --enable-pie platform supports PIE linking default
=detect
1054 --enable-embedded link to Qt-embedded
, don
't use X
1055 --enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1056 --enable-mac link to Qt/Mac (don't use X
)
1057 --disable-mt link to non-threaded Qt
(deprecated
)
1058 --disable-threading disables threading even
if libpthread found
1059 --disable-rpath do not use the rpath feature of ld
1060 --disable-path-check don
't try to find out, where to install
1063 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1064 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1065 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1066 --with-pic try to use only PIC/non-PIC objects [default=use
1069 include additional configurations [automatic]
1070 --with-extra-includes=DIR
1071 adds non standard include paths
1072 --with-extra-libs=DIR adds non standard library paths
1073 --with-qt-dir=DIR where the root of Qt is installed
1074 --with-qt-includes=DIR where the Qt includes are.
1075 --with-qt-libraries=DIR where the Qt library is installed.
1076 --without-arts build without aRts default=no
1078 Some influential environment variables:
1079 CC C compiler command
1080 CFLAGS C compiler flags
1081 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1082 nonstandard directory <lib dir>
1083 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1084 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CXXCPP C++ preprocessor
1089 F77 Fortran 77 compiler command
1090 FFLAGS Fortran 77 compiler flags
1092 Use these variables to override the choices made by `configure' or to
help
1093 it to
find libraries and programs with nonstandard names
/locations.
1098 if test "$ac_init_help" = "recursive"; then
1099 # If there are subdirs, report their specific --help.
1101 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1102 test -d $ac_dir ||
continue
1105 if test "$ac_dir" != .
; then
1106 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1107 # A "../" for each directory in $ac_dir_suffix.
1108 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 ac_dir_suffix
= ac_top_builddir
=
1114 .
) # No --srcdir option. We are building in place.
1116 if test -z "$ac_top_builddir"; then
1119 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1121 [\\/]* | ?
:[\\/]* ) # Absolute path.
1122 ac_srcdir
=$srcdir$ac_dir_suffix;
1123 ac_top_srcdir
=$srcdir ;;
1125 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1126 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1129 # Do not use `cd foo && pwd` to compute absolute paths, because
1130 # the directories may not exist.
1132 .
) ac_abs_builddir
="$ac_dir";;
1135 .
) ac_abs_builddir
=`pwd`;;
1136 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1137 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1140 case $ac_abs_builddir in
1141 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1143 case ${ac_top_builddir}.
in
1144 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1145 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1146 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1149 case $ac_abs_builddir in
1150 .
) ac_abs_srcdir
=$ac_srcdir;;
1153 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1154 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1155 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1158 case $ac_abs_builddir in
1159 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1161 case $ac_top_srcdir in
1162 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1163 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1164 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1169 # Check for guested configure; otherwise get Cygnus style configure.
1170 if test -f $ac_srcdir/configure.gnu
; then
1172 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1173 elif test -f $ac_srcdir/configure
; then
1175 $SHELL $ac_srcdir/configure
--help=recursive
1176 elif test -f $ac_srcdir/configure.ac ||
1177 test -f $ac_srcdir/configure.
in; then
1179 $ac_configure --help
1181 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187 test -n "$ac_init_help" && exit 0
1188 if $ac_init_version; then
1191 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1192 This configure
script is free software
; the Free Software Foundation
1193 gives unlimited permission to copy
, distribute and modify it.
1199 This file contains any messages produced by compilers while
1200 running configure, to aid debugging if configure makes a mistake.
1202 It was created by $as_me, which was
1203 generated by GNU Autoconf 2.59. Invocation command line was
1214 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1215 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1216 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1217 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1218 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1220 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1221 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1223 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1224 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1225 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1226 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1227 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1228 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1229 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1237 test -z "$as_dir" && as_dir
=.
1238 echo "PATH: $as_dir"
1253 # Keep a trace of the command line.
1254 # Strip out --no-create and --no-recursion so they do not pile up.
1255 # Strip out --silent because we don't want to record it for future runs.
1256 # Also quote any args containing shell meta-characters.
1257 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_must_keep_next
=false
1268 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1270 |
-silent |
--silent |
--silen |
--sile |
--sil)
1272 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1276 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1278 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1279 if test $ac_must_keep_next = true
; then
1280 ac_must_keep_next
=false
# Got value, back to normal.
1283 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1284 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1285 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1286 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1287 case "$ac_configure_args0 " in
1288 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1291 -* ) ac_must_keep_next
=true
;;
1294 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1295 # Get rid of the leading space.
1301 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1302 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1304 # When interrupted or exit'd, cleanup temporary files, and complete
1305 # config.log. We remove comments because anyway the quotes in there
1306 # would cause problems or look ugly.
1307 # WARNING: Be sure not to use single quotes in there, as some shells,
1308 # such as our DU 5.0 friend, will then `close' the trap.
1309 trap 'exit_status=$?
1310 # Save into config.log some information that might help in debugging.
1315 ## ---------------- ##
1316 ## Cache variables. ##
1317 ## ---------------- ##
1320 # The following way of writing the cache mishandles newlines in values,
1323 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1326 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1338 ## ----------------- ##
1339 ## Output variables. ##
1340 ## ----------------- ##
1343 for ac_var in $ac_subst_vars
1345 eval ac_val=$`echo $ac_var`
1346 echo "$ac_var='"'"'$ac_val'"'"'"
1350 if test -n "$ac_subst_files"; then
1357 for ac_var in $ac_subst_files
1359 eval ac_val=$`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1365 if test -s confdefs.h; then
1372 sed "/^$/d" confdefs.h | sort
1375 test "$ac_signal" != 0 &&
1376 echo "$as_me: caught signal $ac_signal"
1377 echo "$as_me: exit $exit_status"
1379 rm -f core *.core &&
1380 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1383 for ac_signal
in 1 2 13 15; do
1384 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1389 rm -rf conftest
* confdefs.h
1390 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1393 # Predefined preprocessor variables.
1395 cat >>confdefs.h
<<_ACEOF
1396 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 cat >>confdefs.h
<<_ACEOF
1401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 # Let the site file select an alternate cache file if it wants to.
1421 # Prefer explicitly selected file to automatically selected ones.
1422 if test -z "$CONFIG_SITE"; then
1423 if test "x$prefix" != xNONE
; then
1424 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1426 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1429 for ac_site_file
in $CONFIG_SITE; do
1430 if test -r "$ac_site_file"; then
1431 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1432 echo "$as_me: loading site script $ac_site_file" >&6;}
1433 sed 's/^/| /' "$ac_site_file" >&5
1438 if test -r "$cache_file"; then
1439 # Some versions of bash will fail to source /dev/null (special
1440 # files actually), so we avoid doing that.
1441 if test -f "$cache_file"; then
1442 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1443 echo "$as_me: loading cache $cache_file" >&6;}
1445 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1446 *) . .
/$cache_file;;
1450 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1451 echo "$as_me: creating cache $cache_file" >&6;}
1455 # Check that the precious variables saved in the cache have kept the same
1457 ac_cache_corrupted
=false
1458 for ac_var
in `(set) 2>&1 |
1459 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1460 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1461 eval ac_new_set
=\
$ac_env_${ac_var}_set
1462 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1463 eval ac_new_val
="\$ac_env_${ac_var}_value"
1464 case $ac_old_set,$ac_new_set in
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1468 ac_cache_corrupted
=: ;;
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1472 ac_cache_corrupted
=: ;;
1475 if test "x$ac_old_val" != "x$ac_new_val"; then
1476 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1477 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1478 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1479 echo "$as_me: former value: $ac_old_val" >&2;}
1480 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1481 echo "$as_me: current value: $ac_new_val" >&2;}
1482 ac_cache_corrupted
=:
1485 # Pass precious variables to config.status.
1486 if test "$ac_new_set" = set; then
1488 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1489 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1490 *) ac_arg
=$ac_var=$ac_new_val ;;
1492 case " $ac_configure_args " in
1493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1494 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1498 if $ac_cache_corrupted; then
1499 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1500 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1501 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1502 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1503 { (exit 1); exit 1; }; }
1507 ac_cpp
='$CPP $CPPFLAGS'
1508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1531 for ac_dir
in admin
$srcdir/admin
; do
1532 if test -f $ac_dir/install-sh
; then
1534 ac_install_sh
="$ac_aux_dir/install-sh -c"
1536 elif test -f $ac_dir/install.sh
; then
1538 ac_install_sh
="$ac_aux_dir/install.sh -c"
1540 elif test -f $ac_dir/shtool
; then
1542 ac_install_sh
="$ac_aux_dir/shtool install -c"
1546 if test -z "$ac_aux_dir"; then
1547 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1548 echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1549 { (exit 1); exit 1; }; }
1551 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1552 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1553 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1558 # Make sure we can run config.sub.
1559 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1560 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1561 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1562 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: checking build system type" >&5
1565 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1566 if test "${ac_cv_build+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 ac_cv_build_alias
=$build_alias
1570 test -z "$ac_cv_build_alias" &&
1571 ac_cv_build_alias
=`$ac_config_guess`
1572 test -z "$ac_cv_build_alias" &&
1573 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1574 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1575 { (exit 1); exit 1; }; }
1576 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1578 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1583 echo "${ECHO_T}$ac_cv_build" >&6
1585 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590 echo "$as_me:$LINENO: checking host system type" >&5
1591 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1592 if test "${ac_cv_host+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 ac_cv_host_alias
=$host_alias
1596 test -z "$ac_cv_host_alias" &&
1597 ac_cv_host_alias
=$ac_cv_build_alias
1598 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1600 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1601 { (exit 1); exit 1; }; }
1604 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1605 echo "${ECHO_T}$ac_cv_host" >&6
1607 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1608 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1609 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1612 echo "$as_me:$LINENO: checking target system type" >&5
1613 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1614 if test "${ac_cv_target+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 ac_cv_target_alias
=$target_alias
1618 test "x$ac_cv_target_alias" = "x" &&
1619 ac_cv_target_alias
=$ac_cv_host_alias
1620 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1627 echo "${ECHO_T}$ac_cv_target" >&6
1628 target
=$ac_cv_target
1629 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1630 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1631 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1634 # The aliases save the names the user supplied, while $host etc.
1635 # will get canonicalized.
1636 test -n "$target_alias" &&
1637 test "$program_prefix$program_suffix$program_transform_name" = \
1639 program_prefix
=${target_alias}-
1640 test "$program_prefix" != NONE
&&
1641 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1642 # Use a double $ so make ignores it.
1643 test "$program_suffix" != NONE
&&
1644 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1645 # Double any \ or $. echo might interpret backslashes.
1646 # By default was `s,x,x', remove it if useless.
1647 cat <<\_ACEOF
>conftest.
sed
1648 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1650 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1654 am__api_version
="1.9"
1657 test -n "$INSTALL" && kde_save_INSTALL_given
=$INSTALL
1658 test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given
=$INSTALL_PROGRAM
1659 test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given
=$INSTALL_SCRIPT
1660 # Find a good install program. We prefer a C program (faster),
1661 # so one script is as good as another. But avoid the broken or
1662 # incompatible versions:
1663 # SysV /etc/install, /usr/sbin/install
1664 # SunOS /usr/etc/install
1665 # IRIX /sbin/install
1667 # AmigaOS /C/install, which installs bootblocks on floppy discs
1668 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1669 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1670 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1671 # OS/2's system install, which has a completely different semantic
1672 # ./install, which can be erroneously created by make from ./install.sh.
1673 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1674 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1675 if test -z "$INSTALL"; then
1676 if test "${ac_cv_path_install+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1683 test -z "$as_dir" && as_dir
=.
1684 # Account for people who put trailing slashes in PATH elements.
1686 .
/ | .
// |
/cC
/* | \
1687 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1688 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1691 # OSF1 and SCO ODT 3.0 have their own names for install.
1692 # Don't use installbsd from OSF since it installs stuff as root
1694 for ac_prog
in ginstall scoinst
install; do
1695 for ac_exec_ext
in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1697 if test $ac_prog = install &&
1698 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1699 # AIX install. It has an incompatible calling convention.
1701 elif test $ac_prog = install &&
1702 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1703 # program-specific install script used by HP pwplus--don't use.
1706 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1718 if test "${ac_cv_path_install+set}" = set; then
1719 INSTALL
=$ac_cv_path_install
1721 # As a last resort, use the slow shell script. We don't cache a
1722 # path for INSTALL within a source directory, because that will
1723 # break other packages using the cache if that directory is
1724 # removed, or if the path is relative.
1725 INSTALL
=$ac_install_sh
1728 echo "$as_me:$LINENO: result: $INSTALL" >&5
1729 echo "${ECHO_T}$INSTALL" >&6
1731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1732 # It thinks the first close brace ends the variable substitution.
1733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1737 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1740 if test -z "$kde_save_INSTALL_given" ; then
1741 # OK, user hasn't given any INSTALL, autoconf found one for us
1742 # now we test, if it supports the -p flag
1743 echo "$as_me:$LINENO: checking for -p flag to install" >&5
1744 echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
1745 rm -f confinst.$$.
* > /dev
/null
2>&1
1746 echo "Testtest" > confinst.$$.orig
1748 if ${INSTALL} -p confinst.$$.orig confinst.$$.new
> /dev
/null
2>&1 ; then
1749 if test -f confinst.$$.new
; then
1750 # OK, -p seems to do no harm to install
1751 INSTALL
="${INSTALL} -p"
1756 echo "$as_me:$LINENO: result: $ac_res" >&5
1757 echo "${ECHO_T}$ac_res" >&6
1760 if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1761 INSTALL_PROGRAM
='${INSTALL} $(INSTALL_STRIP_FLAG)'
1763 if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
1764 INSTALL_SCRIPT
='${INSTALL}'
1767 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1768 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1771 echo timestamp
> conftest.
file
1772 # Do `set' in a subshell so we don't clobber the current shell's
1773 # arguments. Must try -L first in case configure is actually a
1774 # symlink; some systems play weird games with the mod time of symlinks
1775 # (eg FreeBSD returns the mod time of the symlink's containing
1778 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1779 if test "$*" = "X"; then
1781 set X
`ls -t $srcdir/configure conftest.file`
1784 if test "$*" != "X $srcdir/configure conftest.file" \
1785 && test "$*" != "X conftest.file $srcdir/configure"; then
1787 # If neither matched, then we have a broken ls. This can happen
1788 # if, for instance, CONFIG_SHELL is bash and it inherits a
1789 # broken ls alias from the environment. This has actually
1790 # happened. Such a system could not be considered "sane".
1791 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1792 alias in your environment" >&5
1793 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1794 alias in your environment" >&2;}
1795 { (exit 1); exit 1; }; }
1798 test "$2" = conftest.
file
1804 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1805 Check your system clock" >&5
1806 echo "$as_me: error: newly created file is older than distributed files!
1807 Check your system clock" >&2;}
1808 { (exit 1); exit 1; }; }
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1812 # expand $ac_aux_dir to an absolute path
1813 am_aux_dir
=`cd $ac_aux_dir && pwd`
1815 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1816 # Use eval to expand $SHELL
1817 if eval "$MISSING --run true"; then
1818 am_missing_run
="$MISSING --run "
1821 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1822 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1825 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1826 # We used to keeping the `.' as first argument, in order to
1827 # allow $(mkdir_p) to be used without argument. As in
1828 # $(mkdir_p) $(somedir)
1829 # where $(somedir) is conditionally defined. However this is wrong
1831 # 1. if the package is installed by a user who cannot write `.'
1832 # make install will fail,
1833 # 2. the above comment should most certainly read
1834 # $(mkdir_p) $(DESTDIR)$(somedir)
1835 # so it does not work when $(somedir) is undefined and
1836 # $(DESTDIR) is not.
1837 # To support the latter case, we have to write
1838 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1839 # so the `.' trick is pointless.
1840 mkdir_p
='mkdir -p --'
1842 # On NextStep and OpenStep, the `mkdir' command does not
1843 # recognize any option. It will interpret all options as
1844 # directories to create, and then abort because `.' already
1846 for d
in .
/-p .
/--version;
1848 test -d $d && rmdir $d
1850 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1851 if test -f "$ac_aux_dir/mkinstalldirs"; then
1852 mkdir_p
='$(mkinstalldirs)'
1854 mkdir_p
='$(install_sh) -d'
1858 for ac_prog
in gawk mawk nawk
awk
1860 # Extract the first word of "$ac_prog", so it can be a program name with args.
1861 set dummy
$ac_prog; ac_word
=$2
1862 echo "$as_me:$LINENO: checking for $ac_word" >&5
1863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1864 if test "${ac_cv_prog_AWK+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 if test -n "$AWK"; then
1868 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir
=.
1875 for ac_exec_ext
in '' $ac_executable_extensions; do
1876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1877 ac_cv_prog_AWK
="$ac_prog"
1878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 if test -n "$AWK"; then
1888 echo "$as_me:$LINENO: result: $AWK" >&5
1889 echo "${ECHO_T}$AWK" >&6
1891 echo "$as_me:$LINENO: result: no" >&5
1892 echo "${ECHO_T}no" >&6
1895 test -n "$AWK" && break
1898 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1899 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1900 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1901 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 cat >conftest.
make <<\_ACEOF
1906 @
echo 'ac_maketemp="$(MAKE)"'
1908 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1909 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1910 if test -n "$ac_maketemp"; then
1911 eval ac_cv_prog_make_
${ac_make}_set
=yes
1913 eval ac_cv_prog_make_
${ac_make}_set
=no
1917 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1918 echo "$as_me:$LINENO: result: yes" >&5
1919 echo "${ECHO_T}yes" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1924 SET_MAKE
="MAKE=${MAKE-make}"
1927 rm -rf .tst
2>/dev
/null
1928 mkdir .tst
2>/dev
/null
1929 if test -d .tst
; then
1934 rmdir .tst
2>/dev
/null
1936 # test to see if srcdir already configured
1937 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1938 test -f $srcdir/config.status
; then
1939 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1940 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1941 { (exit 1); exit 1; }; }
1944 # test whether we have cygpath
1945 if test -z "$CYGPATH_W"; then
1946 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1947 CYGPATH_W
='cygpath -w'
1954 # Define the identity of the package.
1955 PACKAGE
=kgraphinterface
1959 cat >>confdefs.h
<<_ACEOF
1960 #define PACKAGE "$PACKAGE"
1964 cat >>confdefs.h
<<_ACEOF
1965 #define VERSION "$VERSION"
1968 # Some tools Automake needs.
1970 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1973 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1976 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1979 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1982 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1984 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1986 # Installed binaries are usually stripped using `strip' when the user
1987 # run `make install-strip'. However `strip' might not be the right
1988 # tool to use in cross-compilation environments, therefore Automake
1989 # will honor the `STRIP' environment variable to overrule this program.
1990 if test "$cross_compiling" != no
; then
1991 if test -n "$ac_tool_prefix"; then
1992 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1993 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_STRIP+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$STRIP"; then
2000 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 STRIP
=$ac_cv_prog_STRIP
2019 if test -n "$STRIP"; then
2020 echo "$as_me:$LINENO: result: $STRIP" >&5
2021 echo "${ECHO_T}$STRIP" >&6
2023 echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6
2028 if test -z "$ac_cv_prog_STRIP"; then
2030 # Extract the first word of "strip", so it can be a program name with args.
2031 set dummy strip
; ac_word
=$2
2032 echo "$as_me:$LINENO: checking for $ac_word" >&5
2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2034 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 if test -n "$ac_ct_STRIP"; then
2038 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir
=.
2045 for ac_exec_ext
in '' $ac_executable_extensions; do
2046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2047 ac_cv_prog_ac_ct_STRIP
="strip"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2057 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2058 if test -n "$ac_ct_STRIP"; then
2059 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2060 echo "${ECHO_T}$ac_ct_STRIP" >&6
2062 echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6
2068 STRIP
="$ac_cv_prog_STRIP"
2072 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2074 # We need awk for the "check" target. The system "awk" is bad on
2076 # Always define AMTAR for backward compatibility.
2078 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2080 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2091 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"
2092 test -n "$KDEDIR" && kde_default_bindirs
="$KDEDIR/bin $kde_default_bindirs"
2093 if test -n "$KDEDIRS"; then
2096 for dir
in $KDEDIRS; do
2097 kde_default_bindirs
="$dir/bin $kde_default_bindirs "
2102 if test "x$prefix" = "xNONE"; then
2104 echo "$as_me:$LINENO: checking for kde-config" >&5
2105 echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2106 if test -n "$KDECONFIG"; then
2107 kde_cv_path
="$KDECONFIG";
2109 kde_cache
=`echo kde-config | sed 'y%./+-%__p_%'`
2111 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 for dir
in $PATH; do
2122 if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2123 else dirs="$dirs $kde_default_bindirs"
2127 for dir
in $dirs; do
2128 if test -x "$dir/kde-config"; then
2131 evalstr
="$dir/kde-config 2>&1 "
2132 if eval $evalstr; then
2133 kde_cv_path
="$dir/kde-config"
2137 kde_cv_path
="$dir/kde-config"
2143 eval "kde_cv_path_$kde_cache=$kde_cv_path"
2149 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2153 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
2154 echo "$as_me:$LINENO: result: not found" >&5
2155 echo "${ECHO_T}not found" >&6
2157 { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2158 Please check whether you installed KDE correctly.
2160 echo "$as_me: error: The important program kde-config was not found!
2161 Please check whether you installed KDE correctly.
2163 { (exit 1); exit 1; }; }
2166 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2167 echo "${ECHO_T}$kde_cv_path" >&6
2168 KDECONFIG
=$kde_cv_path
2173 kde_save_PATH
="$PATH"
2174 PATH
="$exec_prefix/bin:$prefix/bin:$PATH"
2176 echo "$as_me:$LINENO: checking for kde-config" >&5
2177 echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2178 if test -n "$KDECONFIG"; then
2179 kde_cv_path
="$KDECONFIG";
2181 kde_cache
=`echo kde-config | sed 'y%./+-%__p_%'`
2183 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 for dir
in $PATH; do
2194 if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2195 else dirs="$dirs $kde_default_bindirs"
2199 for dir
in $dirs; do
2200 if test -x "$dir/kde-config"; then
2203 evalstr
="$dir/kde-config 2>&1 "
2204 if eval $evalstr; then
2205 kde_cv_path
="$dir/kde-config"
2209 kde_cv_path
="$dir/kde-config"
2215 eval "kde_cv_path_$kde_cache=$kde_cv_path"
2221 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2225 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
2226 echo "$as_me:$LINENO: result: not found" >&5
2227 echo "${ECHO_T}not found" >&6
2229 { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2230 Please check whether you installed KDE correctly.
2232 echo "$as_me: error: The important program kde-config was not found!
2233 Please check whether you installed KDE correctly.
2235 { (exit 1); exit 1; }; }
2238 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2239 echo "${ECHO_T}$kde_cv_path" >&6
2240 KDECONFIG
=$kde_cv_path
2244 PATH
="$kde_save_PATH"
2247 kde_libs_prefix
=`$KDECONFIG --prefix`
2248 if test -z "$kde_libs_prefix" ||
test ! -x "$kde_libs_prefix"; then
2249 { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2250 This means it has been moved since you installed it.
2251 This won't work. Please recompile kdelibs for the new prefix.
2253 echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2254 This means it has been moved since you installed it.
2255 This won't work. Please recompile kdelibs for the new prefix.
2257 { (exit 1); exit 1; }; }
2259 kde_libs_htmldir
=`$KDECONFIG --install html --expandvars`
2260 kde_libs_suffix
=`$KDECONFIG --libsuffix` || kde_libs_suffix
=auto
2262 echo "$as_me:$LINENO: checking where to install" >&5
2263 echo $ECHO_N "checking where to install... $ECHO_C" >&6
2264 if test "x$prefix" = "xNONE"; then
2265 prefix
=$kde_libs_prefix
2266 echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2267 echo "${ECHO_T}$prefix (as returned by kde-config)" >&6
2269 given_prefix
=$prefix
2270 echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2271 echo "${ECHO_T}$prefix (as requested)" >&6
2274 # And delete superfluous '/' to make compares easier
2275 prefix
=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2276 exec_prefix
=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2277 given_prefix
=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2284 # Check whether --enable-fast-perl or --disable-fast-perl was given.
2285 if test "${enable_fast_perl+set}" = set; then
2286 enableval
="$enable_fast_perl"
2287 with_fast_perl
=$enableval
2294 if test -f $srcdir/configure.files
; then
2295 val
=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2298 if test -n "$val" ; then
2300 CONF_FILES
="$CONF_FILES $i"
2307 ac_config_headers
="$ac_config_headers config.h"
2309 DEPDIR
="${am__leading_dot}deps"
2311 ac_config_commands
="$ac_config_commands depfiles"
2314 am_make
=${MAKE-make}
2315 cat > confinc
<< 'END'
2320 # If we don't find an include directive, just comment out the code.
2321 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2322 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2326 # First try GNU make style include.
2327 echo "include confinc" > confmf
2328 # We grep out `Entering directory' and `Leaving directory'
2329 # messages which can occur if `w' ends up in MAKEFLAGS.
2330 # In particular we don't look at `^make:' because GNU make might
2331 # be invoked under some other name (usually "gmake"), in which
2332 # case it prints its new name instead of `make'.
2333 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2338 # Now try BSD make style include.
2339 if test "$am__include" = "#"; then
2340 echo '.include "confinc"' > confmf
2341 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2342 am__include
=.include
2349 echo "$as_me:$LINENO: result: $_am_result" >&5
2350 echo "${ECHO_T}$_am_result" >&6
2351 rm -f confinc confmf
2353 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2354 if test "${enable_dependency_tracking+set}" = set; then
2355 enableval
="$enable_dependency_tracking"
2358 if test "x$enable_dependency_tracking" != xno
; then
2359 am_depcomp
="$ac_aux_dir/depcomp"
2364 if test "x$enable_dependency_tracking" != xno; then
2377 # Check whether --enable-debug or --disable-debug was given.
2378 if test "${enable_debug+set}" = set; then
2379 enableval
="$enable_debug"
2383 kde_use_debug_code
="yes"
2384 kde_use_debug_define
=no
2387 kde_use_debug_code
="full"
2388 kde_use_debug_define
=no
2391 kde_use_debug_code
="no"
2392 kde_use_debug_define
=yes
2397 kde_use_debug_code
="no"
2398 kde_use_debug_define
=no
2402 # Check whether --enable-dummyoption or --disable-dummyoption was given.
2403 if test "${enable_dummyoption+set}" = set; then
2404 enableval
="$enable_dummyoption"
2408 # Check whether --enable-strict or --disable-strict was given.
2409 if test "${enable_strict+set}" = set; then
2410 enableval
="$enable_strict"
2412 if test $enableval = "no"; then
2413 kde_use_strict_options
="no"
2415 kde_use_strict_options
="yes"
2419 kde_use_strict_options
="no"
2422 # Check whether --enable-warnings or --disable-warnings was given.
2423 if test "${enable_warnings+set}" = set; then
2424 enableval
="$enable_warnings"
2426 if test $enableval = "no"; then
2427 kde_use_warnings
="no"
2429 kde_use_warnings
="yes"
2433 kde_use_warnings
="yes"
2436 if test "$kde_use_debug_code" != "no"; then
2437 kde_use_warnings
=yes
2440 # Check whether --enable-profile or --disable-profile was given.
2441 if test "${enable_profile+set}" = set; then
2442 enableval
="$enable_profile"
2443 kde_use_profiling
=$enableval
2445 kde_use_profiling
="no"
2452 ac_cpp
='$CPP $CPPFLAGS'
2453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2456 if test -n "$ac_tool_prefix"; then
2457 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2458 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2459 echo "$as_me:$LINENO: checking for $ac_word" >&5
2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2461 if test "${ac_cv_prog_CC+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if test -n "$CC"; then
2465 ac_cv_prog_CC
="$CC" # Let the user override the test.
2467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir
=.
2472 for ac_exec_ext
in '' $ac_executable_extensions; do
2473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2474 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 if test -n "$CC"; then
2485 echo "$as_me:$LINENO: result: $CC" >&5
2486 echo "${ECHO_T}$CC" >&6
2488 echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6
2493 if test -z "$ac_cv_prog_CC"; then
2495 # Extract the first word of "gcc", so it can be a program name with args.
2496 set dummy gcc
; ac_word
=$2
2497 echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$ac_ct_CC"; then
2503 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir
=.
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2512 ac_cv_prog_ac_ct_CC
="gcc"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2522 if test -n "$ac_ct_CC"; then
2523 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2524 echo "${ECHO_T}$ac_ct_CC" >&6
2526 echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6
2535 if test -z "$CC"; then
2536 if test -n "$ac_tool_prefix"; then
2537 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2538 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2539 echo "$as_me:$LINENO: checking for $ac_word" >&5
2540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2541 if test "${ac_cv_prog_CC+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 if test -n "$CC"; then
2545 ac_cv_prog_CC
="$CC" # Let the user override the test.
2547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir
=.
2552 for ac_exec_ext
in '' $ac_executable_extensions; do
2553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 if test -n "$CC"; then
2565 echo "$as_me:$LINENO: result: $CC" >&5
2566 echo "${ECHO_T}$CC" >&6
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2573 if test -z "$ac_cv_prog_CC"; then
2575 # Extract the first word of "cc", so it can be a program name with args.
2576 set dummy cc
; ac_word
=$2
2577 echo "$as_me:$LINENO: checking for $ac_word" >&5
2578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2579 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 if test -n "$ac_ct_CC"; then
2583 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2592 ac_cv_prog_ac_ct_CC
="cc"
2593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2602 if test -n "$ac_ct_CC"; then
2603 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2604 echo "${ECHO_T}$ac_ct_CC" >&6
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2616 if test -z "$CC"; then
2617 # Extract the first word of "cc", so it can be a program name with args.
2618 set dummy cc
; ac_word
=$2
2619 echo "$as_me:$LINENO: checking for $ac_word" >&5
2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2621 if test "${ac_cv_prog_CC+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 if test -n "$CC"; then
2625 ac_cv_prog_CC
="$CC" # Let the user override the test.
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 for ac_exec_ext
in '' $ac_executable_extensions; do
2634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2635 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2636 ac_prog_rejected
=yes
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test $ac_prog_rejected = yes; then
2647 # We found a bogon in the path, so make sure we never use it.
2648 set dummy
$ac_cv_prog_CC
2650 if test $# != 0; then
2651 # We chose a different compiler from the bogus one.
2652 # However, it has the same basename, so the bogon will be chosen
2653 # first if we set CC to just the basename; use the full file name.
2655 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2661 if test -n "$CC"; then
2662 echo "$as_me:$LINENO: result: $CC" >&5
2663 echo "${ECHO_T}$CC" >&6
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2670 if test -z "$CC"; then
2671 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2676 echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2678 if test "${ac_cv_prog_CC+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$CC"; then
2682 ac_cv_prog_CC
="$CC" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$CC"; then
2702 echo "$as_me:$LINENO: result: $CC" >&5
2703 echo "${ECHO_T}$CC" >&6
2705 echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6
2709 test -n "$CC" && break
2712 if test -z "$CC"; then
2716 # Extract the first word of "$ac_prog", so it can be a program name with args.
2717 set dummy
$ac_prog; ac_word
=$2
2718 echo "$as_me:$LINENO: checking for $ac_word" >&5
2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 if test -n "$ac_ct_CC"; then
2724 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_ac_ct_CC
="$ac_prog"
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2743 if test -n "$ac_ct_CC"; then
2744 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2745 echo "${ECHO_T}$ac_ct_CC" >&6
2747 echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6
2751 test -n "$ac_ct_CC" && break
2760 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2761 See \`config.log' for more details." >&5
2762 echo "$as_me: error: no acceptable C compiler found in \$PATH
2763 See \`config.log' for more details." >&2;}
2764 { (exit 1); exit 1; }; }
2766 # Provide some information about the compiler.
2767 echo "$as_me:$LINENO:" \
2768 "checking for C compiler version" >&5
2769 ac_compiler
=`set X $ac_compile; echo $2`
2770 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2771 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }
2775 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2776 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2780 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2781 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }
2786 cat >conftest.
$ac_ext <<_ACEOF
2789 cat confdefs.h
>>conftest.
$ac_ext
2790 cat >>conftest.
$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2801 ac_clean_files_save
=$ac_clean_files
2802 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2803 # Try to create an executable without -o first, disregard a.out.
2804 # It will help us diagnose broken compilers, and finding out an intuition
2806 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2807 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2808 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2809 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2810 (eval $ac_link_default) 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; then
2814 # Find the output, starting from the most likely. This scheme is
2815 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2818 # Be careful to initialize this variable, since it used to be cached.
2819 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2821 # b.out is created by i960 compilers.
2822 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2824 test -f "$ac_file" ||
continue
2826 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2829 # This is the source file.
2832 # We found the default executable, but exeext='' is most
2836 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2837 # FIXME: I believe we export ac_cv_exeext for Libtool,
2838 # but it would be cool to find out if it's true. Does anybody
2839 # maintain Libtool? --akim.
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2850 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2851 See \`config.log' for more details." >&5
2852 echo "$as_me: error: C compiler cannot create executables
2853 See \`config.log' for more details." >&2;}
2854 { (exit 77); exit 77; }; }
2857 ac_exeext
=$ac_cv_exeext
2858 echo "$as_me:$LINENO: result: $ac_file" >&5
2859 echo "${ECHO_T}$ac_file" >&6
2861 # Check the compiler produces executables we can run. If not, either
2862 # the compiler is broken, or we cross compile.
2863 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2864 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2865 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2866 # If not cross compiling, check that we can run a simple program.
2867 if test "$cross_compiling" != yes; then
2868 if { ac_try
='./$ac_file'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2876 if test "$cross_compiling" = maybe
; then
2879 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2880 If you meant to cross compile, use \`--host'.
2881 See \`config.log' for more details." >&5
2882 echo "$as_me: error: cannot run C compiled programs.
2883 If you meant to cross compile, use \`--host'.
2884 See \`config.log' for more details." >&2;}
2885 { (exit 1); exit 1; }; }
2889 echo "$as_me:$LINENO: result: yes" >&5
2890 echo "${ECHO_T}yes" >&6
2892 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2893 ac_clean_files
=$ac_clean_files_save
2894 # Check the compiler produces executables we can run. If not, either
2895 # the compiler is broken, or we cross compile.
2896 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2897 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2898 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2899 echo "${ECHO_T}$cross_compiling" >&6
2901 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2902 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2904 (eval $ac_link) 2>&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; then
2908 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2909 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2910 # work properly (i.e., refer to `conftest.exe'), while it won't with
2912 for ac_file
in conftest.exe conftest conftest.
*; do
2913 test -f "$ac_file" ||
continue
2915 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2916 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2923 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2924 See \`config.log' for more details." >&5
2925 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2926 See \`config.log' for more details." >&2;}
2927 { (exit 1); exit 1; }; }
2930 rm -f conftest
$ac_cv_exeext
2931 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2932 echo "${ECHO_T}$ac_cv_exeext" >&6
2934 rm -f conftest.
$ac_ext
2935 EXEEXT
=$ac_cv_exeext
2937 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2938 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2939 if test "${ac_cv_objext+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2942 cat >conftest.
$ac_ext <<_ACEOF
2945 cat confdefs.h
>>conftest.
$ac_ext
2946 cat >>conftest.
$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2957 rm -f conftest.o conftest.obj
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; then
2963 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2965 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2966 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.
$ac_ext >&5
2974 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2975 See \`config.log' for more details." >&5
2976 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2977 See \`config.log' for more details." >&2;}
2978 { (exit 1); exit 1; }; }
2981 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2983 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2984 echo "${ECHO_T}$ac_cv_objext" >&6
2985 OBJEXT
=$ac_cv_objext
2987 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2988 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 cat >conftest.
$ac_ext <<_ACEOF
2995 cat confdefs.h
>>conftest.
$ac_ext
2996 cat >>conftest.
$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
3010 rm -f conftest.
$ac_objext
3011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012 (eval $ac_compile) 2>conftest.er1
3014 grep -v '^ *+' conftest.er1
>conftest.err
3016 cat conftest.err
>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } &&
3019 { ac_try
='test -z "$ac_c_werror_flag"
3020 || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try
='test -s conftest.$ac_objext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3040 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3043 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3044 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3045 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3046 ac_test_CFLAGS
=${CFLAGS+set}
3047 ac_save_CFLAGS
=$CFLAGS
3049 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3050 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3051 if test "${ac_cv_prog_cc_g+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 cat >conftest.
$ac_ext <<_ACEOF
3057 cat confdefs.h
>>conftest.
$ac_ext
3058 cat >>conftest.
$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3069 rm -f conftest.
$ac_objext
3070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3071 (eval $ac_compile) 2>conftest.er1
3073 grep -v '^ *+' conftest.er1
>conftest.err
3075 cat conftest.err
>&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); } &&
3078 { ac_try
='test -z "$ac_c_werror_flag"
3079 || test ! -s conftest.err'
3080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }; } &&
3085 { ac_try
='test -s conftest.$ac_objext'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; }; then
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3100 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3101 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3102 if test "$ac_test_CFLAGS" = set; then
3103 CFLAGS
=$ac_save_CFLAGS
3104 elif test $ac_cv_prog_cc_g = yes; then
3105 if test "$GCC" = yes; then
3111 if test "$GCC" = yes; then
3117 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3118 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3119 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 ac_cv_prog_cc_stdc
=no
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3132 #include <sys/types.h>
3133 #include <sys/stat.h>
3134 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3135 struct buf { int x; };
3136 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3137 static char *e (p, i)
3143 static char *f (char * (*g) (char **, int), char **p, ...)
3148 s = g (p, va_arg (v,int));
3153 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3154 function prototypes and stuff, but not '\xHH' hex character constants.
3155 These don't provoke an error unfortunately, instead are silently treated
3156 as 'x'. The following induces an error, until -std1 is added to get
3157 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3158 array size at least. It's necessary to write '\x00'==0 to get something
3159 that's true only with -std1. */
3160 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3162 int test (int i, double x);
3163 struct s1 {int (*f) (int a);};
3164 struct s2 {int (*f) (double a);};
3165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3171 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3176 # Don't try gcc -ansi; that turns off useful extensions and
3177 # breaks some systems' header files.
3178 # AIX -qlanglvl=ansi
3179 # Ultrix and OSF/1 -std1
3180 # HP-UX 10.20 and later -Ae
3181 # HP-UX older versions -Aa -D_HPUX_SOURCE
3182 # SVR4 -Xc -D__EXTENSIONS__
3183 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3185 CC
="$ac_save_CC $ac_arg"
3186 rm -f conftest.
$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>conftest.er1
3190 grep -v '^ *+' conftest.er1
>conftest.err
3192 cat conftest.err
>&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try
='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try
='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3208 ac_cv_prog_cc_stdc
=$ac_arg
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.
$ac_ext >&5
3215 rm -f conftest.err conftest.
$ac_objext
3217 rm -f conftest.
$ac_ext conftest.
$ac_objext
3222 case "x$ac_cv_prog_cc_stdc" in
3224 echo "$as_me:$LINENO: result: none needed" >&5
3225 echo "${ECHO_T}none needed" >&6 ;;
3227 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3228 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3229 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3232 # Some people use a C++ compiler to compile C. Since we use `exit',
3233 # in C++ we need to declare it. In case someone uses the same compiler
3234 # for both compiling C and C++ we need to have the C++ compiler decide
3235 # the declaration of exit, since it's the most demanding environment.
3236 cat >conftest.
$ac_ext <<_ACEOF
3241 rm -f conftest.
$ac_objext
3242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3243 (eval $ac_compile) 2>conftest.er1
3245 grep -v '^ *+' conftest.er1
>conftest.err
3247 cat conftest.err
>&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try
='test -z "$ac_c_werror_flag"
3251 || test ! -s conftest.err'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; } &&
3257 { ac_try
='test -s conftest.$ac_objext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3263 for ac_declaration
in \
3265 'extern "C" void std::exit (int) throw (); using std::exit;' \
3266 'extern "C" void std::exit (int); using std::exit;' \
3267 'extern "C" void exit (int) throw ();' \
3268 'extern "C" void exit (int);' \
3271 cat >conftest.
$ac_ext <<_ACEOF
3274 cat confdefs.h
>>conftest.
$ac_ext
3275 cat >>conftest.
$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3287 rm -f conftest.
$ac_objext
3288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3289 (eval $ac_compile) 2>conftest.er1
3291 grep -v '^ *+' conftest.er1
>conftest.err
3293 cat conftest.err
>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } &&
3296 { ac_try
='test -z "$ac_c_werror_flag"
3297 || test ! -s conftest.err'
3298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; } &&
3303 { ac_try
='test -s conftest.$ac_objext'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; }; then
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.
$ac_ext >&5
3316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3317 cat >conftest.
$ac_ext <<_ACEOF
3320 cat confdefs.h
>>conftest.
$ac_ext
3321 cat >>conftest.
$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3332 rm -f conftest.
$ac_objext
3333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3334 (eval $ac_compile) 2>conftest.er1
3336 grep -v '^ *+' conftest.er1
>conftest.err
3338 cat conftest.err
>&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); } &&
3341 { ac_try
='test -z "$ac_c_werror_flag"
3342 || test ! -s conftest.err'
3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; } &&
3348 { ac_try
='test -s conftest.$ac_objext'
3349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; }; then
3356 echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.
$ac_ext >&5
3360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3363 if test -n "$ac_declaration"; then
3364 echo '#ifdef __cplusplus' >>confdefs.h
3365 echo $ac_declaration >>confdefs.h
3366 echo '#endif' >>confdefs.h
3370 echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.
$ac_ext >&5
3374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3376 ac_cpp
='$CPP $CPPFLAGS'
3377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3381 depcc
="$CC" am_compiler_list
=
3383 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3384 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3385 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3389 # We make a subdir and do the tests there. Otherwise we can end up
3390 # making bogus files that we don't know about and never remove. For
3391 # instance it was reported that on HP-UX the gcc test will end up
3392 # making a dummy file named `D' -- because `-MD' means `put the output
3395 # Copy depcomp to subdir because otherwise we won't find it if we're
3396 # using a relative directory.
3397 cp "$am_depcomp" conftest.dir
3399 # We will build objects and dependencies in a subdirectory because
3400 # it helps to detect inapplicable dependency modes. For instance
3401 # both Tru64's cc and ICC support -MD to output dependencies as a
3402 # side effect of compilation, but ICC will put the dependencies in
3403 # the current directory while Tru64 will put them in the object
3407 am_cv_CC_dependencies_compiler_type
=none
3408 if test "$am_compiler_list" = ""; then
3409 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3411 for depmode
in $am_compiler_list; do
3412 # Setup a source with many dependencies, because some compilers
3413 # like to wrap large dependency lists on column 80 (with \), and
3414 # we should not choose a depcomp mode which is confused by this.
3416 # We need to recreate these files for each test, as the compiler may
3417 # overwrite some of them when testing with obscure command lines.
3418 # This happens at least with the AIX C compiler.
3420 for i
in 1 2 3 4 5 6; do
3421 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3422 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3423 # Solaris 8's {/usr,}/bin/sh.
3424 touch sub
/conftst
$i.h
3426 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3430 # after this tag, mechanisms are not by side-effect, so they'll
3431 # only be used when explicitly requested
3432 if test "x$enable_dependency_tracking" = xyes
; then
3440 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3441 # mode. It turns out that the SunPro C++ compiler does not properly
3442 # handle `-M -o', and we need to detect this.
3443 if depmode
=$depmode \
3444 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3445 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3446 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3447 >/dev
/null
2>conftest.err
&&
3448 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3449 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3450 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3451 # icc doesn't choke on unknown options, it will just issue warnings
3452 # or remarks (even with -Werror). So we grep stderr for any message
3453 # that says an option was ignored or not supported.
3454 # When given -MP, icc 7.0 and 7.1 complain thusly:
3455 # icc: Command line warning: ignoring option '-M'; no argument required
3456 # The diagnosis changed in icc 8.0:
3457 # icc: Command line remark: option '-MP' not supported
3458 if (grep 'ignoring option' conftest.err ||
3459 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3460 am_cv_CC_dependencies_compiler_type
=$depmode
3469 am_cv_CC_dependencies_compiler_type
=none
3473 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3474 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3475 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3480 test "x$enable_dependency_tracking" != xno \
3481 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3483 am__fastdepCC_FALSE
='#'
3485 am__fastdepCC_TRUE
='#'
3486 am__fastdepCC_FALSE
=
3492 ac_cpp
='$CPP $CPPFLAGS'
3493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3496 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3497 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3498 # On Suns, sometimes $CPP names a directory.
3499 if test -n "$CPP" && test -d "$CPP"; then
3502 if test -z "$CPP"; then
3503 if test "${ac_cv_prog_CPP+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 # Double quotes because CPP needs to be expanded
3507 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3510 for ac_c_preproc_warn_flag
in '' yes
3512 # Use a header file that comes with gcc, so configuring glibc
3513 # with a fresh cross-compiler works.
3514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3515 # <limits.h> exists even on freestanding compilers.
3516 # On the NeXT, cc -E runs the code through the compiler's parser,
3517 # not just through cpp. "Syntax error" is here to catch this case.
3518 cat >conftest.
$ac_ext <<_ACEOF
3521 cat confdefs.h
>>conftest.
$ac_ext
3522 cat >>conftest.
$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3525 # include <limits.h>
3527 # include <assert.h>
3531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3534 grep -v '^ *+' conftest.er1
>conftest.err
3536 cat conftest.err
>&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev
/null
; then
3539 if test -s conftest.err
; then
3540 ac_cpp_err
=$ac_c_preproc_warn_flag
3541 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3548 if test -z "$ac_cpp_err"; then
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3554 # Broken: fails on valid input.
3557 rm -f conftest.err conftest.
$ac_ext
3559 # OK, works on sane cases. Now check whether non-existent headers
3560 # can be detected and how.
3561 cat >conftest.
$ac_ext <<_ACEOF
3564 cat confdefs.h
>>conftest.
$ac_ext
3565 cat >>conftest.
$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3567 #include <ac_nonexistent.h>
3569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3572 grep -v '^ *+' conftest.er1
>conftest.err
3574 cat conftest.err
>&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); } >/dev
/null
; then
3577 if test -s conftest.err
; then
3578 ac_cpp_err
=$ac_c_preproc_warn_flag
3579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3586 if test -z "$ac_cpp_err"; then
3587 # Broken: success on invalid input.
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.
$ac_ext >&5
3593 # Passes both tests.
3597 rm -f conftest.err conftest.
$ac_ext
3600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3601 rm -f conftest.err conftest.
$ac_ext
3602 if $ac_preproc_ok; then
3614 echo "$as_me:$LINENO: result: $CPP" >&5
3615 echo "${ECHO_T}$CPP" >&6
3617 for ac_c_preproc_warn_flag
in '' yes
3619 # Use a header file that comes with gcc, so configuring glibc
3620 # with a fresh cross-compiler works.
3621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3622 # <limits.h> exists even on freestanding compilers.
3623 # On the NeXT, cc -E runs the code through the compiler's parser,
3624 # not just through cpp. "Syntax error" is here to catch this case.
3625 cat >conftest.
$ac_ext <<_ACEOF
3628 cat confdefs.h
>>conftest.
$ac_ext
3629 cat >>conftest.
$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3632 # include <limits.h>
3634 # include <assert.h>
3638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3641 grep -v '^ *+' conftest.er1
>conftest.err
3643 cat conftest.err
>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev
/null
; then
3646 if test -s conftest.err
; then
3647 ac_cpp_err
=$ac_c_preproc_warn_flag
3648 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3655 if test -z "$ac_cpp_err"; then
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.
$ac_ext >&5
3661 # Broken: fails on valid input.
3664 rm -f conftest.err conftest.
$ac_ext
3666 # OK, works on sane cases. Now check whether non-existent headers
3667 # can be detected and how.
3668 cat >conftest.
$ac_ext <<_ACEOF
3671 cat confdefs.h
>>conftest.
$ac_ext
3672 cat >>conftest.
$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3674 #include <ac_nonexistent.h>
3676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3679 grep -v '^ *+' conftest.er1
>conftest.err
3681 cat conftest.err
>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } >/dev
/null
; then
3684 if test -s conftest.err
; then
3685 ac_cpp_err
=$ac_c_preproc_warn_flag
3686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3693 if test -z "$ac_cpp_err"; then
3694 # Broken: success on invalid input.
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3700 # Passes both tests.
3704 rm -f conftest.err conftest.
$ac_ext
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.err conftest.
$ac_ext
3709 if $ac_preproc_ok; then
3712 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3713 See \`config.log' for more details." >&5
3714 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3715 See \`config.log' for more details." >&2;}
3716 { (exit 1); exit 1; }; }
3720 ac_cpp
='$CPP $CPPFLAGS'
3721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3726 if test "$GCC" = "yes"; then
3727 if test "$kde_use_debug_code" != "no"; then
3728 if test $kde_use_debug_code = "full"; then
3729 CFLAGS
="-g3 -fno-inline $CFLAGS"
3731 CFLAGS
="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
3734 CFLAGS
="-O2 $CFLAGS"
3738 if test "$kde_use_debug_define" = "yes"; then
3739 CFLAGS
="-DNDEBUG $CFLAGS"
3744 *-*-sysv4.2uw
*) CFLAGS
="-D_UNIXWARE $CFLAGS";;
3745 *-*-sysv5uw7*) CFLAGS
="-D_UNIXWARE7 $CFLAGS";;
3748 if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
3752 CXXFLAGS
=" $CXXFLAGS"
3755 ac_cpp
='$CXXCPP $CPPFLAGS'
3756 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3759 if test -n "$ac_tool_prefix"; then
3760 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3764 echo "$as_me:$LINENO: checking for $ac_word" >&5
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3766 if test "${ac_cv_prog_CXX+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 if test -n "$CXX"; then
3770 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 if test -n "$CXX"; then
3790 echo "$as_me:$LINENO: result: $CXX" >&5
3791 echo "${ECHO_T}$CXX" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3797 test -n "$CXX" && break
3800 if test -z "$CXX"; then
3802 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3804 # Extract the first word of "$ac_prog", so it can be a program name with args.
3805 set dummy
$ac_prog; ac_word
=$2
3806 echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3808 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 if test -n "$ac_ct_CXX"; then
3812 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3831 if test -n "$ac_ct_CXX"; then
3832 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3833 echo "${ECHO_T}$ac_ct_CXX" >&6
3835 echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6
3839 test -n "$ac_ct_CXX" && break
3841 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3847 # Provide some information about the compiler.
3848 echo "$as_me:$LINENO:" \
3849 "checking for C++ compiler version" >&5
3850 ac_compiler
=`set X $ac_compile; echo $2`
3851 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3852 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); }
3856 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3857 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }
3861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3862 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }
3867 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3868 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3869 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 cat >conftest.
$ac_ext <<_ACEOF
3875 cat confdefs.h
>>conftest.
$ac_ext
3876 cat >>conftest.
$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3890 rm -f conftest.
$ac_objext
3891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3892 (eval $ac_compile) 2>conftest.er1
3894 grep -v '^ *+' conftest.er1
>conftest.err
3896 cat conftest.err
>&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } &&
3899 { ac_try
='test -z "$ac_cxx_werror_flag"
3900 || test ! -s conftest.err'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; } &&
3906 { ac_try
='test -s conftest.$ac_objext'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; }; then
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3920 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3923 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3924 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3925 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3926 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3927 ac_save_CXXFLAGS
=$CXXFLAGS
3929 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3930 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3931 if test "${ac_cv_prog_cxx_g+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3949 rm -f conftest.
$ac_objext
3950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3951 (eval $ac_compile) 2>conftest.er1
3953 grep -v '^ *+' conftest.er1
>conftest.err
3955 cat conftest.err
>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } &&
3958 { ac_try
='test -z "$ac_cxx_werror_flag"
3959 || test ! -s conftest.err'
3960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }; } &&
3965 { ac_try
='test -s conftest.$ac_objext'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; }; then
3971 ac_cv_prog_cxx_g
=yes
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.
$ac_ext >&5
3978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3980 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3981 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3982 if test "$ac_test_CXXFLAGS" = set; then
3983 CXXFLAGS
=$ac_save_CXXFLAGS
3984 elif test $ac_cv_prog_cxx_g = yes; then
3985 if test "$GXX" = yes; then
3991 if test "$GXX" = yes; then
3997 for ac_declaration
in \
3999 'extern "C" void std::exit (int) throw (); using std::exit;' \
4000 'extern "C" void std::exit (int); using std::exit;' \
4001 'extern "C" void exit (int) throw ();' \
4002 'extern "C" void exit (int);' \
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4021 rm -f conftest.
$ac_objext
4022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4023 (eval $ac_compile) 2>conftest.er1
4025 grep -v '^ *+' conftest.er1
>conftest.err
4027 cat conftest.err
>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try
='test -z "$ac_cxx_werror_flag"
4031 || test ! -s conftest.err'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; } &&
4037 { ac_try
='test -s conftest.$ac_objext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.
$ac_ext >&5
4050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4051 cat >conftest.
$ac_ext <<_ACEOF
4054 cat confdefs.h
>>conftest.
$ac_ext
4055 cat >>conftest.
$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4066 rm -f conftest.
$ac_objext
4067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4068 (eval $ac_compile) 2>conftest.er1
4070 grep -v '^ *+' conftest.er1
>conftest.err
4072 cat conftest.err
>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } &&
4075 { ac_try
='test -z "$ac_cxx_werror_flag"
4076 || test ! -s conftest.err'
4077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; } &&
4082 { ac_try
='test -s conftest.$ac_objext'
4083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); }; }; then
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.
$ac_ext >&5
4094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4097 if test -n "$ac_declaration"; then
4098 echo '#ifdef __cplusplus' >>confdefs.h
4099 echo $ac_declaration >>confdefs.h
4100 echo '#endif' >>confdefs.h
4104 ac_cpp
='$CPP $CPPFLAGS'
4105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4109 depcc
="$CXX" am_compiler_list
=
4111 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4112 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4113 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4117 # We make a subdir and do the tests there. Otherwise we can end up
4118 # making bogus files that we don't know about and never remove. For
4119 # instance it was reported that on HP-UX the gcc test will end up
4120 # making a dummy file named `D' -- because `-MD' means `put the output
4123 # Copy depcomp to subdir because otherwise we won't find it if we're
4124 # using a relative directory.
4125 cp "$am_depcomp" conftest.dir
4127 # We will build objects and dependencies in a subdirectory because
4128 # it helps to detect inapplicable dependency modes. For instance
4129 # both Tru64's cc and ICC support -MD to output dependencies as a
4130 # side effect of compilation, but ICC will put the dependencies in
4131 # the current directory while Tru64 will put them in the object
4135 am_cv_CXX_dependencies_compiler_type
=none
4136 if test "$am_compiler_list" = ""; then
4137 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4139 for depmode
in $am_compiler_list; do
4140 # Setup a source with many dependencies, because some compilers
4141 # like to wrap large dependency lists on column 80 (with \), and
4142 # we should not choose a depcomp mode which is confused by this.
4144 # We need to recreate these files for each test, as the compiler may
4145 # overwrite some of them when testing with obscure command lines.
4146 # This happens at least with the AIX C compiler.
4148 for i
in 1 2 3 4 5 6; do
4149 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4150 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4151 # Solaris 8's {/usr,}/bin/sh.
4152 touch sub
/conftst
$i.h
4154 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4158 # after this tag, mechanisms are not by side-effect, so they'll
4159 # only be used when explicitly requested
4160 if test "x$enable_dependency_tracking" = xyes
; then
4168 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4169 # mode. It turns out that the SunPro C++ compiler does not properly
4170 # handle `-M -o', and we need to detect this.
4171 if depmode
=$depmode \
4172 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4173 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4174 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4175 >/dev
/null
2>conftest.err
&&
4176 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4177 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4178 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4179 # icc doesn't choke on unknown options, it will just issue warnings
4180 # or remarks (even with -Werror). So we grep stderr for any message
4181 # that says an option was ignored or not supported.
4182 # When given -MP, icc 7.0 and 7.1 complain thusly:
4183 # icc: Command line warning: ignoring option '-M'; no argument required
4184 # The diagnosis changed in icc 8.0:
4185 # icc: Command line remark: option '-MP' not supported
4186 if (grep 'ignoring option' conftest.err ||
4187 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4188 am_cv_CXX_dependencies_compiler_type
=$depmode
4197 am_cv_CXX_dependencies_compiler_type
=none
4201 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4202 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4203 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4208 test "x$enable_dependency_tracking" != xno \
4209 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4210 am__fastdepCXX_TRUE
=
4211 am__fastdepCXX_FALSE
='#'
4213 am__fastdepCXX_TRUE
='#'
4214 am__fastdepCXX_FALSE
=
4220 echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4221 echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6
4224 cat >conftest.
$ac_ext <<_ACEOF
4227 cat confdefs.h
>>conftest.
$ac_ext
4228 cat >>conftest.
$ac_ext <<_ACEOF
4229 /* end confdefs.h. */
4232 #if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4245 rm -f conftest.
$ac_objext
4246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4247 (eval $ac_compile) 2>conftest.er1
4249 grep -v '^ *+' conftest.er1
>conftest.err
4251 cat conftest.err
>&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } &&
4254 { ac_try
='test -z "$ac_c_werror_flag"
4255 || test ! -s conftest.err'
4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; } &&
4261 { ac_try
='test -s conftest.$ac_objext'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then
4269 echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.
$ac_ext >&5
4272 kde_bad_compiler
=yes
4275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4277 echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4278 echo "${ECHO_T}$kde_bad_compiler" >&6
4280 if test "$kde_bad_compiler" = "yes"; then
4281 { { echo "$as_me:$LINENO: error:
4283 This particular compiler version is blacklisted because it
4284 is known to miscompile KDE. Please use a newer version, or
4285 if that is not yet available, choose an older version.
4287 Please do not report a bug or bother us reporting this
4288 configure error. We know about it, and we introduced
4289 it by intention to avoid untraceable bugs or crashes in KDE.
4292 echo "$as_me: error:
4294 This particular compiler version is blacklisted because it
4295 is known to miscompile KDE. Please use a newer version, or
4296 if that is not yet available, choose an older version.
4298 Please do not report a bug or bother us reporting this
4299 configure error. We know about it, and we introduced
4300 it by intention to avoid untraceable bugs or crashes in KDE.
4303 { (exit 1); exit 1; }; }
4308 if test "$GXX" = "yes" ||
test "$CXX" = "KCC"; then
4309 if test "$kde_use_debug_code" != "no"; then
4310 if test "$CXX" = "KCC"; then
4311 CXXFLAGS
="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4313 if test "$kde_use_debug_code" = "full"; then
4314 CXXFLAGS
="-g3 -fno-inline $CXXFLAGS"
4316 CXXFLAGS
="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4320 echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4321 echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
4322 kde_cache
=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4323 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 ac_cpp
='$CXXCPP $CPPFLAGS'
4332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4336 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4340 save_CXXFLAGS
="$CXXFLAGS"
4341 CXXFLAGS
="$CXXFLAGS -fno-builtin"
4342 cat >conftest.
$ac_ext <<_ACEOF
4345 cat confdefs.h
>>conftest.
$ac_ext
4346 cat >>conftest.
$ac_ext <<_ACEOF
4347 /* end confdefs.h. */
4357 rm -f conftest.
$ac_objext conftest
$ac_exeext
4358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4359 (eval $ac_link) 2>conftest.er1
4361 grep -v '^ *+' conftest.er1
>conftest.err
4363 cat conftest.err
>&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } &&
4366 { ac_try
='test -z "$ac_cxx_werror_flag"
4367 || test ! -s conftest.err'
4368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); }; } &&
4373 { ac_try
='test -s conftest$ac_exeext'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; }; then
4379 eval "kde_cv_prog_cxx_$kde_cache=yes"
4381 echo "$as_me: failed program was:" >&5
4382 sed 's/^/| /' conftest.
$ac_ext >&5
4385 rm -f conftest.err conftest.
$ac_objext \
4386 conftest
$ac_exeext conftest.
$ac_ext
4387 CXXFLAGS
="$save_CXXFLAGS"
4389 ac_cpp
='$CPP $CPPFLAGS'
4390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4397 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4401 CXXFLAGS
="-fno-builtin $CXXFLAGS"
4403 echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6
4411 echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
4412 echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
4413 kde_cache
=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
4414 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 ac_cpp
='$CXXCPP $CPPFLAGS'
4422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4426 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4429 save_CXXFLAGS
="$CXXFLAGS"
4430 CXXFLAGS
="$CXXFLAGS -Woverloaded-virtual"
4431 cat >conftest.
$ac_ext <<_ACEOF
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4446 rm -f conftest.
$ac_objext conftest
$ac_exeext
4447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4448 (eval $ac_link) 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try
='test -z "$ac_cxx_werror_flag"
4456 || test ! -s conftest.err'
4457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); }; } &&
4462 { ac_try
='test -s conftest$ac_exeext'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; }; then
4468 eval "kde_cv_prog_cxx_$kde_cache=yes"
4470 echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.
$ac_ext >&5
4474 rm -f conftest.err conftest.
$ac_objext \
4475 conftest
$ac_exeext conftest.
$ac_ext
4476 CXXFLAGS
="$save_CXXFLAGS"
4478 ac_cpp
='$CPP $CPPFLAGS'
4479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4486 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4490 WOVERLOADED_VIRTUAL
="-Woverloaded-virtual"
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4495 WOVERLOADED_VRITUAL
=""
4500 if test "$CXX" = "KCC"; then
4501 CXXFLAGS
="+K3 $CXXFLAGS"
4503 CXXFLAGS
="-O2 $CXXFLAGS"
4508 if test "$kde_use_debug_define" = "yes"; then
4509 CXXFLAGS
="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
4512 if test "$kde_use_profiling" = "yes"; then
4514 echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
4515 echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
4516 kde_cache
=`echo pg | sed 'y% .=/+-,%____p__%'`
4517 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 ac_cpp
='$CXXCPP $CPPFLAGS'
4525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4529 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4532 save_CXXFLAGS
="$CXXFLAGS"
4533 CXXFLAGS
="$CXXFLAGS -pg"
4534 cat >conftest.
$ac_ext <<_ACEOF
4537 cat confdefs.h
>>conftest.
$ac_ext
4538 cat >>conftest.
$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4549 rm -f conftest.
$ac_objext conftest
$ac_exeext
4550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4551 (eval $ac_link) 2>conftest.er1
4553 grep -v '^ *+' conftest.er1
>conftest.err
4555 cat conftest.err
>&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } &&
4558 { ac_try
='test -z "$ac_cxx_werror_flag"
4559 || test ! -s conftest.err'
4560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); }; } &&
4565 { ac_try
='test -s conftest$ac_exeext'
4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; }; then
4571 eval "kde_cv_prog_cxx_$kde_cache=yes"
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.
$ac_ext >&5
4577 rm -f conftest.err conftest.
$ac_objext \
4578 conftest
$ac_exeext conftest.
$ac_ext
4579 CXXFLAGS
="$save_CXXFLAGS"
4581 ac_cpp
='$CPP $CPPFLAGS'
4582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4589 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4594 CFLAGS
="-pg $CFLAGS"
4595 CXXFLAGS
="-pg $CXXFLAGS"
4598 echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6
4606 if test "$kde_use_warnings" = "yes"; then
4607 if test "$GCC" = "yes"; then
4608 CXXFLAGS
="-Wall -W -Wpointer-arith $CXXFLAGS"
4611 CFLAGS
="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
4612 CXXFLAGS
="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
4614 echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
4615 echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6
4616 kde_cache
=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4617 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 ac_cpp
='$CXXCPP $CPPFLAGS'
4625 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4629 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4632 save_CXXFLAGS
="$CXXFLAGS"
4633 CXXFLAGS
="$CXXFLAGS -Wmissing-format-attribute"
4634 cat >conftest.
$ac_ext <<_ACEOF
4637 cat confdefs.h
>>conftest.
$ac_ext
4638 cat >>conftest.
$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4649 rm -f conftest.
$ac_objext conftest
$ac_exeext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4651 (eval $ac_link) 2>conftest.er1
4653 grep -v '^ *+' conftest.er1
>conftest.err
4655 cat conftest.err
>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try
='test -z "$ac_cxx_werror_flag"
4659 || test ! -s conftest.err'
4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; } &&
4665 { ac_try
='test -s conftest$ac_exeext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 eval "kde_cv_prog_cxx_$kde_cache=yes"
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.
$ac_ext >&5
4677 rm -f conftest.err conftest.
$ac_objext \
4678 conftest
$ac_exeext conftest.
$ac_ext
4679 CXXFLAGS
="$save_CXXFLAGS"
4681 ac_cpp
='$CPP $CPPFLAGS'
4682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4689 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4693 CXXFLAGS
="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4702 echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
4703 echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6
4704 kde_cache
=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4705 if eval "test \"\${kde_cv_prog_cc_$kde_cache+set}\" = set"; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 ac_cpp
='$CPP $CPPFLAGS'
4713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4717 save_CFLAGS
="$CFLAGS"
4718 CFLAGS
="$CFLAGS -Wmissing-format-attribute"
4719 cat >conftest.
$ac_ext <<_ACEOF
4722 cat confdefs.h
>>conftest.
$ac_ext
4723 cat >>conftest.
$ac_ext <<_ACEOF
4724 /* end confdefs.h. */
4734 rm -f conftest.
$ac_objext conftest
$ac_exeext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4736 (eval $ac_link) 2>conftest.er1
4738 grep -v '^ *+' conftest.er1
>conftest.err
4740 cat conftest.err
>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try
='test -z "$ac_c_werror_flag"
4744 || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try
='test -s conftest$ac_exeext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4756 eval "kde_cv_prog_cc_$kde_cache=yes"
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4762 rm -f conftest.err conftest.
$ac_objext \
4763 conftest
$ac_exeext conftest.
$ac_ext
4764 CFLAGS
="$save_CFLAGS"
4766 ac_cpp
='$CPP $CPPFLAGS'
4767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4774 if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4778 CFLAGS
="$CFLAGS -Wformat-security -Wmissing-format-attribute"
4780 echo "$as_me:$LINENO: result: no" >&5
4781 echo "${ECHO_T}no" >&6
4789 echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
4790 echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
4791 kde_cache
=`echo Wundef | sed 'y% .=/+-,%____p__%'`
4792 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 ac_cpp
='$CXXCPP $CPPFLAGS'
4800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4804 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4807 save_CXXFLAGS
="$CXXFLAGS"
4808 CXXFLAGS
="$CXXFLAGS -Wundef"
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4824 rm -f conftest.
$ac_objext conftest
$ac_exeext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4826 (eval $ac_link) 2>conftest.er1
4828 grep -v '^ *+' conftest.er1
>conftest.err
4830 cat conftest.err
>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try
='test -z "$ac_cxx_werror_flag"
4834 || test ! -s conftest.err'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; } &&
4840 { ac_try
='test -s conftest$ac_exeext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 eval "kde_cv_prog_cxx_$kde_cache=yes"
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4852 rm -f conftest.err conftest.
$ac_objext \
4853 conftest
$ac_exeext conftest.
$ac_ext
4854 CXXFLAGS
="$save_CXXFLAGS"
4856 ac_cpp
='$CPP $CPPFLAGS'
4857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4864 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4865 echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6
4868 CXXFLAGS
="-Wundef $CXXFLAGS"
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4877 echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
4878 echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
4879 kde_cache
=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
4880 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 ac_cpp
='$CXXCPP $CPPFLAGS'
4888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4892 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4895 save_CXXFLAGS
="$CXXFLAGS"
4896 CXXFLAGS
="$CXXFLAGS -Wno-long-long"
4897 cat >conftest.
$ac_ext <<_ACEOF
4900 cat confdefs.h
>>conftest.
$ac_ext
4901 cat >>conftest.
$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4912 rm -f conftest.
$ac_objext conftest
$ac_exeext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4914 (eval $ac_link) 2>conftest.er1
4916 grep -v '^ *+' conftest.er1
>conftest.err
4918 cat conftest.err
>&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try
='test -z "$ac_cxx_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try
='test -s conftest$ac_exeext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4934 eval "kde_cv_prog_cxx_$kde_cache=yes"
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.
$ac_ext >&5
4940 rm -f conftest.err conftest.
$ac_objext \
4941 conftest
$ac_exeext conftest.
$ac_ext
4942 CXXFLAGS
="$save_CXXFLAGS"
4944 ac_cpp
='$CPP $CPPFLAGS'
4945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4952 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4953 echo "$as_me:$LINENO: result: yes" >&5
4954 echo "${ECHO_T}yes" >&6
4956 CXXFLAGS
="-Wno-long-long $CXXFLAGS"
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
4966 echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6
4967 kde_cache
=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
4968 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4969 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 ac_cpp
='$CXXCPP $CPPFLAGS'
4976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4980 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4983 save_CXXFLAGS
="$CXXFLAGS"
4984 CXXFLAGS
="$CXXFLAGS -Wno-non-virtual-dtor"
4985 cat >conftest.
$ac_ext <<_ACEOF
4988 cat confdefs.h
>>conftest.
$ac_ext
4989 cat >>conftest.
$ac_ext <<_ACEOF
4990 /* end confdefs.h. */
5000 rm -f conftest.
$ac_objext conftest
$ac_exeext
5001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5002 (eval $ac_link) 2>conftest.er1
5004 grep -v '^ *+' conftest.er1
>conftest.err
5006 cat conftest.err
>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } &&
5009 { ac_try
='test -z "$ac_cxx_werror_flag"
5010 || test ! -s conftest.err'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; } &&
5016 { ac_try
='test -s conftest$ac_exeext'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; }; then
5022 eval "kde_cv_prog_cxx_$kde_cache=yes"
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.
$ac_ext >&5
5028 rm -f conftest.err conftest.
$ac_objext \
5029 conftest
$ac_exeext conftest.
$ac_ext
5030 CXXFLAGS
="$save_CXXFLAGS"
5032 ac_cpp
='$CPP $CPPFLAGS'
5033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5040 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 CXXFLAGS
="$CXXFLAGS -Wno-non-virtual-dtor"
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5055 if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5056 CXXFLAGS
="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5059 # Check whether --enable-pch or --disable-pch was given.
5060 if test "${enable_pch+set}" = set; then
5061 enableval
="$enable_pch"
5062 kde_use_pch
=$enableval
5067 HAVE_GCC_VISIBILITY
=0
5070 if test "$GXX" = "yes"; then
5071 gcc_no_reorder_blocks
=NO
5073 echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5074 echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6
5075 kde_cache
=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5076 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 ac_cpp
='$CXXCPP $CPPFLAGS'
5084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5088 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5091 save_CXXFLAGS
="$CXXFLAGS"
5092 CXXFLAGS
="$CXXFLAGS -fno-reorder-blocks"
5093 cat >conftest.
$ac_ext <<_ACEOF
5096 cat confdefs.h
>>conftest.
$ac_ext
5097 cat >>conftest.
$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5108 rm -f conftest.
$ac_objext conftest
$ac_exeext
5109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5110 (eval $ac_link) 2>conftest.er1
5112 grep -v '^ *+' conftest.er1
>conftest.err
5114 cat conftest.err
>&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } &&
5117 { ac_try
='test -z "$ac_cxx_werror_flag"
5118 || test ! -s conftest.err'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; } &&
5124 { ac_try
='test -s conftest$ac_exeext'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 eval "kde_cv_prog_cxx_$kde_cache=yes"
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.
$ac_ext >&5
5136 rm -f conftest.err conftest.
$ac_objext \
5137 conftest
$ac_exeext conftest.
$ac_ext
5138 CXXFLAGS
="$save_CXXFLAGS"
5140 ac_cpp
='$CPP $CPPFLAGS'
5141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5148 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5149 echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6
5152 gcc_no_reorder_blocks
=YES
5154 echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6
5160 if test $kde_use_debug_code != "no" && \
5161 test $kde_use_debug_code != "full" && \
5162 test "YES" = "$gcc_no_reorder_blocks" ; then
5163 CXXFLAGS
="$CXXFLAGS -fno-reorder-blocks"
5164 CFLAGS
="$CFLAGS -fno-reorder-blocks"
5167 echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5168 echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
5169 kde_cache
=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5170 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 ac_cpp
='$CXXCPP $CPPFLAGS'
5178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5182 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5185 save_CXXFLAGS
="$CXXFLAGS"
5186 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5187 cat >conftest.
$ac_ext <<_ACEOF
5190 cat confdefs.h
>>conftest.
$ac_ext
5191 cat >>conftest.
$ac_ext <<_ACEOF
5192 /* end confdefs.h. */
5202 rm -f conftest.
$ac_objext conftest
$ac_exeext
5203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5204 (eval $ac_link) 2>conftest.er1
5206 grep -v '^ *+' conftest.er1
>conftest.err
5208 cat conftest.err
>&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try
='test -z "$ac_cxx_werror_flag"
5212 || test ! -s conftest.err'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; } &&
5218 { ac_try
='test -s conftest$ac_exeext'
5219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 eval "kde_cv_prog_cxx_$kde_cache=yes"
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.
$ac_ext >&5
5230 rm -f conftest.err conftest.
$ac_objext \
5231 conftest
$ac_exeext conftest.
$ac_ext
5232 CXXFLAGS
="$save_CXXFLAGS"
5234 ac_cpp
='$CPP $CPPFLAGS'
5235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5242 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5248 echo "$as_me:$LINENO: result: no" >&5
5249 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5256 echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
5257 kde_cache
=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5258 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 ac_cpp
='$CXXCPP $CPPFLAGS'
5266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5270 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5273 save_CXXFLAGS
="$CXXFLAGS"
5274 CXXFLAGS
="$CXXFLAGS -fno-check-new"
5275 cat >conftest.
$ac_ext <<_ACEOF
5278 cat confdefs.h
>>conftest.
$ac_ext
5279 cat >>conftest.
$ac_ext <<_ACEOF
5280 /* end confdefs.h. */
5290 rm -f conftest.
$ac_objext conftest
$ac_exeext
5291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5292 (eval $ac_link) 2>conftest.er1
5294 grep -v '^ *+' conftest.er1
>conftest.err
5296 cat conftest.err
>&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); } &&
5299 { ac_try
='test -z "$ac_cxx_werror_flag"
5300 || test ! -s conftest.err'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; } &&
5306 { ac_try
='test -s conftest$ac_exeext'
5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }; }; then
5312 eval "kde_cv_prog_cxx_$kde_cache=yes"
5314 echo "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.
$ac_ext >&5
5318 rm -f conftest.err conftest.
$ac_objext \
5319 conftest
$ac_exeext conftest.
$ac_ext
5320 CXXFLAGS
="$save_CXXFLAGS"
5322 ac_cpp
='$CPP $CPPFLAGS'
5323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5330 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5331 echo "$as_me:$LINENO: result: yes" >&5
5332 echo "${ECHO_T}yes" >&6
5334 CXXFLAGS
="$CXXFLAGS -fno-check-new"
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5343 echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5344 echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
5345 kde_cache
=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5346 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 ac_cpp
='$CXXCPP $CPPFLAGS'
5354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5358 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5361 save_CXXFLAGS
="$CXXFLAGS"
5362 CXXFLAGS
="$CXXFLAGS -fno-common"
5363 cat >conftest.
$ac_ext <<_ACEOF
5366 cat confdefs.h
>>conftest.
$ac_ext
5367 cat >>conftest.
$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5378 rm -f conftest.
$ac_objext conftest
$ac_exeext
5379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5380 (eval $ac_link) 2>conftest.er1
5382 grep -v '^ *+' conftest.er1
>conftest.err
5384 cat conftest.err
>&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); } &&
5387 { ac_try
='test -z "$ac_cxx_werror_flag"
5388 || test ! -s conftest.err'
5389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); }; } &&
5394 { ac_try
='test -s conftest$ac_exeext'
5395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; }; then
5400 eval "kde_cv_prog_cxx_$kde_cache=yes"
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.
$ac_ext >&5
5406 rm -f conftest.err conftest.
$ac_objext \
5407 conftest
$ac_exeext conftest.
$ac_ext
5408 CXXFLAGS
="$save_CXXFLAGS"
5410 ac_cpp
='$CPP $CPPFLAGS'
5411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5418 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6
5422 CXXFLAGS
="$CXXFLAGS -fno-common"
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5431 echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5432 echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
5433 kde_cache
=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5434 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 ac_cpp
='$CXXCPP $CPPFLAGS'
5442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5446 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5449 save_CXXFLAGS
="$CXXFLAGS"
5450 CXXFLAGS
="$CXXFLAGS -fexceptions"
5451 cat >conftest.
$ac_ext <<_ACEOF
5454 cat confdefs.h
>>conftest.
$ac_ext
5455 cat >>conftest.
$ac_ext <<_ACEOF
5456 /* end confdefs.h. */
5466 rm -f conftest.
$ac_objext conftest
$ac_exeext
5467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5468 (eval $ac_link) 2>conftest.er1
5470 grep -v '^ *+' conftest.er1
>conftest.err
5472 cat conftest.err
>&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); } &&
5475 { ac_try
='test -z "$ac_cxx_werror_flag"
5476 || test ! -s conftest.err'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; } &&
5482 { ac_try
='test -s conftest$ac_exeext'
5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); }; }; then
5488 eval "kde_cv_prog_cxx_$kde_cache=yes"
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5494 rm -f conftest.err conftest.
$ac_objext \
5495 conftest
$ac_exeext conftest.
$ac_ext
5496 CXXFLAGS
="$save_CXXFLAGS"
5498 ac_cpp
='$CPP $CPPFLAGS'
5499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5506 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 USE_EXCEPTIONS
="-fexceptions"
5512 echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6
5518 ENABLE_PERMISSIVE_FLAG
="-fpermissive"
5520 if test "$kde_use_pch" = "yes"; then
5521 echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
5522 echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6
5524 if $CC -x c-header conftest.h
>/dev
/null
2>/dev
/null
; then
5525 kde_gcc_supports_pch
=yes
5526 echo "$as_me:$LINENO: result: yes" >&5
5527 echo "${ECHO_T}yes" >&6
5529 kde_gcc_supports_pch
=no
5530 echo "$as_me:$LINENO: result: no" >&5
5531 echo "${ECHO_T}no" >&6
5533 if test "$kde_gcc_supports_pch" = "yes"; then
5534 echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
5535 echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6
5536 if $CXX -x c
++-header conftest.h
>/dev
/null
2>/dev
/null
; then
5537 kde_gcc_supports_pch
=yes
5538 echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6
5541 kde_gcc_supports_pch
=no
5542 echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6
5546 rm -f conftest.h conftest.h.gch
5550 echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
5551 echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6
5552 if test "${kde_cv_opt_noinline_match+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 kde_cv_opt_noinline_match
=irrelevant
5557 if echo "$CFLAGS" |
grep -e -O2 >/dev
/null
2>/dev
/null \
5558 && echo "$CFLAGS" |
grep -e -fno-inline >/dev
/null
2>/dev
/null
; then
5560 ac_cflags_save
="$CFLAGS"
5561 CFLAGS
="$CFLAGS -D_USE_GNU"
5563 cat >conftest.
$ac_ext <<_ACEOF
5566 cat confdefs.h
>>conftest.
$ac_ext
5567 cat >>conftest.
$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5575 const char *pt, *et;
5576 et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ;
5582 rm -f conftest.
$ac_objext conftest
$ac_exeext
5583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5584 (eval $ac_link) 2>conftest.er1
5586 grep -v '^ *+' conftest.er1
>conftest.err
5588 cat conftest.err
>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try
='test -z "$ac_c_werror_flag"
5592 || test ! -s conftest.err'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; } &&
5598 { ac_try
='test -s conftest$ac_exeext'
5599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5604 kde_cv_opt_noinline_match
=yes
5606 echo "$as_me: failed program was:" >&5
5607 sed 's/^/| /' conftest.
$ac_ext >&5
5609 kde_cv_opt_noinline_match
=no
5612 rm -f conftest.err conftest.
$ac_objext \
5613 conftest
$ac_exeext conftest.
$ac_ext
5615 CFLAGS
="$ac_cflags_save"
5619 echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
5620 echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6
5622 if test "x$kde_cv_opt_noinline_match" = "xno" ; then
5623 CFLAGS
="`echo "$CFLAGS" | sed "s
/ -fno-inline//"`"
5628 if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
5629 unsermake_enable_pch_TRUE
=
5630 unsermake_enable_pch_FALSE
='#'
5632 unsermake_enable_pch_TRUE
='#'
5633 unsermake_enable_pch_FALSE
=
5636 if test "$CXX" = "KCC"; then
5638 if test "$kde_use_pch" = "yes"; then
5640 echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5641 echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
5642 kde_cache
=`echo -pch | sed 'y% .=/+-,%____p__%'`
5643 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 ac_cpp
='$CXXCPP $CPPFLAGS'
5651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5655 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5658 save_CXXFLAGS
="$CXXFLAGS"
5659 CXXFLAGS
="$CXXFLAGS --pch"
5660 cat >conftest.
$ac_ext <<_ACEOF
5663 cat confdefs.h
>>conftest.
$ac_ext
5664 cat >>conftest.
$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5675 rm -f conftest.
$ac_objext conftest
$ac_exeext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5677 (eval $ac_link) 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try
='test -z "$ac_cxx_werror_flag"
5685 || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; } &&
5691 { ac_try
='test -s conftest$ac_exeext'
5692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; }; then
5697 eval "kde_cv_prog_cxx_$kde_cache=yes"
5699 echo "$as_me: failed program was:" >&5
5700 sed 's/^/| /' conftest.
$ac_ext >&5
5703 rm -f conftest.err conftest.
$ac_objext \
5704 conftest
$ac_exeext conftest.
$ac_ext
5705 CXXFLAGS
="$save_CXXFLAGS"
5707 ac_cpp
='$CPP $CPPFLAGS'
5708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5715 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5719 CXXFLAGS
="$CXXFLAGS --pch"
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5729 echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5730 echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
5731 kde_cache
=`echo -inline_keyword_space_time=6 | 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_keyword_space_time=6"
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_keyword_space_time=6"
5810 echo "$as_me:$LINENO: result: no" >&5
5811 echo "${ECHO_T}no" >&6
5817 echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5818 echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
5819 kde_cache
=`echo -inline_auto_space_time=2 | 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 --inline_auto_space_time=2"
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 --inline_auto_space_time=2"
5898 echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6
5905 echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5906 echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
5907 kde_cache
=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5908 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 ac_cpp
='$CXXCPP $CPPFLAGS'
5916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5920 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5923 save_CXXFLAGS
="$CXXFLAGS"
5924 CXXFLAGS
="$CXXFLAGS --inline_implicit_space_time=2.0"
5925 cat >conftest.
$ac_ext <<_ACEOF
5928 cat confdefs.h
>>conftest.
$ac_ext
5929 cat >>conftest.
$ac_ext <<_ACEOF
5930 /* end confdefs.h. */
5940 rm -f conftest.
$ac_objext conftest
$ac_exeext
5941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5942 (eval $ac_link) 2>conftest.er1
5944 grep -v '^ *+' conftest.er1
>conftest.err
5946 cat conftest.err
>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } &&
5949 { ac_try
='test -z "$ac_cxx_werror_flag"
5950 || test ! -s conftest.err'
5951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); }; } &&
5956 { ac_try
='test -s conftest$ac_exeext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 eval "kde_cv_prog_cxx_$kde_cache=yes"
5964 echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.
$ac_ext >&5
5968 rm -f conftest.err conftest.
$ac_objext \
5969 conftest
$ac_exeext conftest.
$ac_ext
5970 CXXFLAGS
="$save_CXXFLAGS"
5972 ac_cpp
='$CPP $CPPFLAGS'
5973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5980 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 CXXFLAGS
="$CXXFLAGS --inline_implicit_space_time=2.0"
5986 echo "$as_me:$LINENO: result: no" >&5
5987 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5994 echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
5995 kde_cache
=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5996 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 ac_cpp
='$CXXCPP $CPPFLAGS'
6004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6008 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6011 save_CXXFLAGS
="$CXXFLAGS"
6012 CXXFLAGS
="$CXXFLAGS --inline_generated_space_time=2.0"
6013 cat >conftest.
$ac_ext <<_ACEOF
6016 cat confdefs.h
>>conftest.
$ac_ext
6017 cat >>conftest.
$ac_ext <<_ACEOF
6018 /* end confdefs.h. */
6028 rm -f conftest.
$ac_objext conftest
$ac_exeext
6029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6030 (eval $ac_link) 2>conftest.er1
6032 grep -v '^ *+' conftest.er1
>conftest.err
6034 cat conftest.err
>&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } &&
6037 { ac_try
='test -z "$ac_cxx_werror_flag"
6038 || test ! -s conftest.err'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; } &&
6044 { ac_try
='test -s conftest$ac_exeext'
6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); }; }; then
6050 eval "kde_cv_prog_cxx_$kde_cache=yes"
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.
$ac_ext >&5
6056 rm -f conftest.err conftest.
$ac_objext \
6057 conftest
$ac_exeext conftest.
$ac_ext
6058 CXXFLAGS
="$save_CXXFLAGS"
6060 ac_cpp
='$CPP $CPPFLAGS'
6061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6068 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6069 echo "$as_me:$LINENO: result: yes" >&5
6070 echo "${ECHO_T}yes" >&6
6072 CXXFLAGS
="$CXXFLAGS --inline_generated_space_time=2.0"
6074 echo "$as_me:$LINENO: result: no" >&5
6075 echo "${ECHO_T}no" >&6
6081 echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6082 echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
6083 kde_cache
=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6084 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 ac_cpp
='$CXXCPP $CPPFLAGS'
6092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6096 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6099 save_CXXFLAGS
="$CXXFLAGS"
6100 CXXFLAGS
="$CXXFLAGS --one_per"
6101 cat >conftest.
$ac_ext <<_ACEOF
6104 cat confdefs.h
>>conftest.
$ac_ext
6105 cat >>conftest.
$ac_ext <<_ACEOF
6106 /* end confdefs.h. */
6116 rm -f conftest.
$ac_objext conftest
$ac_exeext
6117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6118 (eval $ac_link) 2>conftest.er1
6120 grep -v '^ *+' conftest.er1
>conftest.err
6122 cat conftest.err
>&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); } &&
6125 { ac_try
='test -z "$ac_cxx_werror_flag"
6126 || test ! -s conftest.err'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; } &&
6132 { ac_try
='test -s conftest$ac_exeext'
6133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); }; }; then
6138 eval "kde_cv_prog_cxx_$kde_cache=yes"
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.
$ac_ext >&5
6144 rm -f conftest.err conftest.
$ac_objext \
6145 conftest
$ac_exeext conftest.
$ac_ext
6146 CXXFLAGS
="$save_CXXFLAGS"
6148 ac_cpp
='$CPP $CPPFLAGS'
6149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6156 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6160 CXXFLAGS
="$CXXFLAGS --one_per"
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6174 *-*-irix*) test "$GXX" = yes && CXXFLAGS
="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6175 *-*-sysv4.2uw
*) CXXFLAGS
="-D_UNIXWARE $CXXFLAGS";;
6176 *-*-sysv5uw7*) CXXFLAGS
="-D_UNIXWARE7 $CXXFLAGS";;
6178 if test "$GXX" = yes; then
6179 libstdcpp
=`$CXX -print-file-name=libstdc++.so`
6180 if test ! -f $libstdcpp; then
6181 { { 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
6182 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;}
6183 { (exit 1); exit 1; }; }
6189 if test "x$kde_use_qt_emb" != "xyes"; then
6191 __forbid
=" -fno-rtti -rpath "
6192 if test -n "$__val"; then
6198 *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6199 echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6200 *) # Careful to not add spaces, where there were none, because otherwise
6201 # libtool gets confused, if we change e.g. CXX
6202 if test -z "$__new" ; then __new
=$i ; else __new
="$__new $i" ; fi ;;
6210 __forbid
=" -fno-rtti -rpath "
6211 if test -n "$__val"; then
6217 *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6218 echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6219 *) # Careful to not add spaces, where there were none, because otherwise
6220 # libtool gets confused, if we change e.g. CXX
6221 if test -z "$__new" ; then __new
=$i ; else __new
="$__new $i" ; fi ;;
6231 if test -n "$__val"; then
6237 *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6238 echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6239 *) # Careful to not add spaces, where there were none, because otherwise
6240 # libtool gets confused, if we change e.g. CXX
6241 if test -z "$__new" ; then __new
=$i ; else __new
="$__new $i" ; fi ;;
6250 if test -n "$__val"; then
6256 *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6257 echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6258 *) # Careful to not add spaces, where there were none, because otherwise
6259 # libtool gets confused, if we change e.g. CXX
6260 if test -z "$__new" ; then __new
=$i ; else __new
="$__new $i" ; fi ;;
6271 ac_cpp
='$CXXCPP $CPPFLAGS'
6272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6275 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6276 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6277 if test -z "$CXXCPP"; then
6278 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 # Double quotes because CXXCPP needs to be expanded
6282 for CXXCPP
in "$CXX -E" "/lib/cpp"
6285 for ac_cxx_preproc_warn_flag
in '' yes
6287 # Use a header file that comes with gcc, so configuring glibc
6288 # with a fresh cross-compiler works.
6289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6290 # <limits.h> exists even on freestanding compilers.
6291 # On the NeXT, cc -E runs the code through the compiler's parser,
6292 # not just through cpp. "Syntax error" is here to catch this case.
6293 cat >conftest.
$ac_ext <<_ACEOF
6296 cat confdefs.h
>>conftest.
$ac_ext
6297 cat >>conftest.
$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6300 # include <limits.h>
6302 # include <assert.h>
6306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6307 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6309 grep -v '^ *+' conftest.er1
>conftest.err
6311 cat conftest.err
>&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); } >/dev
/null
; then
6314 if test -s conftest.err
; then
6315 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6316 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6323 if test -z "$ac_cpp_err"; then
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.
$ac_ext >&5
6329 # Broken: fails on valid input.
6332 rm -f conftest.err conftest.
$ac_ext
6334 # OK, works on sane cases. Now check whether non-existent headers
6335 # can be detected and how.
6336 cat >conftest.
$ac_ext <<_ACEOF
6339 cat confdefs.h
>>conftest.
$ac_ext
6340 cat >>conftest.
$ac_ext <<_ACEOF
6341 /* end confdefs.h. */
6342 #include <ac_nonexistent.h>
6344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6347 grep -v '^ *+' conftest.er1
>conftest.err
6349 cat conftest.err
>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } >/dev
/null
; then
6352 if test -s conftest.err
; then
6353 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6354 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6361 if test -z "$ac_cpp_err"; then
6362 # Broken: success on invalid input.
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.
$ac_ext >&5
6368 # Passes both tests.
6372 rm -f conftest.err conftest.
$ac_ext
6375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6376 rm -f conftest.err conftest.
$ac_ext
6377 if $ac_preproc_ok; then
6382 ac_cv_prog_CXXCPP
=$CXXCPP
6385 CXXCPP
=$ac_cv_prog_CXXCPP
6387 ac_cv_prog_CXXCPP
=$CXXCPP
6389 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6390 echo "${ECHO_T}$CXXCPP" >&6
6392 for ac_cxx_preproc_warn_flag
in '' yes
6394 # Use a header file that comes with gcc, so configuring glibc
6395 # with a fresh cross-compiler works.
6396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6397 # <limits.h> exists even on freestanding compilers.
6398 # On the NeXT, cc -E runs the code through the compiler's parser,
6399 # not just through cpp. "Syntax error" is here to catch this case.
6400 cat >conftest.
$ac_ext <<_ACEOF
6403 cat confdefs.h
>>conftest.
$ac_ext
6404 cat >>conftest.
$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 # include <limits.h>
6409 # include <assert.h>
6413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6416 grep -v '^ *+' conftest.er1
>conftest.err
6418 cat conftest.err
>&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } >/dev
/null
; then
6421 if test -s conftest.err
; then
6422 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6423 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6430 if test -z "$ac_cpp_err"; then
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 # Broken: fails on valid input.
6439 rm -f conftest.err conftest.
$ac_ext
6441 # OK, works on sane cases. Now check whether non-existent headers
6442 # can be detected and how.
6443 cat >conftest.
$ac_ext <<_ACEOF
6446 cat confdefs.h
>>conftest.
$ac_ext
6447 cat >>conftest.
$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 #include <ac_nonexistent.h>
6451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } >/dev
/null
; then
6459 if test -s conftest.err
; then
6460 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6461 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6468 if test -z "$ac_cpp_err"; then
6469 # Broken: success on invalid input.
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6475 # Passes both tests.
6479 rm -f conftest.err conftest.
$ac_ext
6482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6483 rm -f conftest.err conftest.
$ac_ext
6484 if $ac_preproc_ok; then
6487 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6488 See \`config.log' for more details." >&5
6489 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6490 See \`config.log' for more details." >&2;}
6491 { (exit 1); exit 1; }; }
6495 ac_cpp
='$CPP $CPPFLAGS'
6496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6501 if test "$GCC" = yes; then
6505 echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6506 echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6
6507 kde_cache
=`echo O0 | sed 'y% .=/+-,%____p__%'`
6508 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 ac_cpp
='$CXXCPP $CPPFLAGS'
6516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6520 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6523 save_CXXFLAGS
="$CXXFLAGS"
6524 CXXFLAGS
="$CXXFLAGS -O0"
6525 cat >conftest.
$ac_ext <<_ACEOF
6528 cat confdefs.h
>>conftest.
$ac_ext
6529 cat >>conftest.
$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6540 rm -f conftest.
$ac_objext conftest
$ac_exeext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6542 (eval $ac_link) 2>conftest.er1
6544 grep -v '^ *+' conftest.er1
>conftest.err
6546 cat conftest.err
>&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } &&
6549 { ac_try
='test -z "$ac_cxx_werror_flag"
6550 || test ! -s conftest.err'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; } &&
6556 { ac_try
='test -s conftest$ac_exeext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6562 eval "kde_cv_prog_cxx_$kde_cache=yes"
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.
$ac_ext >&5
6568 rm -f conftest.err conftest.
$ac_objext \
6569 conftest
$ac_exeext conftest.
$ac_ext
6570 CXXFLAGS
="$save_CXXFLAGS"
6572 ac_cpp
='$CPP $CPPFLAGS'
6573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6580 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6586 echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6
6593 # Check whether --enable-coverage or --disable-coverage was given.
6594 if test "${enable_coverage+set}" = set; then
6595 enableval
="$enable_coverage"
6597 if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
6598 ac_coverage_compiler
="-fprofile-arcs -ftest-coverage"
6599 ac_coverage_linker
="-lgcc"
6600 elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
6601 ac_coverage_compiler
="-fprofile-arcs -ftest-coverage"
6602 ac_coverage_linker
=""
6604 { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
6605 echo "$as_me: error: coverage with your compiler is not supported" >&2;}
6606 { (exit 1); exit 1; }; }
6608 CFLAGS
="$CFLAGS $ac_coverage_compiler"
6609 CXXFLAGS
="$CXXFLAGS $ac_coverage_compiler"
6610 LDFLAGS
="$LDFLAGS $ac_coverage_linker"
6619 # Check whether --enable-new_ldflags or --disable-new_ldflags was given.
6620 if test "${enable_new_ldflags+set}" = set; then
6621 enableval
="$enable_new_ldflags"
6622 kde_use_new_ldflags
=$enableval
6624 kde_use_new_ldflags
=no
6627 LDFLAGS_AS_NEEDED
=""
6628 LDFLAGS_NEW_DTAGS
=""
6629 if test "x$kde_use_new_ldflags" = "xyes"; then
6630 LDFLAGS_NEW_DTAGS
=""
6632 echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
6633 echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6
6634 kde_cache
=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
6635 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 ac_cpp
='$CXXCPP $CPPFLAGS'
6643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6647 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6650 save_CXXFLAGS
="$CXXFLAGS"
6651 CXXFLAGS
="$CXXFLAGS -Wl,--enable-new-dtags"
6652 cat >conftest.
$ac_ext <<_ACEOF
6655 cat confdefs.h
>>conftest.
$ac_ext
6656 cat >>conftest.
$ac_ext <<_ACEOF
6657 /* end confdefs.h. */
6667 rm -f conftest.
$ac_objext conftest
$ac_exeext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6669 (eval $ac_link) 2>conftest.er1
6671 grep -v '^ *+' conftest.er1
>conftest.err
6673 cat conftest.err
>&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try
='test -z "$ac_cxx_werror_flag"
6677 || test ! -s conftest.err'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; } &&
6683 { ac_try
='test -s conftest$ac_exeext'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; }; then
6689 eval "kde_cv_prog_cxx_$kde_cache=yes"
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.
$ac_ext >&5
6695 rm -f conftest.err conftest.
$ac_objext \
6696 conftest
$ac_exeext conftest.
$ac_ext
6697 CXXFLAGS
="$save_CXXFLAGS"
6699 ac_cpp
='$CPP $CPPFLAGS'
6700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6707 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6711 LDFLAGS_NEW_DTAGS
="-Wl,--enable-new-dtags"
6713 echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6
6721 echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
6722 echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6
6723 kde_cache
=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
6724 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6731 ac_cpp
='$CXXCPP $CPPFLAGS'
6732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6736 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6739 save_CXXFLAGS
="$CXXFLAGS"
6740 CXXFLAGS
="$CXXFLAGS -Wl,--as-needed"
6741 cat >conftest.
$ac_ext <<_ACEOF
6744 cat confdefs.h
>>conftest.
$ac_ext
6745 cat >>conftest.
$ac_ext <<_ACEOF
6746 /* end confdefs.h. */
6756 rm -f conftest.
$ac_objext conftest
$ac_exeext
6757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6758 (eval $ac_link) 2>conftest.er1
6760 grep -v '^ *+' conftest.er1
>conftest.err
6762 cat conftest.err
>&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); } &&
6765 { ac_try
='test -z "$ac_cxx_werror_flag"
6766 || test ! -s conftest.err'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; } &&
6772 { ac_try
='test -s conftest$ac_exeext'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; }; then
6778 eval "kde_cv_prog_cxx_$kde_cache=yes"
6780 echo "$as_me: failed program was:" >&5
6781 sed 's/^/| /' conftest.
$ac_ext >&5
6784 rm -f conftest.err conftest.
$ac_objext \
6785 conftest
$ac_exeext conftest.
$ac_ext
6786 CXXFLAGS
="$save_CXXFLAGS"
6788 ac_cpp
='$CPP $CPPFLAGS'
6789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6796 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6800 LDFLAGS_AS_NEEDED
="-Wl,--as-needed"
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6813 # Check whether --enable-final or --disable-final was given.
6814 if test "${enable_final+set}" = set; then
6815 enableval
="$enable_final"
6816 kde_use_final
=$enableval
6821 if test "x$kde_use_final" = "xyes"; then
6822 KDE_USE_FINAL_TRUE
=""
6823 KDE_USE_FINAL_FALSE
="#"
6825 KDE_USE_FINAL_TRUE
="#"
6826 KDE_USE_FINAL_FALSE
=""
6832 # Check whether --enable-closure or --disable-closure was given.
6833 if test "${enable_closure+set}" = set; then
6834 enableval
="$enable_closure"
6835 kde_use_closure
=$enableval
6841 if test "x$kde_use_closure" = "xyes"; then
6842 KDE_USE_CLOSURE_TRUE
=""
6843 KDE_USE_CLOSURE_FALSE
="#"
6844 # CXXFLAGS="$CXXFLAGS $REPO"
6846 KDE_USE_CLOSURE_TRUE
="#"
6847 KDE_USE_CLOSURE_FALSE
=""
6852 echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
6853 echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
6854 kde_cache
=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
6855 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6862 ac_cpp
='$CXXCPP $CPPFLAGS'
6863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6867 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6870 save_CXXFLAGS
="$CXXFLAGS"
6871 CXXFLAGS
="$CXXFLAGS -Wl,--no-undefined"
6872 cat >conftest.
$ac_ext <<_ACEOF
6875 cat confdefs.h
>>conftest.
$ac_ext
6876 cat >>conftest.
$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6887 rm -f conftest.
$ac_objext conftest
$ac_exeext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6889 (eval $ac_link) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1
>conftest.err
6893 cat conftest.err
>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try
='test -z "$ac_cxx_werror_flag"
6897 || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try
='test -s conftest$ac_exeext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 eval "kde_cv_prog_cxx_$kde_cache=yes"
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.
$ac_ext >&5
6915 rm -f conftest.err conftest.
$ac_objext \
6916 conftest
$ac_exeext conftest.
$ac_ext
6917 CXXFLAGS
="$save_CXXFLAGS"
6919 ac_cpp
='$CPP $CPPFLAGS'
6920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6927 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929 echo "${ECHO_T}yes" >&6
6932 echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
6933 echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
6934 kde_cache
=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
6935 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 ac_cpp
='$CXXCPP $CPPFLAGS'
6943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6947 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6950 save_CXXFLAGS
="$CXXFLAGS"
6951 CXXFLAGS
="$CXXFLAGS -Wl,--allow-shlib-undefined"
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6967 rm -f conftest.
$ac_objext conftest
$ac_exeext
6968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6969 (eval $ac_link) 2>conftest.er1
6971 grep -v '^ *+' conftest.er1
>conftest.err
6973 cat conftest.err
>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } &&
6976 { ac_try
='test -z "$ac_cxx_werror_flag"
6977 || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest$ac_exeext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 eval "kde_cv_prog_cxx_$kde_cache=yes"
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6995 rm -f conftest.err conftest.
$ac_objext \
6996 conftest
$ac_exeext conftest.
$ac_ext
6997 CXXFLAGS
="$save_CXXFLAGS"
6999 ac_cpp
='$CPP $CPPFLAGS'
7000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7007 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7008 echo "$as_me:$LINENO: result: yes" >&5
7009 echo "${ECHO_T}yes" >&6
7011 KDE_NO_UNDEFINED
="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7013 echo "$as_me:$LINENO: result: no" >&5
7014 echo "${ECHO_T}no" >&6
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7034 # Check whether --enable-nmcheck or --disable-nmcheck was given.
7035 if test "${enable_nmcheck+set}" = set; then
7036 enableval
="$enable_nmcheck"
7037 kde_use_nmcheck
=$enableval
7042 if test "$kde_use_nmcheck" = "yes"; then
7043 KDE_USE_NMCHECK_TRUE
=""
7044 KDE_USE_NMCHECK_FALSE
="#"
7046 KDE_USE_NMCHECK_TRUE
="#"
7047 KDE_USE_NMCHECK_FALSE
=""
7055 # Check whether --enable-shared or --disable-shared was given.
7056 if test "${enable_shared+set}" = set; then
7057 enableval
="$enable_shared"
7058 p
=${PACKAGE-default}
7060 yes) enable_shared
=yes ;;
7061 no
) enable_shared
=no
;;
7064 # Look at the argument we got. We use all the common list separators.
7065 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7066 for pkg
in $enableval; do
7068 if test "X$pkg" = "X$p"; then
7079 # Check whether --enable-static or --disable-static was given.
7080 if test "${enable_static+set}" = set; then
7081 enableval
="$enable_static"
7082 p
=${PACKAGE-default}
7084 yes) enable_static
=yes ;;
7085 no
) enable_static
=no
;;
7088 # Look at the argument we got. We use all the common list separators.
7089 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7090 for pkg
in $enableval; do
7092 if test "X$pkg" = "X$p"; then
7106 kdelibsuff
="$kde_libs_suffix"
7107 if test -z "$kdelibsuff"; then
7110 # Check whether --enable-libsuffix or --disable-libsuffix was given.
7111 if test "${enable_libsuffix+set}" = set; then
7112 enableval
="$enable_libsuffix"
7113 kdelibsuff
=$enableval
7116 if test "$kdelibsuff" = "auto"; then
7118 cat > conftest.c
<< EOF
7124 kdelibsuff
=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7125 s,.*/lib\([^\/]*\)/.*,\1,
7131 if test "$kdelibsuff" = "no" ||
test "$kdelibsuff" = "none"; then
7134 if test -z "$kdelibsuff"; then
7135 echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7136 echo "${ECHO_T}not using lib directory suffix" >&6
7138 cat >>confdefs.h
<<\_ACEOF
7139 #define KDELIBSUFF ""
7143 if test "$libdir" = '${exec_prefix}/lib'; then
7144 libdir
="$libdir${kdelibsuff}"
7148 cat >>confdefs.h
<<_ACEOF
7149 #define KDELIBSUFF "${kdelibsuff}"
7152 echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7153 echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
7156 # Check whether --enable-fast-install or --disable-fast-install was given.
7157 if test "${enable_fast_install+set}" = set; then
7158 enableval
="$enable_fast_install"
7159 p
=${PACKAGE-default}
7161 yes) enable_fast_install
=yes ;;
7162 no
) enable_fast_install
=no
;;
7164 enable_fast_install
=no
7165 # Look at the argument we got. We use all the common list separators.
7166 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7167 for pkg
in $enableval; do
7169 if test "X$pkg" = "X$p"; then
7170 enable_fast_install
=yes
7177 enable_fast_install
=yes
7180 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7181 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
7182 if test "${lt_cv_path_SED+set}" = set; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7185 # Loop through the user's path and test for sed and gsed.
7186 # Then use that list of sed's as ones to test for truncation.
7187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir
=.
7192 for lt_ac_prog
in sed gsed
; do
7193 for ac_exec_ext
in '' $ac_executable_extensions; do
7194 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7195 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7202 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
7203 # along with /bin/sed that truncates output.
7204 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
7205 test ! -f $lt_ac_sed && break
7206 cat /dev
/null
> conftest.
in
7208 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
7209 # Check for GNU sed and select it if it is found.
7210 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
7211 lt_cv_path_SED
=$lt_ac_sed
7215 cat conftest.
in conftest.
in >conftest.tmp
7216 mv conftest.tmp conftest.
in
7217 cp conftest.
in conftest.
nl
7219 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
7220 cmp -s conftest.out conftest.
nl ||
break
7221 # 10000 chars as input seems more than enough
7222 test $lt_ac_count -gt 10 && break
7223 lt_ac_count
=`expr $lt_ac_count + 1`
7224 if test $lt_ac_count -gt $lt_ac_max; then
7225 lt_ac_max
=$lt_ac_count
7226 lt_cv_path_SED
=$lt_ac_sed
7234 echo "$as_me:$LINENO: result: $SED" >&5
7235 echo "${ECHO_T}$SED" >&6
7237 echo "$as_me:$LINENO: checking for egrep" >&5
7238 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7239 if test "${ac_cv_prog_egrep+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7243 then ac_cv_prog_egrep
='grep -E'
7244 else ac_cv_prog_egrep
='egrep'
7247 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7248 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7249 EGREP
=$ac_cv_prog_egrep
7253 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7254 if test "${with_gnu_ld+set}" = set; then
7255 withval
="$with_gnu_ld"
7256 test "$withval" = no || with_gnu_ld
=yes
7261 if test "$GCC" = yes; then
7262 # Check if gcc -print-prog-name=ld gives a path.
7263 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7264 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
7267 # gcc leaves a trailing carriage return which upsets mingw
7268 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7270 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7273 # Accept absolute paths.
7275 re_direlt
='/[^/][^/]*/\.\./'
7276 # Canonicalize the pathname of ld
7277 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
7278 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7279 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7281 test -z "$LD" && LD
="$ac_prog"
7284 # If it fails, then pretend we aren't using GCC.
7288 # If it is relative, then search for the first ld in PATH.
7292 elif test "$with_gnu_ld" = yes; then
7293 echo "$as_me:$LINENO: checking for GNU ld" >&5
7294 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7296 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7297 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7299 if test "${lt_cv_path_LD+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 if test -z "$LD"; then
7303 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7304 for ac_dir
in $PATH; do
7306 test -z "$ac_dir" && ac_dir
=.
7307 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7308 lt_cv_path_LD
="$ac_dir/$ac_prog"
7309 # Check to see if the program is GNU ld. I'd rather use --version,
7310 # but apparently some GNU ld's only accept -v.
7311 # Break only if it was the GNU/non-GNU ld that we prefer.
7312 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7313 *GNU
* |
*'with BFD'*)
7314 test "$with_gnu_ld" != no
&& break
7317 test "$with_gnu_ld" != yes && break
7324 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7329 if test -n "$LD"; then
7330 echo "$as_me:$LINENO: result: $LD" >&5
7331 echo "${ECHO_T}$LD" >&6
7333 echo "$as_me:$LINENO: result: no" >&5
7334 echo "${ECHO_T}no" >&6
7336 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7337 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7338 { (exit 1); exit 1; }; }
7339 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7340 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7341 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7345 case `$LD -v 2>&1 </dev/null` in
7346 *GNU
* |
*'with BFD'*)
7347 lt_cv_prog_gnu_ld
=yes
7350 lt_cv_prog_gnu_ld
=no
7354 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7355 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7356 with_gnu_ld
=$lt_cv_prog_gnu_ld
7359 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7360 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
7361 if test "${lt_cv_ld_reload_flag+set}" = set; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7364 lt_cv_ld_reload_flag
='-r'
7366 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7367 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
7368 reload_flag
=$lt_cv_ld_reload_flag
7369 case $reload_flag in
7371 *) reload_flag
=" $reload_flag" ;;
7373 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7375 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7376 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7377 if test "${lt_cv_path_NM+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 if test -n "$NM"; then
7381 # Let the user override the test.
7384 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7385 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
7387 test -z "$ac_dir" && ac_dir
=.
7388 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
7389 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7390 # Check to see if the nm accepts a BSD-compat flag.
7391 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7392 # nm: unknown option "B" ignored
7393 # Tru64's nm complains that /dev/null is an invalid object file
7394 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7395 */dev
/null
* |
*'Invalid file or object type'*)
7396 lt_cv_path_NM
="$tmp_nm -B"
7400 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7402 lt_cv_path_NM
="$tmp_nm -p"
7406 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7407 continue # so that we can try to find one that supports BSD flags
7414 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
7417 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7418 echo "${ECHO_T}$lt_cv_path_NM" >&6
7421 echo "$as_me:$LINENO: checking whether ln -s works" >&5
7422 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7424 if test "$LN_S" = "ln -s"; then
7425 echo "$as_me:$LINENO: result: yes" >&5
7426 echo "${ECHO_T}yes" >&6
7428 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7429 echo "${ECHO_T}no, using $LN_S" >&6
7432 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7433 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7434 if test "${lt_cv_deplibs_check_method+set}" = set; then
7435 echo $ECHO_N "(cached) $ECHO_C" >&6
7437 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7438 lt_cv_file_magic_test_file
=
7439 lt_cv_deplibs_check_method
='unknown'
7440 # Need to set the preceding variable on all platforms that support
7441 # interlibrary dependencies.
7442 # 'none' -- dependencies not supported.
7443 # `unknown' -- same as none, but documents that we really don't know.
7444 # 'pass_all' -- all dependencies passed with no checks.
7445 # 'test_compile' -- check by making test program.
7446 # 'file_magic [[regex]]' -- check by looking for files in library path
7447 # which responds to the $file_magic_cmd with a given extended regex.
7448 # If you have `file' or equivalent on your system and you're not sure
7449 # whether `pass_all' will *always* work, you probably want this one.
7453 lt_cv_deplibs_check_method
=pass_all
7457 lt_cv_deplibs_check_method
=pass_all
7461 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7462 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7463 lt_cv_file_magic_test_file
=/shlib
/libc.so
7467 lt_cv_deplibs_check_method
=pass_all
7471 # win32_libid is a shell function defined in ltmain.sh
7472 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7473 lt_cv_file_magic_cmd
='win32_libid'
7476 darwin
* | rhapsody
*)
7477 # this will be overwritten by pass_all, but leave it in just in case
7478 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
7479 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7481 rhapsody
* | darwin1.
[012])
7482 lt_cv_file_magic_test_file
=`/System/Library/Frameworks/System.framework/System`
7485 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
7488 lt_cv_deplibs_check_method
=pass_all
7491 freebsd
* | kfreebsd
*-gnu)
7492 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
7495 # Not sure whether the presence of OpenBSD here was a mistake.
7496 # Let's accept both of them until this is cleared up.
7497 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
7498 lt_cv_file_magic_cmd
=/usr
/bin
/file
7499 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7503 lt_cv_deplibs_check_method
=pass_all
7508 lt_cv_deplibs_check_method
=pass_all
7511 hpux10.20
* | hpux11
*)
7512 lt_cv_file_magic_cmd
=/usr
/bin
/file
7515 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7516 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7519 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]'
7520 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7523 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7524 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7529 irix5
* | irix6
* | nonstopux
*)
7531 irix5
* | nonstopux
*)
7532 # this will be overridden with pass_all, but let us keep it just in case
7533 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
7537 *-32|
*"-32 ") libmagic
=32-bit;;
7538 *-n32|
*"-n32 ") libmagic
=N32
;;
7539 *-64|
*"-64 ") libmagic
=64-bit;;
7540 *) libmagic
=never-match
;;
7542 # this will be overridden with pass_all, but let us keep it just in case
7543 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
7546 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
7547 lt_cv_deplibs_check_method
=pass_all
7550 # This must be Linux ELF.
7553 alpha
* | hppa
* | i
*86 | ia64
* | m68
* | mips
* | powerpc
* | sparc
* | s390
* | sh
* | x86_64
* )
7554 lt_cv_deplibs_check_method
=pass_all
;;
7555 # the debian people say, arm and glibc 2.3.1 works for them with pass_all
7557 lt_cv_deplibs_check_method
=pass_all
;;
7559 # glibc up to 2.1.1 does not perform some relocations on ARM
7560 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
7562 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
7566 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
7567 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7569 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7574 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7575 lt_cv_file_magic_cmd
=/usr
/bin
/file
7576 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7580 lt_cv_deplibs_check_method
=unknown
7584 lt_cv_file_magic_cmd
=/usr
/bin
/file
7585 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7586 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7587 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7589 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
7593 osf3
* | osf4
* | osf5
*)
7594 # this will be overridden with pass_all, but let us keep it just in case
7595 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
7596 lt_cv_file_magic_test_file
=/shlib
/libc.so
7597 lt_cv_deplibs_check_method
=pass_all
7601 lt_cv_deplibs_check_method
=pass_all
7605 lt_cv_deplibs_check_method
=pass_all
7606 lt_cv_file_magic_test_file
=/lib
/libc.so
7609 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7610 case $host_vendor in
7612 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]'
7613 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7616 lt_cv_deplibs_check_method
=pass_all
7619 lt_cv_file_magic_cmd
='/bin/file'
7620 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7623 lt_cv_file_magic_cmd
='/bin/file'
7624 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7625 lt_cv_file_magic_test_file
=/lib
/libc.so
7628 lt_cv_deplibs_check_method
=pass_all
7633 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
7634 lt_cv_deplibs_check_method
=pass_all
7639 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7640 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7641 file_magic_cmd
=$lt_cv_file_magic_cmd
7642 deplibs_check_method
=$lt_cv_deplibs_check_method
7643 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7646 # If no C compiler was specified, use CC.
7649 # Allow CC to be a program name with arguments.
7652 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7653 if test "${enable_libtool_lock+set}" = set; then
7654 enableval
="$enable_libtool_lock"
7657 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7659 # Some flags need to be propagated to the compiler or linker for good
7663 # Find out which ABI we are using.
7664 echo 'int i;' > conftest.
$ac_ext
7665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7666 (eval $ac_compile) 2>&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; then
7670 case `/usr/bin/file conftest.$ac_objext` in
7682 # Find out which ABI we are using.
7683 echo '#line 7683 "configure"' > conftest.
$ac_ext
7684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7685 (eval $ac_compile) 2>&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; then
7689 if test "$lt_cv_prog_gnu_ld" = yes; then
7690 case `/usr/bin/file conftest.$ac_objext` in
7692 LD
="${LD-ld} -melf32bsmip"
7695 LD
="${LD-ld} -melf32bmipn32"
7698 LD
="${LD-ld} -melf64bmip"
7702 case `/usr/bin/file conftest.$ac_objext` in
7718 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
7719 # Find out which ABI we are using.
7720 echo 'int i;' > conftest.
$ac_ext
7721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7722 (eval $ac_compile) 2>&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; then
7726 case "`/usr/bin/file conftest.o`" in
7731 LD
="${LD-ld} -m elf_i386"
7734 LD
="${LD-ld} -m elf32ppclinux"
7737 LD
="${LD-ld} -m elf_s390"
7740 LD
="${LD-ld} -m elf32_sparc"
7748 LD
="${LD-ld} -m elf_x86_64"
7750 ppc
*-*linux
*|powerpc
*-*linux
*)
7751 LD
="${LD-ld} -m elf64ppc"
7754 LD
="${LD-ld} -m elf64_s390"
7757 LD
="${LD-ld} -m elf64_sparc"
7767 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7768 SAVE_CFLAGS
="$CFLAGS"
7769 CFLAGS
="$CFLAGS -belf"
7770 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7771 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7772 if test "${lt_cv_cc_needs_belf+set}" = set; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7776 ac_cpp
='$CPP $CPPFLAGS'
7777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7781 cat >conftest.
$ac_ext <<_ACEOF
7784 cat confdefs.h
>>conftest.
$ac_ext
7785 cat >>conftest.
$ac_ext <<_ACEOF
7786 /* end confdefs.h. */
7796 rm -f conftest.
$ac_objext conftest
$ac_exeext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7798 (eval $ac_link) 2>conftest.er1
7800 grep -v '^ *+' conftest.er1
>conftest.err
7802 cat conftest.err
>&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); } &&
7805 { ac_try
='test -z "$ac_c_werror_flag"
7806 || test ! -s conftest.err'
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); }; } &&
7812 { ac_try
='test -s conftest$ac_exeext'
7813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); }; }; then
7818 lt_cv_cc_needs_belf
=yes
7820 echo "$as_me: failed program was:" >&5
7821 sed 's/^/| /' conftest.
$ac_ext >&5
7823 lt_cv_cc_needs_belf
=no
7825 rm -f conftest.err conftest.
$ac_objext \
7826 conftest
$ac_exeext conftest.
$ac_ext
7828 ac_cpp
='$CPP $CPPFLAGS'
7829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7834 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7835 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7836 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7837 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7838 CFLAGS
="$SAVE_CFLAGS"
7844 need_locks
="$enable_libtool_lock"
7848 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7849 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7850 if test "${ac_cv_header_stdc+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 cat >conftest.
$ac_ext <<_ACEOF
7856 cat confdefs.h
>>conftest.
$ac_ext
7857 cat >>conftest.
$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7872 rm -f conftest.
$ac_objext
7873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7874 (eval $ac_compile) 2>conftest.er1
7876 grep -v '^ *+' conftest.er1
>conftest.err
7878 cat conftest.err
>&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } &&
7881 { ac_try
='test -z "$ac_c_werror_flag"
7882 || test ! -s conftest.err'
7883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); }; } &&
7888 { ac_try
='test -s conftest.$ac_objext'
7889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); }; }; then
7894 ac_cv_header_stdc
=yes
7896 echo "$as_me: failed program was:" >&5
7897 sed 's/^/| /' conftest.
$ac_ext >&5
7899 ac_cv_header_stdc
=no
7901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7903 if test $ac_cv_header_stdc = yes; then
7904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7905 cat >conftest.
$ac_ext <<_ACEOF
7908 cat confdefs.h
>>conftest.
$ac_ext
7909 cat >>conftest.
$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7915 $EGREP "memchr" >/dev
/null
2>&1; then
7918 ac_cv_header_stdc
=no
7924 if test $ac_cv_header_stdc = yes; then
7925 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7926 cat >conftest.
$ac_ext <<_ACEOF
7929 cat confdefs.h
>>conftest.
$ac_ext
7930 cat >>conftest.
$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7936 $EGREP "free" >/dev
/null
2>&1; then
7939 ac_cv_header_stdc
=no
7945 if test $ac_cv_header_stdc = yes; then
7946 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7947 if test "$cross_compiling" = yes; then
7950 cat >conftest.
$ac_ext <<_ACEOF
7953 cat confdefs.h
>>conftest.
$ac_ext
7954 cat >>conftest.
$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7957 #if ((' ' & 0x0FF) == 0x020)
7958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7961 # define ISLOWER(c) \
7962 (('a' <= (c) && (c) <= 'i') \
7963 || ('j' <= (c) && (c) <= 'r') \
7964 || ('s' <= (c) && (c) <= 'z'))
7965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7973 for (i = 0; i < 256; i++)
7974 if (XOR (islower (i), ISLOWER (i))
7975 || toupper (i) != TOUPPER (i))
7980 rm -f conftest
$ac_exeext
7981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7982 (eval $ac_link) 2>&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); }; }; then
7993 echo "$as_me: program exited with status $ac_status" >&5
7994 echo "$as_me: failed program was:" >&5
7995 sed 's/^/| /' conftest.
$ac_ext >&5
7998 ac_cv_header_stdc
=no
8000 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8004 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8005 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8006 if test $ac_cv_header_stdc = yes; then
8008 cat >>confdefs.h
<<\_ACEOF
8009 #define STDC_HEADERS 1
8014 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8024 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8025 inttypes.h stdint.h unistd.h
8027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8028 echo "$as_me:$LINENO: checking for $ac_header" >&5
8029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8031 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 cat >conftest.
$ac_ext <<_ACEOF
8036 cat confdefs.h
>>conftest.
$ac_ext
8037 cat >>conftest.
$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8039 $ac_includes_default
8041 #include <$ac_header>
8043 rm -f conftest.
$ac_objext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8045 (eval $ac_compile) 2>conftest.er1
8047 grep -v '^ *+' conftest.er1
>conftest.err
8049 cat conftest.err
>&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try
='test -z "$ac_c_werror_flag"
8053 || test ! -s conftest.err'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; } &&
8059 { ac_try
='test -s conftest.$ac_objext'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8065 eval "$as_ac_Header=yes"
8067 echo "$as_me: failed program was:" >&5
8068 sed 's/^/| /' conftest.
$ac_ext >&5
8070 eval "$as_ac_Header=no"
8072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8077 cat >>confdefs.h
<<_ACEOF
8078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8087 for ac_header
in dlfcn.h
8089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8091 echo "$as_me:$LINENO: checking for $ac_header" >&5
8092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8094 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8099 # Is the header compilable?
8100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8102 cat >conftest.
$ac_ext <<_ACEOF
8105 cat confdefs.h
>>conftest.
$ac_ext
8106 cat >>conftest.
$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 $ac_includes_default
8109 #include <$ac_header>
8111 rm -f conftest.
$ac_objext
8112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8113 (eval $ac_compile) 2>conftest.er1
8115 grep -v '^ *+' conftest.er1
>conftest.err
8117 cat conftest.err
>&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); } &&
8120 { ac_try
='test -z "$ac_c_werror_flag"
8121 || test ! -s conftest.err'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; } &&
8127 { ac_try
='test -s conftest.$ac_objext'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; }; then
8133 ac_header_compiler
=yes
8135 echo "$as_me: failed program was:" >&5
8136 sed 's/^/| /' conftest.
$ac_ext >&5
8138 ac_header_compiler
=no
8140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8142 echo "${ECHO_T}$ac_header_compiler" >&6
8144 # Is the header present?
8145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8147 cat >conftest.
$ac_ext <<_ACEOF
8150 cat confdefs.h
>>conftest.
$ac_ext
8151 cat >>conftest.
$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8153 #include <$ac_header>
8155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8158 grep -v '^ *+' conftest.er1
>conftest.err
8160 cat conftest.err
>&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); } >/dev
/null
; then
8163 if test -s conftest.err
; then
8164 ac_cpp_err
=$ac_c_preproc_warn_flag
8165 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8172 if test -z "$ac_cpp_err"; then
8173 ac_header_preproc
=yes
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.
$ac_ext >&5
8178 ac_header_preproc
=no
8180 rm -f conftest.err conftest.
$ac_ext
8181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8182 echo "${ECHO_T}$ac_header_preproc" >&6
8184 # So? What about this header?
8185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8191 ac_header_preproc
=yes
8194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8208 ## ------------------------------------------ ##
8209 ## Report this to the AC_PACKAGE_NAME lists. ##
8210 ## ------------------------------------------ ##
8213 sed "s/^/$as_me: WARNING: /" >&2
8216 echo "$as_me:$LINENO: checking for $ac_header" >&5
8217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 eval "$as_ac_Header=\$ac_header_preproc"
8223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8228 cat >>confdefs.h
<<_ACEOF
8229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8237 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8238 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8239 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
8240 if test -n "$ac_tool_prefix"; then
8241 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8244 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8245 echo "$as_me:$LINENO: checking for $ac_word" >&5
8246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8247 if test "${ac_cv_prog_F77+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 if test -n "$F77"; then
8251 ac_cv_prog_F77
="$F77" # Let the user override the test.
8253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8257 test -z "$as_dir" && as_dir
=.
8258 for ac_exec_ext
in '' $ac_executable_extensions; do
8259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
8261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 if test -n "$F77"; then
8271 echo "$as_me:$LINENO: result: $F77" >&5
8272 echo "${ECHO_T}$F77" >&6
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8278 test -n "$F77" && break
8281 if test -z "$F77"; then
8283 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8285 # Extract the first word of "$ac_prog", so it can be a program name with args.
8286 set dummy
$ac_prog; ac_word
=$2
8287 echo "$as_me:$LINENO: checking for $ac_word" >&5
8288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8289 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8292 if test -n "$ac_ct_F77"; then
8293 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
8295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8299 test -z "$as_dir" && as_dir
=.
8300 for ac_exec_ext
in '' $ac_executable_extensions; do
8301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8302 ac_cv_prog_ac_ct_F77
="$ac_prog"
8303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8311 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
8312 if test -n "$ac_ct_F77"; then
8313 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8314 echo "${ECHO_T}$ac_ct_F77" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8320 test -n "$ac_ct_F77" && break
8327 # Provide some information about the compiler.
8328 echo "$as_me:8328:" \
8329 "checking for Fortran 77 compiler version" >&5
8330 ac_compiler
=`set X $ac_compile; echo $2`
8331 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8332 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); }
8336 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8337 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }
8341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8342 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }
8348 # If we don't use `.F' as extension, the preprocessor is not run on the
8349 # input file. (Note that this only needs to work for GNU compilers.)
8352 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8353 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
8354 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 cat >conftest.
$ac_ext <<_ACEOF
8365 rm -f conftest.
$ac_objext
8366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8367 (eval $ac_compile) 2>conftest.er1
8369 grep -v '^ *+' conftest.er1
>conftest.err
8371 cat conftest.err
>&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); } &&
8374 { ac_try
='test -z "$ac_f77_werror_flag"
8375 || test ! -s conftest.err'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; } &&
8381 { ac_try
='test -s conftest.$ac_objext'
8382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.
$ac_ext >&5
8394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8395 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
8398 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8399 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
8401 ac_test_FFLAGS
=${FFLAGS+set}
8402 ac_save_FFLAGS
=$FFLAGS
8404 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8405 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
8406 if test "${ac_cv_prog_f77_g+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 cat >conftest.
$ac_ext <<_ACEOF
8415 rm -f conftest.
$ac_objext
8416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8417 (eval $ac_compile) 2>conftest.er1
8419 grep -v '^ *+' conftest.er1
>conftest.err
8421 cat conftest.err
>&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); } &&
8424 { ac_try
='test -z "$ac_f77_werror_flag"
8425 || test ! -s conftest.err'
8426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); }; } &&
8431 { ac_try
='test -s conftest.$ac_objext'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; }; then
8437 ac_cv_prog_f77_g
=yes
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.
$ac_ext >&5
8444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8447 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8448 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
8449 if test "$ac_test_FFLAGS" = set; then
8450 FFLAGS
=$ac_save_FFLAGS
8451 elif test $ac_cv_prog_f77_g = yes; then
8452 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
8458 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
8465 G77
=`test $ac_compiler_gnu = yes && echo yes`
8467 ac_cpp
='$CPP $CPPFLAGS'
8468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8474 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8476 # find the maximum length of command line arguments
8477 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8478 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
8479 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 # On DJGPP, this test can blow up pretty badly due to problems in libc
8488 # (any single argument exceeding 2000 bytes causes a buffer overrun
8489 # during glob expansion). Even if it were fixed, the result of this
8490 # check would be larger than it should be.
8491 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8495 # Under GNU Hurd, this test is not required because there is
8496 # no limit to the length of command line arguments.
8497 # Libtool will interpret -1 as no limit whatsoever
8498 lt_cv_sys_max_cmd_len
=-1;
8502 # On Win9x/ME, this test blows up -- it succeeds, but takes
8503 # about 5 minutes as the teststring grows exponentially.
8504 # Worse, since 9x/ME are not pre-emptively multitasking,
8505 # you end up with a "frozen" computer, even though with patience
8506 # the test eventually succeeds (with a max line length of 256k).
8507 # Instead, let's just punt: use the minimum linelength reported by
8508 # all of the supported platforms: 8192 (on NT/2K/XP).
8509 lt_cv_sys_max_cmd_len
=8192;
8513 # If test is not a shell built-in, we'll probably end up computing a
8514 # maximum length that is only half of the actual maximum length, but
8516 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
8517 = "XX$testring") >/dev
/null
2>&1 &&
8518 new_result
=`expr "X$testring" : ".*" 2>&1` &&
8519 lt_cv_sys_max_cmd_len
=$new_result &&
8520 test $i != 17 # 1/2 MB should be enough
8523 testring
=$testring$testring
8526 # Add a significant safety factor because C++ compilers can tack on massive
8527 # amounts of additional arguments before passing them to the linker.
8528 # It appears as though 1/2 is a usable value.
8529 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8535 if test -n $lt_cv_sys_max_cmd_len ; then
8536 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8537 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
8539 echo "$as_me:$LINENO: result: none" >&5
8540 echo "${ECHO_T}none" >&6
8546 # Check for command to grab the raw symbol name followed by C symbol from nm.
8547 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8548 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
8549 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 # These are sane defaults that work on at least a few old systems.
8554 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8556 # Character class describing NM global symbol codes.
8557 symcode
='[BCDEGRST]'
8559 # Regexp to match symbols that can be accessed directly from C.
8560 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8562 # Transform the above into a raw symbol and a C symbol.
8563 symxfrm
='\1 \2\3 \3'
8565 # Transform an extracted symbol line into a proper C declaration
8566 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8568 # Transform an extracted symbol line into symbol name and symbol address
8569 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'"
8571 # Define system-specific variables.
8576 cygwin
* | mingw
* | pw32
*)
8577 symcode
='[ABCDGISTW]'
8579 hpux
*) # Its linker distinguishes data from code symbols
8580 if test "$host_cpu" = ia64
; then
8581 symcode
='[ABCDEGRST]'
8583 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8584 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'"
8587 symcode
='[BCDEGRST]'
8590 symcode
='[BCDEGQRST]'
8600 # Handle CRLF in mingw tool chain
8604 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8608 # If we're using GNU nm, then use its standard symbol codes.
8609 case `$NM -V 2>&1` in
8610 *GNU
* |
*'with BFD'*)
8611 symcode
='[ABCDGISTW]' ;;
8614 # Try without a prefix undercore, then with it.
8615 for ac_symprfx
in "" "_"; do
8617 # Write the raw and C identifiers.
8618 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
8620 # Check to see that the pipe works correctly.
8624 cat > conftest.
$ac_ext <<EOF
8629 void nm_test_func(){}
8633 int main(){nm_test_var='a';nm_test_func();return(0);}
8636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8637 (eval $ac_compile) 2>&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; then
8641 # Now try to grab the symbols.
8643 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8644 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } && test -s "$nlist"; then
8648 # Try sorting and uniquifying the output.
8649 if sort "$nlist" |
uniq > "$nlist"T
; then
8650 mv -f "$nlist"T
"$nlist"
8655 # Make sure that we snagged all the symbols we need.
8656 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
8657 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
8658 cat <<EOF > conftest.$ac_ext
8664 # Now generate the symbol file.
8665 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8667 cat <<EOF >> conftest.$ac_ext
8668 #if defined (__STDC__) && __STDC__
8669 # define lt_ptr_t void *
8671 # define lt_ptr_t char *
8675 /* The mapping between symbol names and symbols. */
8680 lt_preloaded_symbols[] =
8683 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
8684 cat <<\EOF
>> conftest.
$ac_ext
8692 # Now try linking the two files.
8693 mv conftest.
$ac_objext conftstm.
$ac_objext
8694 lt_save_LIBS
="$LIBS"
8695 lt_save_CFLAGS
="$CFLAGS"
8696 LIBS
="conftstm.$ac_objext"
8697 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8699 (eval $ac_link) 2>&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8705 LIBS
="$lt_save_LIBS"
8706 CFLAGS
="$lt_save_CFLAGS"
8708 echo "cannot find nm_test_func in $nlist" >&5
8711 echo "cannot find nm_test_var in $nlist" >&5
8714 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8717 echo "$progname: failed program was:" >&5
8718 cat conftest.
$ac_ext >&5
8720 rm -f conftest
* conftst
*
8722 # Do not use the global_symbol_pipe unless it works.
8723 if test "$pipe_works" = yes; then
8726 lt_cv_sys_global_symbol_pipe
=
8732 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8733 lt_cv_sys_global_symbol_to_cdecl
=
8735 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8736 echo "$as_me:$LINENO: result: failed" >&5
8737 echo "${ECHO_T}failed" >&6
8739 echo "$as_me:$LINENO: result: ok" >&5
8740 echo "${ECHO_T}ok" >&6
8743 echo "$as_me:$LINENO: checking for objdir" >&5
8744 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8745 if test "${lt_cv_objdir+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 rm -f .libs
2>/dev
/null
8749 mkdir .libs
2>/dev
/null
8750 if test -d .libs
; then
8753 # MS-DOS does not allow filenames that begin with a dot.
8756 rmdir .libs
2>/dev
/null
8758 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8759 echo "${ECHO_T}$lt_cv_objdir" >&6
8760 objdir
=$lt_cv_objdir
8768 # AIX sometimes has problems with the GCC collect2 program. For some
8769 # reason, if we set the COLLECT_NAMES environment variable, the problems
8770 # vanish in a puff of smoke.
8771 if test "X${COLLECT_NAMES+set}" != Xset
; then
8773 export COLLECT_NAMES
8778 # Sed substitution that helps us do robust quoting. It backslashifies
8779 # metacharacters that are still active within double-quoted strings.
8780 Xsed
='sed -e s/^X//'
8781 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
8783 # Same as above, but do not quote variable references.
8784 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
8786 # Sed substitution to delay expansion of an escaped shell variable in a
8787 # double_quote_subst'ed string.
8788 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8790 # Sed substitution to avoid accidental globbing in evaled expressions
8791 no_glob_subst
='s/\*/\\\*/g'
8797 default_ofile
=libtool
8798 can_build_shared
=yes
8800 # All known linkers require a `.a' archive for static linking (except M$VC,
8801 # which needs '.lib').
8803 ltmain
="$ac_aux_dir/ltmain.sh"
8804 ofile
="$default_ofile"
8805 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8807 if test -n "$ac_tool_prefix"; then
8808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8809 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8810 echo "$as_me:$LINENO: checking for $ac_word" >&5
8811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8812 if test "${ac_cv_prog_AR+set}" = set; then
8813 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 if test -n "$AR"; then
8816 ac_cv_prog_AR
="$AR" # Let the user override the test.
8818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8822 test -z "$as_dir" && as_dir
=.
8823 for ac_exec_ext
in '' $ac_executable_extensions; do
8824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8825 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8835 if test -n "$AR"; then
8836 echo "$as_me:$LINENO: result: $AR" >&5
8837 echo "${ECHO_T}$AR" >&6
8839 echo "$as_me:$LINENO: result: no" >&5
8840 echo "${ECHO_T}no" >&6
8844 if test -z "$ac_cv_prog_AR"; then
8846 # Extract the first word of "ar", so it can be a program name with args.
8847 set dummy
ar; ac_word
=$2
8848 echo "$as_me:$LINENO: checking for $ac_word" >&5
8849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8850 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 if test -n "$ac_ct_AR"; then
8854 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir
=.
8861 for ac_exec_ext
in '' $ac_executable_extensions; do
8862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_prog_ac_ct_AR
="ar"
8864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8870 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
8873 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8874 if test -n "$ac_ct_AR"; then
8875 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8876 echo "${ECHO_T}$ac_ct_AR" >&6
8878 echo "$as_me:$LINENO: result: no" >&5
8879 echo "${ECHO_T}no" >&6
8887 if test -n "$ac_tool_prefix"; then
8888 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8889 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8890 echo "$as_me:$LINENO: checking for $ac_word" >&5
8891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8892 if test "${ac_cv_prog_RANLIB+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 if test -n "$RANLIB"; then
8896 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir
=.
8903 for ac_exec_ext
in '' $ac_executable_extensions; do
8904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8914 RANLIB
=$ac_cv_prog_RANLIB
8915 if test -n "$RANLIB"; then
8916 echo "$as_me:$LINENO: result: $RANLIB" >&5
8917 echo "${ECHO_T}$RANLIB" >&6
8919 echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6
8924 if test -z "$ac_cv_prog_RANLIB"; then
8925 ac_ct_RANLIB
=$RANLIB
8926 # Extract the first word of "ranlib", so it can be a program name with args.
8927 set dummy ranlib
; ac_word
=$2
8928 echo "$as_me:$LINENO: checking for $ac_word" >&5
8929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8930 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 if test -n "$ac_ct_RANLIB"; then
8934 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir
=.
8941 for ac_exec_ext
in '' $ac_executable_extensions; do
8942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8943 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8950 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8953 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8954 if test -n "$ac_ct_RANLIB"; then
8955 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8956 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8962 RANLIB
=$ac_ct_RANLIB
8964 RANLIB
="$ac_cv_prog_RANLIB"
8967 if test -n "$ac_tool_prefix"; then
8968 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8969 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8970 echo "$as_me:$LINENO: checking for $ac_word" >&5
8971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8972 if test "${ac_cv_prog_STRIP+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 if test -n "$STRIP"; then
8976 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8982 test -z "$as_dir" && as_dir
=.
8983 for ac_exec_ext
in '' $ac_executable_extensions; do
8984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8985 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8994 STRIP
=$ac_cv_prog_STRIP
8995 if test -n "$STRIP"; then
8996 echo "$as_me:$LINENO: result: $STRIP" >&5
8997 echo "${ECHO_T}$STRIP" >&6
8999 echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6
9004 if test -z "$ac_cv_prog_STRIP"; then
9006 # Extract the first word of "strip", so it can be a program name with args.
9007 set dummy strip
; ac_word
=$2
9008 echo "$as_me:$LINENO: checking for $ac_word" >&5
9009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9010 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9013 if test -n "$ac_ct_STRIP"; then
9014 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
9016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir
=.
9021 for ac_exec_ext
in '' $ac_executable_extensions; do
9022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9023 ac_cv_prog_ac_ct_STRIP
="strip"
9024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
9033 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
9034 if test -n "$ac_ct_STRIP"; then
9035 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9036 echo "${ECHO_T}$ac_ct_STRIP" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9044 STRIP
="$ac_cv_prog_STRIP"
9049 old_CFLAGS
="$CFLAGS"
9051 # Set sane defaults for various variables
9052 test -z "$AR" && AR
=ar
9053 test -z "$AR_FLAGS" && AR_FLAGS
=cru
9054 test -z "$AS" && AS
=as
9055 test -z "$CC" && CC
=cc
9056 test -z "$LTCC" && LTCC
=$CC
9057 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9058 test -z "$LD" && LD
=ld
9059 test -z "$LN_S" && LN_S
="ln -s"
9060 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9061 test -z "$NM" && NM
=nm
9062 test -z "$SED" && SED
=sed
9063 test -z "$OBJDUMP" && OBJDUMP
=objdump
9064 test -z "$RANLIB" && RANLIB
=:
9065 test -z "$STRIP" && STRIP
=:
9066 test -z "$ac_objext" && ac_objext
=o
9068 # Determine commands to create old-style static archives.
9069 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9070 old_postinstall_cmds
='chmod 644 $oldlib'
9071 old_postuninstall_cmds
=
9073 if test -n "$RANLIB"; then
9076 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9079 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
9082 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
9085 # Only perform the check for file, if the check method requires it
9086 case $deplibs_check_method in
9088 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9089 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9090 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
9091 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9092 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9099 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9100 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9101 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9102 for ac_dir
in $ac_dummy; do
9104 test -z "$ac_dir" && ac_dir
=.
9105 if test -f $ac_dir/${ac_tool_prefix}file; then
9106 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9107 if test -n "$file_magic_test_file"; then
9108 case $deplibs_check_method in
9110 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9111 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9112 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9113 $EGREP "$file_magic_regex" > /dev
/null
; then
9118 *** Warning: the command libtool uses to detect shared libraries,
9119 *** $file_magic_cmd, produces output that libtool cannot recognize.
9120 *** The result is that libtool may fail to recognize shared libraries
9121 *** as such. This will affect the creation of libtool libraries that
9122 *** depend on shared libraries, but programs linked with such libtool
9123 *** libraries will work regardless of this problem. Nevertheless, you
9124 *** may want to report the problem to your system manager and/or to
9125 *** bug-libtool@gnu.org
9135 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9140 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9141 if test -n "$MAGIC_CMD"; then
9142 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9143 echo "${ECHO_T}$MAGIC_CMD" >&6
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9149 if test -z "$lt_cv_path_MAGIC_CMD"; then
9150 if test -n "$ac_tool_prefix"; then
9151 echo "$as_me:$LINENO: checking for file" >&5
9152 echo $ECHO_N "checking for file... $ECHO_C" >&6
9153 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9154 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9161 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9162 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9163 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9164 for ac_dir
in $ac_dummy; do
9166 test -z "$ac_dir" && ac_dir
=.
9167 if test -f $ac_dir/file; then
9168 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9169 if test -n "$file_magic_test_file"; then
9170 case $deplibs_check_method in
9172 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9173 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9174 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9175 $EGREP "$file_magic_regex" > /dev
/null
; then
9180 *** Warning: the command libtool uses to detect shared libraries,
9181 *** $file_magic_cmd, produces output that libtool cannot recognize.
9182 *** The result is that libtool may fail to recognize shared libraries
9183 *** as such. This will affect the creation of libtool libraries that
9184 *** depend on shared libraries, but programs linked with such libtool
9185 *** libraries will work regardless of this problem. Nevertheless, you
9186 *** may want to report the problem to your system manager and/or to
9187 *** bug-libtool@gnu.org
9197 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9202 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9203 if test -n "$MAGIC_CMD"; then
9204 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9205 echo "${ECHO_T}$MAGIC_CMD" >&6
9207 echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6
9223 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
9224 if test "${enable_libtool_lock+set}" = set; then
9225 enableval
="$enable_libtool_lock"
9228 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
9231 # Check whether --with-pic or --without-pic was given.
9232 if test "${with_pic+set}" = set; then
9238 test -z "$pic_mode" && pic_mode
=default
9240 # Use C for the default configuration in the libtool script
9244 ac_cpp
='$CPP $CPPFLAGS'
9245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9250 # Source file extension for C test sources.
9253 # Object file extension for compiled C test sources.
9257 # Code to be used in simple compile tests
9258 lt_simple_compile_test_code
="int some_variable = 0;\n"
9260 # Code to be used in simple link tests
9261 lt_simple_link_test_code
='int main(){return(0);}\n'
9264 # If no C compiler was specified, use CC.
9267 # Allow CC to be a program name with arguments.
9272 # Check for any special shared library compilation flags.
9275 if test "$GCC" = no
; then
9278 lt_prog_cc_shlib
='-belf'
9282 if test -n "$lt_prog_cc_shlib"; then
9283 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
9284 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
9285 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
9287 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
9288 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
9289 lt_cv_prog_cc_can_build_shared
=no
9295 # Check to make sure the static flag actually works.
9297 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
9298 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
9299 if test "${lt_prog_compiler_static_works+set}" = set; then
9300 echo $ECHO_N "(cached) $ECHO_C" >&6
9302 lt_prog_compiler_static_works
=no
9303 save_LDFLAGS
="$LDFLAGS"
9304 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
9305 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
9306 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9307 # The compiler can only warn and ignore the option if not recognized
9308 # So say no if there are warnings
9309 if test -s conftest.err
; then
9310 # Append any errors to the config.log.
9311 cat conftest.err
1>&5
9313 lt_prog_compiler_static_works
=yes
9317 LDFLAGS
="$save_LDFLAGS"
9320 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9321 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9323 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9326 lt_prog_compiler_static
=
9332 ## There is no encapsulation within the following macros, do not change
9333 ## the running order or otherwise move them around unless you know exactly
9334 ## what you are doing...
9336 lt_prog_compiler_no_builtin_flag
=
9338 if test "$GCC" = yes; then
9339 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
9342 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9343 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9344 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9345 echo $ECHO_N "(cached) $ECHO_C" >&6
9347 lt_cv_prog_compiler_rtti_exceptions
=no
9348 ac_outfile
=conftest.
$ac_objext
9349 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9350 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9351 # Insert the option either (1) after the last *FLAGS variable, or
9352 # (2) before a word containing "conftest.", or (3) at the end.
9353 # Note that $ac_compile itself does not contain backslashes and begins
9354 # with a dollar sign (not a hyphen), so the echo should work correctly.
9355 # The option is referenced via a variable to avoid confusing sed.
9356 lt_compile
=`echo "$ac_compile" | $SED \
9357 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9359 -e 's:$: $lt_compiler_flag:'`
9360 (eval echo "\"\$as_me:9360: $lt_compile\"" >&5)
9361 (eval "$lt_compile" 2>conftest.err
)
9363 cat conftest.err
>&5
9364 echo "$as_me:9364: \$? = $ac_status" >&5
9365 if (exit $ac_status) && test -s "$ac_outfile"; then
9366 # The compiler can only warn and ignore the option if not recognized
9367 # So say no if there are warnings
9368 if test ! -s conftest.err
; then
9369 lt_cv_prog_compiler_rtti_exceptions
=yes
9375 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9376 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
9378 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9379 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9386 lt_prog_compiler_wl
=
9387 lt_prog_compiler_pic
=
9388 lt_prog_compiler_static
=
9390 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9391 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9393 if test "$GCC" = yes; then
9394 lt_prog_compiler_wl
='-Wl,'
9395 lt_prog_compiler_static
='-static'
9399 # All AIX code is PIC.
9400 if test "$host_cpu" = ia64
; then
9401 # AIX 5 now supports IA64 processor
9402 lt_prog_compiler_static
='-Bstatic'
9407 # FIXME: we need at least 68020 code to build shared libraries, but
9408 # adding the `-m68020' flag to GCC prevents building anything better,
9410 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9413 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9414 # PIC is the default for these OSes.
9417 mingw
* | pw32
* | os2
*)
9418 # This hack is so that the source file can tell whether it is being
9419 # built for inclusion in a dll (and should export symbols for example).
9420 lt_prog_compiler_pic
='-DDLL_EXPORT'
9423 darwin
* | rhapsody
*)
9424 # PIC is the default on this platform
9425 # Common symbols not allowed in MH_DYLIB files
9426 lt_prog_compiler_pic
='-fno-common'
9430 # Just because we use GCC doesn't mean we suddenly get shared libraries
9431 # on systems that don't support them.
9432 lt_prog_compiler_can_build_shared
=no
9437 if test -d /usr
/nec
; then
9438 lt_prog_compiler_pic
=-Kconform_pic
9443 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9450 lt_prog_compiler_pic
='-fPIC'
9456 lt_prog_compiler_pic
='-fPIC'
9460 # PORTME Check for flag to pass linker flags through the system compiler.
9463 lt_prog_compiler_wl
='-Wl,'
9464 if test "$host_cpu" = ia64
; then
9465 # AIX 5 now supports IA64 processor
9466 lt_prog_compiler_static
='-Bstatic'
9468 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9472 mingw
* | pw32
* | os2
*)
9473 # This hack is so that the source file can tell whether it is being
9474 # built for inclusion in a dll (and should export symbols for example).
9475 lt_prog_compiler_pic
='-DDLL_EXPORT'
9478 hpux9
* | hpux10
* | hpux11
*)
9479 lt_prog_compiler_wl
='-Wl,'
9480 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9487 lt_prog_compiler_pic
='+Z'
9490 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9491 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9494 irix5
* | irix6
* | nonstopux
*)
9495 lt_prog_compiler_wl
='-Wl,'
9496 # PIC (with -KPIC) is the default.
9497 lt_prog_compiler_static
='-non_shared'
9501 lt_prog_compiler_pic
='-KPIC'
9502 lt_prog_compiler_static
='-Bstatic'
9508 lt_prog_compiler_wl
='-Wl,'
9509 lt_prog_compiler_pic
='-KPIC'
9510 lt_prog_compiler_static
='-static'
9513 lt_prog_compiler_wl
='-Wl,'
9514 # All Alpha code is PIC.
9515 lt_prog_compiler_static
='-non_shared'
9520 osf3
* | osf4
* | osf5
*)
9521 lt_prog_compiler_wl
='-Wl,'
9522 # All OSF/1 code is PIC.
9523 lt_prog_compiler_static
='-non_shared'
9527 lt_prog_compiler_pic
='-Kpic'
9528 lt_prog_compiler_static
='-dn'
9532 lt_prog_compiler_wl
='-Wl,'
9533 lt_prog_compiler_pic
='-KPIC'
9534 lt_prog_compiler_static
='-Bstatic'
9538 lt_prog_compiler_wl
='-Qoption ld '
9539 lt_prog_compiler_pic
='-PIC'
9540 lt_prog_compiler_static
='-Bstatic'
9543 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9544 lt_prog_compiler_wl
='-Wl,'
9545 lt_prog_compiler_pic
='-KPIC'
9546 lt_prog_compiler_static
='-Bstatic'
9550 if test -d /usr
/nec
;then
9551 lt_prog_compiler_pic
='-Kconform_pic'
9552 lt_prog_compiler_static
='-Bstatic'
9557 lt_prog_compiler_pic
='-pic'
9558 lt_prog_compiler_static
='-Bstatic'
9562 lt_prog_compiler_can_build_shared
=no
9567 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9568 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9571 # Check to make sure the PIC flag actually works.
9573 if test -n "$lt_prog_compiler_pic"; then
9575 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9576 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9577 if test "${lt_prog_compiler_pic_works+set}" = set; then
9578 echo $ECHO_N "(cached) $ECHO_C" >&6
9580 lt_prog_compiler_pic_works
=no
9581 ac_outfile
=conftest.
$ac_objext
9582 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9583 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9584 # Insert the option either (1) after the last *FLAGS variable, or
9585 # (2) before a word containing "conftest.", or (3) at the end.
9586 # Note that $ac_compile itself does not contain backslashes and begins
9587 # with a dollar sign (not a hyphen), so the echo should work correctly.
9588 # The option is referenced via a variable to avoid confusing sed.
9589 lt_compile
=`echo "$ac_compile" | $SED \
9590 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9592 -e 's:$: $lt_compiler_flag:'`
9593 (eval echo "\"\$as_me:9593: $lt_compile\"" >&5)
9594 (eval "$lt_compile" 2>conftest.err
)
9596 cat conftest.err
>&5
9597 echo "$as_me:9597: \$? = $ac_status" >&5
9598 if (exit $ac_status) && test -s "$ac_outfile"; then
9599 # The compiler can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 if test ! -s conftest.err
; then
9602 lt_prog_compiler_pic_works
=yes
9608 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9609 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9611 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9612 case $lt_prog_compiler_pic in
9614 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9617 lt_prog_compiler_pic
=
9618 lt_prog_compiler_can_build_shared
=no
9623 # For platforms which do not support PIC, -DPIC is meaningless:
9625 lt_prog_compiler_pic
=
9628 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9632 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9633 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9634 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 lt_cv_prog_compiler_c_o
=no
9638 $rm -r conftest
2>/dev
/null
9642 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9644 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
9645 # that will create temporary files in the current directory regardless of
9646 # the output directory. Thus, making CWD read-only will cause this test
9647 # to fail, enabling locking or at least warning the user not to do parallel
9651 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9652 # Insert the option either (1) after the last *FLAGS variable, or
9653 # (2) before a word containing "conftest.", or (3) at the end.
9654 # Note that $ac_compile itself does not contain backslashes and begins
9655 # with a dollar sign (not a hyphen), so the echo should work correctly.
9656 lt_compile
=`echo "$ac_compile" | $SED \
9657 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9659 -e 's:$: $lt_compiler_flag:'`
9660 (eval echo "\"\$as_me:9660: $lt_compile\"" >&5)
9661 (eval "$lt_compile" 2>out
/conftest.err
)
9663 cat out
/conftest.err
>&5
9664 echo "$as_me:9664: \$? = $ac_status" >&5
9665 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9667 # The compiler can only warn and ignore the option if not recognized
9668 # So say no if there are warnings
9669 if test ! -s out
/conftest.err
; then
9670 lt_cv_prog_compiler_c_o
=yes
9681 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9682 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9685 hard_links
="nottested"
9686 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9687 # do not overwrite the value of need_locks provided by the user
9688 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9689 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9692 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9694 ln conftest.a conftest.b
2>&5 || hard_links
=no
9695 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9696 echo "$as_me:$LINENO: result: $hard_links" >&5
9697 echo "${ECHO_T}$hard_links" >&6
9698 if test "$hard_links" = no
; then
9699 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9700 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9707 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9708 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9711 allow_undefined_flag
=
9712 enable_shared_with_static_runtimes
=no
9714 archive_expsym_cmds
=
9715 old_archive_From_new_cmds
=
9716 old_archive_from_expsyms_cmds
=
9717 export_dynamic_flag_spec
=
9718 whole_archive_flag_spec
=
9719 thread_safe_flag_spec
=
9720 hardcode_libdir_flag_spec
=
9721 hardcode_libdir_flag_spec_ld
=
9722 hardcode_libdir_separator
=
9725 hardcode_shlibpath_var
=unsupported
9726 link_all_deplibs
=unknown
9727 hardcode_automatic
=no
9730 always_export_symbols
=no
9731 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9732 # include_expsyms should be a list of space-separated symbols to be *always*
9733 # included in the symbol list
9735 # exclude_expsyms can be an extended regexp of symbols to exclude
9736 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9737 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9738 # as well as any symbol that contains `d'.
9739 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9740 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9741 # platforms (ab)use it in PIC code, but their linkers get confused if
9742 # the symbol is explicitly referenced. Since portable code cannot
9743 # rely on this symbol name, it's probably fine to never include it in
9744 # preloaded symbol tables.
9745 extract_expsyms_cmds
=
9748 cygwin
* | mingw
* | pw32
*)
9749 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9750 # When not using gcc, we currently assume that we are using
9751 # Microsoft Visual C++.
9752 if test "$GCC" != yes; then
9762 if test "$with_gnu_ld" = yes; then
9763 # If archive_cmds runs LD, not CC, wlarc should be empty
9766 # See if GNU ld supports shared libraries.
9768 aix3
* | aix4
* | aix5
*)
9769 # On AIX/PPC, the GNU linker is very broken
9770 if test "$host_cpu" != ia64
; then
9774 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9775 *** to be unable to reliably create shared libraries on AIX.
9776 *** Therefore, libtool is disabling shared libraries support. If you
9777 *** really care for shared libraries, you may want to modify your PATH
9778 *** so that a non-GNU linker is found, and then restart.
9785 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)'
9786 hardcode_libdir_flag_spec
='-L$libdir'
9787 hardcode_minus_L
=yes
9789 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9790 # that the semantics of dynamic libraries on AmigaOS, at least up
9791 # to version 4, is to share data among multiple programs linked
9792 # with the same dynamic library. Since this doesn't match the
9793 # behavior of shared libraries on other platforms, we can't use
9799 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9800 allow_undefined_flag
=unsupported
9801 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9802 # support --undefined. This deserves some investigation. FIXME
9803 archive_cmds
='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9809 cygwin
* | mingw
* | pw32
*)
9810 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9811 # as there is no search path for DLLs.
9812 hardcode_libdir_flag_spec
='-L$libdir'
9813 allow_undefined_flag
=no
9814 always_export_symbols
=no
9815 enable_shared_with_static_runtimes
=yes
9816 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9818 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9819 archive_cmds
='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9820 # If the export-symbols file already is a .def file (1st line
9821 # is EXPORTS), use it as is; otherwise, prepend...
9822 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9823 cp $export_symbols $output_objdir/$soname.def;
9825 echo EXPORTS > $output_objdir/$soname.def;
9826 cat $export_symbols >> $output_objdir/$soname.def;
9828 $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9835 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9836 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9839 archive_cmds
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9840 archive_expsym_cmds
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9845 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9849 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9850 *** create shared libraries on Solaris systems. Therefore, libtool
9851 *** is disabling shared libraries support. We urge you to upgrade GNU
9852 *** binutils to release 2.9.1 or newer. Another option is to modify
9853 *** your PATH or compiler configuration so that the native linker is
9854 *** used, and then restart.
9857 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9858 archive_cmds
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9859 archive_expsym_cmds
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9866 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9869 hardcode_shlibpath_var
=no
9873 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9874 archive_cmds
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9875 archive_expsym_cmds
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9882 if test "$ld_shlibs" = yes; then
9883 runpath_var
=LD_RUN_PATH
9884 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9885 export_dynamic_flag_spec
='${wl}--export-dynamic'
9886 # ancient GNU ld didn't support --whole-archive et. al.
9887 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9888 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9890 whole_archive_flag_spec
=
9894 # PORTME fill in a description of your system's linker (not GNU ld)
9897 allow_undefined_flag
=unsupported
9898 always_export_symbols
=yes
9899 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'
9900 # Note: this linker hardcodes the directories in LIBPATH if there
9901 # are no directories specified by -L.
9902 hardcode_minus_L
=yes
9903 if test "$GCC" = yes && test -z "$link_static_flag"; then
9904 # Neither direct hardcoding nor static linking is supported with a
9906 hardcode_direct
=unsupported
9911 if test "$host_cpu" = ia64
; then
9912 # On IA64, the linker does run time linking by default, so we don't
9913 # have to do anything special.
9914 aix_use_runtimelinking
=no
9915 exp_sym_flag
='-Bexport'
9918 # If we're using GNU nm, then we don't want the "-C" option.
9919 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9920 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9921 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'
9923 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'
9926 # KDE requires run time linking. Make it the default.
9927 aix_use_runtimelinking
=yes
9928 exp_sym_flag
='-bexport'
9929 no_entry_flag
='-bnoentry'
9932 # When large executables or shared objects are built, AIX ld can
9933 # have problems creating the table of contents. If linking a library
9934 # or program results in "error TOC overflow" add -mminimal-toc to
9935 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9936 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9940 hardcode_libdir_separator
=':'
9941 link_all_deplibs
=yes
9943 if test "$GCC" = yes; then
9944 case $host_os in aix4.012|aix4.012.
*)
9945 # We only want to do this on AIX 4.2 and lower, the check
9946 # below for broken collect2 doesn't work under 4.3+
9947 collect2name
=`${CC} -print-prog-name=collect2`
9948 if test -f "$collect2name" && \
9949 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9951 # We have reworked collect2
9954 # We have old collect2
9955 hardcode_direct
=unsupported
9956 # It fails to find uninstalled libraries when the uninstalled
9957 # path is not listed in the libpath. Setting hardcode_minus_L
9958 # to unsupported forces relinking
9959 hardcode_minus_L
=yes
9960 hardcode_libdir_flag_spec
='-L$libdir'
9961 hardcode_libdir_separator
=
9964 shared_flag
='-shared'
9967 if test "$host_cpu" = ia64
; then
9968 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9969 # chokes on -Wl,-G. The following line is correct:
9972 if test "$aix_use_runtimelinking" = yes; then
9973 shared_flag
='-qmkshrobj ${wl}-G'
9975 shared_flag
='-qmkshrobj'
9980 # Let the compiler handle the export list.
9981 always_export_symbols
=no
9982 if test "$aix_use_runtimelinking" = yes; then
9983 # Warning - without using the other runtime loading flags (-brtl),
9984 # -berok will link without error, but may produce a broken library.
9985 allow_undefined_flag
='-berok'
9986 # Determine the default libpath from the value encoded in an empty executable.
9987 cat >conftest.
$ac_ext <<_ACEOF
9990 cat confdefs.h
>>conftest.
$ac_ext
9991 cat >>conftest.
$ac_ext <<_ACEOF
9992 /* end confdefs.h. */
10002 rm -f conftest.
$ac_objext conftest
$ac_exeext
10003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10004 (eval $ac_link) 2>conftest.er1
10006 grep -v '^ *+' conftest.er1
>conftest.err
10008 cat conftest.err
>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } &&
10011 { ac_try
='test -z "$ac_c_werror_flag"
10012 || test ! -s conftest.err'
10013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10014 (eval $ac_try) 2>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); }; } &&
10018 { ac_try
='test -s conftest$ac_exeext'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; }; then
10025 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10027 # Check for a 64-bit object if we didn't find anything.
10028 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; }
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.
$ac_ext >&5
10035 rm -f conftest.err conftest.
$ac_objext \
10036 conftest
$ac_exeext conftest.
$ac_ext
10037 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10039 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10040 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"
10041 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"
10043 if test "$host_cpu" = ia64; then
10044 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
10045 allow_undefined_flag="-z nodefs"
10046 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"
10048 # Determine the default libpath from the value encoded in an empty executable.
10049 cat >conftest.$ac_ext <<_ACEOF
10052 cat confdefs.h >>conftest.$ac_ext
10053 cat >>conftest.$ac_ext <<_ACEOF
10054 /* end confdefs.h. */
10064 rm -f conftest.$ac_objext conftest$ac_exeext
10065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10066 (eval $ac_link) 2>conftest.er1
10068 grep -v '^ *+' conftest.er1 >conftest.err
10070 cat conftest.err >&5
10071 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10072 (exit $ac_status); } &&
10073 { ac_try='test -z "$ac_c_werror_flag"
10074 || test ! -s conftest.err'
10075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10076 (eval $ac_try) 2>&5
10078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10079 (exit $ac_status); }; } &&
10080 { ac_try='test -s conftest$ac_exeext'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10085 (exit $ac_status); }; }; then
10087 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10089 # Check for a 64-bit object if we didn't find anything.
10090 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; }
10093 echo "$as_me: failed program was
:" >&5
10094 sed 's/^/| /' conftest.$ac_ext >&5
10097 rm -f conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10101 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10102 # Warning - without using the other run time loading flags,
10103 # -berok will link without error, but may produce a broken library.
10104 no_undefined_flag=' ${wl}-bernotok'
10105 allow_undefined_flag=' ${wl}-berok'
10106 # -bexpall does not export symbols beginning with underscore (_)
10107 always_export_symbols=yes
10108 # Exported symbols can be pulled into shared objects from archives
10109 whole_archive_flag_spec=' '
10110 archive_cmds_need_lc=yes
10111 # This is similar to how AIX traditionally builds it's shared libraries.
10112 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'
10118 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)'
10119 hardcode_libdir_flag_spec
='-L$libdir'
10120 hardcode_minus_L
=yes
10121 # see comment about different semantics on the GNU ld section
10126 export_dynamic_flag_spec
=-rdynamic
10129 cygwin
* | mingw
* | pw32
*)
10130 # When not using gcc, we currently assume that we are using
10131 # Microsoft Visual C++.
10132 # hardcode_libdir_flag_spec is actually meaningless, as there is
10133 # no search path for DLLs.
10134 hardcode_libdir_flag_spec
=' '
10135 allow_undefined_flag
=no
10136 # Tell ltmain to make .lib files, not .a files.
10138 # Tell ltmain to make .dll files, not .so files.
10140 # FIXME: Setting linknames here is a bad hack.
10141 archive_cmds
='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10142 # The linker will automatically build a .lib file if we build a DLL.
10143 old_archive_From_new_cmds
='true'
10144 # FIXME: Should let the user specify the lib program.
10145 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
10146 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10147 enable_shared_with_static_runtimes
=yes
10150 darwin
* | rhapsody
*)
10151 if test "$GXX" = yes ; then
10152 archive_cmds_need_lc
=no
10154 rhapsody
* | darwin1.
[012])
10155 allow_undefined_flag
='-Wl,-undefined -Wl,suppress'
10158 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10159 allow_undefined_flag
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10161 case ${MACOSX_DEPLOYMENT_TARGET} in
10163 allow_undefined_flag
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10166 allow_undefined_flag
='-Wl,-undefined -Wl,dynamic_lookup'
10172 lt_int_apple_cc_single_mod
=no
10173 output_verbose_link_cmd
='echo'
10174 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
10175 lt_int_apple_cc_single_mod
=yes
10177 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10178 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10180 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'
10182 module_cmds
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10183 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10184 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10185 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}'
10187 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}'
10189 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}'
10191 hardcode_automatic
=yes
10192 hardcode_shlibpath_var
=unsupported
10193 whole_archive_flag_spec
='-all_load $convenience'
10194 link_all_deplibs
=yes
10201 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202 hardcode_libdir_flag_spec
='-L$libdir'
10203 hardcode_shlibpath_var
=no
10210 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10211 # support. Future versions do this automatically, but an explicit c++rt0.o
10212 # does not break anything, and helps significantly (at the cost of a little
10215 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10216 hardcode_libdir_flag_spec
='-R$libdir'
10217 hardcode_direct
=yes
10218 hardcode_shlibpath_var
=no
10221 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10223 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10224 hardcode_direct
=yes
10225 hardcode_minus_L
=yes
10226 hardcode_shlibpath_var
=no
10229 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10230 freebsd
* | kfreebsd
*-gnu)
10231 archive_cmds
='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10232 hardcode_libdir_flag_spec
='-R$libdir'
10233 hardcode_direct
=yes
10234 hardcode_shlibpath_var
=no
10238 if test "$GCC" = yes; then
10239 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'
10241 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'
10243 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10244 hardcode_libdir_separator
=:
10245 hardcode_direct
=yes
10247 # hardcode_minus_L: Not really in the search PATH,
10248 # but as the default location of the library.
10249 hardcode_minus_L
=yes
10250 export_dynamic_flag_spec
='${wl}-E'
10254 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10255 case "$host_cpu" in
10257 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10260 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
10264 case "$host_cpu" in
10266 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10269 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10273 if test "$with_gnu_ld" = no
; then
10274 case "$host_cpu" in
10276 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10277 hardcode_libdir_flag_spec_ld
='+b $libdir'
10278 hardcode_libdir_separator
=:
10280 hardcode_shlibpath_var
=no
10283 hardcode_libdir_flag_spec
='-L$libdir'
10285 hardcode_shlibpath_var
=no
10287 # hardcode_minus_L: Not really in the search PATH,
10288 # but as the default location of the library.
10289 hardcode_minus_L
=yes
10292 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10293 hardcode_libdir_separator
=:
10294 hardcode_direct
=yes
10295 export_dynamic_flag_spec
='${wl}-E'
10297 # hardcode_minus_L: Not really in the search PATH,
10298 # but as the default location of the library.
10299 hardcode_minus_L
=yes
10305 irix5
* | irix6
* | nonstopux
*)
10306 if test "$GCC" = yes; then
10307 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'
10309 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'
10310 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10312 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10313 hardcode_libdir_separator
=:
10314 link_all_deplibs
=yes
10318 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10319 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10321 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10323 hardcode_libdir_flag_spec
='-R$libdir'
10324 hardcode_direct
=yes
10325 hardcode_shlibpath_var
=no
10329 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10330 hardcode_direct
=yes
10331 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10332 hardcode_libdir_separator
=:
10333 hardcode_shlibpath_var
=no
10337 hardcode_direct
=yes
10338 hardcode_shlibpath_var
=no
10339 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10340 archive_cmds
='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
10341 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10342 export_dynamic_flag_spec
='${wl}-E'
10345 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10347 hardcode_libdir_flag_spec
='-R$libdir'
10350 archive_cmds
='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
10351 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10358 hardcode_libdir_flag_spec
='-L$libdir'
10359 hardcode_minus_L
=yes
10360 allow_undefined_flag
=unsupported
10361 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'
10362 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10366 if test "$GCC" = yes; then
10367 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10368 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'
10370 allow_undefined_flag
=' -expect_unresolved \*'
10371 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'
10373 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10374 hardcode_libdir_separator
=:
10377 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10378 if test "$GCC" = yes; then
10379 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10380 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'
10381 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10383 allow_undefined_flag
=' -expect_unresolved \*'
10384 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'
10385 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10386 $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'
10388 # Both c and cxx compiler support -rpath directly
10389 hardcode_libdir_flag_spec
='-rpath $libdir'
10391 hardcode_libdir_separator
=:
10395 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10396 hardcode_shlibpath_var
=no
10397 export_dynamic_flag_spec
='${wl}-Bexport'
10398 runpath_var
=LD_RUN_PATH
10399 hardcode_runpath_var
=yes
10403 no_undefined_flag
=' -z text'
10404 if test "$GCC" = yes; then
10405 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10406 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10407 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
10409 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10410 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10411 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10413 hardcode_libdir_flag_spec
='-R$libdir'
10414 hardcode_shlibpath_var
=no
10416 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10417 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
10418 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
10420 link_all_deplibs
=yes
10424 if test "x$host_vendor" = xsequent
; then
10425 # Use $CC to link under sequent, because it throws in some extra .o
10426 # files that make .init and .fini sections work.
10427 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
10429 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10431 hardcode_libdir_flag_spec
='-L$libdir'
10432 hardcode_direct
=yes
10433 hardcode_minus_L
=yes
10434 hardcode_shlibpath_var
=no
10438 case $host_vendor in
10440 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441 hardcode_direct
=yes # is this really true???
10444 ## LD is ld it makes a PLAMLIB
10445 ## CC just makes a GrossModule.
10446 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10447 reload_cmds
='$CC -r -o $output$reload_objs'
10451 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10455 runpath_var
='LD_RUN_PATH'
10456 hardcode_shlibpath_var
=no
10460 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10461 hardcode_shlibpath_var
=no
10462 export_dynamic_flag_spec
='-Bexport'
10466 if test -d /usr
/nec
; then
10467 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10468 hardcode_shlibpath_var
=no
10469 runpath_var
=LD_RUN_PATH
10470 hardcode_runpath_var
=yes
10476 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10477 hardcode_direct
=yes
10478 hardcode_minus_L
=no
10479 hardcode_shlibpath_var
=no
10480 hardcode_runpath_var
=yes
10481 runpath_var
=LD_RUN_PATH
10484 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10485 no_undefined_flag
='${wl}-z ${wl}text'
10486 if test "$GCC" = yes; then
10487 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10489 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10491 runpath_var
='LD_RUN_PATH'
10492 hardcode_shlibpath_var
=no
10496 no_undefined_flag
=' -z text'
10497 # $CC -shared without GNU ld will not create a library from C++
10498 # object files and a static libstdc++, better avoid it by now
10499 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10500 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10501 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10502 hardcode_libdir_flag_spec
=
10503 hardcode_shlibpath_var
=no
10504 runpath_var
='LD_RUN_PATH'
10508 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10509 hardcode_libdir_flag_spec
='-L$libdir'
10510 hardcode_shlibpath_var
=no
10519 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10520 echo "${ECHO_T}$ld_shlibs" >&6
10521 test "$ld_shlibs" = no
&& can_build_shared
=no
10523 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10524 if test "$GCC" = yes; then
10525 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10529 # Do we need to explicitly link libc?
10531 case "x$archive_cmds_need_lc" in
10533 # Assume -lc should be added
10534 archive_cmds_need_lc
=yes
10536 if test "$enable_shared" = yes && test "$GCC" = yes; then
10537 case $archive_cmds in
10539 # FIXME: we may have to deal with multi-command sequences.
10542 # Test whether the compiler implicitly links with -lc since on some
10543 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10544 # to ld, don't add -lc before -lgcc.
10545 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10546 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10548 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
10550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10551 (eval $ac_compile) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } 2>conftest.err
; then
10557 libobjs
=conftest.
$ac_objext
10559 wl
=$lt_prog_compiler_wl
10565 lt_save_allow_undefined_flag
=$allow_undefined_flag
10566 allow_undefined_flag
=
10567 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10568 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }
10573 archive_cmds_need_lc
=no
10575 archive_cmds_need_lc
=yes
10577 allow_undefined_flag
=$lt_save_allow_undefined_flag
10579 cat conftest.err
1>&5
10582 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10583 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10590 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10591 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10592 library_names_spec
=
10593 libname_spec
='lib$name'
10597 postuninstall_cmds
=
10601 shlibpath_overrides_runpath
=unknown
10603 dynamic_linker
="$host_os ld.so"
10604 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10605 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10606 need_lib_prefix
=unknown
10607 hardcode_into_libs
=no
10609 # when you set need_version to no, make sure it does not cause -set_version
10610 # flags to be left without arguments
10611 need_version
=unknown
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10617 shlibpath_var
=LIBPATH
10619 # AIX 3 has no versioning support, so we append a major version to the name.
10620 soname_spec
='${libname}${release}${shared_ext}$major'
10627 hardcode_into_libs
=yes
10628 if test "$host_cpu" = ia64
; then
10629 # AIX 5 supports IA64
10630 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10631 shlibpath_var
=LD_LIBRARY_PATH
10633 # With GCC up to 2.95.x, collect2 would create an import file
10634 # for dependence libraries. The import file would start with
10635 # the line `#! .'. This would cause the generated library to
10636 # depend on `.', always an invalid library. This was fixed in
10637 # development snapshots of GCC prior to 3.0.
10639 aix4 | aix4.
[01] | aix4.
[01].
*)
10640 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10642 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10645 can_build_shared
=no
10649 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10650 # soname into executable. Probably we can add versioning support to
10651 # collect2, so additional links can be useful in future.
10652 if test "$aix_use_runtimelinking" = yes; then
10653 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10654 # instead of lib<name>.a to let people know that these are not
10655 # typical AIX shared libraries.
10656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658 # We preserve .a as extension for shared libraries through AIX4.2
10659 # and later when we are not doing run time linking.
10660 library_names_spec
='${libname}${release}.a $libname.a'
10661 soname_spec
='${libname}${release}${shared_ext}$major'
10663 shlibpath_var
=LIBPATH
10668 library_names_spec
='$libname.ixlibrary $libname.a'
10669 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10670 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'
10674 library_names_spec
='${libname}${shared_ext}'
10675 dynamic_linker
="$host_os ld.so"
10676 shlibpath_var
=LIBRARY_PATH
10682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683 soname_spec
='${libname}${release}${shared_ext}$major'
10684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10685 shlibpath_var
=LD_LIBRARY_PATH
10686 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10687 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10688 # the default ld.so.conf also contains /usr/contrib/lib and
10689 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10690 # libtool to hard-code these into programs
10693 cygwin
* | mingw
* | pw32
*)
10694 version_type
=windows
10699 case $GCC,$host_os in
10700 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10701 library_names_spec
='$libname.dll.a'
10702 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10703 postinstall_cmds
='base_file=`basename \${file}`~
10704 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10705 dldir=$destdir/`dirname \$dlpath`~
10706 test -d \$dldir || mkdir -p \$dldir~
10707 $install_prog $dir/$dlname \$dldir/$dlname'
10708 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10709 dlpath=$dir/\$dldll~
10711 shlibpath_overrides_runpath
=yes
10715 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10716 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10717 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10720 # MinGW DLLs use traditional 'lib' prefix
10721 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10722 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10723 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10724 # It is most probably a Windows format PATH printed by
10725 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10726 # path with ; separators, and with drive letters. We can handle the
10727 # drive letters (cygwin fileutils understands them), so leave them,
10728 # especially as we might pass files found there to a mingw objdump,
10729 # which wouldn't understand a cygwinified path. Ahh.
10730 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10732 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10736 # pw32 DLLs use 'pw' prefix rather than 'lib'
10737 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10743 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10746 dynamic_linker
='Win32 ld.exe'
10747 # FIXME: first we should search . and the directory the executable is in
10751 darwin
* | rhapsody
*)
10752 dynamic_linker
="$host_os dyld"
10753 version_type
=darwin
10756 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10757 soname_spec
='${libname}${release}${major}$shared_ext'
10758 shlibpath_overrides_runpath
=yes
10759 shlibpath_var
=DYLD_LIBRARY_PATH
10760 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
10761 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10762 if test "$GCC" = yes; then
10763 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"`
10765 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10767 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10775 soname_spec
='${libname}${release}${shared_ext}$major'
10776 shlibpath_var
=LD_LIBRARY_PATH
10787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10788 soname_spec
='${libname}${release}${shared_ext}$major'
10789 shlibpath_var
=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath
=no
10791 hardcode_into_libs
=yes
10792 dynamic_linker
='GNU ld.so'
10796 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10797 version_type
=freebsd-
$objformat
10798 case $version_type in
10800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10805 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10809 shlibpath_var
=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath
=yes
10814 freebsd3.01
* | freebsdelf3.01
*)
10815 shlibpath_overrides_runpath
=yes
10816 hardcode_into_libs
=yes
10819 shlibpath_overrides_runpath
=no
10820 hardcode_into_libs
=yes
10829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10830 soname_spec
='${libname}${release}${shared_ext}$major'
10831 shlibpath_var
=LD_LIBRARY_PATH
10832 hardcode_into_libs
=yes
10835 hpux9
* | hpux10
* | hpux11
*)
10836 # Give a soname corresponding to the major version so that dld.sl refuses to
10837 # link against other versions.
10841 case "$host_cpu" in
10844 hardcode_into_libs
=yes
10845 dynamic_linker
="$host_os dld.so"
10846 shlibpath_var
=LD_LIBRARY_PATH
10847 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 soname_spec
='${libname}${release}${shared_ext}$major'
10850 if test "X$HPUX_IA64_MODE" = X32
; then
10851 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10853 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10855 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10859 hardcode_into_libs
=yes
10860 dynamic_linker
="$host_os dld.sl"
10861 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10862 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864 soname_spec
='${libname}${release}${shared_ext}$major'
10865 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10866 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10870 dynamic_linker
="$host_os dld.sl"
10871 shlibpath_var
=SHLIB_PATH
10872 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 soname_spec
='${libname}${release}${shared_ext}$major'
10877 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10878 postinstall_cmds
='chmod 555 $lib'
10881 irix5
* | irix6
* | nonstopux
*)
10883 nonstopux
*) version_type
=nonstopux
;;
10885 if test "$lt_cv_prog_gnu_ld" = yes; then
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10896 irix5
* | nonstopux
*)
10897 libsuff
= shlibsuff
=
10900 case $LD in # libtool.m4 will add one of these switches to LD
10901 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10902 libsuff
= shlibsuff
= libmagic
=32-bit;;
10903 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10904 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10905 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10906 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10907 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10911 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10912 shlibpath_overrides_runpath
=no
10913 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10914 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10915 hardcode_into_libs
=yes
10918 # No shared lib support for Linux oldld, aout, or coff.
10919 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10923 # This must be Linux ELF.
10928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 soname_spec
='${libname}${release}${shared_ext}$major'
10930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10932 if test "x$LINUX_64_MODE" = x64
; then
10933 # Some platforms are per default 64-bit, so there's no /lib64
10934 if test -d /lib64
; then
10938 shlibpath_var
=LD_LIBRARY_PATH
10939 shlibpath_overrides_runpath
=no
10940 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff}"
10941 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10942 # This implies no fast_install, which is unacceptable.
10943 # Some rework will be needed to allow for fast_install
10944 # before this can be enabled.
10945 hardcode_into_libs
=yes
10947 # We used to test for /lib/ld.so.1 and disable shared libraries on
10948 # powerpc, because MkLinux only supported shared libraries with the
10949 # GNU dynamic linker. Since this was broken with cross compilers,
10950 # most powerpc-linux boxes support dynamic linking these days and
10951 # people can always --disable-shared, the test was removed, and we
10952 # assume the GNU/Linux dynamic linker is in use.
10953 dynamic_linker
='GNU/Linux ld.so'
10960 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10962 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10963 dynamic_linker
='NetBSD (a.out) ld.so'
10965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
10966 soname_spec
='${libname}${release}${shared_ext}$major'
10967 dynamic_linker
='NetBSD ld.elf_so'
10969 shlibpath_var
=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath
=yes
10971 hardcode_into_libs
=yes
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 shlibpath_var
=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath
=yes
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec
='${libname}${release}${shared_ext}$major'
10987 shlibpath_var
=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath
=yes
10995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10996 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10997 shlibpath_var
=LD_LIBRARY_PATH
10998 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11000 openbsd2.
[89] | openbsd2.
[89].
*)
11001 shlibpath_overrides_runpath
=no
11004 shlibpath_overrides_runpath
=yes
11008 shlibpath_overrides_runpath
=yes
11013 libname_spec
='$name'
11016 library_names_spec
='$libname${shared_ext} $libname.a'
11017 dynamic_linker
='OS/2 ld.exe'
11018 shlibpath_var
=LIBPATH
11021 osf3
* | osf4
* | osf5
*)
11025 soname_spec
='${libname}${release}${shared_ext}$major'
11026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 shlibpath_var
=LD_LIBRARY_PATH
11028 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11029 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11034 soname_spec
='${libname}${release}${shared_ext}$major'
11035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11036 shlibpath_var
=LD_LIBRARY_PATH
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 soname_spec
='${libname}${release}${shared_ext}$major'
11045 shlibpath_var
=LD_LIBRARY_PATH
11046 shlibpath_overrides_runpath
=yes
11047 hardcode_into_libs
=yes
11048 # ldd complains unless libraries are executable
11049 postinstall_cmds
='chmod +x $lib'
11054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11055 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath
=yes
11058 if test "$with_gnu_ld" = yes; then
11064 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 soname_spec
='${libname}${release}${shared_ext}$major'
11068 shlibpath_var
=LD_LIBRARY_PATH
11069 case $host_vendor in
11071 shlibpath_overrides_runpath
=no
11073 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11074 runpath_var
=LD_RUN_PATH
11082 shlibpath_overrides_runpath
=no
11083 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11089 if test -d /usr
/nec
;then
11091 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11092 soname_spec
='$libname${shared_ext}.$major'
11093 shlibpath_var
=LD_LIBRARY_PATH
11099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100 soname_spec
='${libname}${release}${shared_ext}$major'
11101 shlibpath_var
=LD_LIBRARY_PATH
11108 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11109 echo "${ECHO_T}$dynamic_linker" >&6
11110 test "$dynamic_linker" = no
&& can_build_shared
=no
11112 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11113 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11115 if test -n "$hardcode_libdir_flag_spec" || \
11116 test -n "$runpath_var " || \
11117 test "X$hardcode_automatic"="Xyes" ; then
11119 # We can hardcode non-existant directories.
11120 if test "$hardcode_direct" != no
&&
11121 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11122 # have to relink, otherwise we might link with an installed library
11123 # when we should be linking with a yet-to-be-installed one
11124 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11125 test "$hardcode_minus_L" != no
; then
11126 # Linking always hardcodes the temporary library directory.
11127 hardcode_action
=relink
11129 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11130 hardcode_action
=immediate
11133 # We cannot hardcode anything, or else we can only hardcode existing
11135 hardcode_action
=unsupported
11137 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11138 echo "${ECHO_T}$hardcode_action" >&6
11140 if test "$hardcode_action" = relink
; then
11141 # Fast installation is not supported
11142 enable_fast_install
=no
11143 elif test "$shlibpath_overrides_runpath" = yes ||
11144 test "$enable_shared" = no
; then
11145 # Fast installation is not necessary
11146 enable_fast_install
=needless
11151 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11152 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11153 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11154 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11155 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11156 echo "$as_me:$LINENO: result: yes" >&5
11157 echo "${ECHO_T}yes" >&6
11159 # FIXME - insert some real tests, host_os isn't really good enough
11162 if test -n "$STRIP" ; then
11163 striplib
="$STRIP -x"
11164 echo "$as_me:$LINENO: result: yes" >&5
11165 echo "${ECHO_T}yes" >&6
11167 echo "$as_me:$LINENO: result: no" >&5
11168 echo "${ECHO_T}no" >&6
11172 echo "$as_me:$LINENO: result: no" >&5
11173 echo "${ECHO_T}no" >&6
11178 if test "x$enable_dlopen" != xyes
; then
11179 enable_dlopen
=unknown
11180 enable_dlopen_self
=unknown
11181 enable_dlopen_self_static
=unknown
11188 lt_cv_dlopen
="load_add_on"
11190 lt_cv_dlopen_self
=yes
11194 lt_cv_dlopen
="LoadLibrary"
11199 lt_cv_dlopen
="dlopen"
11204 # if libdl is installed we need to link against it
11205 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11206 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11207 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11210 ac_check_lib_save_LIBS
=$LIBS
11212 cat >conftest.
$ac_ext <<_ACEOF
11215 cat confdefs.h
>>conftest.
$ac_ext
11216 cat >>conftest.
$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11219 /* Override any gcc2 internal prototype to avoid an error. */
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11234 rm -f conftest.
$ac_objext conftest
$ac_exeext
11235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11236 (eval $ac_link) 2>conftest.er1
11238 grep -v '^ *+' conftest.er1
>conftest.err
11240 cat conftest.err
>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } &&
11243 { ac_try
='test -z "$ac_c_werror_flag"
11244 || test ! -s conftest.err'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; } &&
11250 { ac_try
='test -s conftest$ac_exeext'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; }; then
11256 ac_cv_lib_dl_dlopen
=yes
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.
$ac_ext >&5
11261 ac_cv_lib_dl_dlopen
=no
11263 rm -f conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11265 LIBS
=$ac_check_lib_save_LIBS
11267 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11268 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11269 if test $ac_cv_lib_dl_dlopen = yes; then
11270 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11273 lt_cv_dlopen
="dyld"
11275 lt_cv_dlopen_self
=yes
11282 echo "$as_me:$LINENO: checking for shl_load" >&5
11283 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11284 if test "${ac_cv_func_shl_load+set}" = set; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 cat >conftest.
$ac_ext <<_ACEOF
11290 cat confdefs.h
>>conftest.
$ac_ext
11291 cat >>conftest.
$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11293 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11295 #define shl_load innocuous_shl_load
11297 /* System header to define __stub macros and hopefully few prototypes,
11298 which can conflict with char shl_load (); below.
11299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11300 <limits.h> exists even on freestanding compilers. */
11303 # include <limits.h>
11305 # include <assert.h>
11310 /* Override any gcc2 internal prototype to avoid an error. */
11315 /* We use char because int might match the return type of a gcc2
11316 builtin and then its argument prototype would still apply. */
11318 /* The GNU C library defines this for functions which it implements
11319 to always fail with ENOSYS. Some functions are actually named
11320 something starting with __ and the normal name is an alias. */
11321 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11324 char (*f) () = shl_load;
11333 return f != shl_load;
11338 rm -f conftest.
$ac_objext conftest
$ac_exeext
11339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11340 (eval $ac_link) 2>conftest.er1
11342 grep -v '^ *+' conftest.er1
>conftest.err
11344 cat conftest.err
>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); } &&
11347 { ac_try
='test -z "$ac_c_werror_flag"
11348 || test ! -s conftest.err'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; } &&
11354 { ac_try
='test -s conftest$ac_exeext'
11355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356 (eval $ac_try) 2>&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; }; then
11360 ac_cv_func_shl_load
=yes
11362 echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.
$ac_ext >&5
11365 ac_cv_func_shl_load
=no
11367 rm -f conftest.err conftest.
$ac_objext \
11368 conftest
$ac_exeext conftest.
$ac_ext
11370 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11371 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11372 if test $ac_cv_func_shl_load = yes; then
11373 lt_cv_dlopen
="shl_load"
11375 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11376 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11377 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 ac_check_lib_save_LIBS
=$LIBS
11382 cat >conftest.
$ac_ext <<_ACEOF
11385 cat confdefs.h
>>conftest.
$ac_ext
11386 cat >>conftest.
$ac_ext <<_ACEOF
11387 /* end confdefs.h. */
11389 /* Override any gcc2 internal prototype to avoid an error. */
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11404 rm -f conftest.
$ac_objext conftest
$ac_exeext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11406 (eval $ac_link) 2>conftest.er1
11408 grep -v '^ *+' conftest.er1
>conftest.err
11410 cat conftest.err
>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try
='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try
='test -s conftest$ac_exeext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11426 ac_cv_lib_dld_shl_load
=yes
11428 echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.
$ac_ext >&5
11431 ac_cv_lib_dld_shl_load
=no
11433 rm -f conftest.err conftest.
$ac_objext \
11434 conftest
$ac_exeext conftest.
$ac_ext
11435 LIBS
=$ac_check_lib_save_LIBS
11437 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11438 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11439 if test $ac_cv_lib_dld_shl_load = yes; then
11440 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11442 echo "$as_me:$LINENO: checking for dlopen" >&5
11443 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11444 if test "${ac_cv_func_dlopen+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 cat >conftest.
$ac_ext <<_ACEOF
11450 cat confdefs.h
>>conftest.
$ac_ext
11451 cat >>conftest.
$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11455 #define dlopen innocuous_dlopen
11457 /* System header to define __stub macros and hopefully few prototypes,
11458 which can conflict with char dlopen (); below.
11459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11460 <limits.h> exists even on freestanding compilers. */
11463 # include <limits.h>
11465 # include <assert.h>
11470 /* Override any gcc2 internal prototype to avoid an error. */
11475 /* We use char because int might match the return type of a gcc2
11476 builtin and then its argument prototype would still apply. */
11478 /* The GNU C library defines this for functions which it implements
11479 to always fail with ENOSYS. Some functions are actually named
11480 something starting with __ and the normal name is an alias. */
11481 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11484 char (*f) () = dlopen;
11493 return f != dlopen;
11498 rm -f conftest.
$ac_objext conftest
$ac_exeext
11499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11500 (eval $ac_link) 2>conftest.er1
11502 grep -v '^ *+' conftest.er1
>conftest.err
11504 cat conftest.err
>&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); } &&
11507 { ac_try
='test -z "$ac_c_werror_flag"
11508 || test ! -s conftest.err'
11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510 (eval $ac_try) 2>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; } &&
11514 { ac_try
='test -s conftest$ac_exeext'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; }; then
11520 ac_cv_func_dlopen
=yes
11522 echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.
$ac_ext >&5
11525 ac_cv_func_dlopen
=no
11527 rm -f conftest.err conftest.
$ac_objext \
11528 conftest
$ac_exeext conftest.
$ac_ext
11530 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11531 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11532 if test $ac_cv_func_dlopen = yes; then
11533 lt_cv_dlopen
="dlopen"
11535 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11536 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11537 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 ac_check_lib_save_LIBS
=$LIBS
11542 cat >conftest.
$ac_ext <<_ACEOF
11545 cat confdefs.h
>>conftest.
$ac_ext
11546 cat >>conftest.
$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11549 /* Override any gcc2 internal prototype to avoid an error. */
11553 /* We use char because int might match the return type of a gcc2
11554 builtin and then its argument prototype would still apply. */
11564 rm -f conftest.
$ac_objext conftest
$ac_exeext
11565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11566 (eval $ac_link) 2>conftest.er1
11568 grep -v '^ *+' conftest.er1
>conftest.err
11570 cat conftest.err
>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } &&
11573 { ac_try
='test -z "$ac_c_werror_flag"
11574 || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } &&
11580 { ac_try
='test -s conftest$ac_exeext'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_cv_lib_dl_dlopen
=yes
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.
$ac_ext >&5
11591 ac_cv_lib_dl_dlopen
=no
11593 rm -f conftest.err conftest.
$ac_objext \
11594 conftest
$ac_exeext conftest.
$ac_ext
11595 LIBS
=$ac_check_lib_save_LIBS
11597 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11598 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11599 if test $ac_cv_lib_dl_dlopen = yes; then
11600 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11602 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11603 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11604 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11608 LIBS
="-lsvld $LIBS"
11609 cat >conftest.
$ac_ext <<_ACEOF
11612 cat confdefs.h
>>conftest.
$ac_ext
11613 cat >>conftest.
$ac_ext <<_ACEOF
11614 /* end confdefs.h. */
11616 /* Override any gcc2 internal prototype to avoid an error. */
11620 /* We use char because int might match the return type of a gcc2
11621 builtin and then its argument prototype would still apply. */
11631 rm -f conftest.
$ac_objext conftest
$ac_exeext
11632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11633 (eval $ac_link) 2>conftest.er1
11635 grep -v '^ *+' conftest.er1
>conftest.err
11637 cat conftest.err
>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); } &&
11640 { ac_try
='test -z "$ac_c_werror_flag"
11641 || test ! -s conftest.err'
11642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11643 (eval $ac_try) 2>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); }; } &&
11647 { ac_try
='test -s conftest$ac_exeext'
11648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11649 (eval $ac_try) 2>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); }; }; then
11653 ac_cv_lib_svld_dlopen
=yes
11655 echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.
$ac_ext >&5
11658 ac_cv_lib_svld_dlopen
=no
11660 rm -f conftest.err conftest.
$ac_objext \
11661 conftest
$ac_exeext conftest.
$ac_ext
11662 LIBS
=$ac_check_lib_save_LIBS
11664 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11665 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11666 if test $ac_cv_lib_svld_dlopen = yes; then
11667 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11669 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11670 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11671 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 ac_check_lib_save_LIBS
=$LIBS
11676 cat >conftest.
$ac_ext <<_ACEOF
11679 cat confdefs.h
>>conftest.
$ac_ext
11680 cat >>conftest.
$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11683 /* Override any gcc2 internal prototype to avoid an error. */
11687 /* We use char because int might match the return type of a gcc2
11688 builtin and then its argument prototype would still apply. */
11698 rm -f conftest.
$ac_objext conftest
$ac_exeext
11699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11700 (eval $ac_link) 2>conftest.er1
11702 grep -v '^ *+' conftest.er1
>conftest.err
11704 cat conftest.err
>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); } &&
11707 { ac_try
='test -z "$ac_c_werror_flag"
11708 || test ! -s conftest.err'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try
='test -s conftest$ac_exeext'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; }; then
11720 ac_cv_lib_dld_dld_link
=yes
11722 echo "$as_me: failed program was:" >&5
11723 sed 's/^/| /' conftest.
$ac_ext >&5
11725 ac_cv_lib_dld_dld_link
=no
11727 rm -f conftest.err conftest.
$ac_objext \
11728 conftest
$ac_exeext conftest.
$ac_ext
11729 LIBS
=$ac_check_lib_save_LIBS
11731 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11732 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11733 if test $ac_cv_lib_dld_dld_link = yes; then
11734 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
11755 if test "x$lt_cv_dlopen" != xno
; then
11761 case $lt_cv_dlopen in
11763 save_CPPFLAGS
="$CPPFLAGS"
11764 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11766 save_LDFLAGS
="$LDFLAGS"
11767 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11770 LIBS
="$lt_cv_dlopen_libs $LIBS"
11772 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11773 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11774 if test "${lt_cv_dlopen_self+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 if test "$cross_compiling" = yes; then :
11778 lt_cv_dlopen_self
=cross
11780 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11781 lt_status
=$lt_dlunknown
11782 cat > conftest.
$ac_ext <<EOF
11783 #line 11783 "configure"
11784 #include "confdefs.h"
11793 # define LT_DLGLOBAL RTLD_GLOBAL
11796 # define LT_DLGLOBAL DL_GLOBAL
11798 # define LT_DLGLOBAL 0
11802 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11803 find out it does not work in some platform. */
11804 #ifndef LT_DLLAZY_OR_NOW
11806 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11809 # define LT_DLLAZY_OR_NOW DL_LAZY
11812 # define LT_DLLAZY_OR_NOW RTLD_NOW
11815 # define LT_DLLAZY_OR_NOW DL_NOW
11817 # define LT_DLLAZY_OR_NOW 0
11825 extern "C" void exit (int);
11828 void fnord() { int i=42;}
11831 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11832 int status = $lt_dlunknown;
11836 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11837 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11838 /* dlclose (self); */
11844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11845 (eval $ac_link) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11849 (.
/conftest
; exit; ) 2>/dev
/null
11851 case x
$lt_status in
11852 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11853 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11854 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
11857 # compilation failed
11858 lt_cv_dlopen_self
=no
11865 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11866 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11868 if test "x$lt_cv_dlopen_self" = xyes
; then
11869 LDFLAGS
="$LDFLAGS $link_static_flag"
11870 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11871 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11872 if test "${lt_cv_dlopen_self_static+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 if test "$cross_compiling" = yes; then :
11876 lt_cv_dlopen_self_static
=cross
11878 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11879 lt_status
=$lt_dlunknown
11880 cat > conftest.
$ac_ext <<EOF
11881 #line 11881 "configure"
11882 #include "confdefs.h"
11891 # define LT_DLGLOBAL RTLD_GLOBAL
11894 # define LT_DLGLOBAL DL_GLOBAL
11896 # define LT_DLGLOBAL 0
11900 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11901 find out it does not work in some platform. */
11902 #ifndef LT_DLLAZY_OR_NOW
11904 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11907 # define LT_DLLAZY_OR_NOW DL_LAZY
11910 # define LT_DLLAZY_OR_NOW RTLD_NOW
11913 # define LT_DLLAZY_OR_NOW DL_NOW
11915 # define LT_DLLAZY_OR_NOW 0
11923 extern "C" void exit (int);
11926 void fnord() { int i=42;}
11929 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11930 int status = $lt_dlunknown;
11934 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11935 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11936 /* dlclose (self); */
11942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11943 (eval $ac_link) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11947 (.
/conftest
; exit; ) 2>/dev
/null
11949 case x
$lt_status in
11950 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11951 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11952 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
11955 # compilation failed
11956 lt_cv_dlopen_self_static
=no
11963 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11964 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11967 CPPFLAGS
="$save_CPPFLAGS"
11968 LDFLAGS
="$save_LDFLAGS"
11973 case $lt_cv_dlopen_self in
11974 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11975 *) enable_dlopen_self
=unknown
;;
11978 case $lt_cv_dlopen_self_static in
11979 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11980 *) enable_dlopen_self_static
=unknown
;;
11985 # Report which librarie types wil actually be built
11986 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11987 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11988 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11989 echo "${ECHO_T}$can_build_shared" >&6
11991 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11992 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11993 test "$can_build_shared" = "no" && enable_shared
=no
11995 # On AIX, shared libraries and static libraries use the same namespace, and
11996 # are all built from PIC.
11999 test "$enable_shared" = yes && enable_static
=no
12000 if test -n "$RANLIB"; then
12001 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12002 postinstall_cmds
='$RANLIB $lib'
12007 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12008 test "$enable_shared" = yes && enable_static
=no
12011 darwin
* | rhapsody
*)
12012 if test "$GCC" = yes; then
12013 archive_cmds_need_lc
=no
12015 rhapsody
* | darwin1.
[012])
12016 allow_undefined_flag
='-Wl,-undefined -Wl,suppress'
12019 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12020 allow_undefined_flag
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12022 case ${MACOSX_DEPLOYMENT_TARGET} in
12024 allow_undefined_flag
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12027 allow_undefined_flag
='-Wl,-undefined -Wl,dynamic_lookup'
12033 output_verbose_link_cmd
='echo'
12034 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12035 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12036 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12037 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}'
12038 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}'
12040 hardcode_automatic
=yes
12041 hardcode_shlibpath_var
=unsupported
12042 whole_archive_flag_spec
='-all_load $convenience'
12043 link_all_deplibs
=yes
12049 echo "$as_me:$LINENO: result: $enable_shared" >&5
12050 echo "${ECHO_T}$enable_shared" >&6
12052 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12053 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12054 # Make sure either enable_shared or enable_static is yes.
12055 test "$enable_shared" = yes || enable_static
=yes
12056 echo "$as_me:$LINENO: result: $enable_static" >&5
12057 echo "${ECHO_T}$enable_static" >&6
12059 # The else clause should only fire when bootstrapping the
12060 # libtool distribution, otherwise you forgot to ship ltmain.sh
12061 # with your package, and you will get complaints that there are
12062 # no rules to generate ltmain.sh.
12063 if test -f "$ltmain"; then
12064 # See if we are running on zsh, and set the options which allow our commands through
12065 # without removal of \ escapes.
12066 if test -n "${ZSH_VERSION+set}" ; then
12067 setopt NO_GLOB_SUBST
12069 # Now quote all the things that may contain metacharacters while being
12070 # careful not to overquote the AC_SUBSTed values. We take copies of the
12071 # variables and quote the copies for generation of the libtool script.
12072 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12073 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12074 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12075 deplibs_check_method reload_flag reload_cmds need_locks \
12076 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12077 lt_cv_sys_global_symbol_to_c_name_address \
12078 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12079 old_postinstall_cmds old_postuninstall_cmds \
12083 lt_prog_compiler_wl \
12084 lt_prog_compiler_pic \
12085 lt_prog_compiler_static \
12086 lt_prog_compiler_no_builtin_flag \
12087 export_dynamic_flag_spec \
12088 thread_safe_flag_spec \
12089 whole_archive_flag_spec \
12090 enable_shared_with_static_runtimes \
12092 old_archive_from_new_cmds \
12097 compiler_lib_search_path \
12099 archive_expsym_cmds \
12101 postuninstall_cmds \
12102 old_archive_from_expsyms_cmds \
12103 allow_undefined_flag \
12104 no_undefined_flag \
12105 export_symbols_cmds \
12106 hardcode_libdir_flag_spec \
12107 hardcode_libdir_flag_spec_ld \
12108 hardcode_libdir_separator \
12109 hardcode_automatic \
12111 module_expsym_cmds \
12112 lt_cv_prog_compiler_c_o \
12114 include_expsyms
; do
12117 old_archive_cmds | \
12118 old_archive_from_new_cmds | \
12120 archive_expsym_cmds | \
12122 module_expsym_cmds | \
12123 old_archive_from_expsyms_cmds | \
12124 export_symbols_cmds | \
12125 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12126 postinstall_cmds | postuninstall_cmds | \
12127 old_postinstall_cmds | old_postuninstall_cmds | \
12128 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12129 # Double-quote double-evaled strings.
12130 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12133 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12139 *'\$0 --fallback-echo"')
12140 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12144 cfgfile
="${ofile}T"
12145 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12147 { echo "$as_me:$LINENO: creating $ofile" >&5
12148 echo "$as_me: creating $ofile" >&6;}
12150 cat <<__EOF__ >> "$cfgfile"
12153 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12154 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12155 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12157 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12158 # Free Software Foundation, Inc.
12160 # This file is part of GNU Libtool:
12161 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12163 # This program is free software; you can redistribute it and/or modify
12164 # it under the terms of the GNU General Public License as published by
12165 # the Free Software Foundation; either version 2 of the License, or
12166 # (at your option) any later version.
12168 # This program is distributed in the hope that it will be useful, but
12169 # WITHOUT ANY WARRANTY; without even the implied warranty of
12170 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12171 # General Public License for more details.
12173 # You should have received a copy of the GNU General Public License
12174 # along with this program; if not, write to the Free Software
12175 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12177 # As a special exception to the GNU General Public License, if you
12178 # distribute this file as part of a program that contains a
12179 # configuration script generated by Autoconf, you may include it under
12180 # the same distribution terms that you use for the rest of that program.
12182 # A sed program that does not truncate output.
12185 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12186 Xsed="$SED -e s/^X//"
12188 # The HP-UX ksh and POSIX shell print the target directory to stdout
12189 # if CDPATH is set.
12190 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12192 # The names of the tagged configurations supported by this script.
12195 # ### BEGIN LIBTOOL CONFIG
12197 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12199 # Shell to use when invoking shell scripts.
12202 # Whether or not to build shared libraries.
12203 build_libtool_libs=$enable_shared
12205 # Whether or not to build static libraries.
12206 build_old_libs=$enable_static
12208 # Whether or not to add -lc for building shared libraries.
12209 build_libtool_need_lc=$archive_cmds_need_lc
12211 # Whether or not to disallow shared libs when runtime libs are static
12212 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12214 # Whether or not to optimize for fast installation.
12215 fast_install=$enable_fast_install
12218 host_alias=$host_alias
12221 # An echo program that does not interpret backslashes.
12226 AR_FLAGS=$lt_AR_FLAGS
12231 # A language-specific compiler.
12234 # Is the compiler the GNU C compiler?
12240 # The linker used to build libraries.
12243 # Whether we need hard or soft links.
12246 # A BSD-compatible nm program.
12249 # A symbol stripping program
12252 # Used to examine libraries when file_magic_cmd begins "file"
12253 MAGIC_CMD=$MAGIC_CMD
12255 # Used on cygwin: DLL creation program.
12258 # Used on cygwin: object dumper.
12261 # Used on cygwin: assembler.
12264 # The name of the directory that contains temporary libtool files.
12267 # How to create reloadable object files.
12268 reload_flag=$lt_reload_flag
12269 reload_cmds=$lt_reload_cmds
12271 # How to pass a linker flag through the compiler.
12272 wl=$lt_lt_prog_compiler_wl
12274 # Object file suffix (normally "o").
12275 objext="$ac_objext"
12277 # Old archive suffix (normally "a").
12280 # Shared library suffix (normally ".so").
12283 # Executable file suffix (normally "").
12286 # Additional compiler flags for building library objects.
12287 pic_flag=$lt_lt_prog_compiler_pic
12290 # What is the maximum length of a command?
12291 max_cmd_len=$lt_cv_sys_max_cmd_len
12293 # Does compiler simultaneously support -c and -o options?
12294 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12296 # Must we lock files when doing compilation ?
12297 need_locks=$lt_need_locks
12299 # Do we need the lib prefix for modules?
12300 need_lib_prefix=$need_lib_prefix
12302 # Do we need a version for libraries?
12303 need_version=$need_version
12305 # Whether dlopen is supported.
12306 dlopen_support=$enable_dlopen
12308 # Whether dlopen of programs is supported.
12309 dlopen_self=$enable_dlopen_self
12311 # Whether dlopen of statically linked programs is supported.
12312 dlopen_self_static=$enable_dlopen_self_static
12314 # Compiler flag to prevent dynamic linking.
12315 link_static_flag=$lt_lt_prog_compiler_static
12317 # Compiler flag to turn off builtin functions.
12318 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12320 # Compiler flag to allow reflexive dlopens.
12321 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12323 # Compiler flag to generate shared objects directly from archives.
12324 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12326 # Compiler flag to generate thread-safe objects.
12327 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12329 # Library versioning type.
12330 version_type=$version_type
12332 # Format of library name prefix.
12333 libname_spec=$lt_libname_spec
12335 # List of archive names. First name is the real one, the rest are links.
12336 # The last name is the one that the linker finds with -lNAME.
12337 library_names_spec=$lt_library_names_spec
12339 # The coded name of the library, if different from the real name.
12340 soname_spec=$lt_soname_spec
12342 # Commands used to build and install an old-style archive.
12344 old_archive_cmds=$lt_old_archive_cmds
12345 old_postinstall_cmds=$lt_old_postinstall_cmds
12346 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12348 # Create an old-style archive from a shared archive.
12349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12351 # Create a temporary old-style archive to link instead of a shared archive.
12352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12354 # Commands used to build and install a shared archive.
12355 archive_cmds=$lt_archive_cmds
12356 archive_expsym_cmds=$lt_archive_expsym_cmds
12357 postinstall_cmds=$lt_postinstall_cmds
12358 postuninstall_cmds=$lt_postuninstall_cmds
12360 # Commands used to build a loadable module (assumed same as above if empty)
12361 module_cmds=$lt_module_cmds
12362 module_expsym_cmds=$lt_module_expsym_cmds
12364 # Commands to strip libraries.
12365 old_striplib=$lt_old_striplib
12366 striplib=$lt_striplib
12368 # Dependencies to place before the objects being linked to create a
12370 predep_objects=$lt_predep_objects
12372 # Dependencies to place after the objects being linked to create a
12374 postdep_objects=$lt_postdep_objects
12376 # Dependencies to place before the objects being linked to create a
12378 predeps=$lt_predeps
12380 # Dependencies to place after the objects being linked to create a
12382 postdeps=$lt_postdeps
12384 # The library search path used internally by the compiler when linking
12385 # a shared library.
12386 compiler_lib_search_path=$lt_compiler_lib_search_path
12388 # Method to check whether dependent libraries are shared objects.
12389 deplibs_check_method=$lt_deplibs_check_method
12391 # Command to use when deplibs_check_method == file_magic.
12392 file_magic_cmd=$lt_file_magic_cmd
12394 # Flag that allows shared libraries with undefined symbols to be built.
12395 allow_undefined_flag=$lt_allow_undefined_flag
12397 # Flag that forces no undefined symbols.
12398 no_undefined_flag=$lt_no_undefined_flag
12400 # Commands used to finish a libtool library installation in a directory.
12401 finish_cmds=$lt_finish_cmds
12403 # Same as above, but a single script fragment to be evaled but not shown.
12404 finish_eval=$lt_finish_eval
12406 # Take the output of nm and produce a listing of raw symbols and C names.
12407 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12409 # Transform the output of nm in a proper C declaration
12410 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12412 # Transform the output of nm in a C name address pair
12413 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12415 # This is the shared library runtime path variable.
12416 runpath_var=$runpath_var
12418 # This is the shared library path variable.
12419 shlibpath_var=$shlibpath_var
12421 # Is shlibpath searched before the hard-coded library search path?
12422 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12424 # How to hardcode a shared library path into an executable.
12425 hardcode_action=$hardcode_action
12427 # Whether we should hardcode library paths into libraries.
12428 hardcode_into_libs=$hardcode_into_libs
12430 # Flag to hardcode \$libdir into a binary during linking.
12431 # This must work even if \$libdir does not exist.
12432 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12434 # If ld is used when linking, flag to hardcode \$libdir into
12435 # a binary during linking. This must work even if \$libdir does
12437 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12439 # Whether we need a single -rpath flag with a separated argument.
12440 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12442 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12443 # resulting binary.
12444 hardcode_direct=$hardcode_direct
12446 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12447 # resulting binary.
12448 hardcode_minus_L=$hardcode_minus_L
12450 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12451 # the resulting binary.
12452 hardcode_shlibpath_var=$hardcode_shlibpath_var
12454 # Set to yes if building a shared library automatically hardcodes DIR into the library
12455 # and all subsequent libraries and executables linked against it.
12456 hardcode_automatic=$hardcode_automatic
12458 # Variables whose values should be saved in libtool wrapper scripts and
12459 # restored at relink time.
12460 variables_saved_for_relink="$variables_saved_for_relink"
12462 # Whether libtool must link a program against all its dependency libraries.
12463 link_all_deplibs=$link_all_deplibs
12465 # Compile-time system search path for libraries
12466 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12468 # Run-time system search path for libraries
12469 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12471 # Fix the shell variable \$srcfile for the compiler.
12472 fix_srcfile_path="$fix_srcfile_path"
12474 # Set to yes if exported symbols are required.
12475 always_export_symbols=$always_export_symbols
12477 # The commands to list exported symbols.
12478 export_symbols_cmds=$lt_export_symbols_cmds
12480 # The commands to extract the exported symbol list from a shared archive.
12481 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12483 # Symbols that should not be listed in the preloaded symbols.
12484 exclude_expsyms=$lt_exclude_expsyms
12486 # Symbols that must always be exported.
12487 include_expsyms=$lt_include_expsyms
12489 # ### END LIBTOOL CONFIG
12496 cat <<\EOF
>> "$cfgfile"
12498 # AIX sometimes has problems with the GCC collect2 program. For some
12499 # reason, if we set the COLLECT_NAMES environment variable, the problems
12500 # vanish in a puff of smoke.
12501 if test "X${COLLECT_NAMES+set}" != Xset
; then
12503 export COLLECT_NAMES
12509 # We use sed instead of cat because bash on DJGPP gets confused if
12510 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12511 # text mode, it properly converts lines to CR/LF. This bash problem
12512 # is reportedly fixed, but why not run on old versions too?
12513 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
12515 mv -f "$cfgfile" "$ofile" || \
12516 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12520 # If there is no Makefile yet, we rely on a make rule to execute
12521 # `config.status --recheck' to rerun these tests and create the
12522 # libtool script then.
12523 test -f Makefile
&& make "$ltmain"
12528 ac_cpp
='$CPP $CPPFLAGS'
12529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12536 # Check whether --with-tags or --without-tags was given.
12537 if test "${with_tags+set}" = set; then
12538 withval
="$with_tags"
12539 tagnames
="$withval"
12542 if test -f "$ltmain" && test -n "$tagnames"; then
12543 if test ! -f "${ofile}"; then
12544 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12545 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12548 if test -z "$LTCC"; then
12549 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12550 if test -z "$LTCC"; then
12551 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12552 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12554 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12555 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12559 # Extract list of available tagged configurations in $ofile.
12560 # Note that this assumes the entire list is on one line.
12561 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12563 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
12564 for tagname
in $tagnames; do
12566 # Check whether tagname contains only valid characters
12567 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12569 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12570 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12571 { (exit 1); exit 1; }; }
12575 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
12577 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12578 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12579 { (exit 1); exit 1; }; }
12582 # Update the list of available tags.
12583 if test -n "$tagname"; then
12584 echo appending configuration tag
\"$tagname\" to
$ofile
12588 if test -n "$CXX" && test "X$CXX" != "Xno"; then
12590 ac_cpp
='$CXXCPP $CPPFLAGS'
12591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12598 archive_cmds_need_lc_CXX
=no
12599 allow_undefined_flag_CXX
=
12600 always_export_symbols_CXX
=no
12601 archive_expsym_cmds_CXX
=
12602 export_dynamic_flag_spec_CXX
=
12603 hardcode_direct_CXX
=no
12604 hardcode_libdir_flag_spec_CXX
=
12605 hardcode_libdir_flag_spec_ld_CXX
=
12606 hardcode_libdir_separator_CXX
=
12607 hardcode_minus_L_CXX
=no
12608 hardcode_automatic_CXX
=no
12610 module_expsym_cmds_CXX
=
12611 link_all_deplibs_CXX
=unknown
12612 old_archive_cmds_CXX
=$old_archive_cmds
12613 no_undefined_flag_CXX
=
12614 whole_archive_flag_spec_CXX
=
12615 enable_shared_with_static_runtimes_CXX
=no
12617 # Dependencies to place before and after the object being linked:
12618 predep_objects_CXX
=
12619 postdep_objects_CXX
=
12622 compiler_lib_search_path_CXX
=
12624 # Source file extension for C++ test sources.
12627 # Object file extension for compiled C++ test sources.
12631 # Code to be used in simple compile tests
12632 lt_simple_compile_test_code
="int some_variable = 0;\n"
12634 # Code to be used in simple link tests
12635 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
12637 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12639 # If no C compiler was specified, use CC.
12642 # Allow CC to be a program name with arguments.
12646 # Allow CC to be a program name with arguments.
12651 lt_save_with_gnu_ld
=$with_gnu_ld
12652 lt_save_path_LD
=$lt_cv_path_LD
12653 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12654 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12656 unset lt_cv_prog_gnu_ld
12658 if test -n "${lt_cv_path_LDCXX+set}"; then
12659 lt_cv_path_LD
=$lt_cv_path_LDCXX
12661 unset lt_cv_path_LD
12663 test -z "${LDCXX+set}" || LD
=$LDCXX
12667 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12669 # We don't want -fno-exception wen compiling C++ code, so set the
12670 # no_builtin_flag separately
12671 if test "$GXX" = yes; then
12672 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12674 lt_prog_compiler_no_builtin_flag_CXX
=
12677 if test "$GXX" = yes; then
12678 # Set up default GNU C++ configuration
12681 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12682 if test "${with_gnu_ld+set}" = set; then
12683 withval
="$with_gnu_ld"
12684 test "$withval" = no || with_gnu_ld
=yes
12689 if test "$GCC" = yes; then
12690 # Check if gcc -print-prog-name=ld gives a path.
12691 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12692 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12695 # gcc leaves a trailing carriage return which upsets mingw
12696 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12698 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12701 # Accept absolute paths.
12703 re_direlt
='/[^/][^/]*/\.\./'
12704 # Canonicalize the pathname of ld
12705 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
12706 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12707 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12709 test -z "$LD" && LD
="$ac_prog"
12712 # If it fails, then pretend we aren't using GCC.
12716 # If it is relative, then search for the first ld in PATH.
12717 with_gnu_ld
=unknown
12720 elif test "$with_gnu_ld" = yes; then
12721 echo "$as_me:$LINENO: checking for GNU ld" >&5
12722 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12724 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12725 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12727 if test "${lt_cv_path_LD+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 if test -z "$LD"; then
12731 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12732 for ac_dir
in $PATH; do
12734 test -z "$ac_dir" && ac_dir
=.
12735 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12736 lt_cv_path_LD
="$ac_dir/$ac_prog"
12737 # Check to see if the program is GNU ld. I'd rather use --version,
12738 # but apparently some GNU ld's only accept -v.
12739 # Break only if it was the GNU/non-GNU ld that we prefer.
12740 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12741 *GNU
* |
*'with BFD'*)
12742 test "$with_gnu_ld" != no
&& break
12745 test "$with_gnu_ld" != yes && break
12752 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12756 LD
="$lt_cv_path_LD"
12757 if test -n "$LD"; then
12758 echo "$as_me:$LINENO: result: $LD" >&5
12759 echo "${ECHO_T}$LD" >&6
12761 echo "$as_me:$LINENO: result: no" >&5
12762 echo "${ECHO_T}no" >&6
12764 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12765 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12766 { (exit 1); exit 1; }; }
12767 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12768 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12769 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12770 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12773 case `$LD -v 2>&1 </dev/null` in
12774 *GNU
* |
*'with BFD'*)
12775 lt_cv_prog_gnu_ld
=yes
12778 lt_cv_prog_gnu_ld
=no
12782 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12783 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12784 with_gnu_ld
=$lt_cv_prog_gnu_ld
12788 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12789 # archiving commands below assume that GNU ld is being used.
12790 if test "$with_gnu_ld" = yes; then
12791 archive_cmds_CXX
='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
12792 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'
12794 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12795 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12797 # If archive_cmds runs LD, not CC, wlarc should be empty
12798 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12799 # investigate it a little bit more. (MM)
12802 # ancient GNU ld didn't support --whole-archive et. al.
12803 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12804 grep 'no-whole-archive' > /dev
/null
; then
12805 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12807 whole_archive_flag_spec_CXX
=
12813 # A generic and very simple default shared library creation
12814 # command for GNU C++ for the case where it uses the native
12815 # linker, instead of GNU ld. If possible, this setting should
12816 # overridden to take advantage of the native linker features on
12817 # the platform it is being used on.
12818 archive_cmds_CXX
='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
12821 # Commands to make compiler produce verbose output that lists
12822 # what "hidden" libraries, object files and flags are used when
12823 # linking a shared library.
12824 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12832 # PORTME: fill in a description of your system's C++ link characteristics
12833 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12834 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12838 # FIXME: insert proper C++ library support
12842 if test "$host_cpu" = ia64
; then
12843 # On IA64, the linker does run time linking by default, so we don't
12844 # have to do anything special.
12845 aix_use_runtimelinking
=no
12846 exp_sym_flag
='-Bexport'
12849 # KDE requires run time linking. Make it the default.
12850 aix_use_runtimelinking
=yes
12851 exp_sym_flag
='-bexport'
12852 no_entry_flag
='-bnoentry'
12855 # When large executables or shared objects are built, AIX ld can
12856 # have problems creating the table of contents. If linking a library
12857 # or program results in "error TOC overflow" add -mminimal-toc to
12858 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12859 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12861 archive_cmds_CXX
=''
12862 hardcode_direct_CXX
=yes
12863 hardcode_libdir_separator_CXX
=':'
12864 link_all_deplibs_CXX
=yes
12866 if test "$GXX" = yes; then
12867 case $host_os in aix4.012|aix4.012.
*)
12868 # We only want to do this on AIX 4.2 and lower, the check
12869 # below for broken collect2 doesn't work under 4.3+
12870 collect2name
=`${CC} -print-prog-name=collect2`
12871 if test -f "$collect2name" && \
12872 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
12874 # We have reworked collect2
12875 hardcode_direct_CXX
=yes
12877 # We have old collect2
12878 hardcode_direct_CXX
=unsupported
12879 # It fails to find uninstalled libraries when the uninstalled
12880 # path is not listed in the libpath. Setting hardcode_minus_L
12881 # to unsupported forces relinking
12882 hardcode_minus_L_CXX
=yes
12883 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12884 hardcode_libdir_separator_CXX
=
12887 shared_flag
='-shared'
12890 if test "$host_cpu" = ia64
; then
12891 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12892 # chokes on -Wl,-G. The following line is correct:
12895 if test "$aix_use_runtimelinking" = yes; then
12896 shared_flag
='-qmkshrobj ${wl}-G'
12898 shared_flag
='-qmkshrobj'
12903 # Let the compiler handle the export list.
12904 always_export_symbols_CXX
=no
12905 if test "$aix_use_runtimelinking" = yes; then
12906 # Warning - without using the other runtime loading flags (-brtl),
12907 # -berok will link without error, but may produce a broken library.
12908 allow_undefined_flag_CXX
='-berok'
12909 # Determine the default libpath from the value encoded in an empty executable.
12910 cat >conftest.
$ac_ext <<_ACEOF
12913 cat confdefs.h
>>conftest.
$ac_ext
12914 cat >>conftest.
$ac_ext <<_ACEOF
12915 /* end confdefs.h. */
12925 rm -f conftest.
$ac_objext conftest
$ac_exeext
12926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12927 (eval $ac_link) 2>conftest.er1
12929 grep -v '^ *+' conftest.er1
>conftest.err
12931 cat conftest.err
>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); } &&
12934 { ac_try
='test -z "$ac_cxx_werror_flag"
12935 || test ! -s conftest.err'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; } &&
12941 { ac_try
='test -s conftest$ac_exeext'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; }; then
12948 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12950 # Check for a 64-bit object if we didn't find anything.
12951 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; }
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.
$ac_ext >&5
12958 rm -f conftest.err conftest.
$ac_objext \
12959 conftest
$ac_exeext conftest.
$ac_ext
12960 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12962 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12964 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"
12965 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"
12967 if test "$host_cpu" = ia64; then
12968 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
12969 allow_undefined_flag_CXX="-z nodefs"
12970 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"
12972 # Determine the default libpath from the value encoded in an empty executable.
12973 cat >conftest.$ac_ext <<_ACEOF
12976 cat confdefs.h >>conftest.$ac_ext
12977 cat >>conftest.$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12988 rm -f conftest.$ac_objext conftest$ac_exeext
12989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12990 (eval $ac_link) 2>conftest.er1
12992 grep -v '^ *+' conftest.er1 >conftest.err
12994 cat conftest.err >&5
12995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12996 (exit $ac_status); } &&
12997 { ac_try='test -z "$ac_cxx_werror_flag"
12998 || test ! -s conftest.err'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13003 (exit $ac_status); }; } &&
13004 { ac_try='test -s conftest$ac_exeext'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13009 (exit $ac_status); }; }; then
13011 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13013 # Check for a 64-bit object if we didn't find anything.
13014 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; }
13017 echo "$as_me: failed program was
:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13021 rm -f conftest.err conftest.$ac_objext \
13022 conftest$ac_exeext conftest.$ac_ext
13023 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
13025 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13026 # Warning - without using the other run time loading flags,
13027 # -berok will link without error, but may produce a broken library.
13028 no_undefined_flag_CXX=' ${wl}-bernotok'
13029 allow_undefined_flag_CXX=' ${wl}-berok'
13030 # -bexpall does not export symbols beginning with underscore (_)
13031 always_export_symbols_CXX=yes
13032 # Exported symbols can be pulled into shared objects from archives
13033 whole_archive_flag_spec_CXX=' '
13034 archive_cmds_need_lc_CXX=yes
13035 # This is similar to how AIX traditionally builds it's shared libraries.
13036 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'
13041 case $cc_basename in
13043 # FIXME: insert proper C++ library support
13049 cygwin* | mingw* | pw32*)
13050 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13051 # as there is no search path for DLLs.
13052 hardcode_libdir_flag_spec_CXX='-L$libdir'
13053 allow_undefined_flag_CXX=no
13054 always_export_symbols_CXX=no
13055 enable_shared_with_static_runtimes_CXX=yes
13057 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13058 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'
13059 # If the export-symbols file already is a .def file (1st line
13060 # is EXPORTS), use it as is; otherwise, prepend...
13061 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
13062 cp $export_symbols $output_objdir/$soname.def;
13064 echo EXPORTS > $output_objdir/$soname.def;
13065 cat $export_symbols >> $output_objdir/$soname.def;
13067 $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'
13073 darwin* | rhapsody*)
13074 if test "$GXX" = yes; then
13075 archive_cmds_need_lc_CXX=no
13077 rhapsody* | darwin1.[012])
13078 allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13081 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13082 allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13084 case ${MACOSX_DEPLOYMENT_TARGET} in
13086 allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13089 allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
13095 lt_int_apple_cc_single_mod=no
13096 output_verbose_link_cmd='echo'
13097 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13098 lt_int_apple_cc_single_mod=yes
13100 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
13101 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13103 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'
13105 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13107 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13108 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
13109 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}'
13111 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}'
13113 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}'
13114 hardcode_direct_CXX
=no
13115 hardcode_automatic_CXX
=yes
13116 hardcode_shlibpath_var_CXX
=unsupported
13117 whole_archive_flag_spec_CXX
='-all_load $convenience'
13118 link_all_deplibs_CXX
=yes
13125 case $cc_basename in
13127 # FIXME: insert proper C++ library support
13131 # Green Hills C++ Compiler
13132 # FIXME: insert proper C++ library support
13136 # FIXME: insert proper C++ library support
13142 # C++ shared libraries reported to be fairly broken before switch to ELF
13146 archive_cmds_need_lc_CXX
=no
13148 freebsd
* | kfreebsd
*-gnu)
13149 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13156 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13157 hardcode_libdir_separator_CXX
=:
13158 export_dynamic_flag_spec_CXX
='${wl}-E'
13159 hardcode_direct_CXX
=yes
13160 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13161 # but as the default
13162 # location of the library.
13164 case $cc_basename in
13166 # FIXME: insert proper C++ library support
13170 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'
13171 # Commands to make compiler produce verbose output that lists
13172 # what "hidden" libraries, object files and flags are used when
13173 # linking a shared library.
13175 # There doesn't appear to be a way to prevent this compiler from
13176 # explicitly linking system object files so we need to strip them
13177 # from the output so that they don't get included in the library
13179 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'
13182 if test "$GXX" = yes; then
13183 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'
13185 # FIXME: insert proper C++ library support
13192 if test $with_gnu_ld = no
; then
13193 case "$host_cpu" in
13195 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13196 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
13197 hardcode_libdir_separator_CXX
=:
13200 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13203 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13204 hardcode_libdir_separator_CXX
=:
13205 export_dynamic_flag_spec_CXX
='${wl}-E'
13209 case "$host_cpu" in
13211 hardcode_direct_CXX
=no
13212 hardcode_shlibpath_var_CXX
=no
13215 hardcode_direct_CXX
=no
13216 hardcode_shlibpath_var_CXX
=no
13217 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13218 # but as the default
13219 # location of the library.
13222 hardcode_direct_CXX
=yes
13223 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13224 # but as the default
13225 # location of the library.
13229 case $cc_basename in
13231 # FIXME: insert proper C++ library support
13235 case "$host_cpu" in
13237 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13240 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13243 # Commands to make compiler produce verbose output that lists
13244 # what "hidden" libraries, object files and flags are used when
13245 # linking a shared library.
13247 # There doesn't appear to be a way to prevent this compiler from
13248 # explicitly linking system object files so we need to strip them
13249 # from the output so that they don't get included in the library
13251 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'
13254 if test "$GXX" = yes; then
13255 if test $with_gnu_ld = no
; then
13256 case "$host_cpu" in
13258 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13261 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'
13266 # FIXME: insert proper C++ library support
13273 case $cc_basename in
13276 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'
13278 # Archives containing C++ object files must be created using
13279 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13280 # necessary to make sure instantiated templates are included
13282 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13285 if test "$GXX" = yes; then
13286 if test "$with_gnu_ld" = no
; then
13287 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'
13289 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'
13292 link_all_deplibs_CXX
=yes
13295 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13296 hardcode_libdir_separator_CXX
=:
13299 case $cc_basename in
13301 # Kuck and Associates, Inc. (KAI) C++ Compiler
13303 # KCC will only create a shared library if the output file
13304 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13305 # to its proper name (with version) after linking.
13306 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'
13307 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'
13308 # Commands to make compiler produce verbose output that lists
13309 # what "hidden" libraries, object files and flags are used when
13310 # linking a shared library.
13312 # There doesn't appear to be a way to prevent this compiler from
13313 # explicitly linking system object files so we need to strip them
13314 # from the output so that they don't get included in the library
13316 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'
13318 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
13319 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13321 # Archives containing C++ object files must be created using
13322 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13323 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13328 archive_cmds_need_lc_CXX
=no
13329 archive_cmds_CXX
='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13330 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'
13331 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13332 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13333 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13337 archive_cmds_CXX
='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13338 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'
13340 runpath_var
=LD_RUN_PATH
13341 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13342 hardcode_libdir_separator_CXX
=:
13344 # Commands to make compiler produce verbose output that lists
13345 # what "hidden" libraries, object files and flags are used when
13346 # linking a shared library.
13348 # There doesn't appear to be a way to prevent this compiler from
13349 # explicitly linking system object files so we need to strip them
13350 # from the output so that they don't get included in the library
13352 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'
13357 # FIXME: insert proper C++ library support
13361 # FIXME: insert proper C++ library support
13365 case $cc_basename in
13367 # FIXME: insert proper C++ library support
13371 # FIXME: insert proper C++ library support
13377 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13378 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13380 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13381 hardcode_direct_CXX
=yes
13382 hardcode_shlibpath_var_CXX
=no
13384 # Workaround some broken pre-1.5 toolchains
13385 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13388 case $cc_basename in
13390 # Kuck and Associates, Inc. (KAI) C++ Compiler
13392 # KCC will only create a shared library if the output file
13393 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13394 # to its proper name (with version) after linking.
13395 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'
13397 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13398 hardcode_libdir_separator_CXX
=:
13400 # Archives containing C++ object files must be created using
13401 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13402 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13406 # Rational C++ 2.4.1
13407 # FIXME: insert proper C++ library support
13411 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13412 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'
13414 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13415 hardcode_libdir_separator_CXX
=:
13417 # Commands to make compiler produce verbose output that lists
13418 # what "hidden" libraries, object files and flags are used when
13419 # linking a shared library.
13421 # There doesn't appear to be a way to prevent this compiler from
13422 # explicitly linking system object files so we need to strip them
13423 # from the output so that they don't get included in the library
13425 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'
13428 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13429 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13430 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'
13432 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13433 hardcode_libdir_separator_CXX
=:
13435 # Commands to make compiler produce verbose output that lists
13436 # what "hidden" libraries, object files and flags are used when
13437 # linking a shared library.
13438 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13441 # FIXME: insert proper C++ library support
13448 case $cc_basename in
13450 # Kuck and Associates, Inc. (KAI) C++ Compiler
13452 # KCC will only create a shared library if the output file
13453 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13454 # to its proper name (with version) after linking.
13455 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'
13457 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13458 hardcode_libdir_separator_CXX
=:
13460 # Archives containing C++ object files must be created using
13461 # the KAI C++ compiler.
13462 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13465 # Rational C++ 2.4.1
13466 # FIXME: insert proper C++ library support
13470 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13471 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'
13472 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13473 echo "-hidden">> $lib.exp~
13474 $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~
13477 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13478 hardcode_libdir_separator_CXX
=:
13480 # Commands to make compiler produce verbose output that lists
13481 # what "hidden" libraries, object files and flags are used when
13482 # linking a shared library.
13484 # There doesn't appear to be a way to prevent this compiler from
13485 # explicitly linking system object files so we need to strip them
13486 # from the output so that they don't get included in the library
13488 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'
13491 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13492 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13493 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'
13495 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13496 hardcode_libdir_separator_CXX
=:
13498 # Commands to make compiler produce verbose output that lists
13499 # what "hidden" libraries, object files and flags are used when
13500 # linking a shared library.
13501 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13504 # FIXME: insert proper C++ library support
13511 # FIXME: insert proper C++ library support
13515 archive_cmds_need_lc_CXX
=no
13516 case $cc_basename in
13518 # FIXME: insert proper C++ library support
13522 # FIXME: insert proper C++ library support
13528 case $cc_basename in
13531 # FIXME: insert proper C++ library support
13536 # FIXME: insert proper C++ library support
13540 # FIXME: insert proper C++ library support
13546 case $cc_basename in
13548 # Sun C++ 4.2, 5.x and Centerline C++
13549 no_undefined_flag_CXX
=' -zdefs'
13550 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13551 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13552 $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'
13554 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13555 hardcode_shlibpath_var_CXX
=no
13557 solaris2.0
-5 | solaris2.0
-5.
*) ;;
13559 # The C++ compiler is used as linker so we must use $wl
13560 # flag to pass the commands to the underlying system
13562 # Supported since Solaris 2.6 (maybe 2.5.1?)
13563 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13566 link_all_deplibs_CXX
=yes
13568 # Commands to make compiler produce verbose output that lists
13569 # what "hidden" libraries, object files and flags are used when
13570 # linking a shared library.
13572 # There doesn't appear to be a way to prevent this compiler from
13573 # explicitly linking system object files so we need to strip them
13574 # from the output so that they don't get included in the library
13576 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'
13578 # Archives containing C++ object files must be created using
13579 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13580 # necessary to make sure instantiated templates are included
13582 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13585 # Green Hills C++ Compiler
13586 archive_cmds_CXX
='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13588 # The C++ compiler must be used to create the archive.
13589 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13592 # GNU C++ compiler with Solaris linker
13593 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13594 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13595 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13596 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13597 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13598 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13600 # Commands to make compiler produce verbose output that lists
13601 # what "hidden" libraries, object files and flags are used when
13602 # linking a shared library.
13603 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13605 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13607 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13608 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13609 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13611 # Commands to make compiler produce verbose output that lists
13612 # what "hidden" libraries, object files and flags are used when
13613 # linking a shared library.
13614 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13617 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13622 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
13623 archive_cmds_need_lc_CXX
=no
13626 case $cc_basename in
13628 # NonStop-UX NCC 3.20
13629 # FIXME: insert proper C++ library support
13633 # FIXME: insert proper C++ library support
13639 # FIXME: insert proper C++ library support
13643 # FIXME: insert proper C++ library support
13647 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13648 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13649 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13655 ## There is no encapsulation within the following macros, do not change
13656 ## the running order or otherwise move them around unless you know exactly
13657 ## what you are doing...
13659 cat > conftest.
$ac_ext <<EOF
13663 Foo (void) { a = 0; }
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; then
13674 # Parse the compiler output and extract the necessary
13675 # objects, libraries and library flags.
13677 # Sentinel used to keep track of whether or not we are before
13678 # the conftest object file.
13679 pre_test_object_deps_done
=no
13681 # The `*' in the case matches for architectures that use `case' in
13682 # $output_verbose_cmd can trigger glob expansion during the loop
13683 # eval without this substitution.
13684 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
13686 for p
in `eval $output_verbose_link_cmd`; do
13690 # Some compilers place space between "-{L,R}" and the path.
13691 # Remove the space.
13692 if test $p = "-L" \
13693 ||
test $p = "-R"; then
13700 if test "$pre_test_object_deps_done" = no
; then
13703 # Internal compiler library paths should come after those
13704 # provided the user. The postdeps already come after the
13705 # user supplied libs so there is no need to process them.
13706 if test -z "$compiler_lib_search_path_CXX"; then
13707 compiler_lib_search_path_CXX
="${prev}${p}"
13709 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13712 # The "-l" case would never come before the object being
13713 # linked, so don't bother handling this case.
13716 if test -z "$postdeps_CXX"; then
13717 postdeps_CXX
="${prev}${p}"
13719 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13724 *.
$objext|
*.
$libext)
13725 # This assumes that the test object file only shows up
13726 # once in the compiler output.
13727 if test "$p" = "conftest.$objext"; then
13728 pre_test_object_deps_done
=yes
13732 if test "$pre_test_object_deps_done" = no
; then
13733 if test -z "$predep_objects_CXX"; then
13734 predep_objects_CXX
="$p"
13736 predep_objects_CXX
="$predep_objects_CXX $p"
13739 if test -z "$postdep_objects_CXX"; then
13740 postdep_objects_CXX
="$p"
13742 postdep_objects_CXX
="$postdep_objects_CXX $p"
13747 *) ;; # Ignore the rest.
13755 echo "libtool.m4: error: problem compiling CXX test program"
13758 $rm -f confest.
$objext
13760 case " $postdeps_CXX " in
13761 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13764 lt_prog_compiler_wl_CXX
=
13765 lt_prog_compiler_pic_CXX
=
13766 lt_prog_compiler_static_CXX
=
13768 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13769 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13771 # C++ specific cases for pic, static, wl, etc.
13772 if test "$GXX" = yes; then
13773 lt_prog_compiler_wl_CXX
='-Wl,'
13774 lt_prog_compiler_static_CXX
='-static'
13778 # All AIX code is PIC.
13779 if test "$host_cpu" = ia64
; then
13780 # AIX 5 now supports IA64 processor
13781 lt_prog_compiler_static_CXX
='-Bstatic'
13785 # FIXME: we need at least 68020 code to build shared libraries, but
13786 # adding the `-m68020' flag to GCC prevents building anything better,
13788 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13790 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13791 # PIC is the default for these OSes.
13793 mingw
* | os2
* | pw32
*)
13794 # This hack is so that the source file can tell whether it is being
13795 # built for inclusion in a dll (and should export symbols for example).
13796 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13798 darwin
* | rhapsody
*)
13799 # PIC is the default on this platform
13800 # Common symbols not allowed in MH_DYLIB files
13801 lt_prog_compiler_pic_CXX
='-fno-common'
13804 # DJGPP does not support shared libraries at all
13805 lt_prog_compiler_pic_CXX
=
13808 if test -d /usr
/nec
; then
13809 lt_prog_compiler_pic_CXX
=-Kconform_pic
13813 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13814 # not for PA HP-UX.
13815 case "$host_cpu" in
13819 lt_prog_compiler_pic_CXX
='-fPIC'
13824 lt_prog_compiler_pic_CXX
='-fPIC'
13830 # All AIX code is PIC.
13831 if test "$host_cpu" = ia64
; then
13832 # AIX 5 now supports IA64 processor
13833 lt_prog_compiler_static_CXX
='-Bstatic'
13835 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13839 case $cc_basename in
13841 # Green Hills C++ Compiler
13842 # _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"
13847 case $cc_basename in
13849 lt_prog_compiler_pic_CXX
='-KPIC'
13852 # Green Hills C++ Compiler
13853 lt_prog_compiler_pic_CXX
='-pic'
13859 freebsd
* | kfreebsd
*-gnu)
13860 # FreeBSD uses GNU C++
13862 hpux9
* | hpux10
* | hpux11
*)
13863 case $cc_basename in
13865 lt_prog_compiler_wl_CXX
='-Wl,'
13866 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13867 if test "$host_cpu" != ia64
; then
13868 lt_prog_compiler_pic_CXX
='+Z'
13872 lt_prog_compiler_wl_CXX
='-Wl,'
13873 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13874 case "$host_cpu" in
13879 lt_prog_compiler_pic_CXX
='+Z'
13887 irix5
* | irix6
* | nonstopux
*)
13888 case $cc_basename in
13890 lt_prog_compiler_wl_CXX
='-Wl,'
13891 lt_prog_compiler_static_CXX
='-non_shared'
13892 # CC pic flag -KPIC is the default.
13899 case $cc_basename in
13902 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13903 lt_prog_compiler_pic_CXX
='-fPIC'
13907 lt_prog_compiler_wl_CXX
='-Wl,'
13908 lt_prog_compiler_pic_CXX
='-KPIC'
13909 lt_prog_compiler_static_CXX
='-static'
13913 # Make sure the PIC flag is empty. It appears that all Alpha
13914 # Linux and Compaq Tru64 Unix objects are PIC.
13915 lt_prog_compiler_pic_CXX
=
13916 lt_prog_compiler_static_CXX
='-non_shared'
13927 case $cc_basename in
13929 lt_prog_compiler_pic_CXX
='-W c,exportall'
13937 osf3
* | osf4
* | osf5
*)
13938 case $cc_basename in
13940 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13943 # Rational C++ 2.4.1
13944 lt_prog_compiler_pic_CXX
='-pic'
13947 # Digital/Compaq C++
13948 lt_prog_compiler_wl_CXX
='-Wl,'
13949 # Make sure the PIC flag is empty. It appears that all Alpha
13950 # Linux and Compaq Tru64 Unix objects are PIC.
13951 lt_prog_compiler_pic_CXX
=
13952 lt_prog_compiler_static_CXX
='-non_shared'
13961 case $cc_basename in
13963 lt_prog_compiler_pic_CXX
='-fPIC'
13970 case $cc_basename in
13972 # Sun C++ 4.2, 5.x and Centerline C++
13973 lt_prog_compiler_pic_CXX
='-KPIC'
13974 lt_prog_compiler_static_CXX
='-Bstatic'
13975 lt_prog_compiler_wl_CXX
='-Qoption ld '
13978 # Green Hills C++ Compiler
13979 lt_prog_compiler_pic_CXX
='-PIC'
13986 case $cc_basename in
13989 lt_prog_compiler_pic_CXX
='-pic'
13990 lt_prog_compiler_static_CXX
='-Bstatic'
13994 lt_prog_compiler_pic_CXX
='-pic'
14001 case $cc_basename in
14003 # NonStop-UX NCC 3.20
14004 lt_prog_compiler_pic_CXX
='-KPIC'
14015 lt_prog_compiler_can_build_shared_CXX
=no
14020 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14021 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14024 # Check to make sure the PIC flag actually works.
14026 if test -n "$lt_prog_compiler_pic_CXX"; then
14028 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14029 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14030 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 lt_prog_compiler_pic_works_CXX
=no
14034 ac_outfile
=conftest.
$ac_objext
14035 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14036 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14037 # Insert the option either (1) after the last *FLAGS variable, or
14038 # (2) before a word containing "conftest.", or (3) at the end.
14039 # Note that $ac_compile itself does not contain backslashes and begins
14040 # with a dollar sign (not a hyphen), so the echo should work correctly.
14041 # The option is referenced via a variable to avoid confusing sed.
14042 lt_compile
=`echo "$ac_compile" | $SED \
14043 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14045 -e 's:$: $lt_compiler_flag:'`
14046 (eval echo "\"\$as_me:14046: $lt_compile\"" >&5)
14047 (eval "$lt_compile" 2>conftest.err
)
14049 cat conftest.err
>&5
14050 echo "$as_me:14050: \$? = $ac_status" >&5
14051 if (exit $ac_status) && test -s "$ac_outfile"; then
14052 # The compiler can only warn and ignore the option if not recognized
14053 # So say no if there are warnings
14054 if test ! -s conftest.err
; then
14055 lt_prog_compiler_pic_works_CXX
=yes
14061 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14062 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14064 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14065 case $lt_prog_compiler_pic_CXX in
14067 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14070 lt_prog_compiler_pic_CXX
=
14071 lt_prog_compiler_can_build_shared_CXX
=no
14076 # For platforms which do not support PIC, -DPIC is meaningless:
14078 lt_prog_compiler_pic_CXX
=
14081 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14085 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14086 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14087 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14088 echo $ECHO_N "(cached) $ECHO_C" >&6
14090 lt_cv_prog_compiler_c_o_CXX
=no
14091 $rm -r conftest
2>/dev
/null
14095 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14097 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14098 # that will create temporary files in the current directory regardless of
14099 # the output directory. Thus, making CWD read-only will cause this test
14100 # to fail, enabling locking or at least warning the user not to do parallel
14104 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14105 # Insert the option either (1) after the last *FLAGS variable, or
14106 # (2) before a word containing "conftest.", or (3) at the end.
14107 # Note that $ac_compile itself does not contain backslashes and begins
14108 # with a dollar sign (not a hyphen), so the echo should work correctly.
14109 lt_compile
=`echo "$ac_compile" | $SED \
14110 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14112 -e 's:$: $lt_compiler_flag:'`
14113 (eval echo "\"\$as_me:14113: $lt_compile\"" >&5)
14114 (eval "$lt_compile" 2>out
/conftest.err
)
14116 cat out
/conftest.err
>&5
14117 echo "$as_me:14117: \$? = $ac_status" >&5
14118 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14120 # The compiler can only warn and ignore the option if not recognized
14121 # So say no if there are warnings
14122 if test ! -s out
/conftest.err
; then
14123 lt_cv_prog_compiler_c_o_CXX
=yes
14127 $rm conftest
* out
/*
14134 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14135 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14138 hard_links
="nottested"
14139 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14140 # do not overwrite the value of need_locks provided by the user
14141 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14142 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14145 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14147 ln conftest.a conftest.b
2>&5 || hard_links
=no
14148 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14149 echo "$as_me:$LINENO: result: $hard_links" >&5
14150 echo "${ECHO_T}$hard_links" >&6
14151 if test "$hard_links" = no
; then
14152 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14153 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14160 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14161 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14163 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14166 # If we're using GNU nm, then we don't want the "-C" option.
14167 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14168 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14169 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'
14171 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'
14175 export_symbols_cmds_CXX
="$ltdll_cmds"
14178 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14181 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14185 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14186 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14187 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14189 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14190 if test "$GCC" = yes; then
14191 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14195 # Do we need to explicitly link libc?
14197 case "x$archive_cmds_need_lc_CXX" in
14199 # Assume -lc should be added
14200 archive_cmds_need_lc_CXX
=yes
14202 if test "$enable_shared" = yes && test "$GCC" = yes; then
14203 case $archive_cmds_CXX in
14205 # FIXME: we may have to deal with multi-command sequences.
14208 # Test whether the compiler implicitly links with -lc since on some
14209 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14210 # to ld, don't add -lc before -lgcc.
14211 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14212 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14214 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14217 (eval $ac_compile) 2>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } 2>conftest.err
; then
14223 libobjs
=conftest.
$ac_objext
14225 wl
=$lt_prog_compiler_wl_CXX
14231 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14232 allow_undefined_flag_CXX
=
14233 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14234 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }
14239 archive_cmds_need_lc_CXX
=no
14241 archive_cmds_need_lc_CXX
=yes
14243 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14245 cat conftest.err
1>&5
14248 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14249 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14256 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14257 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14258 library_names_spec
=
14259 libname_spec
='lib$name'
14263 postuninstall_cmds
=
14267 shlibpath_overrides_runpath
=unknown
14269 dynamic_linker
="$host_os ld.so"
14270 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14271 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14272 need_lib_prefix
=unknown
14273 hardcode_into_libs
=no
14275 # when you set need_version to no, make sure it does not cause -set_version
14276 # flags to be left without arguments
14277 need_version
=unknown
14282 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14283 shlibpath_var
=LIBPATH
14285 # AIX 3 has no versioning support, so we append a major version to the name.
14286 soname_spec
='${libname}${release}${shared_ext}$major'
14293 hardcode_into_libs
=yes
14294 if test "$host_cpu" = ia64
; then
14295 # AIX 5 supports IA64
14296 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14297 shlibpath_var
=LD_LIBRARY_PATH
14299 # With GCC up to 2.95.x, collect2 would create an import file
14300 # for dependence libraries. The import file would start with
14301 # the line `#! .'. This would cause the generated library to
14302 # depend on `.', always an invalid library. This was fixed in
14303 # development snapshots of GCC prior to 3.0.
14305 aix4 | aix4.
[01] | aix4.
[01].
*)
14306 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14308 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14311 can_build_shared
=no
14315 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14316 # soname into executable. Probably we can add versioning support to
14317 # collect2, so additional links can be useful in future.
14318 if test "$aix_use_runtimelinking" = yes; then
14319 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14320 # instead of lib<name>.a to let people know that these are not
14321 # typical AIX shared libraries.
14322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 # We preserve .a as extension for shared libraries through AIX4.2
14325 # and later when we are not doing run time linking.
14326 library_names_spec
='${libname}${release}.a $libname.a'
14327 soname_spec
='${libname}${release}${shared_ext}$major'
14329 shlibpath_var
=LIBPATH
14334 library_names_spec
='$libname.ixlibrary $libname.a'
14335 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14336 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'
14340 library_names_spec
='${libname}${shared_ext}'
14341 dynamic_linker
="$host_os ld.so"
14342 shlibpath_var
=LIBRARY_PATH
14348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14349 soname_spec
='${libname}${release}${shared_ext}$major'
14350 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14351 shlibpath_var
=LD_LIBRARY_PATH
14352 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14353 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14354 # the default ld.so.conf also contains /usr/contrib/lib and
14355 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14356 # libtool to hard-code these into programs
14359 cygwin
* | mingw
* | pw32
*)
14360 version_type
=windows
14365 case $GCC,$host_os in
14366 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14367 library_names_spec
='$libname.dll.a'
14368 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14369 postinstall_cmds
='base_file=`basename \${file}`~
14370 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14371 dldir=$destdir/`dirname \$dlpath`~
14372 test -d \$dldir || mkdir -p \$dldir~
14373 $install_prog $dir/$dlname \$dldir/$dlname'
14374 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14375 dlpath=$dir/\$dldll~
14377 shlibpath_overrides_runpath
=yes
14381 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14382 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14383 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14386 # MinGW DLLs use traditional 'lib' prefix
14387 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14388 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14389 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14390 # It is most probably a Windows format PATH printed by
14391 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14392 # path with ; separators, and with drive letters. We can handle the
14393 # drive letters (cygwin fileutils understands them), so leave them,
14394 # especially as we might pass files found there to a mingw objdump,
14395 # which wouldn't understand a cygwinified path. Ahh.
14396 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14398 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14402 # pw32 DLLs use 'pw' prefix rather than 'lib'
14403 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14409 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14412 dynamic_linker
='Win32 ld.exe'
14413 # FIXME: first we should search . and the directory the executable is in
14417 darwin
* | rhapsody
*)
14418 dynamic_linker
="$host_os dyld"
14419 version_type
=darwin
14422 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14423 soname_spec
='${libname}${release}${major}$shared_ext'
14424 shlibpath_overrides_runpath
=yes
14425 shlibpath_var
=DYLD_LIBRARY_PATH
14426 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14427 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14428 if test "$GCC" = yes; then
14429 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"`
14431 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14433 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14441 soname_spec
='${libname}${release}${shared_ext}$major'
14442 shlibpath_var
=LD_LIBRARY_PATH
14453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14454 soname_spec
='${libname}${release}${shared_ext}$major'
14455 shlibpath_var
=LD_LIBRARY_PATH
14456 shlibpath_overrides_runpath
=no
14457 hardcode_into_libs
=yes
14458 dynamic_linker
='GNU ld.so'
14462 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14463 version_type
=freebsd-
$objformat
14464 case $version_type in
14466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14471 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14475 shlibpath_var
=LD_LIBRARY_PATH
14478 shlibpath_overrides_runpath
=yes
14480 freebsd3.01
* | freebsdelf3.01
*)
14481 shlibpath_overrides_runpath
=yes
14482 hardcode_into_libs
=yes
14485 shlibpath_overrides_runpath
=no
14486 hardcode_into_libs
=yes
14495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14496 soname_spec
='${libname}${release}${shared_ext}$major'
14497 shlibpath_var
=LD_LIBRARY_PATH
14498 hardcode_into_libs
=yes
14501 hpux9
* | hpux10
* | hpux11
*)
14502 # Give a soname corresponding to the major version so that dld.sl refuses to
14503 # link against other versions.
14507 case "$host_cpu" in
14510 hardcode_into_libs
=yes
14511 dynamic_linker
="$host_os dld.so"
14512 shlibpath_var
=LD_LIBRARY_PATH
14513 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 soname_spec
='${libname}${release}${shared_ext}$major'
14516 if test "X$HPUX_IA64_MODE" = X32
; then
14517 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14519 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14521 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14525 hardcode_into_libs
=yes
14526 dynamic_linker
="$host_os dld.sl"
14527 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14528 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14530 soname_spec
='${libname}${release}${shared_ext}$major'
14531 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14532 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14536 dynamic_linker
="$host_os dld.sl"
14537 shlibpath_var
=SHLIB_PATH
14538 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540 soname_spec
='${libname}${release}${shared_ext}$major'
14543 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14544 postinstall_cmds
='chmod 555 $lib'
14547 irix5
* | irix6
* | nonstopux
*)
14549 nonstopux
*) version_type
=nonstopux
;;
14551 if test "$lt_cv_prog_gnu_ld" = yes; then
14559 soname_spec
='${libname}${release}${shared_ext}$major'
14560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14562 irix5
* | nonstopux
*)
14563 libsuff
= shlibsuff
=
14566 case $LD in # libtool.m4 will add one of these switches to LD
14567 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14568 libsuff
= shlibsuff
= libmagic
=32-bit;;
14569 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14570 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14571 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14572 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14573 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14577 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14578 shlibpath_overrides_runpath
=no
14579 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14580 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14581 hardcode_into_libs
=yes
14584 # No shared lib support for Linux oldld, aout, or coff.
14585 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14589 # This must be Linux ELF.
14594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14595 soname_spec
='${libname}${release}${shared_ext}$major'
14596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14598 if test "x$LINUX_64_MODE" = x64
; then
14599 # Some platforms are per default 64-bit, so there's no /lib64
14600 if test -d /lib64
; then
14604 shlibpath_var
=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath
=no
14606 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff}"
14607 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14608 # This implies no fast_install, which is unacceptable.
14609 # Some rework will be needed to allow for fast_install
14610 # before this can be enabled.
14611 hardcode_into_libs
=yes
14613 # We used to test for /lib/ld.so.1 and disable shared libraries on
14614 # powerpc, because MkLinux only supported shared libraries with the
14615 # GNU dynamic linker. Since this was broken with cross compilers,
14616 # most powerpc-linux boxes support dynamic linking these days and
14617 # people can always --disable-shared, the test was removed, and we
14618 # assume the GNU/Linux dynamic linker is in use.
14619 dynamic_linker
='GNU/Linux ld.so'
14626 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14628 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14629 dynamic_linker
='NetBSD (a.out) ld.so'
14631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14632 soname_spec
='${libname}${release}${shared_ext}$major'
14633 dynamic_linker
='NetBSD ld.elf_so'
14635 shlibpath_var
=LD_LIBRARY_PATH
14636 shlibpath_overrides_runpath
=yes
14637 hardcode_into_libs
=yes
14642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14643 shlibpath_var
=LD_LIBRARY_PATH
14644 shlibpath_overrides_runpath
=yes
14651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec
='${libname}${release}${shared_ext}$major'
14653 shlibpath_var
=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath
=yes
14661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14663 shlibpath_var
=LD_LIBRARY_PATH
14664 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14666 openbsd2.
[89] | openbsd2.
[89].
*)
14667 shlibpath_overrides_runpath
=no
14670 shlibpath_overrides_runpath
=yes
14674 shlibpath_overrides_runpath
=yes
14679 libname_spec
='$name'
14682 library_names_spec
='$libname${shared_ext} $libname.a'
14683 dynamic_linker
='OS/2 ld.exe'
14684 shlibpath_var
=LIBPATH
14687 osf3
* | osf4
* | osf5
*)
14691 soname_spec
='${libname}${release}${shared_ext}$major'
14692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14693 shlibpath_var
=LD_LIBRARY_PATH
14694 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14695 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14700 soname_spec
='${libname}${release}${shared_ext}$major'
14701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14702 shlibpath_var
=LD_LIBRARY_PATH
14709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14710 soname_spec
='${libname}${release}${shared_ext}$major'
14711 shlibpath_var
=LD_LIBRARY_PATH
14712 shlibpath_overrides_runpath
=yes
14713 hardcode_into_libs
=yes
14714 # ldd complains unless libraries are executable
14715 postinstall_cmds
='chmod +x $lib'
14720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14721 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14722 shlibpath_var
=LD_LIBRARY_PATH
14723 shlibpath_overrides_runpath
=yes
14724 if test "$with_gnu_ld" = yes; then
14730 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec
='${libname}${release}${shared_ext}$major'
14734 shlibpath_var
=LD_LIBRARY_PATH
14735 case $host_vendor in
14737 shlibpath_overrides_runpath
=no
14739 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14740 runpath_var
=LD_RUN_PATH
14748 shlibpath_overrides_runpath
=no
14749 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14755 if test -d /usr
/nec
;then
14757 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14758 soname_spec
='$libname${shared_ext}.$major'
14759 shlibpath_var
=LD_LIBRARY_PATH
14765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 soname_spec
='${libname}${release}${shared_ext}$major'
14767 shlibpath_var
=LD_LIBRARY_PATH
14774 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14775 echo "${ECHO_T}$dynamic_linker" >&6
14776 test "$dynamic_linker" = no
&& can_build_shared
=no
14778 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14779 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14780 hardcode_action_CXX
=
14781 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14782 test -n "$runpath_var CXX" || \
14783 test "X$hardcode_automatic_CXX"="Xyes" ; then
14785 # We can hardcode non-existant directories.
14786 if test "$hardcode_direct_CXX" != no
&&
14787 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14788 # have to relink, otherwise we might link with an installed library
14789 # when we should be linking with a yet-to-be-installed one
14790 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14791 test "$hardcode_minus_L_CXX" != no
; then
14792 # Linking always hardcodes the temporary library directory.
14793 hardcode_action_CXX
=relink
14795 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14796 hardcode_action_CXX
=immediate
14799 # We cannot hardcode anything, or else we can only hardcode existing
14801 hardcode_action_CXX
=unsupported
14803 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14804 echo "${ECHO_T}$hardcode_action_CXX" >&6
14806 if test "$hardcode_action_CXX" = relink
; then
14807 # Fast installation is not supported
14808 enable_fast_install
=no
14809 elif test "$shlibpath_overrides_runpath" = yes ||
14810 test "$enable_shared" = no
; then
14811 # Fast installation is not necessary
14812 enable_fast_install
=needless
14817 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14818 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14819 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
14820 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14821 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14822 echo "$as_me:$LINENO: result: yes" >&5
14823 echo "${ECHO_T}yes" >&6
14825 # FIXME - insert some real tests, host_os isn't really good enough
14828 if test -n "$STRIP" ; then
14829 striplib
="$STRIP -x"
14830 echo "$as_me:$LINENO: result: yes" >&5
14831 echo "${ECHO_T}yes" >&6
14833 echo "$as_me:$LINENO: result: no" >&5
14834 echo "${ECHO_T}no" >&6
14838 echo "$as_me:$LINENO: result: no" >&5
14839 echo "${ECHO_T}no" >&6
14844 if test "x$enable_dlopen" != xyes
; then
14845 enable_dlopen
=unknown
14846 enable_dlopen_self
=unknown
14847 enable_dlopen_self_static
=unknown
14854 lt_cv_dlopen
="load_add_on"
14856 lt_cv_dlopen_self
=yes
14860 lt_cv_dlopen
="LoadLibrary"
14865 lt_cv_dlopen
="dlopen"
14870 # if libdl is installed we need to link against it
14871 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14872 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 ac_check_lib_save_LIBS
=$LIBS
14878 cat >conftest.
$ac_ext <<_ACEOF
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14885 /* Override any gcc2 internal prototype to avoid an error. */
14889 /* We use char because int might match the return type of a gcc2
14890 builtin and then its argument prototype would still apply. */
14900 rm -f conftest.
$ac_objext conftest
$ac_exeext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14902 (eval $ac_link) 2>conftest.er1
14904 grep -v '^ *+' conftest.er1
>conftest.err
14906 cat conftest.err
>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try
='test -z "$ac_cxx_werror_flag"
14910 || test ! -s conftest.err'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try
='test -s conftest$ac_exeext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14922 ac_cv_lib_dl_dlopen
=yes
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.
$ac_ext >&5
14927 ac_cv_lib_dl_dlopen
=no
14929 rm -f conftest.err conftest.
$ac_objext \
14930 conftest
$ac_exeext conftest.
$ac_ext
14931 LIBS
=$ac_check_lib_save_LIBS
14933 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14934 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14935 if test $ac_cv_lib_dl_dlopen = yes; then
14936 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14939 lt_cv_dlopen
="dyld"
14941 lt_cv_dlopen_self
=yes
14948 echo "$as_me:$LINENO: checking for shl_load" >&5
14949 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14950 if test "${ac_cv_func_shl_load+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 cat >conftest.
$ac_ext <<_ACEOF
14956 cat confdefs.h
>>conftest.
$ac_ext
14957 cat >>conftest.
$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14959 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14961 #define shl_load innocuous_shl_load
14963 /* System header to define __stub macros and hopefully few prototypes,
14964 which can conflict with char shl_load (); below.
14965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14966 <limits.h> exists even on freestanding compilers. */
14969 # include <limits.h>
14971 # include <assert.h>
14976 /* Override any gcc2 internal prototype to avoid an error. */
14981 /* We use char because int might match the return type of a gcc2
14982 builtin and then its argument prototype would still apply. */
14984 /* The GNU C library defines this for functions which it implements
14985 to always fail with ENOSYS. Some functions are actually named
14986 something starting with __ and the normal name is an alias. */
14987 #if defined (__stub_shl_load) || defined (__stub___shl_load)
14990 char (*f) () = shl_load;
14999 return f != shl_load;
15004 rm -f conftest.
$ac_objext conftest
$ac_exeext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15006 (eval $ac_link) 2>conftest.er1
15008 grep -v '^ *+' conftest.er1
>conftest.err
15010 cat conftest.err
>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try
='test -z "$ac_cxx_werror_flag"
15014 || test ! -s conftest.err'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; } &&
15020 { ac_try
='test -s conftest$ac_exeext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 ac_cv_func_shl_load
=yes
15028 echo "$as_me: failed program was:" >&5
15029 sed 's/^/| /' conftest.
$ac_ext >&5
15031 ac_cv_func_shl_load
=no
15033 rm -f conftest.err conftest.
$ac_objext \
15034 conftest
$ac_exeext conftest.
$ac_ext
15036 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15037 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15038 if test $ac_cv_func_shl_load = yes; then
15039 lt_cv_dlopen
="shl_load"
15041 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15042 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15043 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 ac_check_lib_save_LIBS
=$LIBS
15048 cat >conftest.
$ac_ext <<_ACEOF
15051 cat confdefs.h
>>conftest.
$ac_ext
15052 cat >>conftest.
$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15055 /* Override any gcc2 internal prototype to avoid an error. */
15059 /* We use char because int might match the return type of a gcc2
15060 builtin and then its argument prototype would still apply. */
15070 rm -f conftest.
$ac_objext conftest
$ac_exeext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15072 (eval $ac_link) 2>conftest.er1
15074 grep -v '^ *+' conftest.er1
>conftest.err
15076 cat conftest.err
>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try
='test -z "$ac_cxx_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try
='test -s conftest$ac_exeext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_cv_lib_dld_shl_load
=yes
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ac_cv_lib_dld_shl_load
=no
15099 rm -f conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 LIBS
=$ac_check_lib_save_LIBS
15103 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15104 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15105 if test $ac_cv_lib_dld_shl_load = yes; then
15106 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
15108 echo "$as_me:$LINENO: checking for dlopen" >&5
15109 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15110 if test "${ac_cv_func_dlopen+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 cat >conftest.
$ac_ext <<_ACEOF
15116 cat confdefs.h
>>conftest.
$ac_ext
15117 cat >>conftest.
$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15121 #define dlopen innocuous_dlopen
15123 /* System header to define __stub macros and hopefully few prototypes,
15124 which can conflict with char dlopen (); below.
15125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15126 <limits.h> exists even on freestanding compilers. */
15129 # include <limits.h>
15131 # include <assert.h>
15136 /* Override any gcc2 internal prototype to avoid an error. */
15141 /* We use char because int might match the return type of a gcc2
15142 builtin and then its argument prototype would still apply. */
15144 /* The GNU C library defines this for functions which it implements
15145 to always fail with ENOSYS. Some functions are actually named
15146 something starting with __ and the normal name is an alias. */
15147 #if defined (__stub_dlopen) || defined (__stub___dlopen)
15150 char (*f) () = dlopen;
15159 return f != dlopen;
15164 rm -f conftest.
$ac_objext conftest
$ac_exeext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166 (eval $ac_link) 2>conftest.er1
15168 grep -v '^ *+' conftest.er1
>conftest.err
15170 cat conftest.err
>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } &&
15173 { ac_try
='test -z "$ac_cxx_werror_flag"
15174 || test ! -s conftest.err'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try
='test -s conftest$ac_exeext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 ac_cv_func_dlopen
=yes
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.
$ac_ext >&5
15191 ac_cv_func_dlopen
=no
15193 rm -f conftest.err conftest.
$ac_objext \
15194 conftest
$ac_exeext conftest.
$ac_ext
15196 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15197 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15198 if test $ac_cv_func_dlopen = yes; then
15199 lt_cv_dlopen
="dlopen"
15201 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15202 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15203 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 ac_check_lib_save_LIBS
=$LIBS
15208 cat >conftest.
$ac_ext <<_ACEOF
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15215 /* Override any gcc2 internal prototype to avoid an error. */
15219 /* We use char because int might match the return type of a gcc2
15220 builtin and then its argument prototype would still apply. */
15230 rm -f conftest.
$ac_objext conftest
$ac_exeext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15232 (eval $ac_link) 2>conftest.er1
15234 grep -v '^ *+' conftest.er1
>conftest.err
15236 cat conftest.err
>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try
='test -z "$ac_cxx_werror_flag"
15240 || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try
='test -s conftest$ac_exeext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_cv_lib_dl_dlopen
=yes
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.
$ac_ext >&5
15257 ac_cv_lib_dl_dlopen
=no
15259 rm -f conftest.err conftest.
$ac_objext \
15260 conftest
$ac_exeext conftest.
$ac_ext
15261 LIBS
=$ac_check_lib_save_LIBS
15263 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15264 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15265 if test $ac_cv_lib_dl_dlopen = yes; then
15266 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
15268 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15269 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15270 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 ac_check_lib_save_LIBS
=$LIBS
15274 LIBS
="-lsvld $LIBS"
15275 cat >conftest.
$ac_ext <<_ACEOF
15278 cat confdefs.h
>>conftest.
$ac_ext
15279 cat >>conftest.
$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15282 /* Override any gcc2 internal prototype to avoid an error. */
15286 /* We use char because int might match the return type of a gcc2
15287 builtin and then its argument prototype would still apply. */
15297 rm -f conftest.
$ac_objext conftest
$ac_exeext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15299 (eval $ac_link) 2>conftest.er1
15301 grep -v '^ *+' conftest.er1
>conftest.err
15303 cat conftest.err
>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try
='test -z "$ac_cxx_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try
='test -s conftest$ac_exeext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_cv_lib_svld_dlopen
=yes
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.
$ac_ext >&5
15324 ac_cv_lib_svld_dlopen
=no
15326 rm -f conftest.err conftest.
$ac_objext \
15327 conftest
$ac_exeext conftest.
$ac_ext
15328 LIBS
=$ac_check_lib_save_LIBS
15330 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15331 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15332 if test $ac_cv_lib_svld_dlopen = yes; then
15333 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
15335 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15336 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15337 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 ac_check_lib_save_LIBS
=$LIBS
15342 cat >conftest.
$ac_ext <<_ACEOF
15345 cat confdefs.h
>>conftest.
$ac_ext
15346 cat >>conftest.
$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15349 /* Override any gcc2 internal prototype to avoid an error. */
15353 /* We use char because int might match the return type of a gcc2
15354 builtin and then its argument prototype would still apply. */
15364 rm -f conftest.
$ac_objext conftest
$ac_exeext
15365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15366 (eval $ac_link) 2>conftest.er1
15368 grep -v '^ *+' conftest.er1
>conftest.err
15370 cat conftest.err
>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); } &&
15373 { ac_try
='test -z "$ac_cxx_werror_flag"
15374 || test ! -s conftest.err'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; } &&
15380 { ac_try
='test -s conftest$ac_exeext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 ac_cv_lib_dld_dld_link
=yes
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15391 ac_cv_lib_dld_dld_link
=no
15393 rm -f conftest.err conftest.
$ac_objext \
15394 conftest
$ac_exeext conftest.
$ac_ext
15395 LIBS
=$ac_check_lib_save_LIBS
15397 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15398 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15399 if test $ac_cv_lib_dld_dld_link = yes; then
15400 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
15421 if test "x$lt_cv_dlopen" != xno
; then
15427 case $lt_cv_dlopen in
15429 save_CPPFLAGS
="$CPPFLAGS"
15430 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
15432 save_LDFLAGS
="$LDFLAGS"
15433 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
15436 LIBS
="$lt_cv_dlopen_libs $LIBS"
15438 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15439 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15440 if test "${lt_cv_dlopen_self+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 if test "$cross_compiling" = yes; then :
15444 lt_cv_dlopen_self
=cross
15446 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
15447 lt_status
=$lt_dlunknown
15448 cat > conftest.
$ac_ext <<EOF
15449 #line 15449 "configure"
15450 #include "confdefs.h"
15459 # define LT_DLGLOBAL RTLD_GLOBAL
15462 # define LT_DLGLOBAL DL_GLOBAL
15464 # define LT_DLGLOBAL 0
15468 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15469 find out it does not work in some platform. */
15470 #ifndef LT_DLLAZY_OR_NOW
15472 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15475 # define LT_DLLAZY_OR_NOW DL_LAZY
15478 # define LT_DLLAZY_OR_NOW RTLD_NOW
15481 # define LT_DLLAZY_OR_NOW DL_NOW
15483 # define LT_DLLAZY_OR_NOW 0
15491 extern "C" void exit (int);
15494 void fnord() { int i=42;}
15497 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15498 int status = $lt_dlunknown;
15502 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15503 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15504 /* dlclose (self); */
15510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15511 (eval $ac_link) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
15515 (.
/conftest
; exit; ) 2>/dev
/null
15517 case x
$lt_status in
15518 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
15519 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
15520 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
15523 # compilation failed
15524 lt_cv_dlopen_self
=no
15531 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15532 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15534 if test "x$lt_cv_dlopen_self" = xyes
; then
15535 LDFLAGS
="$LDFLAGS $link_static_flag"
15536 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15537 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15538 if test "${lt_cv_dlopen_self_static+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 if test "$cross_compiling" = yes; then :
15542 lt_cv_dlopen_self_static
=cross
15544 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
15545 lt_status
=$lt_dlunknown
15546 cat > conftest.
$ac_ext <<EOF
15547 #line 15547 "configure"
15548 #include "confdefs.h"
15557 # define LT_DLGLOBAL RTLD_GLOBAL
15560 # define LT_DLGLOBAL DL_GLOBAL
15562 # define LT_DLGLOBAL 0
15566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15567 find out it does not work in some platform. */
15568 #ifndef LT_DLLAZY_OR_NOW
15570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15573 # define LT_DLLAZY_OR_NOW DL_LAZY
15576 # define LT_DLLAZY_OR_NOW RTLD_NOW
15579 # define LT_DLLAZY_OR_NOW DL_NOW
15581 # define LT_DLLAZY_OR_NOW 0
15589 extern "C" void exit (int);
15592 void fnord() { int i=42;}
15595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15596 int status = $lt_dlunknown;
15600 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15601 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15602 /* dlclose (self); */
15608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15609 (eval $ac_link) 2>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
15613 (.
/conftest
; exit; ) 2>/dev
/null
15615 case x
$lt_status in
15616 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
15617 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
15618 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
15621 # compilation failed
15622 lt_cv_dlopen_self_static
=no
15629 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15630 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15633 CPPFLAGS
="$save_CPPFLAGS"
15634 LDFLAGS
="$save_LDFLAGS"
15639 case $lt_cv_dlopen_self in
15640 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
15641 *) enable_dlopen_self
=unknown
;;
15644 case $lt_cv_dlopen_self_static in
15645 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
15646 *) enable_dlopen_self_static
=unknown
;;
15651 # The else clause should only fire when bootstrapping the
15652 # libtool distribution, otherwise you forgot to ship ltmain.sh
15653 # with your package, and you will get complaints that there are
15654 # no rules to generate ltmain.sh.
15655 if test -f "$ltmain"; then
15656 # See if we are running on zsh, and set the options which allow our commands through
15657 # without removal of \ escapes.
15658 if test -n "${ZSH_VERSION+set}" ; then
15659 setopt NO_GLOB_SUBST
15661 # Now quote all the things that may contain metacharacters while being
15662 # careful not to overquote the AC_SUBSTed values. We take copies of the
15663 # variables and quote the copies for generation of the libtool script.
15664 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15665 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15666 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15667 deplibs_check_method reload_flag reload_cmds need_locks \
15668 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15669 lt_cv_sys_global_symbol_to_c_name_address \
15670 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15671 old_postinstall_cmds old_postuninstall_cmds \
15675 lt_prog_compiler_wl_CXX \
15676 lt_prog_compiler_pic_CXX \
15677 lt_prog_compiler_static_CXX \
15678 lt_prog_compiler_no_builtin_flag_CXX \
15679 export_dynamic_flag_spec_CXX \
15680 thread_safe_flag_spec_CXX \
15681 whole_archive_flag_spec_CXX \
15682 enable_shared_with_static_runtimes_CXX \
15683 old_archive_cmds_CXX \
15684 old_archive_from_new_cmds_CXX \
15685 predep_objects_CXX \
15686 postdep_objects_CXX \
15689 compiler_lib_search_path_CXX \
15691 archive_expsym_cmds_CXX \
15692 postinstall_cmds_CXX \
15693 postuninstall_cmds_CXX \
15694 old_archive_from_expsyms_cmds_CXX \
15695 allow_undefined_flag_CXX \
15696 no_undefined_flag_CXX \
15697 export_symbols_cmds_CXX \
15698 hardcode_libdir_flag_spec_CXX \
15699 hardcode_libdir_flag_spec_ld_CXX \
15700 hardcode_libdir_separator_CXX \
15701 hardcode_automatic_CXX \
15703 module_expsym_cmds_CXX \
15704 lt_cv_prog_compiler_c_o_CXX \
15705 exclude_expsyms_CXX \
15706 include_expsyms_CXX
; do
15709 old_archive_cmds_CXX | \
15710 old_archive_from_new_cmds_CXX | \
15711 archive_cmds_CXX | \
15712 archive_expsym_cmds_CXX | \
15713 module_cmds_CXX | \
15714 module_expsym_cmds_CXX | \
15715 old_archive_from_expsyms_cmds_CXX | \
15716 export_symbols_cmds_CXX | \
15717 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15718 postinstall_cmds | postuninstall_cmds | \
15719 old_postinstall_cmds | old_postuninstall_cmds | \
15720 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15721 # Double-quote double-evaled strings.
15722 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15725 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15731 *'\$0 --fallback-echo"')
15732 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15738 cat <<__EOF__ >> "$cfgfile"
15739 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15741 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15743 # Shell to use when invoking shell scripts.
15746 # Whether or not to build shared libraries.
15747 build_libtool_libs=$enable_shared
15749 # Whether or not to build static libraries.
15750 build_old_libs=$enable_static
15752 # Whether or not to add -lc for building shared libraries.
15753 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15755 # Whether or not to disallow shared libs when runtime libs are static
15756 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15758 # Whether or not to optimize for fast installation.
15759 fast_install=$enable_fast_install
15762 host_alias=$host_alias
15765 # An echo program that does not interpret backslashes.
15770 AR_FLAGS=$lt_AR_FLAGS
15775 # A language-specific compiler.
15776 CC=$lt_compiler_CXX
15778 # Is the compiler the GNU C compiler?
15784 # The linker used to build libraries.
15787 # Whether we need hard or soft links.
15790 # A BSD-compatible nm program.
15793 # A symbol stripping program
15796 # Used to examine libraries when file_magic_cmd begins "file"
15797 MAGIC_CMD=$MAGIC_CMD
15799 # Used on cygwin: DLL creation program.
15802 # Used on cygwin: object dumper.
15805 # Used on cygwin: assembler.
15808 # The name of the directory that contains temporary libtool files.
15811 # How to create reloadable object files.
15812 reload_flag=$lt_reload_flag
15813 reload_cmds=$lt_reload_cmds
15815 # How to pass a linker flag through the compiler.
15816 wl=$lt_lt_prog_compiler_wl_CXX
15818 # Object file suffix (normally "o").
15819 objext="$ac_objext"
15821 # Old archive suffix (normally "a").
15824 # Shared library suffix (normally ".so").
15827 # Executable file suffix (normally "").
15830 # Additional compiler flags for building library objects.
15831 pic_flag=$lt_lt_prog_compiler_pic_CXX
15834 # What is the maximum length of a command?
15835 max_cmd_len=$lt_cv_sys_max_cmd_len
15837 # Does compiler simultaneously support -c and -o options?
15838 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15840 # Must we lock files when doing compilation ?
15841 need_locks=$lt_need_locks
15843 # Do we need the lib prefix for modules?
15844 need_lib_prefix=$need_lib_prefix
15846 # Do we need a version for libraries?
15847 need_version=$need_version
15849 # Whether dlopen is supported.
15850 dlopen_support=$enable_dlopen
15852 # Whether dlopen of programs is supported.
15853 dlopen_self=$enable_dlopen_self
15855 # Whether dlopen of statically linked programs is supported.
15856 dlopen_self_static=$enable_dlopen_self_static
15858 # Compiler flag to prevent dynamic linking.
15859 link_static_flag=$lt_lt_prog_compiler_static_CXX
15861 # Compiler flag to turn off builtin functions.
15862 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15864 # Compiler flag to allow reflexive dlopens.
15865 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15867 # Compiler flag to generate shared objects directly from archives.
15868 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15870 # Compiler flag to generate thread-safe objects.
15871 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15873 # Library versioning type.
15874 version_type=$version_type
15876 # Format of library name prefix.
15877 libname_spec=$lt_libname_spec
15879 # List of archive names. First name is the real one, the rest are links.
15880 # The last name is the one that the linker finds with -lNAME.
15881 library_names_spec=$lt_library_names_spec
15883 # The coded name of the library, if different from the real name.
15884 soname_spec=$lt_soname_spec
15886 # Commands used to build and install an old-style archive.
15888 old_archive_cmds=$lt_old_archive_cmds_CXX
15889 old_postinstall_cmds=$lt_old_postinstall_cmds
15890 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15892 # Create an old-style archive from a shared archive.
15893 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15895 # Create a temporary old-style archive to link instead of a shared archive.
15896 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15898 # Commands used to build and install a shared archive.
15899 archive_cmds=$lt_archive_cmds_CXX
15900 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15901 postinstall_cmds=$lt_postinstall_cmds
15902 postuninstall_cmds=$lt_postuninstall_cmds
15904 # Commands used to build a loadable module (assumed same as above if empty)
15905 module_cmds=$lt_module_cmds_CXX
15906 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15908 # Commands to strip libraries.
15909 old_striplib=$lt_old_striplib
15910 striplib=$lt_striplib
15912 # Dependencies to place before the objects being linked to create a
15914 predep_objects=$lt_predep_objects_CXX
15916 # Dependencies to place after the objects being linked to create a
15918 postdep_objects=$lt_postdep_objects_CXX
15920 # Dependencies to place before the objects being linked to create a
15922 predeps=$lt_predeps_CXX
15924 # Dependencies to place after the objects being linked to create a
15926 postdeps=$lt_postdeps_CXX
15928 # The library search path used internally by the compiler when linking
15929 # a shared library.
15930 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15932 # Method to check whether dependent libraries are shared objects.
15933 deplibs_check_method=$lt_deplibs_check_method
15935 # Command to use when deplibs_check_method == file_magic.
15936 file_magic_cmd=$lt_file_magic_cmd
15938 # Flag that allows shared libraries with undefined symbols to be built.
15939 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15941 # Flag that forces no undefined symbols.
15942 no_undefined_flag=$lt_no_undefined_flag_CXX
15944 # Commands used to finish a libtool library installation in a directory.
15945 finish_cmds=$lt_finish_cmds
15947 # Same as above, but a single script fragment to be evaled but not shown.
15948 finish_eval=$lt_finish_eval
15950 # Take the output of nm and produce a listing of raw symbols and C names.
15951 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15953 # Transform the output of nm in a proper C declaration
15954 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15956 # Transform the output of nm in a C name address pair
15957 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15959 # This is the shared library runtime path variable.
15960 runpath_var=$runpath_var
15962 # This is the shared library path variable.
15963 shlibpath_var=$shlibpath_var
15965 # Is shlibpath searched before the hard-coded library search path?
15966 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15968 # How to hardcode a shared library path into an executable.
15969 hardcode_action=$hardcode_action_CXX
15971 # Whether we should hardcode library paths into libraries.
15972 hardcode_into_libs=$hardcode_into_libs
15974 # Flag to hardcode \$libdir into a binary during linking.
15975 # This must work even if \$libdir does not exist.
15976 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15978 # If ld is used when linking, flag to hardcode \$libdir into
15979 # a binary during linking. This must work even if \$libdir does
15981 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15983 # Whether we need a single -rpath flag with a separated argument.
15984 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15986 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15987 # resulting binary.
15988 hardcode_direct=$hardcode_direct_CXX
15990 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15991 # resulting binary.
15992 hardcode_minus_L=$hardcode_minus_L_CXX
15994 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15995 # the resulting binary.
15996 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15998 # Set to yes if building a shared library automatically hardcodes DIR into the library
15999 # and all subsequent libraries and executables linked against it.
16000 hardcode_automatic=$hardcode_automatic_CXX
16002 # Variables whose values should be saved in libtool wrapper scripts and
16003 # restored at relink time.
16004 variables_saved_for_relink="$variables_saved_for_relink"
16006 # Whether libtool must link a program against all its dependency libraries.
16007 link_all_deplibs=$link_all_deplibs_CXX
16009 # Compile-time system search path for libraries
16010 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16012 # Run-time system search path for libraries
16013 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16015 # Fix the shell variable \$srcfile for the compiler.
16016 fix_srcfile_path="$fix_srcfile_path_CXX"
16018 # Set to yes if exported symbols are required.
16019 always_export_symbols=$always_export_symbols_CXX
16021 # The commands to list exported symbols.
16022 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16024 # The commands to extract the exported symbol list from a shared archive.
16025 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16027 # Symbols that should not be listed in the preloaded symbols.
16028 exclude_expsyms=$lt_exclude_expsyms_CXX
16030 # Symbols that must always be exported.
16031 include_expsyms=$lt_include_expsyms_CXX
16033 # ### END LIBTOOL TAG CONFIG: $tagname
16039 # If there is no Makefile yet, we rely on a make rule to execute
16040 # `config.status --recheck' to rerun these tests and create the
16041 # libtool script then.
16042 test -f Makefile
&& make "$ltmain"
16047 ac_cpp
='$CPP $CPPFLAGS'
16048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16056 with_gnu_ldcxx
=$with_gnu_ld
16057 with_gnu_ld
=$lt_save_with_gnu_ld
16058 lt_cv_path_LDCXX
=$lt_cv_path_LD
16059 lt_cv_path_LD
=$lt_save_path_LD
16060 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16061 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16069 if test -n "$F77" && test "X$F77" != "Xno"; then
16072 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16073 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16074 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
16077 archive_cmds_need_lc_F77
=no
16078 allow_undefined_flag_F77
=
16079 always_export_symbols_F77
=no
16080 archive_expsym_cmds_F77
=
16081 export_dynamic_flag_spec_F77
=
16082 hardcode_direct_F77
=no
16083 hardcode_libdir_flag_spec_F77
=
16084 hardcode_libdir_flag_spec_ld_F77
=
16085 hardcode_libdir_separator_F77
=
16086 hardcode_minus_L_F77
=no
16087 hardcode_automatic_F77
=no
16089 module_expsym_cmds_F77
=
16090 link_all_deplibs_F77
=unknown
16091 old_archive_cmds_F77
=$old_archive_cmds
16092 no_undefined_flag_F77
=
16093 whole_archive_flag_spec_F77
=
16094 enable_shared_with_static_runtimes_F77
=no
16096 # Source file extension for f77 test sources.
16099 # Object file extension for compiled f77 test sources.
16103 # Code to be used in simple compile tests
16104 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
16106 # Code to be used in simple link tests
16107 lt_simple_link_test_code
=" program t\n end\n"
16109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16111 # If no C compiler was specified, use CC.
16114 # Allow CC to be a program name with arguments.
16118 # Allow CC to be a program name with arguments.
16123 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16125 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16126 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
16127 echo "$as_me:$LINENO: result: $can_build_shared" >&5
16128 echo "${ECHO_T}$can_build_shared" >&6
16130 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16131 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
16132 test "$can_build_shared" = "no" && enable_shared
=no
16134 # On AIX, shared libraries and static libraries use the same namespace, and
16135 # are all built from PIC.
16138 test "$enable_shared" = yes && enable_static
=no
16139 if test -n "$RANLIB"; then
16140 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
16141 postinstall_cmds
='$RANLIB $lib'
16145 test "$enable_shared" = yes && enable_static
=no
16148 echo "$as_me:$LINENO: result: $enable_shared" >&5
16149 echo "${ECHO_T}$enable_shared" >&6
16151 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16152 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
16153 # Make sure either enable_shared or enable_static is yes.
16154 test "$enable_shared" = yes || enable_static
=yes
16155 echo "$as_me:$LINENO: result: $enable_static" >&5
16156 echo "${ECHO_T}$enable_static" >&6
16158 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16163 lt_prog_compiler_wl_F77
=
16164 lt_prog_compiler_pic_F77
=
16165 lt_prog_compiler_static_F77
=
16167 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16168 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16170 if test "$GCC" = yes; then
16171 lt_prog_compiler_wl_F77
='-Wl,'
16172 lt_prog_compiler_static_F77
='-static'
16176 # All AIX code is PIC.
16177 if test "$host_cpu" = ia64
; then
16178 # AIX 5 now supports IA64 processor
16179 lt_prog_compiler_static_F77
='-Bstatic'
16184 # FIXME: we need at least 68020 code to build shared libraries, but
16185 # adding the `-m68020' flag to GCC prevents building anything better,
16187 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
16190 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16191 # PIC is the default for these OSes.
16194 mingw
* | pw32
* | os2
*)
16195 # This hack is so that the source file can tell whether it is being
16196 # built for inclusion in a dll (and should export symbols for example).
16197 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16200 darwin
* | rhapsody
*)
16201 # PIC is the default on this platform
16202 # Common symbols not allowed in MH_DYLIB files
16203 lt_prog_compiler_pic_F77
='-fno-common'
16207 # Just because we use GCC doesn't mean we suddenly get shared libraries
16208 # on systems that don't support them.
16209 lt_prog_compiler_can_build_shared_F77
=no
16214 if test -d /usr
/nec
; then
16215 lt_prog_compiler_pic_F77
=-Kconform_pic
16220 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16221 # not for PA HP-UX.
16222 case "$host_cpu" in
16227 lt_prog_compiler_pic_F77
='-fPIC'
16233 lt_prog_compiler_pic_F77
='-fPIC'
16237 # PORTME Check for flag to pass linker flags through the system compiler.
16240 lt_prog_compiler_wl_F77
='-Wl,'
16241 if test "$host_cpu" = ia64
; then
16242 # AIX 5 now supports IA64 processor
16243 lt_prog_compiler_static_F77
='-Bstatic'
16245 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
16249 mingw
* | pw32
* | os2
*)
16250 # This hack is so that the source file can tell whether it is being
16251 # built for inclusion in a dll (and should export symbols for example).
16252 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16255 hpux9
* | hpux10
* | hpux11
*)
16256 lt_prog_compiler_wl_F77
='-Wl,'
16257 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16258 # not for PA HP-UX.
16259 case "$host_cpu" in
16264 lt_prog_compiler_pic_F77
='+Z'
16267 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16268 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
16271 irix5
* | irix6
* | nonstopux
*)
16272 lt_prog_compiler_wl_F77
='-Wl,'
16273 # PIC (with -KPIC) is the default.
16274 lt_prog_compiler_static_F77
='-non_shared'
16278 lt_prog_compiler_pic_F77
='-KPIC'
16279 lt_prog_compiler_static_F77
='-Bstatic'
16285 lt_prog_compiler_wl_F77
='-Wl,'
16286 lt_prog_compiler_pic_F77
='-KPIC'
16287 lt_prog_compiler_static_F77
='-static'
16290 lt_prog_compiler_wl_F77
='-Wl,'
16291 # All Alpha code is PIC.
16292 lt_prog_compiler_static_F77
='-non_shared'
16297 osf3
* | osf4
* | osf5
*)
16298 lt_prog_compiler_wl_F77
='-Wl,'
16299 # All OSF/1 code is PIC.
16300 lt_prog_compiler_static_F77
='-non_shared'
16304 lt_prog_compiler_pic_F77
='-Kpic'
16305 lt_prog_compiler_static_F77
='-dn'
16309 lt_prog_compiler_wl_F77
='-Wl,'
16310 lt_prog_compiler_pic_F77
='-KPIC'
16311 lt_prog_compiler_static_F77
='-Bstatic'
16315 lt_prog_compiler_wl_F77
='-Qoption ld '
16316 lt_prog_compiler_pic_F77
='-PIC'
16317 lt_prog_compiler_static_F77
='-Bstatic'
16320 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16321 lt_prog_compiler_wl_F77
='-Wl,'
16322 lt_prog_compiler_pic_F77
='-KPIC'
16323 lt_prog_compiler_static_F77
='-Bstatic'
16327 if test -d /usr
/nec
;then
16328 lt_prog_compiler_pic_F77
='-Kconform_pic'
16329 lt_prog_compiler_static_F77
='-Bstatic'
16334 lt_prog_compiler_pic_F77
='-pic'
16335 lt_prog_compiler_static_F77
='-Bstatic'
16339 lt_prog_compiler_can_build_shared_F77
=no
16344 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16345 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
16348 # Check to make sure the PIC flag actually works.
16350 if test -n "$lt_prog_compiler_pic_F77"; then
16352 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16353 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
16354 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 lt_prog_compiler_pic_works_F77
=no
16358 ac_outfile
=conftest.
$ac_objext
16359 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16360 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
16361 # Insert the option either (1) after the last *FLAGS variable, or
16362 # (2) before a word containing "conftest.", or (3) at the end.
16363 # Note that $ac_compile itself does not contain backslashes and begins
16364 # with a dollar sign (not a hyphen), so the echo should work correctly.
16365 # The option is referenced via a variable to avoid confusing sed.
16366 lt_compile
=`echo "$ac_compile" | $SED \
16367 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16368 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16369 -e 's:$: $lt_compiler_flag:'`
16370 (eval echo "\"\$as_me:16370: $lt_compile\"" >&5)
16371 (eval "$lt_compile" 2>conftest.err
)
16373 cat conftest.err
>&5
16374 echo "$as_me:16374: \$? = $ac_status" >&5
16375 if (exit $ac_status) && test -s "$ac_outfile"; then
16376 # The compiler can only warn and ignore the option if not recognized
16377 # So say no if there are warnings
16378 if test ! -s conftest.err
; then
16379 lt_prog_compiler_pic_works_F77
=yes
16385 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16386 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
16388 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
16389 case $lt_prog_compiler_pic_F77 in
16391 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
16394 lt_prog_compiler_pic_F77
=
16395 lt_prog_compiler_can_build_shared_F77
=no
16400 # For platforms which do not support PIC, -DPIC is meaningless:
16402 lt_prog_compiler_pic_F77
=
16405 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
16409 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16410 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16411 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 lt_cv_prog_compiler_c_o_F77
=no
16415 $rm -r conftest
2>/dev
/null
16419 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16421 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16422 # that will create temporary files in the current directory regardless of
16423 # the output directory. Thus, making CWD read-only will cause this test
16424 # to fail, enabling locking or at least warning the user not to do parallel
16428 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16429 # Insert the option either (1) after the last *FLAGS variable, or
16430 # (2) before a word containing "conftest.", or (3) at the end.
16431 # Note that $ac_compile itself does not contain backslashes and begins
16432 # with a dollar sign (not a hyphen), so the echo should work correctly.
16433 lt_compile
=`echo "$ac_compile" | $SED \
16434 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16436 -e 's:$: $lt_compiler_flag:'`
16437 (eval echo "\"\$as_me:16437: $lt_compile\"" >&5)
16438 (eval "$lt_compile" 2>out
/conftest.err
)
16440 cat out
/conftest.err
>&5
16441 echo "$as_me:16441: \$? = $ac_status" >&5
16442 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16444 # The compiler can only warn and ignore the option if not recognized
16445 # So say no if there are warnings
16446 if test ! -s out
/conftest.err
; then
16447 lt_cv_prog_compiler_c_o_F77
=yes
16451 $rm conftest
* out
/*
16458 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16459 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
16462 hard_links
="nottested"
16463 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
16464 # do not overwrite the value of need_locks provided by the user
16465 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16466 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16469 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16471 ln conftest.a conftest.b
2>&5 || hard_links
=no
16472 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16473 echo "$as_me:$LINENO: result: $hard_links" >&5
16474 echo "${ECHO_T}$hard_links" >&6
16475 if test "$hard_links" = no
; then
16476 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16477 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16484 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16485 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16488 allow_undefined_flag_F77
=
16489 enable_shared_with_static_runtimes_F77
=no
16491 archive_expsym_cmds_F77
=
16492 old_archive_From_new_cmds_F77
=
16493 old_archive_from_expsyms_cmds_F77
=
16494 export_dynamic_flag_spec_F77
=
16495 whole_archive_flag_spec_F77
=
16496 thread_safe_flag_spec_F77
=
16497 hardcode_libdir_flag_spec_F77
=
16498 hardcode_libdir_flag_spec_ld_F77
=
16499 hardcode_libdir_separator_F77
=
16500 hardcode_direct_F77
=no
16501 hardcode_minus_L_F77
=no
16502 hardcode_shlibpath_var_F77
=unsupported
16503 link_all_deplibs_F77
=unknown
16504 hardcode_automatic_F77
=no
16506 module_expsym_cmds_F77
=
16507 always_export_symbols_F77
=no
16508 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16509 # include_expsyms should be a list of space-separated symbols to be *always*
16510 # included in the symbol list
16511 include_expsyms_F77
=
16512 # exclude_expsyms can be an extended regexp of symbols to exclude
16513 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16514 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16515 # as well as any symbol that contains `d'.
16516 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
16517 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16518 # platforms (ab)use it in PIC code, but their linkers get confused if
16519 # the symbol is explicitly referenced. Since portable code cannot
16520 # rely on this symbol name, it's probably fine to never include it in
16521 # preloaded symbol tables.
16522 extract_expsyms_cmds
=
16525 cygwin
* | mingw
* | pw32
*)
16526 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16527 # When not using gcc, we currently assume that we are using
16528 # Microsoft Visual C++.
16529 if test "$GCC" != yes; then
16539 if test "$with_gnu_ld" = yes; then
16540 # If archive_cmds runs LD, not CC, wlarc should be empty
16543 # See if GNU ld supports shared libraries.
16545 aix3
* | aix4
* | aix5
*)
16546 # On AIX/PPC, the GNU linker is very broken
16547 if test "$host_cpu" != ia64
; then
16551 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16552 *** to be unable to reliably create shared libraries on AIX.
16553 *** Therefore, libtool is disabling shared libraries support. If you
16554 *** really care for shared libraries, you may want to modify your PATH
16555 *** so that a non-GNU linker is found, and then restart.
16562 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)'
16563 hardcode_libdir_flag_spec_F77
='-L$libdir'
16564 hardcode_minus_L_F77
=yes
16566 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16567 # that the semantics of dynamic libraries on AmigaOS, at least up
16568 # to version 4, is to share data among multiple programs linked
16569 # with the same dynamic library. Since this doesn't match the
16570 # behavior of shared libraries on other platforms, we can't use
16576 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16577 allow_undefined_flag_F77
=unsupported
16578 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16579 # support --undefined. This deserves some investigation. FIXME
16580 archive_cmds_F77
='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16586 cygwin
* | mingw
* | pw32
*)
16587 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16588 # as there is no search path for DLLs.
16589 hardcode_libdir_flag_spec_F77
='-L$libdir'
16590 allow_undefined_flag_F77
=no
16591 always_export_symbols_F77
=no
16592 enable_shared_with_static_runtimes_F77
=yes
16593 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16595 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16596 archive_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16597 # If the export-symbols file already is a .def file (1st line
16598 # is EXPORTS), use it as is; otherwise, prepend...
16599 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16600 cp $export_symbols $output_objdir/$soname.def;
16602 echo EXPORTS > $output_objdir/$soname.def;
16603 cat $export_symbols >> $output_objdir/$soname.def;
16605 $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16612 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16613 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16616 archive_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16617 archive_expsym_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16622 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16626 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16627 *** create shared libraries on Solaris systems. Therefore, libtool
16628 *** is disabling shared libraries support. We urge you to upgrade GNU
16629 *** binutils to release 2.9.1 or newer. Another option is to modify
16630 *** your PATH or compiler configuration so that the native linker is
16631 *** used, and then restart.
16634 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16635 archive_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16636 archive_expsym_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16643 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16645 hardcode_direct_F77
=yes
16646 hardcode_shlibpath_var_F77
=no
16650 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16651 archive_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16652 archive_expsym_cmds_F77
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16659 if test "$ld_shlibs_F77" = yes; then
16660 runpath_var
=LD_RUN_PATH
16661 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
16662 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
16663 # ancient GNU ld didn't support --whole-archive et. al.
16664 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16665 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16667 whole_archive_flag_spec_F77
=
16671 # PORTME fill in a description of your system's linker (not GNU ld)
16674 allow_undefined_flag_F77
=unsupported
16675 always_export_symbols_F77
=yes
16676 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'
16677 # Note: this linker hardcodes the directories in LIBPATH if there
16678 # are no directories specified by -L.
16679 hardcode_minus_L_F77
=yes
16680 if test "$GCC" = yes && test -z "$link_static_flag"; then
16681 # Neither direct hardcoding nor static linking is supported with a
16683 hardcode_direct_F77
=unsupported
16688 if test "$host_cpu" = ia64
; then
16689 # On IA64, the linker does run time linking by default, so we don't
16690 # have to do anything special.
16691 aix_use_runtimelinking
=no
16692 exp_sym_flag
='-Bexport'
16695 # If we're using GNU nm, then we don't want the "-C" option.
16696 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16697 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16698 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'
16700 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'
16703 # KDE requires run time linking. Make it the default.
16704 aix_use_runtimelinking
=yes
16705 exp_sym_flag
='-bexport'
16706 no_entry_flag
='-bnoentry'
16709 # When large executables or shared objects are built, AIX ld can
16710 # have problems creating the table of contents. If linking a library
16711 # or program results in "error TOC overflow" add -mminimal-toc to
16712 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16713 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16715 archive_cmds_F77
=''
16716 hardcode_direct_F77
=yes
16717 hardcode_libdir_separator_F77
=':'
16718 link_all_deplibs_F77
=yes
16720 if test "$GCC" = yes; then
16721 case $host_os in aix4.012|aix4.012.
*)
16722 # We only want to do this on AIX 4.2 and lower, the check
16723 # below for broken collect2 doesn't work under 4.3+
16724 collect2name
=`${CC} -print-prog-name=collect2`
16725 if test -f "$collect2name" && \
16726 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16728 # We have reworked collect2
16729 hardcode_direct_F77
=yes
16731 # We have old collect2
16732 hardcode_direct_F77
=unsupported
16733 # It fails to find uninstalled libraries when the uninstalled
16734 # path is not listed in the libpath. Setting hardcode_minus_L
16735 # to unsupported forces relinking
16736 hardcode_minus_L_F77
=yes
16737 hardcode_libdir_flag_spec_F77
='-L$libdir'
16738 hardcode_libdir_separator_F77
=
16741 shared_flag
='-shared'
16744 if test "$host_cpu" = ia64
; then
16745 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16746 # chokes on -Wl,-G. The following line is correct:
16749 if test "$aix_use_runtimelinking" = yes; then
16750 shared_flag
='-qmkshrobj ${wl}-G'
16752 shared_flag
='-qmkshrobj'
16757 # Let the compiler handle the export list.
16758 always_export_symbols_F77
=no
16759 if test "$aix_use_runtimelinking" = yes; then
16760 # Warning - without using the other runtime loading flags (-brtl),
16761 # -berok will link without error, but may produce a broken library.
16762 allow_undefined_flag_F77
='-berok'
16763 # Determine the default libpath from the value encoded in an empty executable.
16764 cat >conftest.
$ac_ext <<_ACEOF
16769 rm -f conftest.
$ac_objext conftest
$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>conftest.er1
16773 grep -v '^ *+' conftest.er1
>conftest.err
16775 cat conftest.err
>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } &&
16778 { ac_try
='test -z "$ac_f77_werror_flag"
16779 || test ! -s conftest.err'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; } &&
16785 { ac_try
='test -s conftest$ac_exeext'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; }; then
16792 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16794 # Check for a 64-bit object if we didn't find anything.
16795 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; }
16798 echo "$as_me: failed program was:" >&5
16799 sed 's/^/| /' conftest.
$ac_ext >&5
16802 rm -f conftest.err conftest.
$ac_objext \
16803 conftest
$ac_exeext conftest.
$ac_ext
16804 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16806 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16807 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"
16808 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"
16810 if test "$host_cpu" = ia64; then
16811 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
16812 allow_undefined_flag_F77="-z nodefs"
16813 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"
16815 # Determine the default libpath from the value encoded in an empty executable.
16816 cat >conftest.$ac_ext <<_ACEOF
16821 rm -f conftest.$ac_objext conftest$ac_exeext
16822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16823 (eval $ac_link) 2>conftest.er1
16825 grep -v '^ *+' conftest.er1 >conftest.err
16827 cat conftest.err >&5
16828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16829 (exit $ac_status); } &&
16830 { ac_try='test -z "$ac_f77_werror_flag"
16831 || test ! -s conftest.err'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16836 (exit $ac_status); }; } &&
16837 { ac_try='test -s conftest$ac_exeext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16842 (exit $ac_status); }; }; then
16844 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16846 # Check for a 64-bit object if we didn't find anything.
16847 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; }
16850 echo "$as_me: failed program was
:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16854 rm -f conftest.err conftest.$ac_objext \
16855 conftest$ac_exeext conftest.$ac_ext
16856 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16858 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16859 # Warning - without using the other run time loading flags,
16860 # -berok will link without error, but may produce a broken library.
16861 no_undefined_flag_F77=' ${wl}-bernotok'
16862 allow_undefined_flag_F77=' ${wl}-berok'
16863 # -bexpall does not export symbols beginning with underscore (_)
16864 always_export_symbols_F77=yes
16865 # Exported symbols can be pulled into shared objects from archives
16866 whole_archive_flag_spec_F77=' '
16867 archive_cmds_need_lc_F77=yes
16868 # This is similar to how AIX traditionally builds it's shared libraries.
16869 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'
16875 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)'
16876 hardcode_libdir_flag_spec_F77
='-L$libdir'
16877 hardcode_minus_L_F77
=yes
16878 # see comment about different semantics on the GNU ld section
16883 export_dynamic_flag_spec_F77
=-rdynamic
16886 cygwin
* | mingw
* | pw32
*)
16887 # When not using gcc, we currently assume that we are using
16888 # Microsoft Visual C++.
16889 # hardcode_libdir_flag_spec is actually meaningless, as there is
16890 # no search path for DLLs.
16891 hardcode_libdir_flag_spec_F77
=' '
16892 allow_undefined_flag_F77
=no
16893 # Tell ltmain to make .lib files, not .a files.
16895 # Tell ltmain to make .dll files, not .so files.
16897 # FIXME: Setting linknames here is a bad hack.
16898 archive_cmds_F77
='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16899 # The linker will automatically build a .lib file if we build a DLL.
16900 old_archive_From_new_cmds_F77
='true'
16901 # FIXME: Should let the user specify the lib program.
16902 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16903 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16904 enable_shared_with_static_runtimes_F77
=yes
16907 darwin
* | rhapsody
*)
16908 if test "$GXX" = yes ; then
16909 archive_cmds_need_lc_F77
=no
16911 rhapsody
* | darwin1.
[012])
16912 allow_undefined_flag_F77
='-Wl,-undefined -Wl,suppress'
16915 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16916 allow_undefined_flag_F77
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
16918 case ${MACOSX_DEPLOYMENT_TARGET} in
16920 allow_undefined_flag_F77
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
16923 allow_undefined_flag_F77
='-Wl,-undefined -Wl,dynamic_lookup'
16929 lt_int_apple_cc_single_mod
=no
16930 output_verbose_link_cmd
='echo'
16931 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16932 lt_int_apple_cc_single_mod
=yes
16934 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16935 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
16937 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'
16939 module_cmds_F77
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
16940 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16941 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16942 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}'
16944 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}'
16946 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}'
16947 hardcode_direct_F77
=no
16948 hardcode_automatic_F77
=yes
16949 hardcode_shlibpath_var_F77
=unsupported
16950 whole_archive_flag_spec_F77
='-all_load $convenience'
16951 link_all_deplibs_F77
=yes
16958 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16959 hardcode_libdir_flag_spec_F77
='-L$libdir'
16960 hardcode_shlibpath_var_F77
=no
16967 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16968 # support. Future versions do this automatically, but an explicit c++rt0.o
16969 # does not break anything, and helps significantly (at the cost of a little
16972 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16973 hardcode_libdir_flag_spec_F77
='-R$libdir'
16974 hardcode_direct_F77
=yes
16975 hardcode_shlibpath_var_F77
=no
16978 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16980 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16981 hardcode_direct_F77
=yes
16982 hardcode_minus_L_F77
=yes
16983 hardcode_shlibpath_var_F77
=no
16986 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16987 freebsd
* | kfreebsd
*-gnu)
16988 archive_cmds_F77
='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
16989 hardcode_libdir_flag_spec_F77
='-R$libdir'
16990 hardcode_direct_F77
=yes
16991 hardcode_shlibpath_var_F77
=no
16995 if test "$GCC" = yes; then
16996 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'
16998 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'
17000 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17001 hardcode_libdir_separator_F77
=:
17002 hardcode_direct_F77
=yes
17004 # hardcode_minus_L: Not really in the search PATH,
17005 # but as the default location of the library.
17006 hardcode_minus_L_F77
=yes
17007 export_dynamic_flag_spec_F77
='${wl}-E'
17011 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17012 case "$host_cpu" in
17014 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17017 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17021 case "$host_cpu" in
17023 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17026 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17030 if test "$with_gnu_ld" = no
; then
17031 case "$host_cpu" in
17033 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17034 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
17035 hardcode_libdir_separator_F77
=:
17036 hardcode_direct_F77
=no
17037 hardcode_shlibpath_var_F77
=no
17040 hardcode_libdir_flag_spec_F77
='-L$libdir'
17041 hardcode_direct_F77
=no
17042 hardcode_shlibpath_var_F77
=no
17044 # hardcode_minus_L: Not really in the search PATH,
17045 # but as the default location of the library.
17046 hardcode_minus_L_F77
=yes
17049 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17050 hardcode_libdir_separator_F77
=:
17051 hardcode_direct_F77
=yes
17052 export_dynamic_flag_spec_F77
='${wl}-E'
17054 # hardcode_minus_L: Not really in the search PATH,
17055 # but as the default location of the library.
17056 hardcode_minus_L_F77
=yes
17062 irix5
* | irix6
* | nonstopux
*)
17063 if test "$GCC" = yes; then
17064 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'
17066 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'
17067 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
17069 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17070 hardcode_libdir_separator_F77
=:
17071 link_all_deplibs_F77
=yes
17075 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17076 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17078 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17080 hardcode_libdir_flag_spec_F77
='-R$libdir'
17081 hardcode_direct_F77
=yes
17082 hardcode_shlibpath_var_F77
=no
17086 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17087 hardcode_direct_F77
=yes
17088 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17089 hardcode_libdir_separator_F77
=:
17090 hardcode_shlibpath_var_F77
=no
17094 hardcode_direct_F77
=yes
17095 hardcode_shlibpath_var_F77
=no
17096 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17097 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17098 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17099 export_dynamic_flag_spec_F77
='${wl}-E'
17102 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17103 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17104 hardcode_libdir_flag_spec_F77
='-R$libdir'
17107 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17108 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17115 hardcode_libdir_flag_spec_F77
='-L$libdir'
17116 hardcode_minus_L_F77
=yes
17117 allow_undefined_flag_F77
=unsupported
17118 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'
17119 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17123 if test "$GCC" = yes; then
17124 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17125 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'
17127 allow_undefined_flag_F77
=' -expect_unresolved \*'
17128 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'
17130 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17131 hardcode_libdir_separator_F77
=:
17134 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17135 if test "$GCC" = yes; then
17136 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17137 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'
17138 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17140 allow_undefined_flag_F77
=' -expect_unresolved \*'
17141 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'
17142 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~
17143 $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'
17145 # Both c and cxx compiler support -rpath directly
17146 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
17148 hardcode_libdir_separator_F77
=:
17152 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17153 hardcode_shlibpath_var_F77
=no
17154 export_dynamic_flag_spec_F77
='${wl}-Bexport'
17155 runpath_var
=LD_RUN_PATH
17156 hardcode_runpath_var
=yes
17160 no_undefined_flag_F77
=' -z text'
17161 if test "$GCC" = yes; then
17162 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17163 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17164 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17166 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17167 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17168 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17170 hardcode_libdir_flag_spec_F77
='-R$libdir'
17171 hardcode_shlibpath_var_F77
=no
17173 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17174 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17175 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
17177 link_all_deplibs_F77
=yes
17181 if test "x$host_vendor" = xsequent
; then
17182 # Use $CC to link under sequent, because it throws in some extra .o
17183 # files that make .init and .fini sections work.
17184 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17186 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17188 hardcode_libdir_flag_spec_F77
='-L$libdir'
17189 hardcode_direct_F77
=yes
17190 hardcode_minus_L_F77
=yes
17191 hardcode_shlibpath_var_F77
=no
17195 case $host_vendor in
17197 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17198 hardcode_direct_F77
=yes # is this really true???
17201 ## LD is ld it makes a PLAMLIB
17202 ## CC just makes a GrossModule.
17203 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17204 reload_cmds_F77
='$CC -r -o $output$reload_objs'
17205 hardcode_direct_F77
=no
17208 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17209 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
17212 runpath_var
='LD_RUN_PATH'
17213 hardcode_shlibpath_var_F77
=no
17217 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17218 hardcode_shlibpath_var_F77
=no
17219 export_dynamic_flag_spec_F77
='-Bexport'
17223 if test -d /usr
/nec
; then
17224 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17225 hardcode_shlibpath_var_F77
=no
17226 runpath_var
=LD_RUN_PATH
17227 hardcode_runpath_var
=yes
17233 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17234 hardcode_direct_F77
=yes
17235 hardcode_minus_L_F77
=no
17236 hardcode_shlibpath_var_F77
=no
17237 hardcode_runpath_var
=yes
17238 runpath_var
=LD_RUN_PATH
17241 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17242 no_undefined_flag_F77
='${wl}-z ${wl}text'
17243 if test "$GCC" = yes; then
17244 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17246 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17248 runpath_var
='LD_RUN_PATH'
17249 hardcode_shlibpath_var_F77
=no
17253 no_undefined_flag_F77
=' -z text'
17254 # $CC -shared without GNU ld will not create a library from C++
17255 # object files and a static libstdc++, better avoid it by now
17256 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17257 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17258 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17259 hardcode_libdir_flag_spec_F77
=
17260 hardcode_shlibpath_var_F77
=no
17261 runpath_var
='LD_RUN_PATH'
17265 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17266 hardcode_libdir_flag_spec_F77
='-L$libdir'
17267 hardcode_shlibpath_var_F77
=no
17276 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17277 echo "${ECHO_T}$ld_shlibs_F77" >&6
17278 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
17280 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17281 if test "$GCC" = yes; then
17282 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17286 # Do we need to explicitly link libc?
17288 case "x$archive_cmds_need_lc_F77" in
17290 # Assume -lc should be added
17291 archive_cmds_need_lc_F77
=yes
17293 if test "$enable_shared" = yes && test "$GCC" = yes; then
17294 case $archive_cmds_F77 in
17296 # FIXME: we may have to deal with multi-command sequences.
17299 # Test whether the compiler implicitly links with -lc since on some
17300 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17301 # to ld, don't add -lc before -lgcc.
17302 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17303 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17305 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17308 (eval $ac_compile) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } 2>conftest.err
; then
17314 libobjs
=conftest.
$ac_objext
17316 wl
=$lt_prog_compiler_wl_F77
17322 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
17323 allow_undefined_flag_F77
=
17324 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17325 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }
17330 archive_cmds_need_lc_F77
=no
17332 archive_cmds_need_lc_F77
=yes
17334 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
17336 cat conftest.err
1>&5
17339 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17340 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
17347 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17348 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17349 library_names_spec
=
17350 libname_spec
='lib$name'
17354 postuninstall_cmds
=
17358 shlibpath_overrides_runpath
=unknown
17360 dynamic_linker
="$host_os ld.so"
17361 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17362 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17363 need_lib_prefix
=unknown
17364 hardcode_into_libs
=no
17366 # when you set need_version to no, make sure it does not cause -set_version
17367 # flags to be left without arguments
17368 need_version
=unknown
17373 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17374 shlibpath_var
=LIBPATH
17376 # AIX 3 has no versioning support, so we append a major version to the name.
17377 soname_spec
='${libname}${release}${shared_ext}$major'
17384 hardcode_into_libs
=yes
17385 if test "$host_cpu" = ia64
; then
17386 # AIX 5 supports IA64
17387 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17388 shlibpath_var
=LD_LIBRARY_PATH
17390 # With GCC up to 2.95.x, collect2 would create an import file
17391 # for dependence libraries. The import file would start with
17392 # the line `#! .'. This would cause the generated library to
17393 # depend on `.', always an invalid library. This was fixed in
17394 # development snapshots of GCC prior to 3.0.
17396 aix4 | aix4.
[01] | aix4.
[01].
*)
17397 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17399 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17402 can_build_shared
=no
17406 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17407 # soname into executable. Probably we can add versioning support to
17408 # collect2, so additional links can be useful in future.
17409 if test "$aix_use_runtimelinking" = yes; then
17410 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17411 # instead of lib<name>.a to let people know that these are not
17412 # typical AIX shared libraries.
17413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17415 # We preserve .a as extension for shared libraries through AIX4.2
17416 # and later when we are not doing run time linking.
17417 library_names_spec
='${libname}${release}.a $libname.a'
17418 soname_spec
='${libname}${release}${shared_ext}$major'
17420 shlibpath_var
=LIBPATH
17425 library_names_spec
='$libname.ixlibrary $libname.a'
17426 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17427 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'
17431 library_names_spec
='${libname}${shared_ext}'
17432 dynamic_linker
="$host_os ld.so"
17433 shlibpath_var
=LIBRARY_PATH
17439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17440 soname_spec
='${libname}${release}${shared_ext}$major'
17441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17442 shlibpath_var
=LD_LIBRARY_PATH
17443 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17444 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17445 # the default ld.so.conf also contains /usr/contrib/lib and
17446 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17447 # libtool to hard-code these into programs
17450 cygwin
* | mingw
* | pw32
*)
17451 version_type
=windows
17456 case $GCC,$host_os in
17457 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17458 library_names_spec
='$libname.dll.a'
17459 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17460 postinstall_cmds
='base_file=`basename \${file}`~
17461 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17462 dldir=$destdir/`dirname \$dlpath`~
17463 test -d \$dldir || mkdir -p \$dldir~
17464 $install_prog $dir/$dlname \$dldir/$dlname'
17465 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17466 dlpath=$dir/\$dldll~
17468 shlibpath_overrides_runpath
=yes
17472 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17473 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17474 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17477 # MinGW DLLs use traditional 'lib' prefix
17478 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17479 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17480 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17481 # It is most probably a Windows format PATH printed by
17482 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17483 # path with ; separators, and with drive letters. We can handle the
17484 # drive letters (cygwin fileutils understands them), so leave them,
17485 # especially as we might pass files found there to a mingw objdump,
17486 # which wouldn't understand a cygwinified path. Ahh.
17487 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17489 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17493 # pw32 DLLs use 'pw' prefix rather than 'lib'
17494 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17500 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17503 dynamic_linker
='Win32 ld.exe'
17504 # FIXME: first we should search . and the directory the executable is in
17508 darwin
* | rhapsody
*)
17509 dynamic_linker
="$host_os dyld"
17510 version_type
=darwin
17513 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17514 soname_spec
='${libname}${release}${major}$shared_ext'
17515 shlibpath_overrides_runpath
=yes
17516 shlibpath_var
=DYLD_LIBRARY_PATH
17517 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
17518 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17519 if test "$GCC" = yes; then
17520 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"`
17522 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17524 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17532 soname_spec
='${libname}${release}${shared_ext}$major'
17533 shlibpath_var
=LD_LIBRARY_PATH
17544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17545 soname_spec
='${libname}${release}${shared_ext}$major'
17546 shlibpath_var
=LD_LIBRARY_PATH
17547 shlibpath_overrides_runpath
=no
17548 hardcode_into_libs
=yes
17549 dynamic_linker
='GNU ld.so'
17553 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17554 version_type
=freebsd-
$objformat
17555 case $version_type in
17557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17562 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17566 shlibpath_var
=LD_LIBRARY_PATH
17569 shlibpath_overrides_runpath
=yes
17571 freebsd3.01
* | freebsdelf3.01
*)
17572 shlibpath_overrides_runpath
=yes
17573 hardcode_into_libs
=yes
17576 shlibpath_overrides_runpath
=no
17577 hardcode_into_libs
=yes
17586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17587 soname_spec
='${libname}${release}${shared_ext}$major'
17588 shlibpath_var
=LD_LIBRARY_PATH
17589 hardcode_into_libs
=yes
17592 hpux9
* | hpux10
* | hpux11
*)
17593 # Give a soname corresponding to the major version so that dld.sl refuses to
17594 # link against other versions.
17598 case "$host_cpu" in
17601 hardcode_into_libs
=yes
17602 dynamic_linker
="$host_os dld.so"
17603 shlibpath_var
=LD_LIBRARY_PATH
17604 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17606 soname_spec
='${libname}${release}${shared_ext}$major'
17607 if test "X$HPUX_IA64_MODE" = X32
; then
17608 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17610 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17612 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17616 hardcode_into_libs
=yes
17617 dynamic_linker
="$host_os dld.sl"
17618 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17619 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17621 soname_spec
='${libname}${release}${shared_ext}$major'
17622 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17623 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17627 dynamic_linker
="$host_os dld.sl"
17628 shlibpath_var
=SHLIB_PATH
17629 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17631 soname_spec
='${libname}${release}${shared_ext}$major'
17634 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17635 postinstall_cmds
='chmod 555 $lib'
17638 irix5
* | irix6
* | nonstopux
*)
17640 nonstopux
*) version_type
=nonstopux
;;
17642 if test "$lt_cv_prog_gnu_ld" = yes; then
17650 soname_spec
='${libname}${release}${shared_ext}$major'
17651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17653 irix5
* | nonstopux
*)
17654 libsuff
= shlibsuff
=
17657 case $LD in # libtool.m4 will add one of these switches to LD
17658 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17659 libsuff
= shlibsuff
= libmagic
=32-bit;;
17660 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17661 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17662 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17663 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17664 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17668 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17669 shlibpath_overrides_runpath
=no
17670 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17671 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17672 hardcode_into_libs
=yes
17675 # No shared lib support for Linux oldld, aout, or coff.
17676 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17680 # This must be Linux ELF.
17685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17686 soname_spec
='${libname}${release}${shared_ext}$major'
17687 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17689 if test "x$LINUX_64_MODE" = x64
; then
17690 # Some platforms are per default 64-bit, so there's no /lib64
17691 if test -d /lib64
; then
17695 shlibpath_var
=LD_LIBRARY_PATH
17696 shlibpath_overrides_runpath
=no
17697 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff}"
17698 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17699 # This implies no fast_install, which is unacceptable.
17700 # Some rework will be needed to allow for fast_install
17701 # before this can be enabled.
17702 hardcode_into_libs
=yes
17704 # We used to test for /lib/ld.so.1 and disable shared libraries on
17705 # powerpc, because MkLinux only supported shared libraries with the
17706 # GNU dynamic linker. Since this was broken with cross compilers,
17707 # most powerpc-linux boxes support dynamic linking these days and
17708 # people can always --disable-shared, the test was removed, and we
17709 # assume the GNU/Linux dynamic linker is in use.
17710 dynamic_linker
='GNU/Linux ld.so'
17717 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17719 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17720 dynamic_linker
='NetBSD (a.out) ld.so'
17722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17723 soname_spec
='${libname}${release}${shared_ext}$major'
17724 dynamic_linker
='NetBSD ld.elf_so'
17726 shlibpath_var
=LD_LIBRARY_PATH
17727 shlibpath_overrides_runpath
=yes
17728 hardcode_into_libs
=yes
17733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17734 shlibpath_var
=LD_LIBRARY_PATH
17735 shlibpath_overrides_runpath
=yes
17742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17743 soname_spec
='${libname}${release}${shared_ext}$major'
17744 shlibpath_var
=LD_LIBRARY_PATH
17745 shlibpath_overrides_runpath
=yes
17752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17754 shlibpath_var
=LD_LIBRARY_PATH
17755 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17757 openbsd2.
[89] | openbsd2.
[89].
*)
17758 shlibpath_overrides_runpath
=no
17761 shlibpath_overrides_runpath
=yes
17765 shlibpath_overrides_runpath
=yes
17770 libname_spec
='$name'
17773 library_names_spec
='$libname${shared_ext} $libname.a'
17774 dynamic_linker
='OS/2 ld.exe'
17775 shlibpath_var
=LIBPATH
17778 osf3
* | osf4
* | osf5
*)
17782 soname_spec
='${libname}${release}${shared_ext}$major'
17783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17784 shlibpath_var
=LD_LIBRARY_PATH
17785 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17786 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17791 soname_spec
='${libname}${release}${shared_ext}$major'
17792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17793 shlibpath_var
=LD_LIBRARY_PATH
17800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17801 soname_spec
='${libname}${release}${shared_ext}$major'
17802 shlibpath_var
=LD_LIBRARY_PATH
17803 shlibpath_overrides_runpath
=yes
17804 hardcode_into_libs
=yes
17805 # ldd complains unless libraries are executable
17806 postinstall_cmds
='chmod +x $lib'
17811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17812 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17813 shlibpath_var
=LD_LIBRARY_PATH
17814 shlibpath_overrides_runpath
=yes
17815 if test "$with_gnu_ld" = yes; then
17821 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17824 soname_spec
='${libname}${release}${shared_ext}$major'
17825 shlibpath_var
=LD_LIBRARY_PATH
17826 case $host_vendor in
17828 shlibpath_overrides_runpath
=no
17830 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17831 runpath_var
=LD_RUN_PATH
17839 shlibpath_overrides_runpath
=no
17840 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17846 if test -d /usr
/nec
;then
17848 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17849 soname_spec
='$libname${shared_ext}.$major'
17850 shlibpath_var
=LD_LIBRARY_PATH
17856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17857 soname_spec
='${libname}${release}${shared_ext}$major'
17858 shlibpath_var
=LD_LIBRARY_PATH
17865 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17866 echo "${ECHO_T}$dynamic_linker" >&6
17867 test "$dynamic_linker" = no
&& can_build_shared
=no
17869 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17870 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17871 hardcode_action_F77
=
17872 if test -n "$hardcode_libdir_flag_spec_F77" || \
17873 test -n "$runpath_var F77" || \
17874 test "X$hardcode_automatic_F77"="Xyes" ; then
17876 # We can hardcode non-existant directories.
17877 if test "$hardcode_direct_F77" != no
&&
17878 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17879 # have to relink, otherwise we might link with an installed library
17880 # when we should be linking with a yet-to-be-installed one
17881 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17882 test "$hardcode_minus_L_F77" != no
; then
17883 # Linking always hardcodes the temporary library directory.
17884 hardcode_action_F77
=relink
17886 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17887 hardcode_action_F77
=immediate
17890 # We cannot hardcode anything, or else we can only hardcode existing
17892 hardcode_action_F77
=unsupported
17894 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17895 echo "${ECHO_T}$hardcode_action_F77" >&6
17897 if test "$hardcode_action_F77" = relink
; then
17898 # Fast installation is not supported
17899 enable_fast_install
=no
17900 elif test "$shlibpath_overrides_runpath" = yes ||
17901 test "$enable_shared" = no
; then
17902 # Fast installation is not necessary
17903 enable_fast_install
=needless
17908 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17909 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17910 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17911 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17912 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17913 echo "$as_me:$LINENO: result: yes" >&5
17914 echo "${ECHO_T}yes" >&6
17916 # FIXME - insert some real tests, host_os isn't really good enough
17919 if test -n "$STRIP" ; then
17920 striplib
="$STRIP -x"
17921 echo "$as_me:$LINENO: result: yes" >&5
17922 echo "${ECHO_T}yes" >&6
17924 echo "$as_me:$LINENO: result: no" >&5
17925 echo "${ECHO_T}no" >&6
17929 echo "$as_me:$LINENO: result: no" >&5
17930 echo "${ECHO_T}no" >&6
17937 # The else clause should only fire when bootstrapping the
17938 # libtool distribution, otherwise you forgot to ship ltmain.sh
17939 # with your package, and you will get complaints that there are
17940 # no rules to generate ltmain.sh.
17941 if test -f "$ltmain"; then
17942 # See if we are running on zsh, and set the options which allow our commands through
17943 # without removal of \ escapes.
17944 if test -n "${ZSH_VERSION+set}" ; then
17945 setopt NO_GLOB_SUBST
17947 # Now quote all the things that may contain metacharacters while being
17948 # careful not to overquote the AC_SUBSTed values. We take copies of the
17949 # variables and quote the copies for generation of the libtool script.
17950 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17951 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17952 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17953 deplibs_check_method reload_flag reload_cmds need_locks \
17954 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17955 lt_cv_sys_global_symbol_to_c_name_address \
17956 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17957 old_postinstall_cmds old_postuninstall_cmds \
17961 lt_prog_compiler_wl_F77 \
17962 lt_prog_compiler_pic_F77 \
17963 lt_prog_compiler_static_F77 \
17964 lt_prog_compiler_no_builtin_flag_F77 \
17965 export_dynamic_flag_spec_F77 \
17966 thread_safe_flag_spec_F77 \
17967 whole_archive_flag_spec_F77 \
17968 enable_shared_with_static_runtimes_F77 \
17969 old_archive_cmds_F77 \
17970 old_archive_from_new_cmds_F77 \
17971 predep_objects_F77 \
17972 postdep_objects_F77 \
17975 compiler_lib_search_path_F77 \
17977 archive_expsym_cmds_F77 \
17978 postinstall_cmds_F77 \
17979 postuninstall_cmds_F77 \
17980 old_archive_from_expsyms_cmds_F77 \
17981 allow_undefined_flag_F77 \
17982 no_undefined_flag_F77 \
17983 export_symbols_cmds_F77 \
17984 hardcode_libdir_flag_spec_F77 \
17985 hardcode_libdir_flag_spec_ld_F77 \
17986 hardcode_libdir_separator_F77 \
17987 hardcode_automatic_F77 \
17989 module_expsym_cmds_F77 \
17990 lt_cv_prog_compiler_c_o_F77 \
17991 exclude_expsyms_F77 \
17992 include_expsyms_F77
; do
17995 old_archive_cmds_F77 | \
17996 old_archive_from_new_cmds_F77 | \
17997 archive_cmds_F77 | \
17998 archive_expsym_cmds_F77 | \
17999 module_cmds_F77 | \
18000 module_expsym_cmds_F77 | \
18001 old_archive_from_expsyms_cmds_F77 | \
18002 export_symbols_cmds_F77 | \
18003 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18004 postinstall_cmds | postuninstall_cmds | \
18005 old_postinstall_cmds | old_postuninstall_cmds | \
18006 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18007 # Double-quote double-evaled strings.
18008 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18011 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18017 *'\$0 --fallback-echo"')
18018 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18024 cat <<__EOF__ >> "$cfgfile"
18025 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18029 # Shell to use when invoking shell scripts.
18032 # Whether or not to build shared libraries.
18033 build_libtool_libs=$enable_shared
18035 # Whether or not to build static libraries.
18036 build_old_libs=$enable_static
18038 # Whether or not to add -lc for building shared libraries.
18039 build_libtool_need_lc=$archive_cmds_need_lc_F77
18041 # Whether or not to disallow shared libs when runtime libs are static
18042 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18044 # Whether or not to optimize for fast installation.
18045 fast_install=$enable_fast_install
18048 host_alias=$host_alias
18051 # An echo program that does not interpret backslashes.
18056 AR_FLAGS=$lt_AR_FLAGS
18061 # A language-specific compiler.
18062 CC=$lt_compiler_F77
18064 # Is the compiler the GNU C compiler?
18070 # The linker used to build libraries.
18073 # Whether we need hard or soft links.
18076 # A BSD-compatible nm program.
18079 # A symbol stripping program
18082 # Used to examine libraries when file_magic_cmd begins "file"
18083 MAGIC_CMD=$MAGIC_CMD
18085 # Used on cygwin: DLL creation program.
18088 # Used on cygwin: object dumper.
18091 # Used on cygwin: assembler.
18094 # The name of the directory that contains temporary libtool files.
18097 # How to create reloadable object files.
18098 reload_flag=$lt_reload_flag
18099 reload_cmds=$lt_reload_cmds
18101 # How to pass a linker flag through the compiler.
18102 wl=$lt_lt_prog_compiler_wl_F77
18104 # Object file suffix (normally "o").
18105 objext="$ac_objext"
18107 # Old archive suffix (normally "a").
18110 # Shared library suffix (normally ".so").
18113 # Executable file suffix (normally "").
18116 # Additional compiler flags for building library objects.
18117 pic_flag=$lt_lt_prog_compiler_pic_F77
18120 # What is the maximum length of a command?
18121 max_cmd_len=$lt_cv_sys_max_cmd_len
18123 # Does compiler simultaneously support -c and -o options?
18124 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18126 # Must we lock files when doing compilation ?
18127 need_locks=$lt_need_locks
18129 # Do we need the lib prefix for modules?
18130 need_lib_prefix=$need_lib_prefix
18132 # Do we need a version for libraries?
18133 need_version=$need_version
18135 # Whether dlopen is supported.
18136 dlopen_support=$enable_dlopen
18138 # Whether dlopen of programs is supported.
18139 dlopen_self=$enable_dlopen_self
18141 # Whether dlopen of statically linked programs is supported.
18142 dlopen_self_static=$enable_dlopen_self_static
18144 # Compiler flag to prevent dynamic linking.
18145 link_static_flag=$lt_lt_prog_compiler_static_F77
18147 # Compiler flag to turn off builtin functions.
18148 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18150 # Compiler flag to allow reflexive dlopens.
18151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18153 # Compiler flag to generate shared objects directly from archives.
18154 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18156 # Compiler flag to generate thread-safe objects.
18157 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18159 # Library versioning type.
18160 version_type=$version_type
18162 # Format of library name prefix.
18163 libname_spec=$lt_libname_spec
18165 # List of archive names. First name is the real one, the rest are links.
18166 # The last name is the one that the linker finds with -lNAME.
18167 library_names_spec=$lt_library_names_spec
18169 # The coded name of the library, if different from the real name.
18170 soname_spec=$lt_soname_spec
18172 # Commands used to build and install an old-style archive.
18174 old_archive_cmds=$lt_old_archive_cmds_F77
18175 old_postinstall_cmds=$lt_old_postinstall_cmds
18176 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18178 # Create an old-style archive from a shared archive.
18179 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18181 # Create a temporary old-style archive to link instead of a shared archive.
18182 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18184 # Commands used to build and install a shared archive.
18185 archive_cmds=$lt_archive_cmds_F77
18186 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18187 postinstall_cmds=$lt_postinstall_cmds
18188 postuninstall_cmds=$lt_postuninstall_cmds
18190 # Commands used to build a loadable module (assumed same as above if empty)
18191 module_cmds=$lt_module_cmds_F77
18192 module_expsym_cmds=$lt_module_expsym_cmds_F77
18194 # Commands to strip libraries.
18195 old_striplib=$lt_old_striplib
18196 striplib=$lt_striplib
18198 # Dependencies to place before the objects being linked to create a
18200 predep_objects=$lt_predep_objects_F77
18202 # Dependencies to place after the objects being linked to create a
18204 postdep_objects=$lt_postdep_objects_F77
18206 # Dependencies to place before the objects being linked to create a
18208 predeps=$lt_predeps_F77
18210 # Dependencies to place after the objects being linked to create a
18212 postdeps=$lt_postdeps_F77
18214 # The library search path used internally by the compiler when linking
18215 # a shared library.
18216 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18218 # Method to check whether dependent libraries are shared objects.
18219 deplibs_check_method=$lt_deplibs_check_method
18221 # Command to use when deplibs_check_method == file_magic.
18222 file_magic_cmd=$lt_file_magic_cmd
18224 # Flag that allows shared libraries with undefined symbols to be built.
18225 allow_undefined_flag=$lt_allow_undefined_flag_F77
18227 # Flag that forces no undefined symbols.
18228 no_undefined_flag=$lt_no_undefined_flag_F77
18230 # Commands used to finish a libtool library installation in a directory.
18231 finish_cmds=$lt_finish_cmds
18233 # Same as above, but a single script fragment to be evaled but not shown.
18234 finish_eval=$lt_finish_eval
18236 # Take the output of nm and produce a listing of raw symbols and C names.
18237 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18239 # Transform the output of nm in a proper C declaration
18240 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18242 # Transform the output of nm in a C name address pair
18243 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18245 # This is the shared library runtime path variable.
18246 runpath_var=$runpath_var
18248 # This is the shared library path variable.
18249 shlibpath_var=$shlibpath_var
18251 # Is shlibpath searched before the hard-coded library search path?
18252 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18254 # How to hardcode a shared library path into an executable.
18255 hardcode_action=$hardcode_action_F77
18257 # Whether we should hardcode library paths into libraries.
18258 hardcode_into_libs=$hardcode_into_libs
18260 # Flag to hardcode \$libdir into a binary during linking.
18261 # This must work even if \$libdir does not exist.
18262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18264 # If ld is used when linking, flag to hardcode \$libdir into
18265 # a binary during linking. This must work even if \$libdir does
18267 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18269 # Whether we need a single -rpath flag with a separated argument.
18270 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18272 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18273 # resulting binary.
18274 hardcode_direct=$hardcode_direct_F77
18276 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18277 # resulting binary.
18278 hardcode_minus_L=$hardcode_minus_L_F77
18280 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18281 # the resulting binary.
18282 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18284 # Set to yes if building a shared library automatically hardcodes DIR into the library
18285 # and all subsequent libraries and executables linked against it.
18286 hardcode_automatic=$hardcode_automatic_F77
18288 # Variables whose values should be saved in libtool wrapper scripts and
18289 # restored at relink time.
18290 variables_saved_for_relink="$variables_saved_for_relink"
18292 # Whether libtool must link a program against all its dependency libraries.
18293 link_all_deplibs=$link_all_deplibs_F77
18295 # Compile-time system search path for libraries
18296 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18298 # Run-time system search path for libraries
18299 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18301 # Fix the shell variable \$srcfile for the compiler.
18302 fix_srcfile_path="$fix_srcfile_path_F77"
18304 # Set to yes if exported symbols are required.
18305 always_export_symbols=$always_export_symbols_F77
18307 # The commands to list exported symbols.
18308 export_symbols_cmds=$lt_export_symbols_cmds_F77
18310 # The commands to extract the exported symbol list from a shared archive.
18311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18313 # Symbols that should not be listed in the preloaded symbols.
18314 exclude_expsyms=$lt_exclude_expsyms_F77
18316 # Symbols that must always be exported.
18317 include_expsyms=$lt_include_expsyms_F77
18319 # ### END LIBTOOL TAG CONFIG: $tagname
18325 # If there is no Makefile yet, we rely on a make rule to execute
18326 # `config.status --recheck' to rerun these tests and create the
18327 # libtool script then.
18328 test -f Makefile
&& make "$ltmain"
18333 ac_cpp
='$CPP $CPPFLAGS'
18334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18346 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18350 # Source file extension for Java test sources.
18353 # Object file extension for compiled Java test sources.
18357 # Code to be used in simple compile tests
18358 lt_simple_compile_test_code
="class foo {}\n"
18360 # Code to be used in simple link tests
18361 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
18363 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18365 # If no C compiler was specified, use CC.
18368 # Allow CC to be a program name with arguments.
18372 # Allow CC to be a program name with arguments.
18378 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18379 archive_cmds_need_lc_GCJ
=no
18382 ## There is no encapsulation within the following macros, do not change
18383 ## the running order or otherwise move them around unless you know exactly
18384 ## what you are doing...
18386 lt_prog_compiler_no_builtin_flag_GCJ
=
18388 if test "$GCC" = yes; then
18389 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
18392 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18393 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
18394 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18395 echo $ECHO_N "(cached) $ECHO_C" >&6
18397 lt_cv_prog_compiler_rtti_exceptions
=no
18398 ac_outfile
=conftest.
$ac_objext
18399 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18400 lt_compiler_flag
="-fno-rtti -fno-exceptions"
18401 # Insert the option either (1) after the last *FLAGS variable, or
18402 # (2) before a word containing "conftest.", or (3) at the end.
18403 # Note that $ac_compile itself does not contain backslashes and begins
18404 # with a dollar sign (not a hyphen), so the echo should work correctly.
18405 # The option is referenced via a variable to avoid confusing sed.
18406 lt_compile
=`echo "$ac_compile" | $SED \
18407 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18409 -e 's:$: $lt_compiler_flag:'`
18410 (eval echo "\"\$as_me:18410: $lt_compile\"" >&5)
18411 (eval "$lt_compile" 2>conftest.err
)
18413 cat conftest.err
>&5
18414 echo "$as_me:18414: \$? = $ac_status" >&5
18415 if (exit $ac_status) && test -s "$ac_outfile"; then
18416 # The compiler can only warn and ignore the option if not recognized
18417 # So say no if there are warnings
18418 if test ! -s conftest.err
; then
18419 lt_cv_prog_compiler_rtti_exceptions
=yes
18425 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18426 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
18428 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
18429 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18436 lt_prog_compiler_wl_GCJ
=
18437 lt_prog_compiler_pic_GCJ
=
18438 lt_prog_compiler_static_GCJ
=
18440 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18441 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18443 if test "$GCC" = yes; then
18444 lt_prog_compiler_wl_GCJ
='-Wl,'
18445 lt_prog_compiler_static_GCJ
='-static'
18449 # All AIX code is PIC.
18450 if test "$host_cpu" = ia64
; then
18451 # AIX 5 now supports IA64 processor
18452 lt_prog_compiler_static_GCJ
='-Bstatic'
18457 # FIXME: we need at least 68020 code to build shared libraries, but
18458 # adding the `-m68020' flag to GCC prevents building anything better,
18460 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18463 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18464 # PIC is the default for these OSes.
18467 mingw
* | pw32
* | os2
*)
18468 # This hack is so that the source file can tell whether it is being
18469 # built for inclusion in a dll (and should export symbols for example).
18470 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
18473 darwin
* | rhapsody
*)
18474 # PIC is the default on this platform
18475 # Common symbols not allowed in MH_DYLIB files
18476 lt_prog_compiler_pic_GCJ
='-fno-common'
18480 # Just because we use GCC doesn't mean we suddenly get shared libraries
18481 # on systems that don't support them.
18482 lt_prog_compiler_can_build_shared_GCJ
=no
18487 if test -d /usr
/nec
; then
18488 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18493 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18494 # not for PA HP-UX.
18495 case "$host_cpu" in
18500 lt_prog_compiler_pic_GCJ
='-fPIC'
18506 lt_prog_compiler_pic_GCJ
='-fPIC'
18510 # PORTME Check for flag to pass linker flags through the system compiler.
18513 lt_prog_compiler_wl_GCJ
='-Wl,'
18514 if test "$host_cpu" = ia64
; then
18515 # AIX 5 now supports IA64 processor
18516 lt_prog_compiler_static_GCJ
='-Bstatic'
18518 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18522 mingw
* | pw32
* | os2
*)
18523 # This hack is so that the source file can tell whether it is being
18524 # built for inclusion in a dll (and should export symbols for example).
18525 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
18528 hpux9
* | hpux10
* | hpux11
*)
18529 lt_prog_compiler_wl_GCJ
='-Wl,'
18530 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18531 # not for PA HP-UX.
18532 case "$host_cpu" in
18537 lt_prog_compiler_pic_GCJ
='+Z'
18540 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18541 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18544 irix5
* | irix6
* | nonstopux
*)
18545 lt_prog_compiler_wl_GCJ
='-Wl,'
18546 # PIC (with -KPIC) is the default.
18547 lt_prog_compiler_static_GCJ
='-non_shared'
18551 lt_prog_compiler_pic_GCJ
='-KPIC'
18552 lt_prog_compiler_static_GCJ
='-Bstatic'
18558 lt_prog_compiler_wl_GCJ
='-Wl,'
18559 lt_prog_compiler_pic_GCJ
='-KPIC'
18560 lt_prog_compiler_static_GCJ
='-static'
18563 lt_prog_compiler_wl_GCJ
='-Wl,'
18564 # All Alpha code is PIC.
18565 lt_prog_compiler_static_GCJ
='-non_shared'
18570 osf3
* | osf4
* | osf5
*)
18571 lt_prog_compiler_wl_GCJ
='-Wl,'
18572 # All OSF/1 code is PIC.
18573 lt_prog_compiler_static_GCJ
='-non_shared'
18577 lt_prog_compiler_pic_GCJ
='-Kpic'
18578 lt_prog_compiler_static_GCJ
='-dn'
18582 lt_prog_compiler_wl_GCJ
='-Wl,'
18583 lt_prog_compiler_pic_GCJ
='-KPIC'
18584 lt_prog_compiler_static_GCJ
='-Bstatic'
18588 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18589 lt_prog_compiler_pic_GCJ
='-PIC'
18590 lt_prog_compiler_static_GCJ
='-Bstatic'
18593 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18594 lt_prog_compiler_wl_GCJ
='-Wl,'
18595 lt_prog_compiler_pic_GCJ
='-KPIC'
18596 lt_prog_compiler_static_GCJ
='-Bstatic'
18600 if test -d /usr
/nec
;then
18601 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18602 lt_prog_compiler_static_GCJ
='-Bstatic'
18607 lt_prog_compiler_pic_GCJ
='-pic'
18608 lt_prog_compiler_static_GCJ
='-Bstatic'
18612 lt_prog_compiler_can_build_shared_GCJ
=no
18617 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18618 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
18621 # Check to make sure the PIC flag actually works.
18623 if test -n "$lt_prog_compiler_pic_GCJ"; then
18625 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18626 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
18627 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 lt_prog_compiler_pic_works_GCJ
=no
18631 ac_outfile
=conftest.
$ac_objext
18632 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18633 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18634 # Insert the option either (1) after the last *FLAGS variable, or
18635 # (2) before a word containing "conftest.", or (3) at the end.
18636 # Note that $ac_compile itself does not contain backslashes and begins
18637 # with a dollar sign (not a hyphen), so the echo should work correctly.
18638 # The option is referenced via a variable to avoid confusing sed.
18639 lt_compile
=`echo "$ac_compile" | $SED \
18640 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18642 -e 's:$: $lt_compiler_flag:'`
18643 (eval echo "\"\$as_me:18643: $lt_compile\"" >&5)
18644 (eval "$lt_compile" 2>conftest.err
)
18646 cat conftest.err
>&5
18647 echo "$as_me:18647: \$? = $ac_status" >&5
18648 if (exit $ac_status) && test -s "$ac_outfile"; then
18649 # The compiler can only warn and ignore the option if not recognized
18650 # So say no if there are warnings
18651 if test ! -s conftest.err
; then
18652 lt_prog_compiler_pic_works_GCJ
=yes
18658 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18659 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
18661 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
18662 case $lt_prog_compiler_pic_GCJ in
18664 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18667 lt_prog_compiler_pic_GCJ
=
18668 lt_prog_compiler_can_build_shared_GCJ
=no
18673 # For platforms which do not support PIC, -DPIC is meaningless:
18675 lt_prog_compiler_pic_GCJ
=
18678 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18682 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18683 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18684 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18685 echo $ECHO_N "(cached) $ECHO_C" >&6
18687 lt_cv_prog_compiler_c_o_GCJ
=no
18688 $rm -r conftest
2>/dev
/null
18692 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18694 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
18695 # that will create temporary files in the current directory regardless of
18696 # the output directory. Thus, making CWD read-only will cause this test
18697 # to fail, enabling locking or at least warning the user not to do parallel
18701 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18702 # Insert the option either (1) after the last *FLAGS variable, or
18703 # (2) before a word containing "conftest.", or (3) at the end.
18704 # Note that $ac_compile itself does not contain backslashes and begins
18705 # with a dollar sign (not a hyphen), so the echo should work correctly.
18706 lt_compile
=`echo "$ac_compile" | $SED \
18707 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18709 -e 's:$: $lt_compiler_flag:'`
18710 (eval echo "\"\$as_me:18710: $lt_compile\"" >&5)
18711 (eval "$lt_compile" 2>out
/conftest.err
)
18713 cat out
/conftest.err
>&5
18714 echo "$as_me:18714: \$? = $ac_status" >&5
18715 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18717 # The compiler can only warn and ignore the option if not recognized
18718 # So say no if there are warnings
18719 if test ! -s out
/conftest.err
; then
18720 lt_cv_prog_compiler_c_o_GCJ
=yes
18724 $rm conftest
* out
/*
18731 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18732 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
18735 hard_links
="nottested"
18736 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18737 # do not overwrite the value of need_locks provided by the user
18738 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18739 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18742 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18744 ln conftest.a conftest.b
2>&5 || hard_links
=no
18745 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18746 echo "$as_me:$LINENO: result: $hard_links" >&5
18747 echo "${ECHO_T}$hard_links" >&6
18748 if test "$hard_links" = no
; then
18749 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18750 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18757 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18758 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18761 allow_undefined_flag_GCJ
=
18762 enable_shared_with_static_runtimes_GCJ
=no
18764 archive_expsym_cmds_GCJ
=
18765 old_archive_From_new_cmds_GCJ
=
18766 old_archive_from_expsyms_cmds_GCJ
=
18767 export_dynamic_flag_spec_GCJ
=
18768 whole_archive_flag_spec_GCJ
=
18769 thread_safe_flag_spec_GCJ
=
18770 hardcode_libdir_flag_spec_GCJ
=
18771 hardcode_libdir_flag_spec_ld_GCJ
=
18772 hardcode_libdir_separator_GCJ
=
18773 hardcode_direct_GCJ
=no
18774 hardcode_minus_L_GCJ
=no
18775 hardcode_shlibpath_var_GCJ
=unsupported
18776 link_all_deplibs_GCJ
=unknown
18777 hardcode_automatic_GCJ
=no
18779 module_expsym_cmds_GCJ
=
18780 always_export_symbols_GCJ
=no
18781 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18782 # include_expsyms should be a list of space-separated symbols to be *always*
18783 # included in the symbol list
18784 include_expsyms_GCJ
=
18785 # exclude_expsyms can be an extended regexp of symbols to exclude
18786 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18787 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18788 # as well as any symbol that contains `d'.
18789 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
18790 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18791 # platforms (ab)use it in PIC code, but their linkers get confused if
18792 # the symbol is explicitly referenced. Since portable code cannot
18793 # rely on this symbol name, it's probably fine to never include it in
18794 # preloaded symbol tables.
18795 extract_expsyms_cmds
=
18798 cygwin
* | mingw
* | pw32
*)
18799 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18800 # When not using gcc, we currently assume that we are using
18801 # Microsoft Visual C++.
18802 if test "$GCC" != yes; then
18812 if test "$with_gnu_ld" = yes; then
18813 # If archive_cmds runs LD, not CC, wlarc should be empty
18816 # See if GNU ld supports shared libraries.
18818 aix3
* | aix4
* | aix5
*)
18819 # On AIX/PPC, the GNU linker is very broken
18820 if test "$host_cpu" != ia64
; then
18824 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18825 *** to be unable to reliably create shared libraries on AIX.
18826 *** Therefore, libtool is disabling shared libraries support. If you
18827 *** really care for shared libraries, you may want to modify your PATH
18828 *** so that a non-GNU linker is found, and then restart.
18835 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)'
18836 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18837 hardcode_minus_L_GCJ
=yes
18839 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18840 # that the semantics of dynamic libraries on AmigaOS, at least up
18841 # to version 4, is to share data among multiple programs linked
18842 # with the same dynamic library. Since this doesn't match the
18843 # behavior of shared libraries on other platforms, we can't use
18849 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18850 allow_undefined_flag_GCJ
=unsupported
18851 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18852 # support --undefined. This deserves some investigation. FIXME
18853 archive_cmds_GCJ
='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18859 cygwin
* | mingw
* | pw32
*)
18860 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18861 # as there is no search path for DLLs.
18862 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18863 allow_undefined_flag_GCJ
=no
18864 always_export_symbols_GCJ
=no
18865 enable_shared_with_static_runtimes_GCJ
=yes
18866 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18868 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
18869 archive_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18870 # If the export-symbols file already is a .def file (1st line
18871 # is EXPORTS), use it as is; otherwise, prepend...
18872 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18873 cp $export_symbols $output_objdir/$soname.def;
18875 echo EXPORTS > $output_objdir/$soname.def;
18876 cat $export_symbols >> $output_objdir/$soname.def;
18878 $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18885 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18886 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18889 archive_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18890 archive_expsym_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18895 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18899 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18900 *** create shared libraries on Solaris systems. Therefore, libtool
18901 *** is disabling shared libraries support. We urge you to upgrade GNU
18902 *** binutils to release 2.9.1 or newer. Another option is to modify
18903 *** your PATH or compiler configuration so that the native linker is
18904 *** used, and then restart.
18907 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18908 archive_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18909 archive_expsym_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18916 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18918 hardcode_direct_GCJ
=yes
18919 hardcode_shlibpath_var_GCJ
=no
18923 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18924 archive_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18925 archive_expsym_cmds_GCJ
='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18932 if test "$ld_shlibs_GCJ" = yes; then
18933 runpath_var
=LD_RUN_PATH
18934 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18935 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18936 # ancient GNU ld didn't support --whole-archive et. al.
18937 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
18938 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18940 whole_archive_flag_spec_GCJ
=
18944 # PORTME fill in a description of your system's linker (not GNU ld)
18947 allow_undefined_flag_GCJ
=unsupported
18948 always_export_symbols_GCJ
=yes
18949 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'
18950 # Note: this linker hardcodes the directories in LIBPATH if there
18951 # are no directories specified by -L.
18952 hardcode_minus_L_GCJ
=yes
18953 if test "$GCC" = yes && test -z "$link_static_flag"; then
18954 # Neither direct hardcoding nor static linking is supported with a
18956 hardcode_direct_GCJ
=unsupported
18961 if test "$host_cpu" = ia64
; then
18962 # On IA64, the linker does run time linking by default, so we don't
18963 # have to do anything special.
18964 aix_use_runtimelinking
=no
18965 exp_sym_flag
='-Bexport'
18968 # If we're using GNU nm, then we don't want the "-C" option.
18969 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18970 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18971 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'
18973 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'
18976 # KDE requires run time linking. Make it the default.
18977 aix_use_runtimelinking
=yes
18978 exp_sym_flag
='-bexport'
18979 no_entry_flag
='-bnoentry'
18982 # When large executables or shared objects are built, AIX ld can
18983 # have problems creating the table of contents. If linking a library
18984 # or program results in "error TOC overflow" add -mminimal-toc to
18985 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18986 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18988 archive_cmds_GCJ
=''
18989 hardcode_direct_GCJ
=yes
18990 hardcode_libdir_separator_GCJ
=':'
18991 link_all_deplibs_GCJ
=yes
18993 if test "$GCC" = yes; then
18994 case $host_os in aix4.012|aix4.012.
*)
18995 # We only want to do this on AIX 4.2 and lower, the check
18996 # below for broken collect2 doesn't work under 4.3+
18997 collect2name
=`${CC} -print-prog-name=collect2`
18998 if test -f "$collect2name" && \
18999 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19001 # We have reworked collect2
19002 hardcode_direct_GCJ
=yes
19004 # We have old collect2
19005 hardcode_direct_GCJ
=unsupported
19006 # It fails to find uninstalled libraries when the uninstalled
19007 # path is not listed in the libpath. Setting hardcode_minus_L
19008 # to unsupported forces relinking
19009 hardcode_minus_L_GCJ
=yes
19010 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19011 hardcode_libdir_separator_GCJ
=
19014 shared_flag
='-shared'
19017 if test "$host_cpu" = ia64
; then
19018 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19019 # chokes on -Wl,-G. The following line is correct:
19022 if test "$aix_use_runtimelinking" = yes; then
19023 shared_flag
='-qmkshrobj ${wl}-G'
19025 shared_flag
='-qmkshrobj'
19030 # Let the compiler handle the export list.
19031 always_export_symbols_GCJ
=no
19032 if test "$aix_use_runtimelinking" = yes; then
19033 # Warning - without using the other runtime loading flags (-brtl),
19034 # -berok will link without error, but may produce a broken library.
19035 allow_undefined_flag_GCJ
='-berok'
19036 # Determine the default libpath from the value encoded in an empty executable.
19037 cat >conftest.
$ac_ext <<_ACEOF
19040 cat confdefs.h
>>conftest.
$ac_ext
19041 cat >>conftest.
$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19052 rm -f conftest.
$ac_objext conftest
$ac_exeext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19054 (eval $ac_link) 2>conftest.er1
19056 grep -v '^ *+' conftest.er1
>conftest.err
19058 cat conftest.err
>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try
='test -z "$ac_c_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try
='test -s conftest$ac_exeext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19075 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19077 # Check for a 64-bit object if we didn't find anything.
19078 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; }
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.
$ac_ext >&5
19085 rm -f conftest.err conftest.
$ac_objext \
19086 conftest
$ac_exeext conftest.
$ac_ext
19087 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19089 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
19090 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"
19091 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"
19093 if test "$host_cpu" = ia64; then
19094 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
19095 allow_undefined_flag_GCJ="-z nodefs"
19096 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"
19098 # Determine the default libpath from the value encoded in an empty executable.
19099 cat >conftest.$ac_ext <<_ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19114 rm -f conftest.$ac_objext conftest$ac_exeext
19115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19116 (eval $ac_link) 2>conftest.er1
19118 grep -v '^ *+' conftest.er1 >conftest.err
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try='test -z "$ac_c_werror_flag"
19124 || test ! -s conftest.err'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19129 (exit $ac_status); }; } &&
19130 { ac_try='test -s conftest$ac_exeext'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19135 (exit $ac_status); }; }; then
19137 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19139 # Check for a 64-bit object if we didn't find anything.
19140 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; }
19143 echo "$as_me: failed program was
:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19147 rm -f conftest.err conftest.$ac_objext \
19148 conftest$ac_exeext conftest.$ac_ext
19149 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
19151 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19152 # Warning - without using the other run time loading flags,
19153 # -berok will link without error, but may produce a broken library.
19154 no_undefined_flag_GCJ=' ${wl}-bernotok'
19155 allow_undefined_flag_GCJ=' ${wl}-berok'
19156 # -bexpall does not export symbols beginning with underscore (_)
19157 always_export_symbols_GCJ=yes
19158 # Exported symbols can be pulled into shared objects from archives
19159 whole_archive_flag_spec_GCJ=' '
19160 archive_cmds_need_lc_GCJ=yes
19161 # This is similar to how AIX traditionally builds it's shared libraries.
19162 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'
19168 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)'
19169 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19170 hardcode_minus_L_GCJ
=yes
19171 # see comment about different semantics on the GNU ld section
19176 export_dynamic_flag_spec_GCJ
=-rdynamic
19179 cygwin
* | mingw
* | pw32
*)
19180 # When not using gcc, we currently assume that we are using
19181 # Microsoft Visual C++.
19182 # hardcode_libdir_flag_spec is actually meaningless, as there is
19183 # no search path for DLLs.
19184 hardcode_libdir_flag_spec_GCJ
=' '
19185 allow_undefined_flag_GCJ
=no
19186 # Tell ltmain to make .lib files, not .a files.
19188 # Tell ltmain to make .dll files, not .so files.
19190 # FIXME: Setting linknames here is a bad hack.
19191 archive_cmds_GCJ
='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19192 # The linker will automatically build a .lib file if we build a DLL.
19193 old_archive_From_new_cmds_GCJ
='true'
19194 # FIXME: Should let the user specify the lib program.
19195 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
19196 fix_srcfile_path
='`cygpath -w "$srcfile"`'
19197 enable_shared_with_static_runtimes_GCJ
=yes
19200 darwin
* | rhapsody
*)
19201 if test "$GXX" = yes ; then
19202 archive_cmds_need_lc_GCJ
=no
19204 rhapsody
* | darwin1.
[012])
19205 allow_undefined_flag_GCJ
='-Wl,-undefined -Wl,suppress'
19208 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19209 allow_undefined_flag_GCJ
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19211 case ${MACOSX_DEPLOYMENT_TARGET} in
19213 allow_undefined_flag_GCJ
='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19216 allow_undefined_flag_GCJ
='-Wl,-undefined -Wl,dynamic_lookup'
19222 lt_int_apple_cc_single_mod
=no
19223 output_verbose_link_cmd
='echo'
19224 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
19225 lt_int_apple_cc_single_mod
=yes
19227 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
19228 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19230 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'
19232 module_cmds_GCJ
='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19233 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19234 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
19235 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}'
19237 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}'
19239 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}'
19240 hardcode_direct_GCJ
=no
19241 hardcode_automatic_GCJ
=yes
19242 hardcode_shlibpath_var_GCJ
=unsupported
19243 whole_archive_flag_spec_GCJ
='-all_load $convenience'
19244 link_all_deplibs_GCJ
=yes
19251 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19252 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19253 hardcode_shlibpath_var_GCJ
=no
19260 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19261 # support. Future versions do this automatically, but an explicit c++rt0.o
19262 # does not break anything, and helps significantly (at the cost of a little
19265 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19266 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19267 hardcode_direct_GCJ
=yes
19268 hardcode_shlibpath_var_GCJ
=no
19271 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19273 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19274 hardcode_direct_GCJ
=yes
19275 hardcode_minus_L_GCJ
=yes
19276 hardcode_shlibpath_var_GCJ
=no
19279 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19280 freebsd
* | kfreebsd
*-gnu)
19281 archive_cmds_GCJ
='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19282 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19283 hardcode_direct_GCJ
=yes
19284 hardcode_shlibpath_var_GCJ
=no
19288 if test "$GCC" = yes; then
19289 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'
19291 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'
19293 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19294 hardcode_libdir_separator_GCJ
=:
19295 hardcode_direct_GCJ
=yes
19297 # hardcode_minus_L: Not really in the search PATH,
19298 # but as the default location of the library.
19299 hardcode_minus_L_GCJ
=yes
19300 export_dynamic_flag_spec_GCJ
='${wl}-E'
19304 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19305 case "$host_cpu" in
19307 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19310 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
19314 case "$host_cpu" in
19316 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19319 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19323 if test "$with_gnu_ld" = no
; then
19324 case "$host_cpu" in
19326 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19327 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19328 hardcode_libdir_separator_GCJ
=:
19329 hardcode_direct_GCJ
=no
19330 hardcode_shlibpath_var_GCJ
=no
19333 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19334 hardcode_direct_GCJ
=no
19335 hardcode_shlibpath_var_GCJ
=no
19337 # hardcode_minus_L: Not really in the search PATH,
19338 # but as the default location of the library.
19339 hardcode_minus_L_GCJ
=yes
19342 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19343 hardcode_libdir_separator_GCJ
=:
19344 hardcode_direct_GCJ
=yes
19345 export_dynamic_flag_spec_GCJ
='${wl}-E'
19347 # hardcode_minus_L: Not really in the search PATH,
19348 # but as the default location of the library.
19349 hardcode_minus_L_GCJ
=yes
19355 irix5
* | irix6
* | nonstopux
*)
19356 if test "$GCC" = yes; then
19357 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'
19359 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'
19360 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19362 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19363 hardcode_libdir_separator_GCJ
=:
19364 link_all_deplibs_GCJ
=yes
19368 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19369 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19371 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19373 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19374 hardcode_direct_GCJ
=yes
19375 hardcode_shlibpath_var_GCJ
=no
19379 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19380 hardcode_direct_GCJ
=yes
19381 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19382 hardcode_libdir_separator_GCJ
=:
19383 hardcode_shlibpath_var_GCJ
=no
19387 hardcode_direct_GCJ
=yes
19388 hardcode_shlibpath_var_GCJ
=no
19389 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19390 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
19391 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19392 export_dynamic_flag_spec_GCJ
='${wl}-E'
19395 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19396 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19397 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19400 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
19401 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19408 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19409 hardcode_minus_L_GCJ
=yes
19410 allow_undefined_flag_GCJ
=unsupported
19411 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'
19412 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19416 if test "$GCC" = yes; then
19417 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19418 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'
19420 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19421 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'
19423 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19424 hardcode_libdir_separator_GCJ
=:
19427 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19428 if test "$GCC" = yes; then
19429 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19430 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'
19431 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19433 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19434 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'
19435 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~
19436 $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'
19438 # Both c and cxx compiler support -rpath directly
19439 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19441 hardcode_libdir_separator_GCJ
=:
19445 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19446 hardcode_shlibpath_var_GCJ
=no
19447 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19448 runpath_var
=LD_RUN_PATH
19449 hardcode_runpath_var
=yes
19453 no_undefined_flag_GCJ
=' -z text'
19454 if test "$GCC" = yes; then
19455 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19456 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19457 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
19459 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19460 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19461 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19463 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19464 hardcode_shlibpath_var_GCJ
=no
19466 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19467 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
19468 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
19470 link_all_deplibs_GCJ
=yes
19474 if test "x$host_vendor" = xsequent
; then
19475 # Use $CC to link under sequent, because it throws in some extra .o
19476 # files that make .init and .fini sections work.
19477 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
19479 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19481 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19482 hardcode_direct_GCJ
=yes
19483 hardcode_minus_L_GCJ
=yes
19484 hardcode_shlibpath_var_GCJ
=no
19488 case $host_vendor in
19490 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19491 hardcode_direct_GCJ
=yes # is this really true???
19494 ## LD is ld it makes a PLAMLIB
19495 ## CC just makes a GrossModule.
19496 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19497 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19498 hardcode_direct_GCJ
=no
19501 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19502 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19505 runpath_var
='LD_RUN_PATH'
19506 hardcode_shlibpath_var_GCJ
=no
19510 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19511 hardcode_shlibpath_var_GCJ
=no
19512 export_dynamic_flag_spec_GCJ
='-Bexport'
19516 if test -d /usr
/nec
; then
19517 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19518 hardcode_shlibpath_var_GCJ
=no
19519 runpath_var
=LD_RUN_PATH
19520 hardcode_runpath_var
=yes
19526 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19527 hardcode_direct_GCJ
=yes
19528 hardcode_minus_L_GCJ
=no
19529 hardcode_shlibpath_var_GCJ
=no
19530 hardcode_runpath_var
=yes
19531 runpath_var
=LD_RUN_PATH
19534 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
19535 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
19536 if test "$GCC" = yes; then
19537 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19539 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19541 runpath_var
='LD_RUN_PATH'
19542 hardcode_shlibpath_var_GCJ
=no
19546 no_undefined_flag_GCJ
=' -z text'
19547 # $CC -shared without GNU ld will not create a library from C++
19548 # object files and a static libstdc++, better avoid it by now
19549 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19550 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19551 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19552 hardcode_libdir_flag_spec_GCJ
=
19553 hardcode_shlibpath_var_GCJ
=no
19554 runpath_var
='LD_RUN_PATH'
19558 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19559 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19560 hardcode_shlibpath_var_GCJ
=no
19569 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19570 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
19571 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19573 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19574 if test "$GCC" = yes; then
19575 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19579 # Do we need to explicitly link libc?
19581 case "x$archive_cmds_need_lc_GCJ" in
19583 # Assume -lc should be added
19584 archive_cmds_need_lc_GCJ
=yes
19586 if test "$enable_shared" = yes && test "$GCC" = yes; then
19587 case $archive_cmds_GCJ in
19589 # FIXME: we may have to deal with multi-command sequences.
19592 # Test whether the compiler implicitly links with -lc since on some
19593 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19594 # to ld, don't add -lc before -lgcc.
19595 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19596 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19598 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19601 (eval $ac_compile) 2>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } 2>conftest.err
; then
19607 libobjs
=conftest.
$ac_objext
19609 wl
=$lt_prog_compiler_wl_GCJ
19615 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19616 allow_undefined_flag_GCJ
=
19617 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19618 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }
19623 archive_cmds_need_lc_GCJ
=no
19625 archive_cmds_need_lc_GCJ
=yes
19627 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19629 cat conftest.err
1>&5
19632 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19633 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
19640 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19641 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19642 library_names_spec
=
19643 libname_spec
='lib$name'
19647 postuninstall_cmds
=
19651 shlibpath_overrides_runpath
=unknown
19653 dynamic_linker
="$host_os ld.so"
19654 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19655 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19656 need_lib_prefix
=unknown
19657 hardcode_into_libs
=no
19659 # when you set need_version to no, make sure it does not cause -set_version
19660 # flags to be left without arguments
19661 need_version
=unknown
19666 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19667 shlibpath_var
=LIBPATH
19669 # AIX 3 has no versioning support, so we append a major version to the name.
19670 soname_spec
='${libname}${release}${shared_ext}$major'
19677 hardcode_into_libs
=yes
19678 if test "$host_cpu" = ia64
; then
19679 # AIX 5 supports IA64
19680 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19681 shlibpath_var
=LD_LIBRARY_PATH
19683 # With GCC up to 2.95.x, collect2 would create an import file
19684 # for dependence libraries. The import file would start with
19685 # the line `#! .'. This would cause the generated library to
19686 # depend on `.', always an invalid library. This was fixed in
19687 # development snapshots of GCC prior to 3.0.
19689 aix4 | aix4.
[01] | aix4.
[01].
*)
19690 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19692 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19695 can_build_shared
=no
19699 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19700 # soname into executable. Probably we can add versioning support to
19701 # collect2, so additional links can be useful in future.
19702 if test "$aix_use_runtimelinking" = yes; then
19703 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19704 # instead of lib<name>.a to let people know that these are not
19705 # typical AIX shared libraries.
19706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19708 # We preserve .a as extension for shared libraries through AIX4.2
19709 # and later when we are not doing run time linking.
19710 library_names_spec
='${libname}${release}.a $libname.a'
19711 soname_spec
='${libname}${release}${shared_ext}$major'
19713 shlibpath_var
=LIBPATH
19718 library_names_spec
='$libname.ixlibrary $libname.a'
19719 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19720 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'
19724 library_names_spec
='${libname}${shared_ext}'
19725 dynamic_linker
="$host_os ld.so"
19726 shlibpath_var
=LIBRARY_PATH
19732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19733 soname_spec
='${libname}${release}${shared_ext}$major'
19734 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19735 shlibpath_var
=LD_LIBRARY_PATH
19736 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19737 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19738 # the default ld.so.conf also contains /usr/contrib/lib and
19739 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19740 # libtool to hard-code these into programs
19743 cygwin
* | mingw
* | pw32
*)
19744 version_type
=windows
19749 case $GCC,$host_os in
19750 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19751 library_names_spec
='$libname.dll.a'
19752 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19753 postinstall_cmds
='base_file=`basename \${file}`~
19754 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19755 dldir=$destdir/`dirname \$dlpath`~
19756 test -d \$dldir || mkdir -p \$dldir~
19757 $install_prog $dir/$dlname \$dldir/$dlname'
19758 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19759 dlpath=$dir/\$dldll~
19761 shlibpath_overrides_runpath
=yes
19765 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19766 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19767 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19770 # MinGW DLLs use traditional 'lib' prefix
19771 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19772 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19773 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19774 # It is most probably a Windows format PATH printed by
19775 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19776 # path with ; separators, and with drive letters. We can handle the
19777 # drive letters (cygwin fileutils understands them), so leave them,
19778 # especially as we might pass files found there to a mingw objdump,
19779 # which wouldn't understand a cygwinified path. Ahh.
19780 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19782 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19786 # pw32 DLLs use 'pw' prefix rather than 'lib'
19787 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
19793 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19796 dynamic_linker
='Win32 ld.exe'
19797 # FIXME: first we should search . and the directory the executable is in
19801 darwin
* | rhapsody
*)
19802 dynamic_linker
="$host_os dyld"
19803 version_type
=darwin
19806 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19807 soname_spec
='${libname}${release}${major}$shared_ext'
19808 shlibpath_overrides_runpath
=yes
19809 shlibpath_var
=DYLD_LIBRARY_PATH
19810 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
19811 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19812 if test "$GCC" = yes; then
19813 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"`
19815 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19817 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19825 soname_spec
='${libname}${release}${shared_ext}$major'
19826 shlibpath_var
=LD_LIBRARY_PATH
19837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19838 soname_spec
='${libname}${release}${shared_ext}$major'
19839 shlibpath_var
=LD_LIBRARY_PATH
19840 shlibpath_overrides_runpath
=no
19841 hardcode_into_libs
=yes
19842 dynamic_linker
='GNU ld.so'
19846 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
19847 version_type
=freebsd-
$objformat
19848 case $version_type in
19850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19855 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19859 shlibpath_var
=LD_LIBRARY_PATH
19862 shlibpath_overrides_runpath
=yes
19864 freebsd3.01
* | freebsdelf3.01
*)
19865 shlibpath_overrides_runpath
=yes
19866 hardcode_into_libs
=yes
19869 shlibpath_overrides_runpath
=no
19870 hardcode_into_libs
=yes
19879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19880 soname_spec
='${libname}${release}${shared_ext}$major'
19881 shlibpath_var
=LD_LIBRARY_PATH
19882 hardcode_into_libs
=yes
19885 hpux9
* | hpux10
* | hpux11
*)
19886 # Give a soname corresponding to the major version so that dld.sl refuses to
19887 # link against other versions.
19891 case "$host_cpu" in
19894 hardcode_into_libs
=yes
19895 dynamic_linker
="$host_os dld.so"
19896 shlibpath_var
=LD_LIBRARY_PATH
19897 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19899 soname_spec
='${libname}${release}${shared_ext}$major'
19900 if test "X$HPUX_IA64_MODE" = X32
; then
19901 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19903 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19905 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19909 hardcode_into_libs
=yes
19910 dynamic_linker
="$host_os dld.sl"
19911 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19912 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19914 soname_spec
='${libname}${release}${shared_ext}$major'
19915 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19916 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19920 dynamic_linker
="$host_os dld.sl"
19921 shlibpath_var
=SHLIB_PATH
19922 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19924 soname_spec
='${libname}${release}${shared_ext}$major'
19927 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19928 postinstall_cmds
='chmod 555 $lib'
19931 irix5
* | irix6
* | nonstopux
*)
19933 nonstopux
*) version_type
=nonstopux
;;
19935 if test "$lt_cv_prog_gnu_ld" = yes; then
19943 soname_spec
='${libname}${release}${shared_ext}$major'
19944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19946 irix5
* | nonstopux
*)
19947 libsuff
= shlibsuff
=
19950 case $LD in # libtool.m4 will add one of these switches to LD
19951 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19952 libsuff
= shlibsuff
= libmagic
=32-bit;;
19953 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19954 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19955 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19956 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19957 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19961 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19962 shlibpath_overrides_runpath
=no
19963 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19964 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19965 hardcode_into_libs
=yes
19968 # No shared lib support for Linux oldld, aout, or coff.
19969 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19973 # This must be Linux ELF.
19978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19979 soname_spec
='${libname}${release}${shared_ext}$major'
19980 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19982 if test "x$LINUX_64_MODE" = x64
; then
19983 # Some platforms are per default 64-bit, so there's no /lib64
19984 if test -d /lib64
; then
19988 shlibpath_var
=LD_LIBRARY_PATH
19989 shlibpath_overrides_runpath
=no
19990 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff}"
19991 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19992 # This implies no fast_install, which is unacceptable.
19993 # Some rework will be needed to allow for fast_install
19994 # before this can be enabled.
19995 hardcode_into_libs
=yes
19997 # We used to test for /lib/ld.so.1 and disable shared libraries on
19998 # powerpc, because MkLinux only supported shared libraries with the
19999 # GNU dynamic linker. Since this was broken with cross compilers,
20000 # most powerpc-linux boxes support dynamic linking these days and
20001 # people can always --disable-shared, the test was removed, and we
20002 # assume the GNU/Linux dynamic linker is in use.
20003 dynamic_linker
='GNU/Linux ld.so'
20010 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20013 dynamic_linker
='NetBSD (a.out) ld.so'
20015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20016 soname_spec
='${libname}${release}${shared_ext}$major'
20017 dynamic_linker
='NetBSD ld.elf_so'
20019 shlibpath_var
=LD_LIBRARY_PATH
20020 shlibpath_overrides_runpath
=yes
20021 hardcode_into_libs
=yes
20026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20027 shlibpath_var
=LD_LIBRARY_PATH
20028 shlibpath_overrides_runpath
=yes
20035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20036 soname_spec
='${libname}${release}${shared_ext}$major'
20037 shlibpath_var
=LD_LIBRARY_PATH
20038 shlibpath_overrides_runpath
=yes
20045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20047 shlibpath_var
=LD_LIBRARY_PATH
20048 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20050 openbsd2.
[89] | openbsd2.
[89].
*)
20051 shlibpath_overrides_runpath
=no
20054 shlibpath_overrides_runpath
=yes
20058 shlibpath_overrides_runpath
=yes
20063 libname_spec
='$name'
20066 library_names_spec
='$libname${shared_ext} $libname.a'
20067 dynamic_linker
='OS/2 ld.exe'
20068 shlibpath_var
=LIBPATH
20071 osf3
* | osf4
* | osf5
*)
20075 soname_spec
='${libname}${release}${shared_ext}$major'
20076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20077 shlibpath_var
=LD_LIBRARY_PATH
20078 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20079 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20084 soname_spec
='${libname}${release}${shared_ext}$major'
20085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20086 shlibpath_var
=LD_LIBRARY_PATH
20093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20094 soname_spec
='${libname}${release}${shared_ext}$major'
20095 shlibpath_var
=LD_LIBRARY_PATH
20096 shlibpath_overrides_runpath
=yes
20097 hardcode_into_libs
=yes
20098 # ldd complains unless libraries are executable
20099 postinstall_cmds
='chmod +x $lib'
20104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20105 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20106 shlibpath_var
=LD_LIBRARY_PATH
20107 shlibpath_overrides_runpath
=yes
20108 if test "$with_gnu_ld" = yes; then
20114 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
20116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20117 soname_spec
='${libname}${release}${shared_ext}$major'
20118 shlibpath_var
=LD_LIBRARY_PATH
20119 case $host_vendor in
20121 shlibpath_overrides_runpath
=no
20123 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20124 runpath_var
=LD_RUN_PATH
20132 shlibpath_overrides_runpath
=no
20133 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20139 if test -d /usr
/nec
;then
20141 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20142 soname_spec
='$libname${shared_ext}.$major'
20143 shlibpath_var
=LD_LIBRARY_PATH
20149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20150 soname_spec
='${libname}${release}${shared_ext}$major'
20151 shlibpath_var
=LD_LIBRARY_PATH
20158 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20159 echo "${ECHO_T}$dynamic_linker" >&6
20160 test "$dynamic_linker" = no
&& can_build_shared
=no
20162 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20163 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
20164 hardcode_action_GCJ
=
20165 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20166 test -n "$runpath_var GCJ" || \
20167 test "X$hardcode_automatic_GCJ"="Xyes" ; then
20169 # We can hardcode non-existant directories.
20170 if test "$hardcode_direct_GCJ" != no
&&
20171 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20172 # have to relink, otherwise we might link with an installed library
20173 # when we should be linking with a yet-to-be-installed one
20174 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20175 test "$hardcode_minus_L_GCJ" != no
; then
20176 # Linking always hardcodes the temporary library directory.
20177 hardcode_action_GCJ
=relink
20179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20180 hardcode_action_GCJ
=immediate
20183 # We cannot hardcode anything, or else we can only hardcode existing
20185 hardcode_action_GCJ
=unsupported
20187 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20188 echo "${ECHO_T}$hardcode_action_GCJ" >&6
20190 if test "$hardcode_action_GCJ" = relink
; then
20191 # Fast installation is not supported
20192 enable_fast_install
=no
20193 elif test "$shlibpath_overrides_runpath" = yes ||
20194 test "$enable_shared" = no
; then
20195 # Fast installation is not necessary
20196 enable_fast_install
=needless
20201 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20202 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
20203 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
20204 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
20205 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
20206 echo "$as_me:$LINENO: result: yes" >&5
20207 echo "${ECHO_T}yes" >&6
20209 # FIXME - insert some real tests, host_os isn't really good enough
20212 if test -n "$STRIP" ; then
20213 striplib
="$STRIP -x"
20214 echo "$as_me:$LINENO: result: yes" >&5
20215 echo "${ECHO_T}yes" >&6
20217 echo "$as_me:$LINENO: result: no" >&5
20218 echo "${ECHO_T}no" >&6
20222 echo "$as_me:$LINENO: result: no" >&5
20223 echo "${ECHO_T}no" >&6
20228 if test "x$enable_dlopen" != xyes
; then
20229 enable_dlopen
=unknown
20230 enable_dlopen_self
=unknown
20231 enable_dlopen_self_static
=unknown
20238 lt_cv_dlopen
="load_add_on"
20240 lt_cv_dlopen_self
=yes
20244 lt_cv_dlopen
="LoadLibrary"
20249 lt_cv_dlopen
="dlopen"
20254 # if libdl is installed we need to link against it
20255 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20256 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20257 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 ac_check_lib_save_LIBS
=$LIBS
20262 cat >conftest.
$ac_ext <<_ACEOF
20265 cat confdefs.h
>>conftest.
$ac_ext
20266 cat >>conftest.
$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20269 /* Override any gcc2 internal prototype to avoid an error. */
20273 /* We use char because int might match the return type of a gcc2
20274 builtin and then its argument prototype would still apply. */
20284 rm -f conftest.
$ac_objext conftest
$ac_exeext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20286 (eval $ac_link) 2>conftest.er1
20288 grep -v '^ *+' conftest.er1
>conftest.err
20290 cat conftest.err
>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try
='test -z "$ac_c_werror_flag"
20294 || test ! -s conftest.err'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try
='test -s conftest$ac_exeext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20306 ac_cv_lib_dl_dlopen
=yes
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.
$ac_ext >&5
20311 ac_cv_lib_dl_dlopen
=no
20313 rm -f conftest.err conftest.
$ac_objext \
20314 conftest
$ac_exeext conftest.
$ac_ext
20315 LIBS
=$ac_check_lib_save_LIBS
20317 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20318 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20319 if test $ac_cv_lib_dl_dlopen = yes; then
20320 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
20323 lt_cv_dlopen
="dyld"
20325 lt_cv_dlopen_self
=yes
20332 echo "$as_me:$LINENO: checking for shl_load" >&5
20333 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
20334 if test "${ac_cv_func_shl_load+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 cat >conftest.
$ac_ext <<_ACEOF
20340 cat confdefs.h
>>conftest.
$ac_ext
20341 cat >>conftest.
$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20343 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20345 #define shl_load innocuous_shl_load
20347 /* System header to define __stub macros and hopefully few prototypes,
20348 which can conflict with char shl_load (); below.
20349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20350 <limits.h> exists even on freestanding compilers. */
20353 # include <limits.h>
20355 # include <assert.h>
20360 /* Override any gcc2 internal prototype to avoid an error. */
20365 /* We use char because int might match the return type of a gcc2
20366 builtin and then its argument prototype would still apply. */
20368 /* The GNU C library defines this for functions which it implements
20369 to always fail with ENOSYS. Some functions are actually named
20370 something starting with __ and the normal name is an alias. */
20371 #if defined (__stub_shl_load) || defined (__stub___shl_load)
20374 char (*f) () = shl_load;
20383 return f != shl_load;
20388 rm -f conftest.
$ac_objext conftest
$ac_exeext
20389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20390 (eval $ac_link) 2>conftest.er1
20392 grep -v '^ *+' conftest.er1
>conftest.err
20394 cat conftest.err
>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } &&
20397 { ac_try
='test -z "$ac_c_werror_flag"
20398 || test ! -s conftest.err'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try
='test -s conftest$ac_exeext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 ac_cv_func_shl_load
=yes
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.
$ac_ext >&5
20415 ac_cv_func_shl_load
=no
20417 rm -f conftest.err conftest.
$ac_objext \
20418 conftest
$ac_exeext conftest.
$ac_ext
20420 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20421 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
20422 if test $ac_cv_func_shl_load = yes; then
20423 lt_cv_dlopen
="shl_load"
20425 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20426 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
20427 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 ac_check_lib_save_LIBS
=$LIBS
20432 cat >conftest.
$ac_ext <<_ACEOF
20435 cat confdefs.h
>>conftest.
$ac_ext
20436 cat >>conftest.
$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20439 /* Override any gcc2 internal prototype to avoid an error. */
20443 /* We use char because int might match the return type of a gcc2
20444 builtin and then its argument prototype would still apply. */
20454 rm -f conftest.
$ac_objext conftest
$ac_exeext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456 (eval $ac_link) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try
='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try
='test -s conftest$ac_exeext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_cv_lib_dld_shl_load
=yes
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_cv_lib_dld_shl_load
=no
20483 rm -f conftest.err conftest.
$ac_objext \
20484 conftest
$ac_exeext conftest.
$ac_ext
20485 LIBS
=$ac_check_lib_save_LIBS
20487 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20488 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
20489 if test $ac_cv_lib_dld_shl_load = yes; then
20490 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
20492 echo "$as_me:$LINENO: checking for dlopen" >&5
20493 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
20494 if test "${ac_cv_func_dlopen+set}" = set; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 cat >conftest.
$ac_ext <<_ACEOF
20500 cat confdefs.h
>>conftest.
$ac_ext
20501 cat >>conftest.
$ac_ext <<_ACEOF
20502 /* end confdefs.h. */
20503 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
20504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20505 #define dlopen innocuous_dlopen
20507 /* System header to define __stub macros and hopefully few prototypes,
20508 which can conflict with char dlopen (); below.
20509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20510 <limits.h> exists even on freestanding compilers. */
20513 # include <limits.h>
20515 # include <assert.h>
20520 /* Override any gcc2 internal prototype to avoid an error. */
20525 /* We use char because int might match the return type of a gcc2
20526 builtin and then its argument prototype would still apply. */
20528 /* The GNU C library defines this for functions which it implements
20529 to always fail with ENOSYS. Some functions are actually named
20530 something starting with __ and the normal name is an alias. */
20531 #if defined (__stub_dlopen) || defined (__stub___dlopen)
20534 char (*f) () = dlopen;
20543 return f != dlopen;
20548 rm -f conftest.
$ac_objext conftest
$ac_exeext
20549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20550 (eval $ac_link) 2>conftest.er1
20552 grep -v '^ *+' conftest.er1
>conftest.err
20554 cat conftest.err
>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } &&
20557 { ac_try
='test -z "$ac_c_werror_flag"
20558 || test ! -s conftest.err'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; } &&
20564 { ac_try
='test -s conftest$ac_exeext'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; }; then
20570 ac_cv_func_dlopen
=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.
$ac_ext >&5
20575 ac_cv_func_dlopen
=no
20577 rm -f conftest.err conftest.
$ac_objext \
20578 conftest
$ac_exeext conftest.
$ac_ext
20580 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
20581 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
20582 if test $ac_cv_func_dlopen = yes; then
20583 lt_cv_dlopen
="dlopen"
20585 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20586 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20587 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 ac_check_lib_save_LIBS
=$LIBS
20592 cat >conftest.
$ac_ext <<_ACEOF
20595 cat confdefs.h
>>conftest.
$ac_ext
20596 cat >>conftest.
$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20599 /* Override any gcc2 internal prototype to avoid an error. */
20603 /* We use char because int might match the return type of a gcc2
20604 builtin and then its argument prototype would still apply. */
20614 rm -f conftest.
$ac_objext conftest
$ac_exeext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20616 (eval $ac_link) 2>conftest.er1
20618 grep -v '^ *+' conftest.er1
>conftest.err
20620 cat conftest.err
>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try
='test -z "$ac_c_werror_flag"
20624 || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try
='test -s conftest$ac_exeext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_cv_lib_dl_dlopen
=yes
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.
$ac_ext >&5
20641 ac_cv_lib_dl_dlopen
=no
20643 rm -f conftest.err conftest.
$ac_objext \
20644 conftest
$ac_exeext conftest.
$ac_ext
20645 LIBS
=$ac_check_lib_save_LIBS
20647 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20648 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20649 if test $ac_cv_lib_dl_dlopen = yes; then
20650 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
20652 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20653 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20654 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 ac_check_lib_save_LIBS
=$LIBS
20658 LIBS
="-lsvld $LIBS"
20659 cat >conftest.
$ac_ext <<_ACEOF
20662 cat confdefs.h
>>conftest.
$ac_ext
20663 cat >>conftest.
$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20666 /* Override any gcc2 internal prototype to avoid an error. */
20670 /* We use char because int might match the return type of a gcc2
20671 builtin and then its argument prototype would still apply. */
20681 rm -f conftest.
$ac_objext conftest
$ac_exeext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20683 (eval $ac_link) 2>conftest.er1
20685 grep -v '^ *+' conftest.er1
>conftest.err
20687 cat conftest.err
>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try
='test -z "$ac_c_werror_flag"
20691 || test ! -s conftest.err'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; } &&
20697 { ac_try
='test -s conftest$ac_exeext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_cv_lib_svld_dlopen
=yes
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.
$ac_ext >&5
20708 ac_cv_lib_svld_dlopen
=no
20710 rm -f conftest.err conftest.
$ac_objext \
20711 conftest
$ac_exeext conftest.
$ac_ext
20712 LIBS
=$ac_check_lib_save_LIBS
20714 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20715 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20716 if test $ac_cv_lib_svld_dlopen = yes; then
20717 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
20719 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20720 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20721 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20722 echo $ECHO_N "(cached) $ECHO_C" >&6
20724 ac_check_lib_save_LIBS
=$LIBS
20726 cat >conftest.
$ac_ext <<_ACEOF
20729 cat confdefs.h
>>conftest.
$ac_ext
20730 cat >>conftest.
$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20733 /* Override any gcc2 internal prototype to avoid an error. */
20737 /* We use char because int might match the return type of a gcc2
20738 builtin and then its argument prototype would still apply. */
20748 rm -f conftest.
$ac_objext conftest
$ac_exeext
20749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20750 (eval $ac_link) 2>conftest.er1
20752 grep -v '^ *+' conftest.er1
>conftest.err
20754 cat conftest.err
>&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); } &&
20757 { ac_try
='test -z "$ac_c_werror_flag"
20758 || test ! -s conftest.err'
20759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760 (eval $ac_try) 2>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; } &&
20764 { ac_try
='test -s conftest$ac_exeext'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; }; then
20770 ac_cv_lib_dld_dld_link
=yes
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.
$ac_ext >&5
20775 ac_cv_lib_dld_dld_link
=no
20777 rm -f conftest.err conftest.
$ac_objext \
20778 conftest
$ac_exeext conftest.
$ac_ext
20779 LIBS
=$ac_check_lib_save_LIBS
20781 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20782 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20783 if test $ac_cv_lib_dld_dld_link = yes; then
20784 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
20805 if test "x$lt_cv_dlopen" != xno
; then
20811 case $lt_cv_dlopen in
20813 save_CPPFLAGS
="$CPPFLAGS"
20814 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
20816 save_LDFLAGS
="$LDFLAGS"
20817 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
20820 LIBS
="$lt_cv_dlopen_libs $LIBS"
20822 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20823 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20824 if test "${lt_cv_dlopen_self+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 if test "$cross_compiling" = yes; then :
20828 lt_cv_dlopen_self
=cross
20830 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20831 lt_status
=$lt_dlunknown
20832 cat > conftest.
$ac_ext <<EOF
20833 #line 20833 "configure"
20834 #include "confdefs.h"
20843 # define LT_DLGLOBAL RTLD_GLOBAL
20846 # define LT_DLGLOBAL DL_GLOBAL
20848 # define LT_DLGLOBAL 0
20852 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20853 find out it does not work in some platform. */
20854 #ifndef LT_DLLAZY_OR_NOW
20856 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20859 # define LT_DLLAZY_OR_NOW DL_LAZY
20862 # define LT_DLLAZY_OR_NOW RTLD_NOW
20865 # define LT_DLLAZY_OR_NOW DL_NOW
20867 # define LT_DLLAZY_OR_NOW 0
20875 extern "C" void exit (int);
20878 void fnord() { int i=42;}
20881 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20882 int status = $lt_dlunknown;
20886 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20887 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20888 /* dlclose (self); */
20894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20895 (eval $ac_link) 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20899 (.
/conftest
; exit; ) 2>/dev
/null
20901 case x
$lt_status in
20902 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
20903 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
20904 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
20907 # compilation failed
20908 lt_cv_dlopen_self
=no
20915 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20916 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20918 if test "x$lt_cv_dlopen_self" = xyes
; then
20919 LDFLAGS
="$LDFLAGS $link_static_flag"
20920 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20921 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20922 if test "${lt_cv_dlopen_self_static+set}" = set; then
20923 echo $ECHO_N "(cached) $ECHO_C" >&6
20925 if test "$cross_compiling" = yes; then :
20926 lt_cv_dlopen_self_static
=cross
20928 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20929 lt_status
=$lt_dlunknown
20930 cat > conftest.
$ac_ext <<EOF
20931 #line 20931 "configure"
20932 #include "confdefs.h"
20941 # define LT_DLGLOBAL RTLD_GLOBAL
20944 # define LT_DLGLOBAL DL_GLOBAL
20946 # define LT_DLGLOBAL 0
20950 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20951 find out it does not work in some platform. */
20952 #ifndef LT_DLLAZY_OR_NOW
20954 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20957 # define LT_DLLAZY_OR_NOW DL_LAZY
20960 # define LT_DLLAZY_OR_NOW RTLD_NOW
20963 # define LT_DLLAZY_OR_NOW DL_NOW
20965 # define LT_DLLAZY_OR_NOW 0
20973 extern "C" void exit (int);
20976 void fnord() { int i=42;}
20979 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20980 int status = $lt_dlunknown;
20984 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20985 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20986 /* dlclose (self); */
20992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20993 (eval $ac_link) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20997 (.
/conftest
; exit; ) 2>/dev
/null
20999 case x
$lt_status in
21000 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
21001 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
21002 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
21005 # compilation failed
21006 lt_cv_dlopen_self_static
=no
21013 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21014 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
21017 CPPFLAGS
="$save_CPPFLAGS"
21018 LDFLAGS
="$save_LDFLAGS"
21023 case $lt_cv_dlopen_self in
21024 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
21025 *) enable_dlopen_self
=unknown
;;
21028 case $lt_cv_dlopen_self_static in
21029 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
21030 *) enable_dlopen_self_static
=unknown
;;
21035 # The else clause should only fire when bootstrapping the
21036 # libtool distribution, otherwise you forgot to ship ltmain.sh
21037 # with your package, and you will get complaints that there are
21038 # no rules to generate ltmain.sh.
21039 if test -f "$ltmain"; then
21040 # See if we are running on zsh, and set the options which allow our commands through
21041 # without removal of \ escapes.
21042 if test -n "${ZSH_VERSION+set}" ; then
21043 setopt NO_GLOB_SUBST
21045 # Now quote all the things that may contain metacharacters while being
21046 # careful not to overquote the AC_SUBSTed values. We take copies of the
21047 # variables and quote the copies for generation of the libtool script.
21048 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21049 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21050 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21051 deplibs_check_method reload_flag reload_cmds need_locks \
21052 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21053 lt_cv_sys_global_symbol_to_c_name_address \
21054 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21055 old_postinstall_cmds old_postuninstall_cmds \
21059 lt_prog_compiler_wl_GCJ \
21060 lt_prog_compiler_pic_GCJ \
21061 lt_prog_compiler_static_GCJ \
21062 lt_prog_compiler_no_builtin_flag_GCJ \
21063 export_dynamic_flag_spec_GCJ \
21064 thread_safe_flag_spec_GCJ \
21065 whole_archive_flag_spec_GCJ \
21066 enable_shared_with_static_runtimes_GCJ \
21067 old_archive_cmds_GCJ \
21068 old_archive_from_new_cmds_GCJ \
21069 predep_objects_GCJ \
21070 postdep_objects_GCJ \
21073 compiler_lib_search_path_GCJ \
21075 archive_expsym_cmds_GCJ \
21076 postinstall_cmds_GCJ \
21077 postuninstall_cmds_GCJ \
21078 old_archive_from_expsyms_cmds_GCJ \
21079 allow_undefined_flag_GCJ \
21080 no_undefined_flag_GCJ \
21081 export_symbols_cmds_GCJ \
21082 hardcode_libdir_flag_spec_GCJ \
21083 hardcode_libdir_flag_spec_ld_GCJ \
21084 hardcode_libdir_separator_GCJ \
21085 hardcode_automatic_GCJ \
21087 module_expsym_cmds_GCJ \
21088 lt_cv_prog_compiler_c_o_GCJ \
21089 exclude_expsyms_GCJ \
21090 include_expsyms_GCJ
; do
21093 old_archive_cmds_GCJ | \
21094 old_archive_from_new_cmds_GCJ | \
21095 archive_cmds_GCJ | \
21096 archive_expsym_cmds_GCJ | \
21097 module_cmds_GCJ | \
21098 module_expsym_cmds_GCJ | \
21099 old_archive_from_expsyms_cmds_GCJ | \
21100 export_symbols_cmds_GCJ | \
21101 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21102 postinstall_cmds | postuninstall_cmds | \
21103 old_postinstall_cmds | old_postuninstall_cmds | \
21104 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21105 # Double-quote double-evaled strings.
21106 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21109 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21115 *'\$0 --fallback-echo"')
21116 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21122 cat <<__EOF__ >> "$cfgfile"
21123 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21125 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21127 # Shell to use when invoking shell scripts.
21130 # Whether or not to build shared libraries.
21131 build_libtool_libs=$enable_shared
21133 # Whether or not to build static libraries.
21134 build_old_libs=$enable_static
21136 # Whether or not to add -lc for building shared libraries.
21137 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21139 # Whether or not to disallow shared libs when runtime libs are static
21140 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21142 # Whether or not to optimize for fast installation.
21143 fast_install=$enable_fast_install
21146 host_alias=$host_alias
21149 # An echo program that does not interpret backslashes.
21154 AR_FLAGS=$lt_AR_FLAGS
21159 # A language-specific compiler.
21160 CC=$lt_compiler_GCJ
21162 # Is the compiler the GNU C compiler?
21168 # The linker used to build libraries.
21171 # Whether we need hard or soft links.
21174 # A BSD-compatible nm program.
21177 # A symbol stripping program
21180 # Used to examine libraries when file_magic_cmd begins "file"
21181 MAGIC_CMD=$MAGIC_CMD
21183 # Used on cygwin: DLL creation program.
21186 # Used on cygwin: object dumper.
21189 # Used on cygwin: assembler.
21192 # The name of the directory that contains temporary libtool files.
21195 # How to create reloadable object files.
21196 reload_flag=$lt_reload_flag
21197 reload_cmds=$lt_reload_cmds
21199 # How to pass a linker flag through the compiler.
21200 wl=$lt_lt_prog_compiler_wl_GCJ
21202 # Object file suffix (normally "o").
21203 objext="$ac_objext"
21205 # Old archive suffix (normally "a").
21208 # Shared library suffix (normally ".so").
21211 # Executable file suffix (normally "").
21214 # Additional compiler flags for building library objects.
21215 pic_flag=$lt_lt_prog_compiler_pic_GCJ
21218 # What is the maximum length of a command?
21219 max_cmd_len=$lt_cv_sys_max_cmd_len
21221 # Does compiler simultaneously support -c and -o options?
21222 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21224 # Must we lock files when doing compilation ?
21225 need_locks=$lt_need_locks
21227 # Do we need the lib prefix for modules?
21228 need_lib_prefix=$need_lib_prefix
21230 # Do we need a version for libraries?
21231 need_version=$need_version
21233 # Whether dlopen is supported.
21234 dlopen_support=$enable_dlopen
21236 # Whether dlopen of programs is supported.
21237 dlopen_self=$enable_dlopen_self
21239 # Whether dlopen of statically linked programs is supported.
21240 dlopen_self_static=$enable_dlopen_self_static
21242 # Compiler flag to prevent dynamic linking.
21243 link_static_flag=$lt_lt_prog_compiler_static_GCJ
21245 # Compiler flag to turn off builtin functions.
21246 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21248 # Compiler flag to allow reflexive dlopens.
21249 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21251 # Compiler flag to generate shared objects directly from archives.
21252 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21254 # Compiler flag to generate thread-safe objects.
21255 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21257 # Library versioning type.
21258 version_type=$version_type
21260 # Format of library name prefix.
21261 libname_spec=$lt_libname_spec
21263 # List of archive names. First name is the real one, the rest are links.
21264 # The last name is the one that the linker finds with -lNAME.
21265 library_names_spec=$lt_library_names_spec
21267 # The coded name of the library, if different from the real name.
21268 soname_spec=$lt_soname_spec
21270 # Commands used to build and install an old-style archive.
21272 old_archive_cmds=$lt_old_archive_cmds_GCJ
21273 old_postinstall_cmds=$lt_old_postinstall_cmds
21274 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21276 # Create an old-style archive from a shared archive.
21277 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21279 # Create a temporary old-style archive to link instead of a shared archive.
21280 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21282 # Commands used to build and install a shared archive.
21283 archive_cmds=$lt_archive_cmds_GCJ
21284 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21285 postinstall_cmds=$lt_postinstall_cmds
21286 postuninstall_cmds=$lt_postuninstall_cmds
21288 # Commands used to build a loadable module (assumed same as above if empty)
21289 module_cmds=$lt_module_cmds_GCJ
21290 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21292 # Commands to strip libraries.
21293 old_striplib=$lt_old_striplib
21294 striplib=$lt_striplib
21296 # Dependencies to place before the objects being linked to create a
21298 predep_objects=$lt_predep_objects_GCJ
21300 # Dependencies to place after the objects being linked to create a
21302 postdep_objects=$lt_postdep_objects_GCJ
21304 # Dependencies to place before the objects being linked to create a
21306 predeps=$lt_predeps_GCJ
21308 # Dependencies to place after the objects being linked to create a
21310 postdeps=$lt_postdeps_GCJ
21312 # The library search path used internally by the compiler when linking
21313 # a shared library.
21314 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21316 # Method to check whether dependent libraries are shared objects.
21317 deplibs_check_method=$lt_deplibs_check_method
21319 # Command to use when deplibs_check_method == file_magic.
21320 file_magic_cmd=$lt_file_magic_cmd
21322 # Flag that allows shared libraries with undefined symbols to be built.
21323 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21325 # Flag that forces no undefined symbols.
21326 no_undefined_flag=$lt_no_undefined_flag_GCJ
21328 # Commands used to finish a libtool library installation in a directory.
21329 finish_cmds=$lt_finish_cmds
21331 # Same as above, but a single script fragment to be evaled but not shown.
21332 finish_eval=$lt_finish_eval
21334 # Take the output of nm and produce a listing of raw symbols and C names.
21335 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21337 # Transform the output of nm in a proper C declaration
21338 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21340 # Transform the output of nm in a C name address pair
21341 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21343 # This is the shared library runtime path variable.
21344 runpath_var=$runpath_var
21346 # This is the shared library path variable.
21347 shlibpath_var=$shlibpath_var
21349 # Is shlibpath searched before the hard-coded library search path?
21350 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21352 # How to hardcode a shared library path into an executable.
21353 hardcode_action=$hardcode_action_GCJ
21355 # Whether we should hardcode library paths into libraries.
21356 hardcode_into_libs=$hardcode_into_libs
21358 # Flag to hardcode \$libdir into a binary during linking.
21359 # This must work even if \$libdir does not exist.
21360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21362 # If ld is used when linking, flag to hardcode \$libdir into
21363 # a binary during linking. This must work even if \$libdir does
21365 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21367 # Whether we need a single -rpath flag with a separated argument.
21368 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21370 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21371 # resulting binary.
21372 hardcode_direct=$hardcode_direct_GCJ
21374 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21375 # resulting binary.
21376 hardcode_minus_L=$hardcode_minus_L_GCJ
21378 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21379 # the resulting binary.
21380 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21382 # Set to yes if building a shared library automatically hardcodes DIR into the library
21383 # and all subsequent libraries and executables linked against it.
21384 hardcode_automatic=$hardcode_automatic_GCJ
21386 # Variables whose values should be saved in libtool wrapper scripts and
21387 # restored at relink time.
21388 variables_saved_for_relink="$variables_saved_for_relink"
21390 # Whether libtool must link a program against all its dependency libraries.
21391 link_all_deplibs=$link_all_deplibs_GCJ
21393 # Compile-time system search path for libraries
21394 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21396 # Run-time system search path for libraries
21397 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21399 # Fix the shell variable \$srcfile for the compiler.
21400 fix_srcfile_path="$fix_srcfile_path_GCJ"
21402 # Set to yes if exported symbols are required.
21403 always_export_symbols=$always_export_symbols_GCJ
21405 # The commands to list exported symbols.
21406 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21408 # The commands to extract the exported symbol list from a shared archive.
21409 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21411 # Symbols that should not be listed in the preloaded symbols.
21412 exclude_expsyms=$lt_exclude_expsyms_GCJ
21414 # Symbols that must always be exported.
21415 include_expsyms=$lt_include_expsyms_GCJ
21417 # ### END LIBTOOL TAG CONFIG: $tagname
21423 # If there is no Makefile yet, we rely on a make rule to execute
21424 # `config.status --recheck' to rerun these tests and create the
21425 # libtool script then.
21426 test -f Makefile
&& make "$ltmain"
21431 ac_cpp
='$CPP $CPPFLAGS'
21432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21447 # Source file extension for RC test sources.
21450 # Object file extension for compiled RC test sources.
21454 # Code to be used in simple compile tests
21455 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
21457 # Code to be used in simple link tests
21458 lt_simple_link_test_code
="$lt_simple_compile_test_code"
21460 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21462 # If no C compiler was specified, use CC.
21465 # Allow CC to be a program name with arguments.
21469 # Allow CC to be a program name with arguments.
21474 lt_cv_prog_compiler_c_o_RC
=yes
21476 # The else clause should only fire when bootstrapping the
21477 # libtool distribution, otherwise you forgot to ship ltmain.sh
21478 # with your package, and you will get complaints that there are
21479 # no rules to generate ltmain.sh.
21480 if test -f "$ltmain"; then
21481 # See if we are running on zsh, and set the options which allow our commands through
21482 # without removal of \ escapes.
21483 if test -n "${ZSH_VERSION+set}" ; then
21484 setopt NO_GLOB_SUBST
21486 # Now quote all the things that may contain metacharacters while being
21487 # careful not to overquote the AC_SUBSTed values. We take copies of the
21488 # variables and quote the copies for generation of the libtool script.
21489 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21490 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21491 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21492 deplibs_check_method reload_flag reload_cmds need_locks \
21493 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21494 lt_cv_sys_global_symbol_to_c_name_address \
21495 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21496 old_postinstall_cmds old_postuninstall_cmds \
21500 lt_prog_compiler_wl_RC \
21501 lt_prog_compiler_pic_RC \
21502 lt_prog_compiler_static_RC \
21503 lt_prog_compiler_no_builtin_flag_RC \
21504 export_dynamic_flag_spec_RC \
21505 thread_safe_flag_spec_RC \
21506 whole_archive_flag_spec_RC \
21507 enable_shared_with_static_runtimes_RC \
21508 old_archive_cmds_RC \
21509 old_archive_from_new_cmds_RC \
21510 predep_objects_RC \
21511 postdep_objects_RC \
21514 compiler_lib_search_path_RC \
21516 archive_expsym_cmds_RC \
21517 postinstall_cmds_RC \
21518 postuninstall_cmds_RC \
21519 old_archive_from_expsyms_cmds_RC \
21520 allow_undefined_flag_RC \
21521 no_undefined_flag_RC \
21522 export_symbols_cmds_RC \
21523 hardcode_libdir_flag_spec_RC \
21524 hardcode_libdir_flag_spec_ld_RC \
21525 hardcode_libdir_separator_RC \
21526 hardcode_automatic_RC \
21528 module_expsym_cmds_RC \
21529 lt_cv_prog_compiler_c_o_RC \
21530 exclude_expsyms_RC \
21531 include_expsyms_RC
; do
21534 old_archive_cmds_RC | \
21535 old_archive_from_new_cmds_RC | \
21536 archive_cmds_RC | \
21537 archive_expsym_cmds_RC | \
21539 module_expsym_cmds_RC | \
21540 old_archive_from_expsyms_cmds_RC | \
21541 export_symbols_cmds_RC | \
21542 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21543 postinstall_cmds | postuninstall_cmds | \
21544 old_postinstall_cmds | old_postuninstall_cmds | \
21545 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21546 # Double-quote double-evaled strings.
21547 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21550 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21556 *'\$0 --fallback-echo"')
21557 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21563 cat <<__EOF__ >> "$cfgfile"
21564 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21566 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21568 # Shell to use when invoking shell scripts.
21571 # Whether or not to build shared libraries.
21572 build_libtool_libs=$enable_shared
21574 # Whether or not to build static libraries.
21575 build_old_libs=$enable_static
21577 # Whether or not to add -lc for building shared libraries.
21578 build_libtool_need_lc=$archive_cmds_need_lc_RC
21580 # Whether or not to disallow shared libs when runtime libs are static
21581 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21583 # Whether or not to optimize for fast installation.
21584 fast_install=$enable_fast_install
21587 host_alias=$host_alias
21590 # An echo program that does not interpret backslashes.
21595 AR_FLAGS=$lt_AR_FLAGS
21600 # A language-specific compiler.
21603 # Is the compiler the GNU C compiler?
21609 # The linker used to build libraries.
21612 # Whether we need hard or soft links.
21615 # A BSD-compatible nm program.
21618 # A symbol stripping program
21621 # Used to examine libraries when file_magic_cmd begins "file"
21622 MAGIC_CMD=$MAGIC_CMD
21624 # Used on cygwin: DLL creation program.
21627 # Used on cygwin: object dumper.
21630 # Used on cygwin: assembler.
21633 # The name of the directory that contains temporary libtool files.
21636 # How to create reloadable object files.
21637 reload_flag=$lt_reload_flag
21638 reload_cmds=$lt_reload_cmds
21640 # How to pass a linker flag through the compiler.
21641 wl=$lt_lt_prog_compiler_wl_RC
21643 # Object file suffix (normally "o").
21644 objext="$ac_objext"
21646 # Old archive suffix (normally "a").
21649 # Shared library suffix (normally ".so").
21652 # Executable file suffix (normally "").
21655 # Additional compiler flags for building library objects.
21656 pic_flag=$lt_lt_prog_compiler_pic_RC
21659 # What is the maximum length of a command?
21660 max_cmd_len=$lt_cv_sys_max_cmd_len
21662 # Does compiler simultaneously support -c and -o options?
21663 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21665 # Must we lock files when doing compilation ?
21666 need_locks=$lt_need_locks
21668 # Do we need the lib prefix for modules?
21669 need_lib_prefix=$need_lib_prefix
21671 # Do we need a version for libraries?
21672 need_version=$need_version
21674 # Whether dlopen is supported.
21675 dlopen_support=$enable_dlopen
21677 # Whether dlopen of programs is supported.
21678 dlopen_self=$enable_dlopen_self
21680 # Whether dlopen of statically linked programs is supported.
21681 dlopen_self_static=$enable_dlopen_self_static
21683 # Compiler flag to prevent dynamic linking.
21684 link_static_flag=$lt_lt_prog_compiler_static_RC
21686 # Compiler flag to turn off builtin functions.
21687 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21689 # Compiler flag to allow reflexive dlopens.
21690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21692 # Compiler flag to generate shared objects directly from archives.
21693 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21695 # Compiler flag to generate thread-safe objects.
21696 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21698 # Library versioning type.
21699 version_type=$version_type
21701 # Format of library name prefix.
21702 libname_spec=$lt_libname_spec
21704 # List of archive names. First name is the real one, the rest are links.
21705 # The last name is the one that the linker finds with -lNAME.
21706 library_names_spec=$lt_library_names_spec
21708 # The coded name of the library, if different from the real name.
21709 soname_spec=$lt_soname_spec
21711 # Commands used to build and install an old-style archive.
21713 old_archive_cmds=$lt_old_archive_cmds_RC
21714 old_postinstall_cmds=$lt_old_postinstall_cmds
21715 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21717 # Create an old-style archive from a shared archive.
21718 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21720 # Create a temporary old-style archive to link instead of a shared archive.
21721 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21723 # Commands used to build and install a shared archive.
21724 archive_cmds=$lt_archive_cmds_RC
21725 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21726 postinstall_cmds=$lt_postinstall_cmds
21727 postuninstall_cmds=$lt_postuninstall_cmds
21729 # Commands used to build a loadable module (assumed same as above if empty)
21730 module_cmds=$lt_module_cmds_RC
21731 module_expsym_cmds=$lt_module_expsym_cmds_RC
21733 # Commands to strip libraries.
21734 old_striplib=$lt_old_striplib
21735 striplib=$lt_striplib
21737 # Dependencies to place before the objects being linked to create a
21739 predep_objects=$lt_predep_objects_RC
21741 # Dependencies to place after the objects being linked to create a
21743 postdep_objects=$lt_postdep_objects_RC
21745 # Dependencies to place before the objects being linked to create a
21747 predeps=$lt_predeps_RC
21749 # Dependencies to place after the objects being linked to create a
21751 postdeps=$lt_postdeps_RC
21753 # The library search path used internally by the compiler when linking
21754 # a shared library.
21755 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21757 # Method to check whether dependent libraries are shared objects.
21758 deplibs_check_method=$lt_deplibs_check_method
21760 # Command to use when deplibs_check_method == file_magic.
21761 file_magic_cmd=$lt_file_magic_cmd
21763 # Flag that allows shared libraries with undefined symbols to be built.
21764 allow_undefined_flag=$lt_allow_undefined_flag_RC
21766 # Flag that forces no undefined symbols.
21767 no_undefined_flag=$lt_no_undefined_flag_RC
21769 # Commands used to finish a libtool library installation in a directory.
21770 finish_cmds=$lt_finish_cmds
21772 # Same as above, but a single script fragment to be evaled but not shown.
21773 finish_eval=$lt_finish_eval
21775 # Take the output of nm and produce a listing of raw symbols and C names.
21776 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21778 # Transform the output of nm in a proper C declaration
21779 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21781 # Transform the output of nm in a C name address pair
21782 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21784 # This is the shared library runtime path variable.
21785 runpath_var=$runpath_var
21787 # This is the shared library path variable.
21788 shlibpath_var=$shlibpath_var
21790 # Is shlibpath searched before the hard-coded library search path?
21791 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21793 # How to hardcode a shared library path into an executable.
21794 hardcode_action=$hardcode_action_RC
21796 # Whether we should hardcode library paths into libraries.
21797 hardcode_into_libs=$hardcode_into_libs
21799 # Flag to hardcode \$libdir into a binary during linking.
21800 # This must work even if \$libdir does not exist.
21801 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21803 # If ld is used when linking, flag to hardcode \$libdir into
21804 # a binary during linking. This must work even if \$libdir does
21806 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21808 # Whether we need a single -rpath flag with a separated argument.
21809 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21811 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21812 # resulting binary.
21813 hardcode_direct=$hardcode_direct_RC
21815 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21816 # resulting binary.
21817 hardcode_minus_L=$hardcode_minus_L_RC
21819 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21820 # the resulting binary.
21821 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21823 # Set to yes if building a shared library automatically hardcodes DIR into the library
21824 # and all subsequent libraries and executables linked against it.
21825 hardcode_automatic=$hardcode_automatic_RC
21827 # Variables whose values should be saved in libtool wrapper scripts and
21828 # restored at relink time.
21829 variables_saved_for_relink="$variables_saved_for_relink"
21831 # Whether libtool must link a program against all its dependency libraries.
21832 link_all_deplibs=$link_all_deplibs_RC
21834 # Compile-time system search path for libraries
21835 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21837 # Run-time system search path for libraries
21838 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21840 # Fix the shell variable \$srcfile for the compiler.
21841 fix_srcfile_path="$fix_srcfile_path_RC"
21843 # Set to yes if exported symbols are required.
21844 always_export_symbols=$always_export_symbols_RC
21846 # The commands to list exported symbols.
21847 export_symbols_cmds=$lt_export_symbols_cmds_RC
21849 # The commands to extract the exported symbol list from a shared archive.
21850 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21852 # Symbols that should not be listed in the preloaded symbols.
21853 exclude_expsyms=$lt_exclude_expsyms_RC
21855 # Symbols that must always be exported.
21856 include_expsyms=$lt_include_expsyms_RC
21858 # ### END LIBTOOL TAG CONFIG: $tagname
21864 # If there is no Makefile yet, we rely on a make rule to execute
21865 # `config.status --recheck' to rerun these tests and create the
21866 # libtool script then.
21867 test -f Makefile
&& make "$ltmain"
21872 ac_cpp
='$CPP $CPPFLAGS'
21873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21882 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21883 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21884 { (exit 1); exit 1; }; }
21888 # Append the new tag name to the list of available tags.
21889 if test -n "$tagname" ; then
21890 available_tags
="$available_tags $tagname"
21896 # Now substitute the updated list of available tags.
21897 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21898 mv "${ofile}T" "$ofile"
21902 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21903 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21904 { (exit 1); exit 1; }; }
21910 # This can be used to rebuild libtool when needed
21911 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
21913 # Always use our own libtool.
21914 LIBTOOL
='$(SHELL) $(top_builddir)/libtool --silent'
21916 # Prevent multiple expansion
21951 LIBTOOL_SHELL
="/bin/sh ./libtool"
21952 # LIBTOOL="$LIBTOOL --silent"
21953 KDE_PLUGIN
="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
21956 # This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
21957 KDE_CHECK_PLUGIN
="\$(KDE_PLUGIN) -rpath \$(libdir)"
21960 # we patch configure quite some so we better keep that consistent for incremental runs
21961 AUTOCONF
='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
21967 # Extract the first word of "msgfmt", so it can be a program name with args.
21968 set dummy msgfmt
; ac_word
=$2
21969 echo "$as_me:$LINENO: checking for $ac_word" >&5
21970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21971 if test "${ac_cv_path_MSGFMT+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
21979 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
21980 for ac_dir
in $PATH; do
21981 test -z "$ac_dir" && ac_dir
=.
21982 if test -f $ac_dir/$ac_word; then
21983 if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
21984 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
21990 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
21994 MSGFMT
="$ac_cv_path_MSGFMT"
21995 if test -n "$MSGFMT"; then
21996 echo "$as_me:$LINENO: result: $MSGFMT" >&5
21997 echo "${ECHO_T}$MSGFMT" >&6
21999 echo "$as_me:$LINENO: result: no" >&5
22000 echo "${ECHO_T}no" >&6
22003 # Extract the first word of "gmsgfmt", so it can be a program name with args.
22004 set dummy gmsgfmt
; ac_word
=$2
22005 echo "$as_me:$LINENO: checking for $ac_word" >&5
22006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22007 if test "${ac_cv_path_GMSGFMT+set}" = set; then
22008 echo $ECHO_N "(cached) $ECHO_C" >&6
22012 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
22015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22016 for as_dir
in $PATH
22019 test -z "$as_dir" && as_dir
=.
22020 for ac_exec_ext
in '' $ac_executable_extensions; do
22021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22022 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
22023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22029 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
22033 GMSGFMT
=$ac_cv_path_GMSGFMT
22035 if test -n "$GMSGFMT"; then
22036 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22037 echo "${ECHO_T}$GMSGFMT" >&6
22039 echo "$as_me:$LINENO: result: no" >&5
22040 echo "${ECHO_T}no" >&6
22044 if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22045 echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22046 echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
22053 # Extract the first word of "xgettext", so it can be a program name with args.
22054 set dummy xgettext
; ac_word
=$2
22055 echo "$as_me:$LINENO: checking for $ac_word" >&5
22056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22057 if test "${ac_cv_path_XGETTEXT+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22060 case "$XGETTEXT" in
22062 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
22065 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
22066 for ac_dir
in $PATH; do
22067 test -z "$ac_dir" && ac_dir
=.
22068 if test -f $ac_dir/$ac_word; then
22069 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22070 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
22076 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
22080 XGETTEXT
="$ac_cv_path_XGETTEXT"
22081 if test -n "$XGETTEXT"; then
22082 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22083 echo "${ECHO_T}$XGETTEXT" >&6
22085 echo "$as_me:$LINENO: result: no" >&5
22086 echo "${ECHO_T}no" >&6
22090 if test "$XGETTEXT" != ":"; then
22091 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
22094 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22095 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
22104 if test -z "3.2.0"; then
22105 # Current default Qt version: 3.3
22109 kde_qtsubver
=`echo "3.2.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22110 # following is the check if subversion isnt found in passed argument
22111 if test "$kde_qtsubver" = "3.2.0"; then
22114 kde_qtver
=`echo "3.2.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22115 if test "$kde_qtver" = "1"; then
22120 if test -z ""; then
22121 if test "$kde_qtver" = "2"; then
22122 if test $kde_qtsubver -gt 0; then
22123 kde_qt_minversion
=">= Qt 2.2.2"
22125 kde_qt_minversion
=">= Qt 2.0.2"
22128 if test "$kde_qtver" = "3"; then
22129 if test $kde_qtsubver -gt 0; then
22130 if test $kde_qtsubver -gt 1; then
22131 if test $kde_qtsubver -gt 2; then
22132 kde_qt_minversion
=">= Qt 3.3 and < 4.0"
22134 kde_qt_minversion
=">= Qt 3.2 and < 4.0"
22137 kde_qt_minversion
=">= Qt 3.1 (20021021) and < 4.0"
22140 kde_qt_minversion
=">= Qt 3.0 and < 4.0"
22143 if test "$kde_qtver" = "1"; then
22144 kde_qt_minversion
=">= 1.42 and < 2.0"
22147 kde_qt_minversion
=""
22150 if test -z ""; then
22151 if test $kde_qtver = 3; then
22152 if test $kde_qtsubver -gt 0; then
22153 kde_qt_verstring
="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22154 qtsubver
=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22155 kde_qt_verstring
=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22157 kde_qt_verstring
="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22160 if test $kde_qtver = 2; then
22161 if test $kde_qtsubver -gt 0; then
22162 kde_qt_verstring
="QT_VERSION >= 222"
22164 kde_qt_verstring
="QT_VERSION >= 200"
22167 if test $kde_qtver = 1; then
22168 kde_qt_verstring
="QT_VERSION >= 142 && QT_VERSION < 200"
22171 kde_qt_verstring
=""
22174 if test $kde_qtver = 4; then
22175 kde_qt_dirs
="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22177 if test $kde_qtver = 3; then
22178 kde_qt_dirs
="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22180 if test $kde_qtver = 2; then
22181 kde_qt_dirs
="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22183 if test $kde_qtver = 1; then
22184 kde_qt_dirs
="$QTDIR /usr/lib/qt"
22191 ac_cpp
='$CXXCPP $CPPFLAGS'
22192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22196 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22199 ac_save_CXXFLAGS
="$CXXFLAGS"
22200 CXXFLAGS
="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22202 echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22203 echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6
22204 if test "${kde_cv_stl_works+set}" = set; then
22205 echo $ECHO_N "(cached) $ECHO_C" >&6
22208 cat >conftest.
$ac_ext <<_ACEOF
22211 cat confdefs.h
>>conftest.
$ac_ext
22212 cat >>conftest.
$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22216 using namespace std;
22222 string astring="Hallo Welt.";
22223 astring.erase(0, 6); // now astring is "Welt"
22230 rm -f conftest.
$ac_objext
22231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22232 (eval $ac_compile) 2>conftest.er1
22234 grep -v '^ *+' conftest.er1
>conftest.err
22236 cat conftest.err
>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } &&
22239 { ac_try
='test -z "$ac_cxx_werror_flag"
22240 || test ! -s conftest.err'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; } &&
22246 { ac_try
='test -s conftest.$ac_objext'
22247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248 (eval $ac_try) 2>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); }; }; then
22252 kde_cv_stl_works
=yes
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.
$ac_ext >&5
22257 kde_cv_stl_works
=no
22259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22265 echo "${ECHO_T}$kde_cv_stl_works" >&6
22267 if test "$kde_cv_stl_works" = "yes"; then
22270 cat >>confdefs.h
<<_ACEOF
22271 #define HAVE_SGI_STL 1
22275 { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22276 Check config.log for details - if you're using a Linux distribution you might miss
22277 a package named similar to libstdc++-dev." >&5
22278 echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22279 Check config.log for details - if you're using a Linux distribution you might miss
22280 a package named similar to libstdc++-dev." >&2;}
22281 { (exit 1); exit 1; }; }
22284 CXXFLAGS
="$ac_save_CXXFLAGS"
22286 ac_cpp
='$CPP $CPPFLAGS'
22287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22294 echo "$as_me:$LINENO: checking for strlcat" >&5
22295 echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
22296 if test "${kde_cv_func_strlcat+set}" = set; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22303 ac_cpp
='$CXXCPP $CPPFLAGS'
22304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22308 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22311 save_CXXFLAGS
="$CXXFLAGS"
22312 kde_safe_LIBS
="$LIBS"
22313 LIBS
="$LIBS $X_EXTRA_LIBS"
22314 if test "$GXX" = "yes"; then
22315 CXXFLAGS
="$CXXFLAGS -pedantic-errors"
22317 cat >conftest.
$ac_ext <<_ACEOF
22320 cat confdefs.h
>>conftest.
$ac_ext
22321 cat >>conftest.
$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22325 #include <string.h>
22334 strlcat(buf, "KDE function test", sizeof(buf));
22341 rm -f conftest.
$ac_objext
22342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22343 (eval $ac_compile) 2>conftest.er1
22345 grep -v '^ *+' conftest.er1
>conftest.err
22347 cat conftest.err
>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } &&
22350 { ac_try
='test -z "$ac_cxx_werror_flag"
22351 || test ! -s conftest.err'
22352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22353 (eval $ac_try) 2>&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); }; } &&
22357 { ac_try
='test -s conftest.$ac_objext'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; }; then
22363 kde_cv_func_strlcat
=yes
22365 echo "$as_me: failed program was:" >&5
22366 sed 's/^/| /' conftest.
$ac_ext >&5
22368 kde_cv_func_strlcat
=no
22370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22371 CXXFLAGS
="$save_CXXFLAGS"
22372 LIBS
="$kde_safe_LIBS"
22374 ac_cpp
='$CPP $CPPFLAGS'
22375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22383 echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
22384 echo "${ECHO_T}$kde_cv_func_strlcat" >&6
22386 echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
22387 echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
22388 if test "${kde_cv_proto_strlcat+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22392 if test "x$kde_cv_func_strlcat" = xyes
; then
22393 kde_cv_proto_strlcat
=no
22396 setenv|unsetenv|
usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat
)
22397 kde_cv_proto_strlcat
="yes - in libkdefakes"
22400 kde_cv_proto_strlcat
=unknown
22405 if test "x$kde_cv_proto_strlcat" = xunknown
; then
22410 ac_cpp
='$CXXCPP $CPPFLAGS'
22411 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22415 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22418 kde_safe_libs
=$LIBS
22419 LIBS
="$LIBS $X_EXTRA_LIBS"
22420 cat >conftest.
$ac_ext <<_ACEOF
22423 cat confdefs.h
>>conftest.
$ac_ext
22424 cat >>conftest.
$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22428 #include <string.h>
22431 extern "C" unsigned long strlcat(char*, const char*, unsigned long);
22439 strlcat(buf, "KDE function test", sizeof(buf));
22446 rm -f conftest.
$ac_objext conftest
$ac_exeext
22447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22448 (eval $ac_link) 2>conftest.er1
22450 grep -v '^ *+' conftest.er1
>conftest.err
22452 cat conftest.err
>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } &&
22455 { ac_try
='test -z "$ac_cxx_werror_flag"
22456 || test ! -s conftest.err'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; } &&
22462 { ac_try
='test -s conftest$ac_exeext'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; }; then
22468 kde_cv_func_strlcat
=yes
22469 kde_cv_proto_strlcat
=yes
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.
$ac_ext >&5
22474 kde_cv_proto_strlcat
="strlcat unavailable"
22477 rm -f conftest.err conftest.
$ac_objext \
22478 conftest
$ac_exeext conftest.
$ac_ext
22479 LIBS
=$kde_safe_libs
22481 ac_cpp
='$CPP $CPPFLAGS'
22482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22490 echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
22491 echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
22493 if test "x$kde_cv_func_strlcat" = xyes
; then
22495 cat >>confdefs.h
<<\_ACEOF
22496 #define HAVE_STRLCAT 1
22501 if test "x$kde_cv_proto_strlcat" = xno
; then
22503 cat >>confdefs.h
<<\_ACEOF
22504 #define HAVE_STRLCAT_PROTO 1
22515 echo "$as_me:$LINENO: checking for strlcpy" >&5
22516 echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
22517 if test "${kde_cv_func_strlcpy+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 ac_cpp
='$CXXCPP $CPPFLAGS'
22525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22529 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22532 save_CXXFLAGS
="$CXXFLAGS"
22533 kde_safe_LIBS
="$LIBS"
22534 LIBS
="$LIBS $X_EXTRA_LIBS"
22535 if test "$GXX" = "yes"; then
22536 CXXFLAGS
="$CXXFLAGS -pedantic-errors"
22538 cat >conftest.
$ac_ext <<_ACEOF
22541 cat confdefs.h
>>conftest.
$ac_ext
22542 cat >>conftest.
$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22546 #include <string.h>
22554 strlcpy(buf, "KDE function test", sizeof(buf));
22561 rm -f conftest.
$ac_objext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22563 (eval $ac_compile) 2>conftest.er1
22565 grep -v '^ *+' conftest.er1
>conftest.err
22567 cat conftest.err
>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try
='test -z "$ac_cxx_werror_flag"
22571 || test ! -s conftest.err'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; } &&
22577 { ac_try
='test -s conftest.$ac_objext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 kde_cv_func_strlcpy
=yes
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22588 kde_cv_func_strlcpy
=no
22590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22591 CXXFLAGS
="$save_CXXFLAGS"
22592 LIBS
="$kde_safe_LIBS"
22594 ac_cpp
='$CPP $CPPFLAGS'
22595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22603 echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
22604 echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
22606 echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
22607 echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
22608 if test "${kde_cv_proto_strlcpy+set}" = set; then
22609 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 if test "x$kde_cv_func_strlcpy" = xyes
; then
22613 kde_cv_proto_strlcpy
=no
22616 setenv|unsetenv|
usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat
)
22617 kde_cv_proto_strlcpy
="yes - in libkdefakes"
22620 kde_cv_proto_strlcpy
=unknown
22625 if test "x$kde_cv_proto_strlcpy" = xunknown
; then
22630 ac_cpp
='$CXXCPP $CPPFLAGS'
22631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22635 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22638 kde_safe_libs
=$LIBS
22639 LIBS
="$LIBS $X_EXTRA_LIBS"
22640 cat >conftest.
$ac_ext <<_ACEOF
22643 cat confdefs.h
>>conftest.
$ac_ext
22644 cat >>conftest.
$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22648 #include <string.h>
22651 extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
22658 strlcpy(buf, "KDE function test", sizeof(buf));
22665 rm -f conftest.
$ac_objext conftest
$ac_exeext
22666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22667 (eval $ac_link) 2>conftest.er1
22669 grep -v '^ *+' conftest.er1
>conftest.err
22671 cat conftest.err
>&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } &&
22674 { ac_try
='test -z "$ac_cxx_werror_flag"
22675 || test ! -s conftest.err'
22676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22677 (eval $ac_try) 2>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); }; } &&
22681 { ac_try
='test -s conftest$ac_exeext'
22682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683 (eval $ac_try) 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 kde_cv_func_strlcpy
=yes
22688 kde_cv_proto_strlcpy
=yes
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.
$ac_ext >&5
22693 kde_cv_proto_strlcpy
="strlcpy unavailable"
22696 rm -f conftest.err conftest.
$ac_objext \
22697 conftest
$ac_exeext conftest.
$ac_ext
22698 LIBS
=$kde_safe_libs
22700 ac_cpp
='$CPP $CPPFLAGS'
22701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22709 echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
22710 echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
22712 if test "x$kde_cv_func_strlcpy" = xyes
; then
22714 cat >>confdefs.h
<<\_ACEOF
22715 #define HAVE_STRLCPY 1
22720 if test "x$kde_cv_proto_strlcpy" = xno
; then
22722 cat >>confdefs.h
<<\_ACEOF
22723 #define HAVE_STRLCPY_PROTO 1
22733 echo "$as_me:$LINENO: checking for main in -lutil" >&5
22734 echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
22735 if test "${ac_cv_lib_util_main+set}" = set; then
22736 echo $ECHO_N "(cached) $ECHO_C" >&6
22738 ac_check_lib_save_LIBS
=$LIBS
22739 LIBS
="-lutil $LIBS"
22740 cat >conftest.
$ac_ext <<_ACEOF
22743 cat confdefs.h
>>conftest.
$ac_ext
22744 cat >>conftest.
$ac_ext <<_ACEOF
22745 /* end confdefs.h. */
22756 rm -f conftest.
$ac_objext conftest
$ac_exeext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22758 (eval $ac_link) 2>conftest.er1
22760 grep -v '^ *+' conftest.er1
>conftest.err
22762 cat conftest.err
>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try
='test -z "$ac_c_werror_flag"
22766 || test ! -s conftest.err'
22767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22768 (eval $ac_try) 2>&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); }; } &&
22772 { ac_try
='test -s conftest$ac_exeext'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 ac_cv_lib_util_main
=yes
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.
$ac_ext >&5
22783 ac_cv_lib_util_main
=no
22785 rm -f conftest.err conftest.
$ac_objext \
22786 conftest
$ac_exeext conftest.
$ac_ext
22787 LIBS
=$ac_check_lib_save_LIBS
22789 echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
22790 echo "${ECHO_T}$ac_cv_lib_util_main" >&6
22791 if test $ac_cv_lib_util_main = yes; then
22795 echo "$as_me:$LINENO: checking for main in -lcompat" >&5
22796 echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
22797 if test "${ac_cv_lib_compat_main+set}" = set; then
22798 echo $ECHO_N "(cached) $ECHO_C" >&6
22800 ac_check_lib_save_LIBS
=$LIBS
22801 LIBS
="-lcompat $LIBS"
22802 cat >conftest.
$ac_ext <<_ACEOF
22805 cat confdefs.h
>>conftest.
$ac_ext
22806 cat >>conftest.
$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22818 rm -f conftest.
$ac_objext conftest
$ac_exeext
22819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22820 (eval $ac_link) 2>conftest.er1
22822 grep -v '^ *+' conftest.er1
>conftest.err
22824 cat conftest.err
>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } &&
22827 { ac_try
='test -z "$ac_c_werror_flag"
22828 || test ! -s conftest.err'
22829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830 (eval $ac_try) 2>&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); }; } &&
22834 { ac_try
='test -s conftest$ac_exeext'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; }; then
22840 ac_cv_lib_compat_main
=yes
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.
$ac_ext >&5
22845 ac_cv_lib_compat_main
=no
22847 rm -f conftest.err conftest.
$ac_objext \
22848 conftest
$ac_exeext conftest.
$ac_ext
22849 LIBS
=$ac_check_lib_save_LIBS
22851 echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
22852 echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
22853 if test $ac_cv_lib_compat_main = yes; then
22854 LIBCOMPAT
="-lcompat"
22858 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22859 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
22860 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 ac_check_lib_save_LIBS
=$LIBS
22864 LIBS
="-lcrypt $LIBS"
22865 cat >conftest.
$ac_ext <<_ACEOF
22868 cat confdefs.h
>>conftest.
$ac_ext
22869 cat >>conftest.
$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22872 /* Override any gcc2 internal prototype to avoid an error. */
22876 /* We use char because int might match the return type of a gcc2
22877 builtin and then its argument prototype would still apply. */
22887 rm -f conftest.
$ac_objext conftest
$ac_exeext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22889 (eval $ac_link) 2>conftest.er1
22891 grep -v '^ *+' conftest.er1
>conftest.err
22893 cat conftest.err
>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } &&
22896 { ac_try
='test -z "$ac_c_werror_flag"
22897 || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try
='test -s conftest$ac_exeext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22909 ac_cv_lib_crypt_crypt
=yes
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.
$ac_ext >&5
22914 ac_cv_lib_crypt_crypt
=no
22916 rm -f conftest.err conftest.
$ac_objext \
22917 conftest
$ac_exeext conftest.
$ac_ext
22918 LIBS
=$ac_check_lib_save_LIBS
22920 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22921 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
22922 if test $ac_cv_lib_crypt_crypt = yes; then
22923 LIBCRYPT
="-lcrypt"; kde_have_crypt
=yes
22925 echo "$as_me:$LINENO: checking for crypt in -lc" >&5
22926 echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
22927 if test "${ac_cv_lib_c_crypt+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 ac_check_lib_save_LIBS
=$LIBS
22932 cat >conftest.
$ac_ext <<_ACEOF
22935 cat confdefs.h
>>conftest.
$ac_ext
22936 cat >>conftest.
$ac_ext <<_ACEOF
22937 /* end confdefs.h. */
22939 /* Override any gcc2 internal prototype to avoid an error. */
22943 /* We use char because int might match the return type of a gcc2
22944 builtin and then its argument prototype would still apply. */
22954 rm -f conftest.
$ac_objext conftest
$ac_exeext
22955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22956 (eval $ac_link) 2>conftest.er1
22958 grep -v '^ *+' conftest.er1
>conftest.err
22960 cat conftest.err
>&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } &&
22963 { ac_try
='test -z "$ac_c_werror_flag"
22964 || test ! -s conftest.err'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; } &&
22970 { ac_try
='test -s conftest$ac_exeext'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; }; then
22976 ac_cv_lib_c_crypt
=yes
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.
$ac_ext >&5
22981 ac_cv_lib_c_crypt
=no
22983 rm -f conftest.err conftest.
$ac_objext \
22984 conftest
$ac_exeext conftest.
$ac_ext
22985 LIBS
=$ac_check_lib_save_LIBS
22987 echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
22988 echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
22989 if test $ac_cv_lib_c_crypt = yes; then
22993 { echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
22994 You should install libcrypt from another source or configure with PAM
22996 echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
22997 You should install libcrypt from another source or configure with PAM
23006 if test $kde_have_crypt = yes; then
23008 cat >>confdefs.h
<<_ACEOF
23009 #define HAVE_CRYPT 1
23014 echo "$as_me:$LINENO: checking for socklen_t" >&5
23015 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
23016 if test "${kde_cv_socklen_t+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23021 ac_cpp
='$CXXCPP $CPPFLAGS'
23022 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23026 kde_cv_socklen_t
=no
23027 cat >conftest.
$ac_ext <<_ACEOF
23030 cat confdefs.h
>>conftest.
$ac_ext
23031 cat >>conftest.
$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23034 #include <sys/types.h>
23035 #include <sys/socket.h>
23042 getpeername(0,0,&len);
23048 rm -f conftest.
$ac_objext
23049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23050 (eval $ac_compile) 2>conftest.er1
23052 grep -v '^ *+' conftest.er1
>conftest.err
23054 cat conftest.err
>&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); } &&
23057 { ac_try
='test -z "$ac_cxx_werror_flag"
23058 || test ! -s conftest.err'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; } &&
23064 { ac_try
='test -s conftest.$ac_objext'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; }; then
23071 kde_cv_socklen_t
=yes
23072 kde_cv_socklen_t_equiv
=socklen_t
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.
$ac_ext >&5
23079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23081 ac_cpp
='$CPP $CPPFLAGS'
23082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23089 echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23090 echo "${ECHO_T}$kde_cv_socklen_t" >&6
23091 if test $kde_cv_socklen_t = no
; then
23092 echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23093 echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6
23094 if test "${kde_cv_socklen_t_equiv+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 kde_cv_socklen_t_equiv
=int
23100 ac_cpp
='$CXXCPP $CPPFLAGS'
23101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23105 for t
in int size_t unsigned long
"unsigned long"; do
23106 cat >conftest.
$ac_ext <<_ACEOF
23109 cat confdefs.h
>>conftest.
$ac_ext
23110 cat >>conftest.
$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23113 #include <sys/types.h>
23114 #include <sys/socket.h>
23121 getpeername(0,0,&len);
23127 rm -f conftest.
$ac_objext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23129 (eval $ac_compile) 2>conftest.er1
23131 grep -v '^ *+' conftest.er1
>conftest.err
23133 cat conftest.err
>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try
='test -z "$ac_cxx_werror_flag"
23137 || test ! -s conftest.err'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; } &&
23143 { ac_try
='test -s conftest.$ac_objext'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23150 kde_cv_socklen_t_equiv
="$t"
23154 echo "$as_me: failed program was:" >&5
23155 sed 's/^/| /' conftest.
$ac_ext >&5
23158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23161 ac_cpp
='$CPP $CPPFLAGS'
23162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23169 echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23170 echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6
23173 cat >>confdefs.h
<<_ACEOF
23174 #define kde_socklen_t $kde_cv_socklen_t_equiv
23178 cat >>confdefs.h
<<_ACEOF
23179 #define ksize_t $kde_cv_socklen_t_equiv
23183 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23184 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23185 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23188 ac_check_lib_save_LIBS
=$LIBS
23189 LIBS
="-ldnet $LIBS"
23190 cat >conftest.
$ac_ext <<_ACEOF
23193 cat confdefs.h
>>conftest.
$ac_ext
23194 cat >>conftest.
$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23197 /* Override any gcc2 internal prototype to avoid an error. */
23201 /* We use char because int might match the return type of a gcc2
23202 builtin and then its argument prototype would still apply. */
23212 rm -f conftest.
$ac_objext conftest
$ac_exeext
23213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23214 (eval $ac_link) 2>conftest.er1
23216 grep -v '^ *+' conftest.er1
>conftest.err
23218 cat conftest.err
>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } &&
23221 { ac_try
='test -z "$ac_c_werror_flag"
23222 || test ! -s conftest.err'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try
='test -s conftest$ac_exeext'
23229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23230 (eval $ac_try) 2>&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 ac_cv_lib_dnet_dnet_ntoa
=yes
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 ac_cv_lib_dnet_dnet_ntoa
=no
23241 rm -f conftest.err conftest.
$ac_objext \
23242 conftest
$ac_exeext conftest.
$ac_ext
23243 LIBS
=$ac_check_lib_save_LIBS
23245 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23246 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23247 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23248 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23251 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23252 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23253 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23254 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23257 ac_check_lib_save_LIBS
=$LIBS
23258 LIBS
="-ldnet_stub $LIBS"
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23266 /* Override any gcc2 internal prototype to avoid an error. */
23270 /* We use char because int might match the return type of a gcc2
23271 builtin and then its argument prototype would still apply. */
23281 rm -f conftest.
$ac_objext conftest
$ac_exeext
23282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23283 (eval $ac_link) 2>conftest.er1
23285 grep -v '^ *+' conftest.er1
>conftest.err
23287 cat conftest.err
>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } &&
23290 { ac_try
='test -z "$ac_c_werror_flag"
23291 || test ! -s conftest.err'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; } &&
23297 { ac_try
='test -s conftest$ac_exeext'
23298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299 (eval $ac_try) 2>&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; }; then
23303 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.
$ac_ext >&5
23308 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23310 rm -f conftest.err conftest.
$ac_objext \
23311 conftest
$ac_exeext conftest.
$ac_ext
23312 LIBS
=$ac_check_lib_save_LIBS
23314 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23315 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23316 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23317 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23321 echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23322 echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
23323 if test "${ac_cv_func_inet_ntoa+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 cat >conftest.
$ac_ext <<_ACEOF
23329 cat confdefs.h
>>conftest.
$ac_ext
23330 cat >>conftest.
$ac_ext <<_ACEOF
23331 /* end confdefs.h. */
23332 /* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23334 #define inet_ntoa innocuous_inet_ntoa
23336 /* System header to define __stub macros and hopefully few prototypes,
23337 which can conflict with char inet_ntoa (); below.
23338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23339 <limits.h> exists even on freestanding compilers. */
23342 # include <limits.h>
23344 # include <assert.h>
23349 /* Override any gcc2 internal prototype to avoid an error. */
23354 /* We use char because int might match the return type of a gcc2
23355 builtin and then its argument prototype would still apply. */
23357 /* The GNU C library defines this for functions which it implements
23358 to always fail with ENOSYS. Some functions are actually named
23359 something starting with __ and the normal name is an alias. */
23360 #if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
23363 char (*f) () = inet_ntoa;
23372 return f != inet_ntoa;
23377 rm -f conftest.
$ac_objext conftest
$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379 (eval $ac_link) 2>conftest.er1
23381 grep -v '^ *+' conftest.er1
>conftest.err
23383 cat conftest.err
>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try
='test -z "$ac_c_werror_flag"
23387 || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try
='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23399 ac_cv_func_inet_ntoa
=yes
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.
$ac_ext >&5
23404 ac_cv_func_inet_ntoa
=no
23406 rm -f conftest.err conftest.
$ac_objext \
23407 conftest
$ac_exeext conftest.
$ac_ext
23409 echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23410 echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
23412 if test $ac_cv_func_inet_ntoa = no
; then
23413 echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23414 echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
23415 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23416 echo $ECHO_N "(cached) $ECHO_C" >&6
23418 ac_check_lib_save_LIBS
=$LIBS
23420 cat >conftest.
$ac_ext <<_ACEOF
23423 cat confdefs.h
>>conftest.
$ac_ext
23424 cat >>conftest.
$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23427 /* Override any gcc2 internal prototype to avoid an error. */
23431 /* We use char because int might match the return type of a gcc2
23432 builtin and then its argument prototype would still apply. */
23442 rm -f conftest.
$ac_objext conftest
$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>conftest.er1
23446 grep -v '^ *+' conftest.er1
>conftest.err
23448 cat conftest.err
>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try
='test -z "$ac_c_werror_flag"
23452 || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try
='test -s conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 ac_cv_lib_nsl_inet_ntoa
=yes
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.
$ac_ext >&5
23469 ac_cv_lib_nsl_inet_ntoa
=no
23471 rm -f conftest.err conftest.
$ac_objext \
23472 conftest
$ac_exeext conftest.
$ac_ext
23473 LIBS
=$ac_check_lib_save_LIBS
23475 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
23476 echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
23477 if test $ac_cv_lib_nsl_inet_ntoa = yes; then
23478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23482 echo "$as_me:$LINENO: checking for connect" >&5
23483 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23484 if test "${ac_cv_func_connect+set}" = set; then
23485 echo $ECHO_N "(cached) $ECHO_C" >&6
23487 cat >conftest.
$ac_ext <<_ACEOF
23490 cat confdefs.h
>>conftest.
$ac_ext
23491 cat >>conftest.
$ac_ext <<_ACEOF
23492 /* end confdefs.h. */
23493 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23495 #define connect innocuous_connect
23497 /* System header to define __stub macros and hopefully few prototypes,
23498 which can conflict with char connect (); below.
23499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23500 <limits.h> exists even on freestanding compilers. */
23503 # include <limits.h>
23505 # include <assert.h>
23510 /* Override any gcc2 internal prototype to avoid an error. */
23515 /* We use char because int might match the return type of a gcc2
23516 builtin and then its argument prototype would still apply. */
23518 /* The GNU C library defines this for functions which it implements
23519 to always fail with ENOSYS. Some functions are actually named
23520 something starting with __ and the normal name is an alias. */
23521 #if defined (__stub_connect) || defined (__stub___connect)
23524 char (*f) () = connect;
23533 return f != connect;
23538 rm -f conftest.
$ac_objext conftest
$ac_exeext
23539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23540 (eval $ac_link) 2>conftest.er1
23542 grep -v '^ *+' conftest.er1
>conftest.err
23544 cat conftest.err
>&5
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); } &&
23547 { ac_try
='test -z "$ac_c_werror_flag"
23548 || test ! -s conftest.err'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; } &&
23554 { ac_try
='test -s conftest$ac_exeext'
23555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556 (eval $ac_try) 2>&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); }; }; then
23560 ac_cv_func_connect
=yes
23562 echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.
$ac_ext >&5
23565 ac_cv_func_connect
=no
23567 rm -f conftest.err conftest.
$ac_objext \
23568 conftest
$ac_exeext conftest.
$ac_ext
23570 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23571 echo "${ECHO_T}$ac_cv_func_connect" >&6
23573 if test $ac_cv_func_connect = no
; then
23574 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23575 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23576 if test "${ac_cv_lib_socket_connect+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 ac_check_lib_save_LIBS
=$LIBS
23580 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23581 cat >conftest.
$ac_ext <<_ACEOF
23584 cat confdefs.h
>>conftest.
$ac_ext
23585 cat >>conftest.
$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23588 /* Override any gcc2 internal prototype to avoid an error. */
23592 /* We use char because int might match the return type of a gcc2
23593 builtin and then its argument prototype would still apply. */
23603 rm -f conftest.
$ac_objext conftest
$ac_exeext
23604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23605 (eval $ac_link) 2>conftest.er1
23607 grep -v '^ *+' conftest.er1
>conftest.err
23609 cat conftest.err
>&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } &&
23612 { ac_try
='test -z "$ac_c_werror_flag"
23613 || test ! -s conftest.err'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; } &&
23619 { ac_try
='test -s conftest$ac_exeext'
23620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621 (eval $ac_try) 2>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; }; then
23625 ac_cv_lib_socket_connect
=yes
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.
$ac_ext >&5
23630 ac_cv_lib_socket_connect
=no
23632 rm -f conftest.err conftest.
$ac_objext \
23633 conftest
$ac_exeext conftest.
$ac_ext
23634 LIBS
=$ac_check_lib_save_LIBS
23636 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23637 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23638 if test $ac_cv_lib_socket_connect = yes; then
23639 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23644 echo "$as_me:$LINENO: checking for remove" >&5
23645 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23646 if test "${ac_cv_func_remove+set}" = set; then
23647 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 cat >conftest.
$ac_ext <<_ACEOF
23652 cat confdefs.h
>>conftest.
$ac_ext
23653 cat >>conftest.
$ac_ext <<_ACEOF
23654 /* end confdefs.h. */
23655 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
23656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23657 #define remove innocuous_remove
23659 /* System header to define __stub macros and hopefully few prototypes,
23660 which can conflict with char remove (); below.
23661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23662 <limits.h> exists even on freestanding compilers. */
23665 # include <limits.h>
23667 # include <assert.h>
23672 /* Override any gcc2 internal prototype to avoid an error. */
23677 /* We use char because int might match the return type of a gcc2
23678 builtin and then its argument prototype would still apply. */
23680 /* The GNU C library defines this for functions which it implements
23681 to always fail with ENOSYS. Some functions are actually named
23682 something starting with __ and the normal name is an alias. */
23683 #if defined (__stub_remove) || defined (__stub___remove)
23686 char (*f) () = remove;
23695 return f != remove;
23700 rm -f conftest.
$ac_objext conftest
$ac_exeext
23701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23702 (eval $ac_link) 2>conftest.er1
23704 grep -v '^ *+' conftest.er1
>conftest.err
23706 cat conftest.err
>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } &&
23709 { ac_try
='test -z "$ac_c_werror_flag"
23710 || test ! -s conftest.err'
23711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23712 (eval $ac_try) 2>&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); }; } &&
23716 { ac_try
='test -s conftest$ac_exeext'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; }; then
23722 ac_cv_func_remove
=yes
23724 echo "$as_me: failed program was:" >&5
23725 sed 's/^/| /' conftest.
$ac_ext >&5
23727 ac_cv_func_remove
=no
23729 rm -f conftest.err conftest.
$ac_objext \
23730 conftest
$ac_exeext conftest.
$ac_ext
23732 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23733 echo "${ECHO_T}$ac_cv_func_remove" >&6
23735 if test $ac_cv_func_remove = no
; then
23736 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23737 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23738 if test "${ac_cv_lib_posix_remove+set}" = set; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23741 ac_check_lib_save_LIBS
=$LIBS
23742 LIBS
="-lposix $LIBS"
23743 cat >conftest.
$ac_ext <<_ACEOF
23746 cat confdefs.h
>>conftest.
$ac_ext
23747 cat >>conftest.
$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23750 /* Override any gcc2 internal prototype to avoid an error. */
23754 /* We use char because int might match the return type of a gcc2
23755 builtin and then its argument prototype would still apply. */
23765 rm -f conftest.
$ac_objext conftest
$ac_exeext
23766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23767 (eval $ac_link) 2>conftest.er1
23769 grep -v '^ *+' conftest.er1
>conftest.err
23771 cat conftest.err
>&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } &&
23774 { ac_try
='test -z "$ac_c_werror_flag"
23775 || test ! -s conftest.err'
23776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23777 (eval $ac_try) 2>&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; } &&
23781 { ac_try
='test -s conftest$ac_exeext'
23782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23783 (eval $ac_try) 2>&5
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); }; }; then
23787 ac_cv_lib_posix_remove
=yes
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.
$ac_ext >&5
23792 ac_cv_lib_posix_remove
=no
23794 rm -f conftest.err conftest.
$ac_objext \
23795 conftest
$ac_exeext conftest.
$ac_ext
23796 LIBS
=$ac_check_lib_save_LIBS
23798 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23799 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23800 if test $ac_cv_lib_posix_remove = yes; then
23801 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23806 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23807 echo "$as_me:$LINENO: checking for shmat" >&5
23808 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23809 if test "${ac_cv_func_shmat+set}" = set; then
23810 echo $ECHO_N "(cached) $ECHO_C" >&6
23812 cat >conftest.
$ac_ext <<_ACEOF
23815 cat confdefs.h
>>conftest.
$ac_ext
23816 cat >>conftest.
$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23820 #define shmat innocuous_shmat
23822 /* System header to define __stub macros and hopefully few prototypes,
23823 which can conflict with char shmat (); below.
23824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23825 <limits.h> exists even on freestanding compilers. */
23828 # include <limits.h>
23830 # include <assert.h>
23835 /* 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. */
23843 /* The GNU C library defines this for functions which it implements
23844 to always fail with ENOSYS. Some functions are actually named
23845 something starting with __ and the normal name is an alias. */
23846 #if defined (__stub_shmat) || defined (__stub___shmat)
23849 char (*f) () = shmat;
23863 rm -f conftest.
$ac_objext conftest
$ac_exeext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23865 (eval $ac_link) 2>conftest.er1
23867 grep -v '^ *+' conftest.er1
>conftest.err
23869 cat conftest.err
>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } &&
23872 { ac_try
='test -z "$ac_c_werror_flag"
23873 || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try
='test -s conftest$ac_exeext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 ac_cv_func_shmat
=yes
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.
$ac_ext >&5
23890 ac_cv_func_shmat
=no
23892 rm -f conftest.err conftest.
$ac_objext \
23893 conftest
$ac_exeext conftest.
$ac_ext
23895 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23896 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23897 if test $ac_cv_func_shmat = yes; then
23900 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23901 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23902 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23903 echo $ECHO_N "(cached) $ECHO_C" >&6
23905 ac_check_lib_save_LIBS
=$LIBS
23907 cat >conftest.
$ac_ext <<_ACEOF
23910 cat confdefs.h
>>conftest.
$ac_ext
23911 cat >>conftest.
$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23914 /* Override any gcc2 internal prototype to avoid an error. */
23918 /* We use char because int might match the return type of a gcc2
23919 builtin and then its argument prototype would still apply. */
23929 rm -f conftest.
$ac_objext conftest
$ac_exeext
23930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23931 (eval $ac_link) 2>conftest.er1
23933 grep -v '^ *+' conftest.er1
>conftest.err
23935 cat conftest.err
>&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } &&
23938 { ac_try
='test -z "$ac_c_werror_flag"
23939 || test ! -s conftest.err'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; } &&
23945 { ac_try
='test -s conftest$ac_exeext'
23946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947 (eval $ac_try) 2>&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); }; }; then
23951 ac_cv_lib_ipc_shmat
=yes
23953 echo "$as_me: failed program was:" >&5
23954 sed 's/^/| /' conftest.
$ac_ext >&5
23956 ac_cv_lib_ipc_shmat
=no
23958 rm -f conftest.err conftest.
$ac_objext \
23959 conftest
$ac_exeext conftest.
$ac_ext
23960 LIBS
=$ac_check_lib_save_LIBS
23962 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23963 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23964 if test $ac_cv_lib_ipc_shmat = yes; then
23965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23971 # more headers that need to be explicitly included on darwin
23974 for ac_header
in sys
/types.h stdint.h
23976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23978 echo "$as_me:$LINENO: checking for $ac_header" >&5
23979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23981 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23986 # Is the header compilable?
23987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23989 cat >conftest.
$ac_ext <<_ACEOF
23992 cat confdefs.h
>>conftest.
$ac_ext
23993 cat >>conftest.
$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 $ac_includes_default
23996 #include <$ac_header>
23998 rm -f conftest.
$ac_objext
23999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24000 (eval $ac_compile) 2>conftest.er1
24002 grep -v '^ *+' conftest.er1
>conftest.err
24004 cat conftest.err
>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } &&
24007 { ac_try
='test -z "$ac_c_werror_flag"
24008 || test ! -s conftest.err'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; } &&
24014 { ac_try
='test -s conftest.$ac_objext'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 ac_header_compiler
=yes
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.
$ac_ext >&5
24025 ac_header_compiler
=no
24027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24029 echo "${ECHO_T}$ac_header_compiler" >&6
24031 # Is the header present?
24032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24034 cat >conftest.
$ac_ext <<_ACEOF
24037 cat confdefs.h
>>conftest.
$ac_ext
24038 cat >>conftest.
$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 #include <$ac_header>
24042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24045 grep -v '^ *+' conftest.er1
>conftest.err
24047 cat conftest.err
>&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } >/dev
/null
; then
24050 if test -s conftest.err
; then
24051 ac_cpp_err
=$ac_c_preproc_warn_flag
24052 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24059 if test -z "$ac_cpp_err"; then
24060 ac_header_preproc
=yes
24062 echo "$as_me: failed program was:" >&5
24063 sed 's/^/| /' conftest.
$ac_ext >&5
24065 ac_header_preproc
=no
24067 rm -f conftest.err conftest.
$ac_ext
24068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24069 echo "${ECHO_T}$ac_header_preproc" >&6
24071 # So? What about this header?
24072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24078 ac_header_preproc
=yes
24081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24095 ## ------------------------------------------ ##
24096 ## Report this to the AC_PACKAGE_NAME lists. ##
24097 ## ------------------------------------------ ##
24100 sed "s/^/$as_me: WARNING: /" >&2
24103 echo "$as_me:$LINENO: checking for $ac_header" >&5
24104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24106 echo $ECHO_N "(cached) $ECHO_C" >&6
24108 eval "$as_ac_Header=\$ac_header_preproc"
24110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24115 cat >>confdefs.h
<<_ACEOF
24116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24124 # sys/bitypes.h is needed for uint32_t and friends on Tru64
24126 for ac_header
in sys
/bitypes.h
24128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24130 echo "$as_me:$LINENO: checking for $ac_header" >&5
24131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24133 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24138 # Is the header compilable?
24139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24141 cat >conftest.
$ac_ext <<_ACEOF
24144 cat confdefs.h
>>conftest.
$ac_ext
24145 cat >>conftest.
$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147 $ac_includes_default
24148 #include <$ac_header>
24150 rm -f conftest.
$ac_objext
24151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24152 (eval $ac_compile) 2>conftest.er1
24154 grep -v '^ *+' conftest.er1
>conftest.err
24156 cat conftest.err
>&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } &&
24159 { ac_try
='test -z "$ac_c_werror_flag"
24160 || test ! -s conftest.err'
24161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162 (eval $ac_try) 2>&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; } &&
24166 { ac_try
='test -s conftest.$ac_objext'
24167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168 (eval $ac_try) 2>&5
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); }; }; then
24172 ac_header_compiler
=yes
24174 echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.
$ac_ext >&5
24177 ac_header_compiler
=no
24179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24181 echo "${ECHO_T}$ac_header_compiler" >&6
24183 # Is the header present?
24184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24186 cat >conftest.
$ac_ext <<_ACEOF
24189 cat confdefs.h
>>conftest.
$ac_ext
24190 cat >>conftest.
$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24192 #include <$ac_header>
24194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24195 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24197 grep -v '^ *+' conftest.er1
>conftest.err
24199 cat conftest.err
>&5
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); } >/dev
/null
; then
24202 if test -s conftest.err
; then
24203 ac_cpp_err
=$ac_c_preproc_warn_flag
24204 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24211 if test -z "$ac_cpp_err"; then
24212 ac_header_preproc
=yes
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.
$ac_ext >&5
24217 ac_header_preproc
=no
24219 rm -f conftest.err conftest.
$ac_ext
24220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24221 echo "${ECHO_T}$ac_header_preproc" >&6
24223 # So? What about this header?
24224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24226 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24230 ac_header_preproc
=yes
24233 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24235 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24236 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24237 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24239 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24240 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24243 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24247 ## ------------------------------------------ ##
24248 ## Report this to the AC_PACKAGE_NAME lists. ##
24249 ## ------------------------------------------ ##
24252 sed "s/^/$as_me: WARNING: /" >&2
24255 echo "$as_me:$LINENO: checking for $ac_header" >&5
24256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24258 echo $ECHO_N "(cached) $ECHO_C" >&6
24260 eval "$as_ac_Header=\$ac_header_preproc"
24262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24267 cat >>confdefs.h
<<_ACEOF
24268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24276 # darwin requires a poll emulation library
24277 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24278 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
24279 if test "${ac_cv_lib_poll_poll+set}" = set; then
24280 echo $ECHO_N "(cached) $ECHO_C" >&6
24282 ac_check_lib_save_LIBS
=$LIBS
24283 LIBS
="-lpoll $LIBS"
24284 cat >conftest.
$ac_ext <<_ACEOF
24287 cat confdefs.h
>>conftest.
$ac_ext
24288 cat >>conftest.
$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24291 /* Override any gcc2 internal prototype to avoid an error. */
24295 /* We use char because int might match the return type of a gcc2
24296 builtin and then its argument prototype would still apply. */
24306 rm -f conftest.
$ac_objext conftest
$ac_exeext
24307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24308 (eval $ac_link) 2>conftest.er1
24310 grep -v '^ *+' conftest.er1
>conftest.err
24312 cat conftest.err
>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } &&
24315 { ac_try
='test -z "$ac_c_werror_flag"
24316 || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try
='test -s conftest$ac_exeext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 ac_cv_lib_poll_poll
=yes
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.
$ac_ext >&5
24333 ac_cv_lib_poll_poll
=no
24335 rm -f conftest.err conftest.
$ac_objext \
24336 conftest
$ac_exeext conftest.
$ac_ext
24337 LIBS
=$ac_check_lib_save_LIBS
24339 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24340 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
24341 if test $ac_cv_lib_poll_poll = yes; then
24346 # for some image handling on Mac OS X
24348 for ac_header
in Carbon
/Carbon.h
24350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24352 echo "$as_me:$LINENO: checking for $ac_header" >&5
24353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24355 echo $ECHO_N "(cached) $ECHO_C" >&6
24357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24360 # Is the header compilable?
24361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24363 cat >conftest.
$ac_ext <<_ACEOF
24366 cat confdefs.h
>>conftest.
$ac_ext
24367 cat >>conftest.
$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24369 $ac_includes_default
24370 #include <$ac_header>
24372 rm -f conftest.
$ac_objext
24373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24374 (eval $ac_compile) 2>conftest.er1
24376 grep -v '^ *+' conftest.er1
>conftest.err
24378 cat conftest.err
>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); } &&
24381 { ac_try
='test -z "$ac_c_werror_flag"
24382 || test ! -s conftest.err'
24383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384 (eval $ac_try) 2>&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); }; } &&
24388 { ac_try
='test -s conftest.$ac_objext'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; }; then
24394 ac_header_compiler
=yes
24396 echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.
$ac_ext >&5
24399 ac_header_compiler
=no
24401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24403 echo "${ECHO_T}$ac_header_compiler" >&6
24405 # Is the header present?
24406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24408 cat >conftest.
$ac_ext <<_ACEOF
24411 cat confdefs.h
>>conftest.
$ac_ext
24412 cat >>conftest.
$ac_ext <<_ACEOF
24413 /* end confdefs.h. */
24414 #include <$ac_header>
24416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24419 grep -v '^ *+' conftest.er1
>conftest.err
24421 cat conftest.err
>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } >/dev
/null
; then
24424 if test -s conftest.err
; then
24425 ac_cpp_err
=$ac_c_preproc_warn_flag
24426 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24433 if test -z "$ac_cpp_err"; then
24434 ac_header_preproc
=yes
24436 echo "$as_me: failed program was:" >&5
24437 sed 's/^/| /' conftest.
$ac_ext >&5
24439 ac_header_preproc
=no
24441 rm -f conftest.err conftest.
$ac_ext
24442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24443 echo "${ECHO_T}$ac_header_preproc" >&6
24445 # So? What about this header?
24446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24452 ac_header_preproc
=yes
24455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24469 ## ------------------------------------------ ##
24470 ## Report this to the AC_PACKAGE_NAME lists. ##
24471 ## ------------------------------------------ ##
24474 sed "s/^/$as_me: WARNING: /" >&2
24477 echo "$as_me:$LINENO: checking for $ac_header" >&5
24478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24480 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 eval "$as_ac_Header=\$ac_header_preproc"
24484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24489 cat >>confdefs.h
<<_ACEOF
24490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24498 # CoreAudio framework
24499 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24500 echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24501 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
24502 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24503 echo $ECHO_N "(cached) $ECHO_C" >&6
24505 echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24506 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
24508 # Is the header compilable?
24509 echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
24510 echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
24511 cat >conftest.
$ac_ext <<_ACEOF
24514 cat confdefs.h
>>conftest.
$ac_ext
24515 cat >>conftest.
$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 #include <CoreAudio/CoreAudio.h>
24520 rm -f conftest.
$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24524 grep -v '^ *+' conftest.er1
>conftest.err
24526 cat conftest.err
>&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try
='test -z "$ac_c_werror_flag"
24530 || test ! -s conftest.err'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; } &&
24536 { ac_try
='test -s conftest.$ac_objext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 ac_header_compiler
=yes
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.
$ac_ext >&5
24547 ac_header_compiler
=no
24549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24551 echo "${ECHO_T}$ac_header_compiler" >&6
24553 # Is the header present?
24554 echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
24555 echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
24556 cat >conftest.
$ac_ext <<_ACEOF
24559 cat confdefs.h
>>conftest.
$ac_ext
24560 cat >>conftest.
$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562 #include <CoreAudio/CoreAudio.h>
24564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24567 grep -v '^ *+' conftest.er1
>conftest.err
24569 cat conftest.err
>&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } >/dev
/null
; then
24572 if test -s conftest.err
; then
24573 ac_cpp_err
=$ac_c_preproc_warn_flag
24574 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24581 if test -z "$ac_cpp_err"; then
24582 ac_header_preproc
=yes
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.
$ac_ext >&5
24587 ac_header_preproc
=no
24589 rm -f conftest.err conftest.
$ac_ext
24590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24591 echo "${ECHO_T}$ac_header_preproc" >&6
24593 # So? What about this header?
24594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24596 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24597 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24598 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
24599 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
24600 ac_header_preproc
=yes
24603 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
24604 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
24605 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
24606 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
24607 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
24608 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
24609 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
24610 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24611 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
24612 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
24613 { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
24614 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
24617 ## ------------------------------------------ ##
24618 ## Report this to the AC_PACKAGE_NAME lists. ##
24619 ## ------------------------------------------ ##
24622 sed "s/^/$as_me: WARNING: /" >&2
24625 echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24626 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
24627 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 ac_cv_header_CoreAudio_CoreAudio_h
=$ac_header_preproc
24632 echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24633 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
24636 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
24639 cat >>confdefs.h
<<\_ACEOF
24640 #define HAVE_COREAUDIO 1
24643 FRAMEWORK_COREAUDIO
="-Wl,-framework,CoreAudio"
24650 echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
24651 echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
24652 kde_libs_safe
="$LIBS"
24653 LIBS
="$LIBS $X_EXTRA_LIBS -lresolv"
24654 cat >conftest.
$ac_ext <<_ACEOF
24657 cat confdefs.h
>>conftest.
$ac_ext
24658 cat >>conftest.
$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24661 #include <sys/types.h>
24662 #include <netinet/in.h>
24663 #include <arpa/nameser.h>
24664 #include <resolv.h>
24676 rm -f conftest.
$ac_objext conftest
$ac_exeext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24678 (eval $ac_link) 2>conftest.er1
24680 grep -v '^ *+' conftest.er1
>conftest.err
24682 cat conftest.err
>&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } &&
24685 { ac_try
='test -z "$ac_c_werror_flag"
24686 || test ! -s conftest.err'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; } &&
24692 { ac_try
='test -s conftest$ac_exeext'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; }; then
24699 LIBRESOLV
="-lresolv"
24700 echo "$as_me:$LINENO: result: yes" >&5
24701 echo "${ECHO_T}yes" >&6
24703 cat >>confdefs.h
<<\_ACEOF
24704 #define HAVE_RES_INIT 1
24709 echo "$as_me: failed program was:" >&5
24710 sed 's/^/| /' conftest.
$ac_ext >&5
24712 echo "$as_me:$LINENO: result: no" >&5
24713 echo "${ECHO_T}no" >&6
24716 rm -f conftest.err conftest.
$ac_objext \
24717 conftest
$ac_exeext conftest.
$ac_ext
24718 LIBS
=$kde_libs_safe
24722 echo "$as_me:$LINENO: checking for res_init" >&5
24723 echo $ECHO_N "checking for res_init... $ECHO_C" >&6
24724 if test "${kde_cv_func_res_init+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 ac_cpp
='$CXXCPP $CPPFLAGS'
24732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24736 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24739 save_CXXFLAGS
="$CXXFLAGS"
24740 kde_safe_LIBS
="$LIBS"
24741 LIBS
="$LIBS $X_EXTRA_LIBS"
24742 if test "$GXX" = "yes"; then
24743 CXXFLAGS
="$CXXFLAGS -pedantic-errors"
24745 cat >conftest.
$ac_ext <<_ACEOF
24748 cat confdefs.h
>>conftest.
$ac_ext
24749 cat >>conftest.
$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24753 #include <sys/types.h>
24754 #include <netinet/in.h>
24755 #include <arpa/nameser.h>
24756 #include <resolv.h>
24769 rm -f conftest.
$ac_objext
24770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24771 (eval $ac_compile) 2>conftest.er1
24773 grep -v '^ *+' conftest.er1
>conftest.err
24775 cat conftest.err
>&5
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); } &&
24778 { ac_try
='test -z "$ac_cxx_werror_flag"
24779 || test ! -s conftest.err'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; } &&
24785 { ac_try
='test -s conftest.$ac_objext'
24786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24787 (eval $ac_try) 2>&5
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); }; }; then
24791 kde_cv_func_res_init
=yes
24793 echo "$as_me: failed program was:" >&5
24794 sed 's/^/| /' conftest.
$ac_ext >&5
24796 kde_cv_func_res_init
=no
24798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24799 CXXFLAGS
="$save_CXXFLAGS"
24800 LIBS
="$kde_safe_LIBS"
24802 ac_cpp
='$CPP $CPPFLAGS'
24803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24811 echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
24812 echo "${ECHO_T}$kde_cv_func_res_init" >&6
24814 echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
24815 echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6
24816 if test "${kde_cv_proto_res_init+set}" = set; then
24817 echo $ECHO_N "(cached) $ECHO_C" >&6
24820 if test "x$kde_cv_func_res_init" = xyes
; then
24821 kde_cv_proto_res_init
=no
24824 setenv|unsetenv|
usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat
)
24825 kde_cv_proto_res_init
="yes - in libkdefakes"
24828 kde_cv_proto_res_init
=unknown
24833 if test "x$kde_cv_proto_res_init" = xunknown
; then
24838 ac_cpp
='$CXXCPP $CPPFLAGS'
24839 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24840 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24841 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24843 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24846 kde_safe_libs
=$LIBS
24847 LIBS
="$LIBS $X_EXTRA_LIBS"
24848 cat >conftest.
$ac_ext <<_ACEOF
24851 cat confdefs.h
>>conftest.
$ac_ext
24852 cat >>conftest.
$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24856 #include <sys/types.h>
24857 #include <netinet/in.h>
24858 #include <arpa/nameser.h>
24859 #include <resolv.h>
24862 extern "C" int res_init(void);
24874 rm -f conftest.
$ac_objext conftest
$ac_exeext
24875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24876 (eval $ac_link) 2>conftest.er1
24878 grep -v '^ *+' conftest.er1
>conftest.err
24880 cat conftest.err
>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); } &&
24883 { ac_try
='test -z "$ac_cxx_werror_flag"
24884 || test ! -s conftest.err'
24885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24886 (eval $ac_try) 2>&5
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); }; } &&
24890 { ac_try
='test -s conftest$ac_exeext'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; }; then
24896 kde_cv_func_res_init
=yes
24897 kde_cv_proto_res_init
=yes
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.
$ac_ext >&5
24902 kde_cv_proto_res_init
="res_init unavailable"
24905 rm -f conftest.err conftest.
$ac_objext \
24906 conftest
$ac_exeext conftest.
$ac_ext
24907 LIBS
=$kde_safe_libs
24909 ac_cpp
='$CPP $CPPFLAGS'
24910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24918 echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
24919 echo "${ECHO_T}$kde_cv_proto_res_init" >&6
24921 if test "x$kde_cv_func_res_init" = xyes
; then
24923 cat >>confdefs.h
<<\_ACEOF
24924 #define HAVE_RES_INIT 1
24929 if test "x$kde_cv_proto_res_init" = xno
; then
24931 cat >>confdefs.h
<<\_ACEOF
24932 #define HAVE_RES_INIT_PROTO 1
24943 LIBSOCKET
="$X_EXTRA_LIBS"
24946 echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
24947 echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
24948 if test "${ac_cv_lib_ucb_killpg+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 ac_check_lib_save_LIBS
=$LIBS
24953 cat >conftest.
$ac_ext <<_ACEOF
24956 cat confdefs.h
>>conftest.
$ac_ext
24957 cat >>conftest.
$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24960 /* Override any gcc2 internal prototype to avoid an error. */
24964 /* We use char because int might match the return type of a gcc2
24965 builtin and then its argument prototype would still apply. */
24975 rm -f conftest.
$ac_objext conftest
$ac_exeext
24976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24977 (eval $ac_link) 2>conftest.er1
24979 grep -v '^ *+' conftest.er1
>conftest.err
24981 cat conftest.err
>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } &&
24984 { ac_try
='test -z "$ac_c_werror_flag"
24985 || test ! -s conftest.err'
24986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24987 (eval $ac_try) 2>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); }; } &&
24991 { ac_try
='test -s conftest$ac_exeext'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; }; then
24997 ac_cv_lib_ucb_killpg
=yes
24999 echo "$as_me: failed program was:" >&5
25000 sed 's/^/| /' conftest.
$ac_ext >&5
25002 ac_cv_lib_ucb_killpg
=no
25004 rm -f conftest.err conftest.
$ac_objext \
25005 conftest
$ac_exeext conftest.
$ac_ext
25006 LIBS
=$ac_check_lib_save_LIBS
25008 echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25009 echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
25010 if test $ac_cv_lib_ucb_killpg = yes; then
25015 case $host in *-*-lynxos* )
25016 echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25017 echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
25018 CFLAGS
="$CFLAGS -D__NO_INCLUDE_WARN__"
25019 echo "$as_me:$LINENO: result: disabled" >&5
25020 echo "${ECHO_T}disabled" >&6
25021 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25022 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25023 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 ac_check_lib_save_LIBS
=$LIBS
25028 cat >conftest.
$ac_ext <<_ACEOF
25031 cat confdefs.h
>>conftest.
$ac_ext
25032 cat >>conftest.
$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25035 /* Override any gcc2 internal prototype to avoid an error. */
25039 /* We use char because int might match the return type of a gcc2
25040 builtin and then its argument prototype would still apply. */
25041 char gethostbyname ();
25050 rm -f conftest.
$ac_objext conftest
$ac_exeext
25051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25052 (eval $ac_link) 2>conftest.er1
25054 grep -v '^ *+' conftest.er1
>conftest.err
25056 cat conftest.err
>&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } &&
25059 { ac_try
='test -z "$ac_c_werror_flag"
25060 || test ! -s conftest.err'
25061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062 (eval $ac_try) 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); }; } &&
25066 { ac_try
='test -s conftest$ac_exeext'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; }; then
25072 ac_cv_lib_bsd_gethostbyname
=yes
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.
$ac_ext >&5
25077 ac_cv_lib_bsd_gethostbyname
=no
25079 rm -f conftest.err conftest.
$ac_objext \
25080 conftest
$ac_exeext conftest.
$ac_ext
25081 LIBS
=$ac_check_lib_save_LIBS
25083 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25084 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25085 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25091 echo "$as_me:$LINENO: checking for int" >&5
25092 echo $ECHO_N "checking for int... $ECHO_C" >&6
25093 if test "${ac_cv_type_int+set}" = set; then
25094 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 cat >conftest.
$ac_ext <<_ACEOF
25099 cat confdefs.h
>>conftest.
$ac_ext
25100 cat >>conftest.
$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25102 $ac_includes_default
25114 rm -f conftest.
$ac_objext
25115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25116 (eval $ac_compile) 2>conftest.er1
25118 grep -v '^ *+' conftest.er1
>conftest.err
25120 cat conftest.err
>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try
='test -z "$ac_c_werror_flag"
25124 || test ! -s conftest.err'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; } &&
25130 { ac_try
='test -s conftest.$ac_objext'
25131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25132 (eval $ac_try) 2>&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); }; }; then
25138 echo "$as_me: failed program was:" >&5
25139 sed 's/^/| /' conftest.
$ac_ext >&5
25143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25145 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25146 echo "${ECHO_T}$ac_cv_type_int" >&6
25148 echo "$as_me:$LINENO: checking size of int" >&5
25149 echo $ECHO_N "checking size of int... $ECHO_C" >&6
25150 if test "${ac_cv_sizeof_int+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 if test "$ac_cv_type_int" = yes; then
25154 # The cast to unsigned long works around a bug in the HP C Compiler
25155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25157 # This bug is HP SR number 8606223364.
25158 if test "$cross_compiling" = yes; then
25159 # Depending upon the size, compute the lo and hi bounds.
25160 cat >conftest.
$ac_ext <<_ACEOF
25163 cat confdefs.h
>>conftest.
$ac_ext
25164 cat >>conftest.
$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 $ac_includes_default
25170 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
25177 rm -f conftest.
$ac_objext
25178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25179 (eval $ac_compile) 2>conftest.er1
25181 grep -v '^ *+' conftest.er1
>conftest.err
25183 cat conftest.err
>&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } &&
25186 { ac_try
='test -z "$ac_c_werror_flag"
25187 || test ! -s conftest.err'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; } &&
25193 { ac_try
='test -s conftest.$ac_objext'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; }; then
25201 cat >conftest.
$ac_ext <<_ACEOF
25204 cat confdefs.h
>>conftest.
$ac_ext
25205 cat >>conftest.
$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207 $ac_includes_default
25211 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
25218 rm -f conftest.
$ac_objext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25220 (eval $ac_compile) 2>conftest.er1
25222 grep -v '^ *+' conftest.er1
>conftest.err
25224 cat conftest.err
>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try
='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_hi
=$ac_mid; break
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.
$ac_ext >&5
25245 ac_lo
=`expr $ac_mid + 1`
25246 if test $ac_lo -le $ac_mid; then
25250 ac_mid
=`expr 2 '*' $ac_mid + 1`
25252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25255 echo "$as_me: failed program was:" >&5
25256 sed 's/^/| /' conftest.
$ac_ext >&5
25258 cat >conftest.
$ac_ext <<_ACEOF
25261 cat confdefs.h
>>conftest.
$ac_ext
25262 cat >>conftest.
$ac_ext <<_ACEOF
25263 /* end confdefs.h. */
25264 $ac_includes_default
25268 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
25275 rm -f conftest.
$ac_objext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25277 (eval $ac_compile) 2>conftest.er1
25279 grep -v '^ *+' conftest.er1
>conftest.err
25281 cat conftest.err
>&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try
='test -z "$ac_c_werror_flag"
25285 || test ! -s conftest.err'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; } &&
25291 { ac_try
='test -s conftest.$ac_objext'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; }; then
25299 cat >conftest.
$ac_ext <<_ACEOF
25302 cat confdefs.h
>>conftest.
$ac_ext
25303 cat >>conftest.
$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25305 $ac_includes_default
25309 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
25316 rm -f conftest.
$ac_objext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25318 (eval $ac_compile) 2>conftest.er1
25320 grep -v '^ *+' conftest.er1
>conftest.err
25322 cat conftest.err
>&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); } &&
25325 { ac_try
='test -z "$ac_c_werror_flag"
25326 || test ! -s conftest.err'
25327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25328 (eval $ac_try) 2>&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); }; } &&
25332 { ac_try
='test -s conftest.$ac_objext'
25333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25334 (eval $ac_try) 2>&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); }; }; then
25338 ac_lo
=$ac_mid; break
25340 echo "$as_me: failed program was:" >&5
25341 sed 's/^/| /' conftest.
$ac_ext >&5
25343 ac_hi
=`expr '(' $ac_mid ')' - 1`
25344 if test $ac_mid -le $ac_hi; then
25348 ac_mid
=`expr 2 '*' $ac_mid`
25350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.
$ac_ext >&5
25358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25361 # Binary search between lo and hi bounds.
25362 while test "x$ac_lo" != "x$ac_hi"; do
25363 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25364 cat >conftest.
$ac_ext <<_ACEOF
25367 cat confdefs.h
>>conftest.
$ac_ext
25368 cat >>conftest.
$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 $ac_includes_default
25374 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
25381 rm -f conftest.
$ac_objext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25383 (eval $ac_compile) 2>conftest.er1
25385 grep -v '^ *+' conftest.er1
>conftest.err
25387 cat conftest.err
>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try
='test -z "$ac_c_werror_flag"
25391 || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try
='test -s conftest.$ac_objext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.
$ac_ext >&5
25408 ac_lo
=`expr '(' $ac_mid ')' + 1`
25410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25413 ?
*) ac_cv_sizeof_int
=$ac_lo;;
25414 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
25415 See \`config.log' for more details." >&5
25416 echo "$as_me: error: cannot compute sizeof (int), 77
25417 See \`config.log' for more details." >&2;}
25418 { (exit 1); exit 1; }; } ;;
25421 if test "$cross_compiling" = yes; then
25422 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25423 See \`config.log' for more details." >&5
25424 echo "$as_me: error: cannot run test program while cross compiling
25425 See \`config.log' for more details." >&2;}
25426 { (exit 1); exit 1; }; }
25428 cat >conftest.
$ac_ext <<_ACEOF
25431 cat confdefs.h
>>conftest.
$ac_ext
25432 cat >>conftest.
$ac_ext <<_ACEOF
25433 /* end confdefs.h. */
25434 $ac_includes_default
25435 long longval () { return (long) (sizeof (int)); }
25436 unsigned long ulongval () { return (long) (sizeof (int)); }
25438 #include <stdlib.h>
25443 FILE *f = fopen ("conftest.val", "w");
25446 if (((long) (sizeof (int))) < 0)
25448 long i = longval ();
25449 if (i != ((long) (sizeof (int))))
25451 fprintf (f, "%ld\n", i);
25455 unsigned long i = ulongval ();
25456 if (i != ((long) (sizeof (int))))
25458 fprintf (f, "%lu\n", i);
25460 exit (ferror (f) || fclose (f) != 0);
25466 rm -f conftest
$ac_exeext
25467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25468 (eval $ac_link) 2>&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; }; then
25477 ac_cv_sizeof_int
=`cat conftest.val`
25479 echo "$as_me: program exited with status $ac_status" >&5
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.
$ac_ext >&5
25483 ( exit $ac_status )
25484 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
25485 See \`config.log' for more details." >&5
25486 echo "$as_me: error: cannot compute sizeof (int), 77
25487 See \`config.log' for more details." >&2;}
25488 { (exit 1); exit 1; }; }
25490 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25498 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25499 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
25500 cat >>confdefs.h
<<_ACEOF
25501 #define SIZEOF_INT $ac_cv_sizeof_int
25504 echo "$as_me:$LINENO: checking for short" >&5
25505 echo $ECHO_N "checking for short... $ECHO_C" >&6
25506 if test "${ac_cv_type_short+set}" = set; then
25507 echo $ECHO_N "(cached) $ECHO_C" >&6
25509 cat >conftest.
$ac_ext <<_ACEOF
25512 cat confdefs.h
>>conftest.
$ac_ext
25513 cat >>conftest.
$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25515 $ac_includes_default
25521 if (sizeof (short))
25527 rm -f conftest.
$ac_objext
25528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25529 (eval $ac_compile) 2>conftest.er1
25531 grep -v '^ *+' conftest.er1
>conftest.err
25533 cat conftest.err
>&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); } &&
25536 { ac_try
='test -z "$ac_c_werror_flag"
25537 || test ! -s conftest.err'
25538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25539 (eval $ac_try) 2>&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); }; } &&
25543 { ac_try
='test -s conftest.$ac_objext'
25544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545 (eval $ac_try) 2>&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); }; }; then
25549 ac_cv_type_short
=yes
25551 echo "$as_me: failed program was:" >&5
25552 sed 's/^/| /' conftest.
$ac_ext >&5
25554 ac_cv_type_short
=no
25556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25558 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
25559 echo "${ECHO_T}$ac_cv_type_short" >&6
25561 echo "$as_me:$LINENO: checking size of short" >&5
25562 echo $ECHO_N "checking size of short... $ECHO_C" >&6
25563 if test "${ac_cv_sizeof_short+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 if test "$ac_cv_type_short" = yes; then
25567 # The cast to unsigned long works around a bug in the HP C Compiler
25568 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25569 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25570 # This bug is HP SR number 8606223364.
25571 if test "$cross_compiling" = yes; then
25572 # Depending upon the size, compute the lo and hi bounds.
25573 cat >conftest.
$ac_ext <<_ACEOF
25576 cat confdefs.h
>>conftest.
$ac_ext
25577 cat >>conftest.
$ac_ext <<_ACEOF
25578 /* end confdefs.h. */
25579 $ac_includes_default
25583 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
25590 rm -f conftest.
$ac_objext
25591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25592 (eval $ac_compile) 2>conftest.er1
25594 grep -v '^ *+' conftest.er1
>conftest.err
25596 cat conftest.err
>&5
25597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598 (exit $ac_status); } &&
25599 { ac_try
='test -z "$ac_c_werror_flag"
25600 || test ! -s conftest.err'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; } &&
25606 { ac_try
='test -s conftest.$ac_objext'
25607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25608 (eval $ac_try) 2>&5
25610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25611 (exit $ac_status); }; }; then
25614 cat >conftest.
$ac_ext <<_ACEOF
25617 cat confdefs.h
>>conftest.
$ac_ext
25618 cat >>conftest.
$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25620 $ac_includes_default
25624 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25631 rm -f conftest.
$ac_objext
25632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25633 (eval $ac_compile) 2>conftest.er1
25635 grep -v '^ *+' conftest.er1
>conftest.err
25637 cat conftest.err
>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } &&
25640 { ac_try
='test -z "$ac_c_werror_flag"
25641 || test ! -s conftest.err'
25642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25643 (eval $ac_try) 2>&5
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); }; } &&
25647 { ac_try
='test -s conftest.$ac_objext'
25648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25649 (eval $ac_try) 2>&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); }; }; then
25653 ac_hi
=$ac_mid; break
25655 echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.
$ac_ext >&5
25658 ac_lo
=`expr $ac_mid + 1`
25659 if test $ac_lo -le $ac_mid; then
25663 ac_mid
=`expr 2 '*' $ac_mid + 1`
25665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25668 echo "$as_me: failed program was:" >&5
25669 sed 's/^/| /' conftest.
$ac_ext >&5
25671 cat >conftest.
$ac_ext <<_ACEOF
25674 cat confdefs.h
>>conftest.
$ac_ext
25675 cat >>conftest.
$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 $ac_includes_default
25681 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
25688 rm -f conftest.
$ac_objext
25689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25690 (eval $ac_compile) 2>conftest.er1
25692 grep -v '^ *+' conftest.er1
>conftest.err
25694 cat conftest.err
>&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } &&
25697 { ac_try
='test -z "$ac_c_werror_flag"
25698 || test ! -s conftest.err'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; } &&
25704 { ac_try
='test -s conftest.$ac_objext'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; }; then
25712 cat >conftest.
$ac_ext <<_ACEOF
25715 cat confdefs.h
>>conftest.
$ac_ext
25716 cat >>conftest.
$ac_ext <<_ACEOF
25717 /* end confdefs.h. */
25718 $ac_includes_default
25722 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
25729 rm -f conftest.
$ac_objext
25730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25731 (eval $ac_compile) 2>conftest.er1
25733 grep -v '^ *+' conftest.er1
>conftest.err
25735 cat conftest.err
>&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } &&
25738 { ac_try
='test -z "$ac_c_werror_flag"
25739 || test ! -s conftest.err'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; } &&
25745 { ac_try
='test -s conftest.$ac_objext'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; }; then
25751 ac_lo
=$ac_mid; break
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.
$ac_ext >&5
25756 ac_hi
=`expr '(' $ac_mid ')' - 1`
25757 if test $ac_mid -le $ac_hi; then
25761 ac_mid
=`expr 2 '*' $ac_mid`
25763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25766 echo "$as_me: failed program was:" >&5
25767 sed 's/^/| /' conftest.
$ac_ext >&5
25771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25774 # Binary search between lo and hi bounds.
25775 while test "x$ac_lo" != "x$ac_hi"; do
25776 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25777 cat >conftest.
$ac_ext <<_ACEOF
25780 cat confdefs.h
>>conftest.
$ac_ext
25781 cat >>conftest.
$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 $ac_includes_default
25787 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25794 rm -f conftest.
$ac_objext
25795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25796 (eval $ac_compile) 2>conftest.er1
25798 grep -v '^ *+' conftest.er1
>conftest.err
25800 cat conftest.err
>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } &&
25803 { ac_try
='test -z "$ac_c_werror_flag"
25804 || test ! -s conftest.err'
25805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25806 (eval $ac_try) 2>&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); }; } &&
25810 { ac_try
='test -s conftest.$ac_objext'
25811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25812 (eval $ac_try) 2>&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); }; }; then
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.
$ac_ext >&5
25821 ac_lo
=`expr '(' $ac_mid ')' + 1`
25823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25826 ?
*) ac_cv_sizeof_short
=$ac_lo;;
25827 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25828 See \`config.log' for more details." >&5
25829 echo "$as_me: error: cannot compute sizeof (short), 77
25830 See \`config.log' for more details." >&2;}
25831 { (exit 1); exit 1; }; } ;;
25834 if test "$cross_compiling" = yes; then
25835 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25836 See \`config.log' for more details." >&5
25837 echo "$as_me: error: cannot run test program while cross compiling
25838 See \`config.log' for more details." >&2;}
25839 { (exit 1); exit 1; }; }
25841 cat >conftest.
$ac_ext <<_ACEOF
25844 cat confdefs.h
>>conftest.
$ac_ext
25845 cat >>conftest.
$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847 $ac_includes_default
25848 long longval () { return (long) (sizeof (short)); }
25849 unsigned long ulongval () { return (long) (sizeof (short)); }
25851 #include <stdlib.h>
25856 FILE *f = fopen ("conftest.val", "w");
25859 if (((long) (sizeof (short))) < 0)
25861 long i = longval ();
25862 if (i != ((long) (sizeof (short))))
25864 fprintf (f, "%ld\n", i);
25868 unsigned long i = ulongval ();
25869 if (i != ((long) (sizeof (short))))
25871 fprintf (f, "%lu\n", i);
25873 exit (ferror (f) || fclose (f) != 0);
25879 rm -f conftest
$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25886 (eval $ac_try) 2>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); }; }; then
25890 ac_cv_sizeof_short
=`cat conftest.val`
25892 echo "$as_me: program exited with status $ac_status" >&5
25893 echo "$as_me: failed program was:" >&5
25894 sed 's/^/| /' conftest.
$ac_ext >&5
25896 ( exit $ac_status )
25897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25898 See \`config.log' for more details." >&5
25899 echo "$as_me: error: cannot compute sizeof (short), 77
25900 See \`config.log' for more details." >&2;}
25901 { (exit 1); exit 1; }; }
25903 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25908 ac_cv_sizeof_short
=0
25911 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
25912 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
25913 cat >>confdefs.h
<<_ACEOF
25914 #define SIZEOF_SHORT $ac_cv_sizeof_short
25917 echo "$as_me:$LINENO: checking for long" >&5
25918 echo $ECHO_N "checking for long... $ECHO_C" >&6
25919 if test "${ac_cv_type_long+set}" = set; then
25920 echo $ECHO_N "(cached) $ECHO_C" >&6
25922 cat >conftest.
$ac_ext <<_ACEOF
25925 cat confdefs.h
>>conftest.
$ac_ext
25926 cat >>conftest.
$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 $ac_includes_default
25940 rm -f conftest.
$ac_objext
25941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25942 (eval $ac_compile) 2>conftest.er1
25944 grep -v '^ *+' conftest.er1
>conftest.err
25946 cat conftest.err
>&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } &&
25949 { ac_try
='test -z "$ac_c_werror_flag"
25950 || test ! -s conftest.err'
25951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952 (eval $ac_try) 2>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); }; } &&
25956 { ac_try
='test -s conftest.$ac_objext'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 ac_cv_type_long
=yes
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.
$ac_ext >&5
25969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25971 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
25972 echo "${ECHO_T}$ac_cv_type_long" >&6
25974 echo "$as_me:$LINENO: checking size of long" >&5
25975 echo $ECHO_N "checking size of long... $ECHO_C" >&6
25976 if test "${ac_cv_sizeof_long+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25979 if test "$ac_cv_type_long" = yes; then
25980 # The cast to unsigned long works around a bug in the HP C Compiler
25981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25983 # This bug is HP SR number 8606223364.
25984 if test "$cross_compiling" = yes; then
25985 # Depending upon the size, compute the lo and hi bounds.
25986 cat >conftest.
$ac_ext <<_ACEOF
25989 cat confdefs.h
>>conftest.
$ac_ext
25990 cat >>conftest.
$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 $ac_includes_default
25996 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
26003 rm -f conftest.
$ac_objext
26004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26005 (eval $ac_compile) 2>conftest.er1
26007 grep -v '^ *+' conftest.er1
>conftest.err
26009 cat conftest.err
>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } &&
26012 { ac_try
='test -z "$ac_c_werror_flag"
26013 || test ! -s conftest.err'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; } &&
26019 { ac_try
='test -s conftest.$ac_objext'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; }; then
26027 cat >conftest.
$ac_ext <<_ACEOF
26030 cat confdefs.h
>>conftest.
$ac_ext
26031 cat >>conftest.
$ac_ext <<_ACEOF
26032 /* end confdefs.h. */
26033 $ac_includes_default
26037 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
26044 rm -f conftest.
$ac_objext
26045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26046 (eval $ac_compile) 2>conftest.er1
26048 grep -v '^ *+' conftest.er1
>conftest.err
26050 cat conftest.err
>&5
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); } &&
26053 { ac_try
='test -z "$ac_c_werror_flag"
26054 || test ! -s conftest.err'
26055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26056 (eval $ac_try) 2>&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); }; } &&
26060 { ac_try
='test -s conftest.$ac_objext'
26061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26062 (eval $ac_try) 2>&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); }; }; then
26066 ac_hi
=$ac_mid; break
26068 echo "$as_me: failed program was:" >&5
26069 sed 's/^/| /' conftest.
$ac_ext >&5
26071 ac_lo
=`expr $ac_mid + 1`
26072 if test $ac_lo -le $ac_mid; then
26076 ac_mid
=`expr 2 '*' $ac_mid + 1`
26078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26081 echo "$as_me: failed program was:" >&5
26082 sed 's/^/| /' conftest.
$ac_ext >&5
26084 cat >conftest.
$ac_ext <<_ACEOF
26087 cat confdefs.h
>>conftest.
$ac_ext
26088 cat >>conftest.
$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26090 $ac_includes_default
26094 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
26101 rm -f conftest.
$ac_objext
26102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26103 (eval $ac_compile) 2>conftest.er1
26105 grep -v '^ *+' conftest.er1
>conftest.err
26107 cat conftest.err
>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } &&
26110 { ac_try
='test -z "$ac_c_werror_flag"
26111 || test ! -s conftest.err'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; } &&
26117 { ac_try
='test -s conftest.$ac_objext'
26118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26119 (eval $ac_try) 2>&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); }; }; then
26125 cat >conftest.
$ac_ext <<_ACEOF
26128 cat confdefs.h
>>conftest.
$ac_ext
26129 cat >>conftest.
$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26131 $ac_includes_default
26135 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
26142 rm -f conftest.
$ac_objext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26144 (eval $ac_compile) 2>conftest.er1
26146 grep -v '^ *+' conftest.er1
>conftest.err
26148 cat conftest.err
>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try
='test -z "$ac_c_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try
='test -s conftest.$ac_objext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 ac_lo
=$ac_mid; break
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.
$ac_ext >&5
26169 ac_hi
=`expr '(' $ac_mid ')' - 1`
26170 if test $ac_mid -le $ac_hi; then
26174 ac_mid
=`expr 2 '*' $ac_mid`
26176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26179 echo "$as_me: failed program was:" >&5
26180 sed 's/^/| /' conftest.
$ac_ext >&5
26184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26187 # Binary search between lo and hi bounds.
26188 while test "x$ac_lo" != "x$ac_hi"; do
26189 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26190 cat >conftest.
$ac_ext <<_ACEOF
26193 cat confdefs.h
>>conftest.
$ac_ext
26194 cat >>conftest.
$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196 $ac_includes_default
26200 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
26207 rm -f conftest.
$ac_objext
26208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26209 (eval $ac_compile) 2>conftest.er1
26211 grep -v '^ *+' conftest.er1
>conftest.err
26213 cat conftest.err
>&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } &&
26216 { ac_try
='test -z "$ac_c_werror_flag"
26217 || test ! -s conftest.err'
26218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26219 (eval $ac_try) 2>&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); }; } &&
26223 { ac_try
='test -s conftest.$ac_objext'
26224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26225 (eval $ac_try) 2>&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); }; }; then
26231 echo "$as_me: failed program was:" >&5
26232 sed 's/^/| /' conftest.
$ac_ext >&5
26234 ac_lo
=`expr '(' $ac_mid ')' + 1`
26236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26239 ?
*) ac_cv_sizeof_long
=$ac_lo;;
26240 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
26241 See \`config.log' for more details." >&5
26242 echo "$as_me: error: cannot compute sizeof (long), 77
26243 See \`config.log' for more details." >&2;}
26244 { (exit 1); exit 1; }; } ;;
26247 if test "$cross_compiling" = yes; then
26248 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26249 See \`config.log' for more details." >&5
26250 echo "$as_me: error: cannot run test program while cross compiling
26251 See \`config.log' for more details." >&2;}
26252 { (exit 1); exit 1; }; }
26254 cat >conftest.
$ac_ext <<_ACEOF
26257 cat confdefs.h
>>conftest.
$ac_ext
26258 cat >>conftest.
$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26260 $ac_includes_default
26261 long longval () { return (long) (sizeof (long)); }
26262 unsigned long ulongval () { return (long) (sizeof (long)); }
26264 #include <stdlib.h>
26269 FILE *f = fopen ("conftest.val", "w");
26272 if (((long) (sizeof (long))) < 0)
26274 long i = longval ();
26275 if (i != ((long) (sizeof (long))))
26277 fprintf (f, "%ld\n", i);
26281 unsigned long i = ulongval ();
26282 if (i != ((long) (sizeof (long))))
26284 fprintf (f, "%lu\n", i);
26286 exit (ferror (f) || fclose (f) != 0);
26292 rm -f conftest
$ac_exeext
26293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26299 (eval $ac_try) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); }; }; then
26303 ac_cv_sizeof_long
=`cat conftest.val`
26305 echo "$as_me: program exited with status $ac_status" >&5
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.
$ac_ext >&5
26309 ( exit $ac_status )
26310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
26311 See \`config.log' for more details." >&5
26312 echo "$as_me: error: cannot compute sizeof (long), 77
26313 See \`config.log' for more details." >&2;}
26314 { (exit 1); exit 1; }; }
26316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26321 ac_cv_sizeof_long
=0
26324 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26325 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
26326 cat >>confdefs.h
<<_ACEOF
26327 #define SIZEOF_LONG $ac_cv_sizeof_long
26330 echo "$as_me:$LINENO: checking for char *" >&5
26331 echo $ECHO_N "checking for char *... $ECHO_C" >&6
26332 if test "${ac_cv_type_char_p+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26335 cat >conftest.
$ac_ext <<_ACEOF
26338 cat confdefs.h
>>conftest.
$ac_ext
26339 cat >>conftest.
$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341 $ac_includes_default
26347 if (sizeof (char *))
26353 rm -f conftest.
$ac_objext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26355 (eval $ac_compile) 2>conftest.er1
26357 grep -v '^ *+' conftest.er1
>conftest.err
26359 cat conftest.err
>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try
='test -z "$ac_c_werror_flag"
26363 || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try
='test -s conftest.$ac_objext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26375 ac_cv_type_char_p
=yes
26377 echo "$as_me: failed program was:" >&5
26378 sed 's/^/| /' conftest.
$ac_ext >&5
26380 ac_cv_type_char_p
=no
26382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26384 echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26385 echo "${ECHO_T}$ac_cv_type_char_p" >&6
26387 echo "$as_me:$LINENO: checking size of char *" >&5
26388 echo $ECHO_N "checking size of char *... $ECHO_C" >&6
26389 if test "${ac_cv_sizeof_char_p+set}" = set; then
26390 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 if test "$ac_cv_type_char_p" = yes; then
26393 # The cast to unsigned long works around a bug in the HP C Compiler
26394 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26395 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26396 # This bug is HP SR number 8606223364.
26397 if test "$cross_compiling" = yes; then
26398 # Depending upon the size, compute the lo and hi bounds.
26399 cat >conftest.
$ac_ext <<_ACEOF
26402 cat confdefs.h
>>conftest.
$ac_ext
26403 cat >>conftest.
$ac_ext <<_ACEOF
26404 /* end confdefs.h. */
26405 $ac_includes_default
26409 static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
26416 rm -f conftest.
$ac_objext
26417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26418 (eval $ac_compile) 2>conftest.er1
26420 grep -v '^ *+' conftest.er1
>conftest.err
26422 cat conftest.err
>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } &&
26425 { ac_try
='test -z "$ac_c_werror_flag"
26426 || test ! -s conftest.err'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; } &&
26432 { ac_try
='test -s conftest.$ac_objext'
26433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26434 (eval $ac_try) 2>&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); }; }; then
26440 cat >conftest.
$ac_ext <<_ACEOF
26443 cat confdefs.h
>>conftest.
$ac_ext
26444 cat >>conftest.
$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26446 $ac_includes_default
26450 static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
26457 rm -f conftest.
$ac_objext
26458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26459 (eval $ac_compile) 2>conftest.er1
26461 grep -v '^ *+' conftest.er1
>conftest.err
26463 cat conftest.err
>&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } &&
26466 { ac_try
='test -z "$ac_c_werror_flag"
26467 || test ! -s conftest.err'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; } &&
26473 { ac_try
='test -s conftest.$ac_objext'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; }; then
26479 ac_hi
=$ac_mid; break
26481 echo "$as_me: failed program was:" >&5
26482 sed 's/^/| /' conftest.
$ac_ext >&5
26484 ac_lo
=`expr $ac_mid + 1`
26485 if test $ac_lo -le $ac_mid; then
26489 ac_mid
=`expr 2 '*' $ac_mid + 1`
26491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26494 echo "$as_me: failed program was:" >&5
26495 sed 's/^/| /' conftest.
$ac_ext >&5
26497 cat >conftest.
$ac_ext <<_ACEOF
26500 cat confdefs.h
>>conftest.
$ac_ext
26501 cat >>conftest.
$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26503 $ac_includes_default
26507 static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
26514 rm -f conftest.
$ac_objext
26515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26516 (eval $ac_compile) 2>conftest.er1
26518 grep -v '^ *+' conftest.er1
>conftest.err
26520 cat conftest.err
>&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } &&
26523 { ac_try
='test -z "$ac_c_werror_flag"
26524 || test ! -s conftest.err'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; } &&
26530 { ac_try
='test -s conftest.$ac_objext'
26531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532 (eval $ac_try) 2>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); }; }; then
26538 cat >conftest.
$ac_ext <<_ACEOF
26541 cat confdefs.h
>>conftest.
$ac_ext
26542 cat >>conftest.
$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26544 $ac_includes_default
26548 static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
26555 rm -f conftest.
$ac_objext
26556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26557 (eval $ac_compile) 2>conftest.er1
26559 grep -v '^ *+' conftest.er1
>conftest.err
26561 cat conftest.err
>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } &&
26564 { ac_try
='test -z "$ac_c_werror_flag"
26565 || test ! -s conftest.err'
26566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26567 (eval $ac_try) 2>&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); }; } &&
26571 { ac_try
='test -s conftest.$ac_objext'
26572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573 (eval $ac_try) 2>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); }; }; then
26577 ac_lo
=$ac_mid; break
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.
$ac_ext >&5
26582 ac_hi
=`expr '(' $ac_mid ')' - 1`
26583 if test $ac_mid -le $ac_hi; then
26587 ac_mid
=`expr 2 '*' $ac_mid`
26589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.
$ac_ext >&5
26597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26600 # Binary search between lo and hi bounds.
26601 while test "x$ac_lo" != "x$ac_hi"; do
26602 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26603 cat >conftest.
$ac_ext <<_ACEOF
26606 cat confdefs.h
>>conftest.
$ac_ext
26607 cat >>conftest.
$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 $ac_includes_default
26613 static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
26620 rm -f conftest.
$ac_objext
26621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26622 (eval $ac_compile) 2>conftest.er1
26624 grep -v '^ *+' conftest.er1
>conftest.err
26626 cat conftest.err
>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } &&
26629 { ac_try
='test -z "$ac_c_werror_flag"
26630 || test ! -s conftest.err'
26631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26632 (eval $ac_try) 2>&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); }; } &&
26636 { ac_try
='test -s conftest.$ac_objext'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; }; then
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.
$ac_ext >&5
26647 ac_lo
=`expr '(' $ac_mid ')' + 1`
26649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26652 ?
*) ac_cv_sizeof_char_p
=$ac_lo;;
26653 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
26654 See \`config.log' for more details." >&5
26655 echo "$as_me: error: cannot compute sizeof (char *), 77
26656 See \`config.log' for more details." >&2;}
26657 { (exit 1); exit 1; }; } ;;
26660 if test "$cross_compiling" = yes; then
26661 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26662 See \`config.log' for more details." >&5
26663 echo "$as_me: error: cannot run test program while cross compiling
26664 See \`config.log' for more details." >&2;}
26665 { (exit 1); exit 1; }; }
26667 cat >conftest.
$ac_ext <<_ACEOF
26670 cat confdefs.h
>>conftest.
$ac_ext
26671 cat >>conftest.
$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 $ac_includes_default
26674 long longval () { return (long) (sizeof (char *)); }
26675 unsigned long ulongval () { return (long) (sizeof (char *)); }
26677 #include <stdlib.h>
26682 FILE *f = fopen ("conftest.val", "w");
26685 if (((long) (sizeof (char *))) < 0)
26687 long i = longval ();
26688 if (i != ((long) (sizeof (char *))))
26690 fprintf (f, "%ld\n", i);
26694 unsigned long i = ulongval ();
26695 if (i != ((long) (sizeof (char *))))
26697 fprintf (f, "%lu\n", i);
26699 exit (ferror (f) || fclose (f) != 0);
26705 rm -f conftest
$ac_exeext
26706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26707 (eval $ac_link) 2>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 ac_cv_sizeof_char_p
=`cat conftest.val`
26718 echo "$as_me: program exited with status $ac_status" >&5
26719 echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.
$ac_ext >&5
26722 ( exit $ac_status )
26723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
26724 See \`config.log' for more details." >&5
26725 echo "$as_me: error: cannot compute sizeof (char *), 77
26726 See \`config.log' for more details." >&2;}
26727 { (exit 1); exit 1; }; }
26729 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26734 ac_cv_sizeof_char_p
=0
26737 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
26738 echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
26739 cat >>confdefs.h
<<_ACEOF
26740 #define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
26745 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26746 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26747 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 ac_check_lib_save_LIBS
=$LIBS
26752 cat >conftest.
$ac_ext <<_ACEOF
26755 cat confdefs.h
>>conftest.
$ac_ext
26756 cat >>conftest.
$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26759 /* Override any gcc2 internal prototype to avoid an error. */
26763 /* We use char because int might match the return type of a gcc2
26764 builtin and then its argument prototype would still apply. */
26774 rm -f conftest.
$ac_objext conftest
$ac_exeext
26775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26776 (eval $ac_link) 2>conftest.er1
26778 grep -v '^ *+' conftest.er1
>conftest.err
26780 cat conftest.err
>&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } &&
26783 { ac_try
='test -z "$ac_c_werror_flag"
26784 || test ! -s conftest.err'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; } &&
26790 { ac_try
='test -s conftest$ac_exeext'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26796 ac_cv_lib_dl_dlopen
=yes
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.
$ac_ext >&5
26801 ac_cv_lib_dl_dlopen
=no
26803 rm -f conftest.err conftest.
$ac_objext \
26804 conftest
$ac_exeext conftest.
$ac_ext
26805 LIBS
=$ac_check_lib_save_LIBS
26807 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26808 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26809 if test $ac_cv_lib_dl_dlopen = yes; then
26812 ac_cv_have_dlfcn
=yes
26817 echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
26818 echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
26819 if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 ac_check_lib_save_LIBS
=$LIBS
26824 cat >conftest.
$ac_ext <<_ACEOF
26827 cat confdefs.h
>>conftest.
$ac_ext
26828 cat >>conftest.
$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26831 /* Override any gcc2 internal prototype to avoid an error. */
26835 /* We use char because int might match the return type of a gcc2
26836 builtin and then its argument prototype would still apply. */
26837 char shl_unload ();
26846 rm -f conftest.
$ac_objext conftest
$ac_exeext
26847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26848 (eval $ac_link) 2>conftest.er1
26850 grep -v '^ *+' conftest.er1
>conftest.err
26852 cat conftest.err
>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); } &&
26855 { ac_try
='test -z "$ac_c_werror_flag"
26856 || test ! -s conftest.err'
26857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 (eval $ac_try) 2>&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); }; } &&
26862 { ac_try
='test -s conftest$ac_exeext'
26863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26864 (eval $ac_try) 2>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); }; }; then
26868 ac_cv_lib_dld_shl_unload
=yes
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.
$ac_ext >&5
26873 ac_cv_lib_dld_shl_unload
=no
26875 rm -f conftest.err conftest.
$ac_objext \
26876 conftest
$ac_exeext conftest.
$ac_ext
26877 LIBS
=$ac_check_lib_save_LIBS
26879 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
26880 echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
26881 if test $ac_cv_lib_dld_shl_unload = yes; then
26884 ac_cv_have_shload
=yes
26894 echo "$as_me:$LINENO: checking for size_t" >&5
26895 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26896 if test "${ac_cv_type_size_t+set}" = set; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 cat >conftest.
$ac_ext <<_ACEOF
26902 cat confdefs.h
>>conftest.
$ac_ext
26903 cat >>conftest.
$ac_ext <<_ACEOF
26904 /* end confdefs.h. */
26905 $ac_includes_default
26911 if (sizeof (size_t))
26917 rm -f conftest.
$ac_objext
26918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26919 (eval $ac_compile) 2>conftest.er1
26921 grep -v '^ *+' conftest.er1
>conftest.err
26923 cat conftest.err
>&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); } &&
26926 { ac_try
='test -z "$ac_c_werror_flag"
26927 || test ! -s conftest.err'
26928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929 (eval $ac_try) 2>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); }; } &&
26933 { ac_try
='test -s conftest.$ac_objext'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; }; then
26939 ac_cv_type_size_t
=yes
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.
$ac_ext >&5
26944 ac_cv_type_size_t
=no
26946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26948 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26949 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26951 echo "$as_me:$LINENO: checking size of size_t" >&5
26952 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
26953 if test "${ac_cv_sizeof_size_t+set}" = set; then
26954 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 if test "$ac_cv_type_size_t" = yes; then
26957 # The cast to unsigned long works around a bug in the HP C Compiler
26958 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26959 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26960 # This bug is HP SR number 8606223364.
26961 if test "$cross_compiling" = yes; then
26962 # Depending upon the size, compute the lo and hi bounds.
26963 cat >conftest.
$ac_ext <<_ACEOF
26966 cat confdefs.h
>>conftest.
$ac_ext
26967 cat >>conftest.
$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26969 $ac_includes_default
26973 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
26980 rm -f conftest.
$ac_objext
26981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26982 (eval $ac_compile) 2>conftest.er1
26984 grep -v '^ *+' conftest.er1
>conftest.err
26986 cat conftest.err
>&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); } &&
26989 { ac_try
='test -z "$ac_c_werror_flag"
26990 || test ! -s conftest.err'
26991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26992 (eval $ac_try) 2>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); }; } &&
26996 { ac_try
='test -s conftest.$ac_objext'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; }; then
27004 cat >conftest.
$ac_ext <<_ACEOF
27007 cat confdefs.h
>>conftest.
$ac_ext
27008 cat >>conftest.
$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010 $ac_includes_default
27014 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
27021 rm -f conftest.
$ac_objext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27023 (eval $ac_compile) 2>conftest.er1
27025 grep -v '^ *+' conftest.er1
>conftest.err
27027 cat conftest.err
>&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } &&
27030 { ac_try
='test -z "$ac_c_werror_flag"
27031 || test ! -s conftest.err'
27032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27033 (eval $ac_try) 2>&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); }; } &&
27037 { ac_try
='test -s conftest.$ac_objext'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; }; then
27043 ac_hi
=$ac_mid; break
27045 echo "$as_me: failed program was:" >&5
27046 sed 's/^/| /' conftest.
$ac_ext >&5
27048 ac_lo
=`expr $ac_mid + 1`
27049 if test $ac_lo -le $ac_mid; then
27053 ac_mid
=`expr 2 '*' $ac_mid + 1`
27055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.
$ac_ext >&5
27061 cat >conftest.
$ac_ext <<_ACEOF
27064 cat confdefs.h
>>conftest.
$ac_ext
27065 cat >>conftest.
$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 $ac_includes_default
27071 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
27078 rm -f conftest.
$ac_objext
27079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27080 (eval $ac_compile) 2>conftest.er1
27082 grep -v '^ *+' conftest.er1
>conftest.err
27084 cat conftest.err
>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); } &&
27087 { ac_try
='test -z "$ac_c_werror_flag"
27088 || test ! -s conftest.err'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; } &&
27094 { ac_try
='test -s conftest.$ac_objext'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; }; then
27102 cat >conftest.
$ac_ext <<_ACEOF
27105 cat confdefs.h
>>conftest.
$ac_ext
27106 cat >>conftest.
$ac_ext <<_ACEOF
27107 /* end confdefs.h. */
27108 $ac_includes_default
27112 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
27119 rm -f conftest.
$ac_objext
27120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27121 (eval $ac_compile) 2>conftest.er1
27123 grep -v '^ *+' conftest.er1
>conftest.err
27125 cat conftest.err
>&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } &&
27128 { ac_try
='test -z "$ac_c_werror_flag"
27129 || test ! -s conftest.err'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; } &&
27135 { ac_try
='test -s conftest.$ac_objext'
27136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137 (eval $ac_try) 2>&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); }; }; then
27141 ac_lo
=$ac_mid; break
27143 echo "$as_me: failed program was:" >&5
27144 sed 's/^/| /' conftest.
$ac_ext >&5
27146 ac_hi
=`expr '(' $ac_mid ')' - 1`
27147 if test $ac_mid -le $ac_hi; then
27151 ac_mid
=`expr 2 '*' $ac_mid`
27153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.
$ac_ext >&5
27161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27164 # Binary search between lo and hi bounds.
27165 while test "x$ac_lo" != "x$ac_hi"; do
27166 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27167 cat >conftest.
$ac_ext <<_ACEOF
27170 cat confdefs.h
>>conftest.
$ac_ext
27171 cat >>conftest.
$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173 $ac_includes_default
27177 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
27184 rm -f conftest.
$ac_objext
27185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27186 (eval $ac_compile) 2>conftest.er1
27188 grep -v '^ *+' conftest.er1
>conftest.err
27190 cat conftest.err
>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } &&
27193 { ac_try
='test -z "$ac_c_werror_flag"
27194 || test ! -s conftest.err'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; } &&
27200 { ac_try
='test -s conftest.$ac_objext'
27201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27202 (eval $ac_try) 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); }; }; then
27208 echo "$as_me: failed program was:" >&5
27209 sed 's/^/| /' conftest.
$ac_ext >&5
27211 ac_lo
=`expr '(' $ac_mid ')' + 1`
27213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27216 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
27217 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
27218 See \`config.log' for more details." >&5
27219 echo "$as_me: error: cannot compute sizeof (size_t), 77
27220 See \`config.log' for more details." >&2;}
27221 { (exit 1); exit 1; }; } ;;
27224 if test "$cross_compiling" = yes; then
27225 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27226 See \`config.log' for more details." >&5
27227 echo "$as_me: error: cannot run test program while cross compiling
27228 See \`config.log' for more details." >&2;}
27229 { (exit 1); exit 1; }; }
27231 cat >conftest.
$ac_ext <<_ACEOF
27234 cat confdefs.h
>>conftest.
$ac_ext
27235 cat >>conftest.
$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237 $ac_includes_default
27238 long longval () { return (long) (sizeof (size_t)); }
27239 unsigned long ulongval () { return (long) (sizeof (size_t)); }
27241 #include <stdlib.h>
27246 FILE *f = fopen ("conftest.val", "w");
27249 if (((long) (sizeof (size_t))) < 0)
27251 long i = longval ();
27252 if (i != ((long) (sizeof (size_t))))
27254 fprintf (f, "%ld\n", i);
27258 unsigned long i = ulongval ();
27259 if (i != ((long) (sizeof (size_t))))
27261 fprintf (f, "%lu\n", i);
27263 exit (ferror (f) || fclose (f) != 0);
27269 rm -f conftest
$ac_exeext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27271 (eval $ac_link) 2>&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27276 (eval $ac_try) 2>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; }; then
27280 ac_cv_sizeof_size_t
=`cat conftest.val`
27282 echo "$as_me: program exited with status $ac_status" >&5
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.
$ac_ext >&5
27286 ( exit $ac_status )
27287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
27288 See \`config.log' for more details." >&5
27289 echo "$as_me: error: cannot compute sizeof (size_t), 77
27290 See \`config.log' for more details." >&2;}
27291 { (exit 1); exit 1; }; }
27293 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27298 ac_cv_sizeof_size_t
=0
27301 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27302 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
27303 cat >>confdefs.h
<<_ACEOF
27304 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27308 echo "$as_me:$LINENO: checking for unsigned long" >&5
27309 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
27310 if test "${ac_cv_type_unsigned_long+set}" = set; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27313 cat >conftest.
$ac_ext <<_ACEOF
27316 cat confdefs.h
>>conftest.
$ac_ext
27317 cat >>conftest.
$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 $ac_includes_default
27323 if ((unsigned long *) 0)
27325 if (sizeof (unsigned long))
27331 rm -f conftest.
$ac_objext
27332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27333 (eval $ac_compile) 2>conftest.er1
27335 grep -v '^ *+' conftest.er1
>conftest.err
27337 cat conftest.err
>&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); } &&
27340 { ac_try
='test -z "$ac_c_werror_flag"
27341 || test ! -s conftest.err'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; } &&
27347 { ac_try
='test -s conftest.$ac_objext'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; }; then
27353 ac_cv_type_unsigned_long
=yes
27355 echo "$as_me: failed program was:" >&5
27356 sed 's/^/| /' conftest.
$ac_ext >&5
27358 ac_cv_type_unsigned_long
=no
27360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27362 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27363 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
27365 echo "$as_me:$LINENO: checking size of unsigned long" >&5
27366 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
27367 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27370 if test "$ac_cv_type_unsigned_long" = yes; then
27371 # The cast to unsigned long works around a bug in the HP C Compiler
27372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27374 # This bug is HP SR number 8606223364.
27375 if test "$cross_compiling" = yes; then
27376 # Depending upon the size, compute the lo and hi bounds.
27377 cat >conftest.
$ac_ext <<_ACEOF
27380 cat confdefs.h
>>conftest.
$ac_ext
27381 cat >>conftest.
$ac_ext <<_ACEOF
27382 /* end confdefs.h. */
27383 $ac_includes_default
27387 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
27394 rm -f conftest.
$ac_objext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27396 (eval $ac_compile) 2>conftest.er1
27398 grep -v '^ *+' conftest.er1
>conftest.err
27400 cat conftest.err
>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try
='test -z "$ac_c_werror_flag"
27404 || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try
='test -s conftest.$ac_objext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27418 cat >conftest.
$ac_ext <<_ACEOF
27421 cat confdefs.h
>>conftest.
$ac_ext
27422 cat >>conftest.
$ac_ext <<_ACEOF
27423 /* end confdefs.h. */
27424 $ac_includes_default
27428 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
27435 rm -f conftest.
$ac_objext
27436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27437 (eval $ac_compile) 2>conftest.er1
27439 grep -v '^ *+' conftest.er1
>conftest.err
27441 cat conftest.err
>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } &&
27444 { ac_try
='test -z "$ac_c_werror_flag"
27445 || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try
='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457 ac_hi
=$ac_mid; break
27459 echo "$as_me: failed program was:" >&5
27460 sed 's/^/| /' conftest.
$ac_ext >&5
27462 ac_lo
=`expr $ac_mid + 1`
27463 if test $ac_lo -le $ac_mid; then
27467 ac_mid
=`expr 2 '*' $ac_mid + 1`
27469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27472 echo "$as_me: failed program was:" >&5
27473 sed 's/^/| /' conftest.
$ac_ext >&5
27475 cat >conftest.
$ac_ext <<_ACEOF
27478 cat confdefs.h
>>conftest.
$ac_ext
27479 cat >>conftest.
$ac_ext <<_ACEOF
27480 /* end confdefs.h. */
27481 $ac_includes_default
27485 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
27492 rm -f conftest.
$ac_objext
27493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27494 (eval $ac_compile) 2>conftest.er1
27496 grep -v '^ *+' conftest.er1
>conftest.err
27498 cat conftest.err
>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try
='test -z "$ac_c_werror_flag"
27502 || test ! -s conftest.err'
27503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27504 (eval $ac_try) 2>&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); }; } &&
27508 { ac_try
='test -s conftest.$ac_objext'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; }; then
27516 cat >conftest.
$ac_ext <<_ACEOF
27519 cat confdefs.h
>>conftest.
$ac_ext
27520 cat >>conftest.
$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 $ac_includes_default
27526 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
27533 rm -f conftest.
$ac_objext
27534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27535 (eval $ac_compile) 2>conftest.er1
27537 grep -v '^ *+' conftest.er1
>conftest.err
27539 cat conftest.err
>&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } &&
27542 { ac_try
='test -z "$ac_c_werror_flag"
27543 || test ! -s conftest.err'
27544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27545 (eval $ac_try) 2>&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); }; } &&
27549 { ac_try
='test -s conftest.$ac_objext'
27550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27551 (eval $ac_try) 2>&5
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); }; }; then
27555 ac_lo
=$ac_mid; break
27557 echo "$as_me: failed program was:" >&5
27558 sed 's/^/| /' conftest.
$ac_ext >&5
27560 ac_hi
=`expr '(' $ac_mid ')' - 1`
27561 if test $ac_mid -le $ac_hi; then
27565 ac_mid
=`expr 2 '*' $ac_mid`
27567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27570 echo "$as_me: failed program was:" >&5
27571 sed 's/^/| /' conftest.
$ac_ext >&5
27575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27578 # Binary search between lo and hi bounds.
27579 while test "x$ac_lo" != "x$ac_hi"; do
27580 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27581 cat >conftest.
$ac_ext <<_ACEOF
27584 cat confdefs.h
>>conftest.
$ac_ext
27585 cat >>conftest.
$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27587 $ac_includes_default
27591 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
27598 rm -f conftest.
$ac_objext
27599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27600 (eval $ac_compile) 2>conftest.er1
27602 grep -v '^ *+' conftest.er1
>conftest.err
27604 cat conftest.err
>&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); } &&
27607 { ac_try
='test -z "$ac_c_werror_flag"
27608 || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try
='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27622 echo "$as_me: failed program was:" >&5
27623 sed 's/^/| /' conftest.
$ac_ext >&5
27625 ac_lo
=`expr '(' $ac_mid ')' + 1`
27627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27630 ?
*) ac_cv_sizeof_unsigned_long
=$ac_lo;;
27631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
27632 See \`config.log' for more details." >&5
27633 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
27634 See \`config.log' for more details." >&2;}
27635 { (exit 1); exit 1; }; } ;;
27638 if test "$cross_compiling" = yes; then
27639 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27640 See \`config.log' for more details." >&5
27641 echo "$as_me: error: cannot run test program while cross compiling
27642 See \`config.log' for more details." >&2;}
27643 { (exit 1); exit 1; }; }
27645 cat >conftest.
$ac_ext <<_ACEOF
27648 cat confdefs.h
>>conftest.
$ac_ext
27649 cat >>conftest.
$ac_ext <<_ACEOF
27650 /* end confdefs.h. */
27651 $ac_includes_default
27652 long longval () { return (long) (sizeof (unsigned long)); }
27653 unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
27655 #include <stdlib.h>
27660 FILE *f = fopen ("conftest.val", "w");
27663 if (((long) (sizeof (unsigned long))) < 0)
27665 long i = longval ();
27666 if (i != ((long) (sizeof (unsigned long))))
27668 fprintf (f, "%ld\n", i);
27672 unsigned long i = ulongval ();
27673 if (i != ((long) (sizeof (unsigned long))))
27675 fprintf (f, "%lu\n", i);
27677 exit (ferror (f) || fclose (f) != 0);
27683 rm -f conftest
$ac_exeext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27685 (eval $ac_link) 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27690 (eval $ac_try) 2>&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); }; }; then
27694 ac_cv_sizeof_unsigned_long
=`cat conftest.val`
27696 echo "$as_me: program exited with status $ac_status" >&5
27697 echo "$as_me: failed program was:" >&5
27698 sed 's/^/| /' conftest.
$ac_ext >&5
27700 ( exit $ac_status )
27701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
27702 See \`config.log' for more details." >&5
27703 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
27704 See \`config.log' for more details." >&2;}
27705 { (exit 1); exit 1; }; }
27707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27712 ac_cv_sizeof_unsigned_long
=0
27715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
27716 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
27717 cat >>confdefs.h
<<_ACEOF
27718 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
27723 echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
27724 echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
27725 cat >conftest.
$ac_ext <<_ACEOF
27728 cat confdefs.h
>>conftest.
$ac_ext
27729 cat >>conftest.
$ac_ext <<_ACEOF
27730 /* end confdefs.h. */
27736 #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
27744 rm -f conftest.
$ac_objext
27745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27746 (eval $ac_compile) 2>conftest.er1
27748 grep -v '^ *+' conftest.er1
>conftest.err
27750 cat conftest.err
>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } &&
27753 { ac_try
='test -z "$ac_c_werror_flag"
27754 || test ! -s conftest.err'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; } &&
27760 { ac_try
='test -s conftest.$ac_objext'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; }; then
27766 echo "$as_me:$LINENO: result: yes" >&5
27767 echo "${ECHO_T}yes" >&6
27769 echo "$as_me: failed program was:" >&5
27770 sed 's/^/| /' conftest.
$ac_ext >&5
27773 echo "$as_me:$LINENO: result: no" >&5
27774 echo "${ECHO_T}no" >&6
27775 { { echo "$as_me:$LINENO: error:
27776 Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27777 does not apply. Please mail kde-devel@kde.org with a description of your system!
27779 echo "$as_me: error:
27780 Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27781 does not apply. Please mail kde-devel@kde.org with a description of your system!
27783 { (exit 1); exit 1; }; }
27786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27789 echo "$as_me:$LINENO: checking for PIE support" >&5
27790 echo $ECHO_N "checking for PIE support... $ECHO_C" >&6
27791 if test "${kde_cv_val_pie_support+set}" = set; then
27792 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 ac_cpp
='$CXXCPP $CPPFLAGS'
27799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27803 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
27806 safe_CXXFLAGS
=$CXXFLAGS
27807 safe_LDFLAGS
=$LDFLAGS
27808 CXXFLAGS
="$CXXFLAGS -fPIE"
27809 LDFLAGS
="$LDFLAGS -pie"
27811 cat >conftest.
$ac_ext <<_ACEOF
27814 cat confdefs.h
>>conftest.
$ac_ext
27815 cat >>conftest.
$ac_ext <<_ACEOF
27816 /* end confdefs.h. */
27826 rm -f conftest.
$ac_objext conftest
$ac_exeext
27827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27828 (eval $ac_link) 2>conftest.er1
27830 grep -v '^ *+' conftest.er1
>conftest.err
27832 cat conftest.err
>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try
='test -z "$ac_cxx_werror_flag"
27836 || test ! -s conftest.err'
27837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838 (eval $ac_try) 2>&5
27840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841 (exit $ac_status); }; } &&
27842 { ac_try
='test -s conftest$ac_exeext'
27843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27844 (eval $ac_try) 2>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); }; }; then
27848 kde_cv_val_pie_support
=yes
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.
$ac_ext >&5
27853 kde_cv_val_pie_support
=no
27855 rm -f conftest.err conftest.
$ac_objext \
27856 conftest
$ac_exeext conftest.
$ac_ext
27858 CXXFLAGS
=$safe_CXXFLAGS
27859 LDFLAGS
=$safe_LDFLAGS
27861 ac_cpp
='$CPP $CPPFLAGS'
27862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27868 echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
27869 echo "${ECHO_T}$kde_cv_val_pie_support" >&6
27871 echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
27872 echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6
27874 # Check whether --enable-pie or --disable-pie was given.
27875 if test "${enable_pie+set}" = set; then
27876 enableval
="$enable_pie"
27877 kde_has_pie_support
=$enableval
27879 kde_has_pie_support
=detect
27882 if test "$kde_has_pie_support" = "detect"; then
27883 kde_has_pie_support
=$kde_cv_val_pie_support
27886 echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
27887 echo "${ECHO_T}$kde_has_pie_support" >&6
27895 if test "$kde_has_pie_support" = "yes"; then
27896 KDE_USE_FPIE
="-fPIE"
27901 # darwin needs this to initialize the environment
27903 for ac_header
in crt_externs.h
27905 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27907 echo "$as_me:$LINENO: checking for $ac_header" >&5
27908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27915 # Is the header compilable?
27916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27918 cat >conftest.
$ac_ext <<_ACEOF
27921 cat confdefs.h
>>conftest.
$ac_ext
27922 cat >>conftest.
$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27924 $ac_includes_default
27925 #include <$ac_header>
27927 rm -f conftest.
$ac_objext
27928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27929 (eval $ac_compile) 2>conftest.er1
27931 grep -v '^ *+' conftest.er1
>conftest.err
27933 cat conftest.err
>&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } &&
27936 { ac_try
='test -z "$ac_c_werror_flag"
27937 || test ! -s conftest.err'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; } &&
27943 { ac_try
='test -s conftest.$ac_objext'
27944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 (eval $ac_try) 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 ac_header_compiler
=yes
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.
$ac_ext >&5
27954 ac_header_compiler
=no
27956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27958 echo "${ECHO_T}$ac_header_compiler" >&6
27960 # Is the header present?
27961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27963 cat >conftest.
$ac_ext <<_ACEOF
27966 cat confdefs.h
>>conftest.
$ac_ext
27967 cat >>conftest.
$ac_ext <<_ACEOF
27968 /* end confdefs.h. */
27969 #include <$ac_header>
27971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27974 grep -v '^ *+' conftest.er1
>conftest.err
27976 cat conftest.err
>&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); } >/dev
/null
; then
27979 if test -s conftest.err
; then
27980 ac_cpp_err
=$ac_c_preproc_warn_flag
27981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27988 if test -z "$ac_cpp_err"; then
27989 ac_header_preproc
=yes
27991 echo "$as_me: failed program was:" >&5
27992 sed 's/^/| /' conftest.
$ac_ext >&5
27994 ac_header_preproc
=no
27996 rm -f conftest.err conftest.
$ac_ext
27997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27998 echo "${ECHO_T}$ac_header_preproc" >&6
28000 # So? What about this header?
28001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28007 ac_header_preproc
=yes
28010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28024 ## ------------------------------------------ ##
28025 ## Report this to the AC_PACKAGE_NAME lists. ##
28026 ## ------------------------------------------ ##
28029 sed "s/^/$as_me: WARNING: /" >&2
28032 echo "$as_me:$LINENO: checking for $ac_header" >&5
28033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28035 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 eval "$as_ac_Header=\$ac_header_preproc"
28039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28044 cat >>confdefs.h
<<_ACEOF
28045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28052 echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28053 echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
28054 if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28055 echo $ECHO_N "(cached) $ECHO_C" >&6
28057 cat >conftest.
$ac_ext <<_ACEOF
28060 cat confdefs.h
>>conftest.
$ac_ext
28061 cat >>conftest.
$ac_ext <<_ACEOF
28062 /* end confdefs.h. */
28063 /* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28065 #define _NSGetEnviron innocuous__NSGetEnviron
28067 /* System header to define __stub macros and hopefully few prototypes,
28068 which can conflict with char _NSGetEnviron (); below.
28069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28070 <limits.h> exists even on freestanding compilers. */
28073 # include <limits.h>
28075 # include <assert.h>
28078 #undef _NSGetEnviron
28080 /* Override any gcc2 internal prototype to avoid an error. */
28085 /* We use char because int might match the return type of a gcc2
28086 builtin and then its argument prototype would still apply. */
28087 char _NSGetEnviron ();
28088 /* The GNU C library defines this for functions which it implements
28089 to always fail with ENOSYS. Some functions are actually named
28090 something starting with __ and the normal name is an alias. */
28091 #if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
28094 char (*f) () = _NSGetEnviron;
28103 return f != _NSGetEnviron;
28108 rm -f conftest.
$ac_objext conftest
$ac_exeext
28109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28110 (eval $ac_link) 2>conftest.er1
28112 grep -v '^ *+' conftest.er1
>conftest.err
28114 cat conftest.err
>&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); } &&
28117 { ac_try
='test -z "$ac_c_werror_flag"
28118 || test ! -s conftest.err'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; } &&
28124 { ac_try
='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 ac_cv_func__NSGetEnviron
=yes
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.
$ac_ext >&5
28135 ac_cv_func__NSGetEnviron
=no
28137 rm -f conftest.err conftest.
$ac_objext \
28138 conftest
$ac_exeext conftest.
$ac_ext
28140 echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28141 echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
28142 if test $ac_cv_func__NSGetEnviron = yes; then
28144 cat >>confdefs.h
<<\_ACEOF
28145 #define HAVE_NSGETENVIRON 1
28159 for ac_func
in vsnprintf snprintf
28161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28162 echo "$as_me:$LINENO: checking for $ac_func" >&5
28163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28164 if eval "test \"\${$as_ac_var+set}\" = set"; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28167 cat >conftest.
$ac_ext <<_ACEOF
28170 cat confdefs.h
>>conftest.
$ac_ext
28171 cat >>conftest.
$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28175 #define $ac_func innocuous_$ac_func
28177 /* System header to define __stub macros and hopefully few prototypes,
28178 which can conflict with char $ac_func (); below.
28179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28180 <limits.h> exists even on freestanding compilers. */
28183 # include <limits.h>
28185 # include <assert.h>
28190 /* Override any gcc2 internal prototype to avoid an error. */
28195 /* We use char because int might match the return type of a gcc2
28196 builtin and then its argument prototype would still apply. */
28198 /* The GNU C library defines this for functions which it implements
28199 to always fail with ENOSYS. Some functions are actually named
28200 something starting with __ and the normal name is an alias. */
28201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28204 char (*f) () = $ac_func;
28213 return f != $ac_func;
28218 rm -f conftest.
$ac_objext conftest
$ac_exeext
28219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28220 (eval $ac_link) 2>conftest.er1
28222 grep -v '^ *+' conftest.er1
>conftest.err
28224 cat conftest.err
>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } &&
28227 { ac_try
='test -z "$ac_c_werror_flag"
28228 || test ! -s conftest.err'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; } &&
28234 { ac_try
='test -s conftest$ac_exeext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 eval "$as_ac_var=yes"
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.
$ac_ext >&5
28245 eval "$as_ac_var=no"
28247 rm -f conftest.err conftest.
$ac_objext \
28248 conftest
$ac_exeext conftest.
$ac_ext
28250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28252 if test `eval echo '${'$as_ac_var'}'` = yes; then
28253 cat >>confdefs.h
<<_ACEOF
28254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28268 # Check whether --enable-embedded or --disable-embedded was given.
28269 if test "${enable_embedded+set}" = set; then
28270 enableval
="$enable_embedded"
28271 kde_use_qt_emb
=$enableval
28277 # Check whether --enable-qtopia or --disable-qtopia was given.
28278 if test "${enable_qtopia+set}" = set; then
28279 enableval
="$enable_qtopia"
28280 kde_use_qt_emb_palm
=$enableval
28282 kde_use_qt_emb_palm
=no
28286 # Check whether --enable-mac or --disable-mac was given.
28287 if test "${enable_mac+set}" = set; then
28288 enableval
="$enable_mac"
28289 kde_use_qt_mac
=$enableval
28295 # used to disable x11-specific stuff on special platforms
28298 if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28300 include_x11_FALSE
='#'
28302 include_x11_TRUE
='#'
28307 if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28309 echo "$as_me:$LINENO: checking for X" >&5
28310 echo $ECHO_N "checking for X... $ECHO_C" >&6
28312 if test "${kde_cv_have_x+set}" = set; then
28313 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 # One or both of the vars are not set, and there is no cached value.
28316 if test "{$x_includes+set}" = set ||
test "$x_includes" = NONE
; then
28319 kde_x_includes
=$x_includes
28321 if test "{$x_libraries+set}" = set ||
test "$x_libraries" = NONE
; then
28324 kde_x_libraries
=$x_libraries
28327 # below we use the standard autoconf calls
28328 ac_x_libraries
=$kde_x_libraries
28329 ac_x_includes
=$kde_x_includes
28334 if test "$ac_x_includes" = NO
; then
28335 # Guess where to find include files, by looking for this one X11 .h file.
28336 test -z "$x_direct_test_include" && x_direct_test_include
=X11
/Intrinsic.h
28338 # First, try using that file with no special directory specified.
28339 cat >conftest.
$ac_ext <<_ACEOF
28342 cat confdefs.h
>>conftest.
$ac_ext
28343 cat >>conftest.
$ac_ext <<_ACEOF
28344 /* end confdefs.h. */
28345 #include <$x_direct_test_include>
28347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28350 grep -v '^ *+' conftest.er1
>conftest.err
28352 cat conftest.err
>&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } >/dev
/null
; then
28355 if test -s conftest.err
; then
28356 ac_cpp_err
=$ac_c_preproc_warn_flag
28357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28364 if test -z "$ac_cpp_err"; then
28365 # We can compile using X headers with no special include directory.
28368 echo "$as_me: failed program was:" >&5
28369 sed 's/^/| /' conftest.
$ac_ext >&5
28371 # Look for the header file in a standard set of common directories.
28372 # Check X11 before X11Rn because it is often a symlink to the current release.
28375 /usr
/X11R
6/include \
28376 /usr
/X11R
5/include \
28377 /usr
/X11R
4/include \
28380 /usr
/include
/X11R6 \
28381 /usr
/include
/X11R5 \
28382 /usr
/include
/X11R4 \
28384 /usr
/local
/X11
/include \
28385 /usr
/local
/X11R
6/include \
28386 /usr
/local
/X11R
5/include \
28387 /usr
/local
/X11R
4/include \
28389 /usr
/local
/include
/X11 \
28390 /usr
/local
/include
/X11R6 \
28391 /usr
/local
/include
/X11R5 \
28392 /usr
/local
/include
/X11R4 \
28394 /usr
/X386
/include \
28395 /usr
/x386
/include \
28396 /usr
/XFree86
/include
/X11 \
28399 /usr
/local
/include \
28400 /usr
/unsupported
/include \
28401 /usr
/athena
/include \
28402 /usr
/local
/x11r
5/include \
28403 /usr
/lpp
/Xamples
/include \
28405 /usr
/openwin
/include \
28406 /usr
/openwin
/share
/include \
28409 if test -r "$ac_dir/$x_direct_test_include"; then
28410 ac_x_includes
=$ac_dir
28415 rm -f conftest.err conftest.
$ac_ext
28416 fi # $ac_x_includes = NO
28418 if test "$ac_x_libraries" = NO
; then
28419 # Check for the libraries.
28421 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
28422 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
28424 # See if we find them without any special options.
28425 # Don't add to $LIBS permanently.
28426 ac_save_LIBS
="$LIBS"
28427 LIBS
="-l$x_direct_test_library $LIBS"
28428 cat >conftest.
$ac_ext <<_ACEOF
28431 cat confdefs.h
>>conftest.
$ac_ext
28432 cat >>conftest.
$ac_ext <<_ACEOF
28433 /* end confdefs.h. */
28434 #include <X11/Intrinsic.h>
28438 ${x_direct_test_function}(1)
28443 rm -f conftest.
$ac_objext conftest
$ac_exeext
28444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28445 (eval $ac_link) 2>conftest.er1
28447 grep -v '^ *+' conftest.er1
>conftest.err
28449 cat conftest.err
>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try
='test -z "$ac_c_werror_flag"
28453 || test ! -s conftest.err'
28454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455 (eval $ac_try) 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); }; } &&
28459 { ac_try
='test -s conftest$ac_exeext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465 LIBS
="$ac_save_LIBS"
28466 # We can link X programs with no special library path.
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.
$ac_ext >&5
28472 LIBS
="$ac_save_LIBS"
28473 # First see if replacing the include by lib works.
28474 # Check X11 before X11Rn because it is often a symlink to the current release.
28475 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28476 /usr
/X11
/lib
${kdelibsuff} \
28477 /usr
/X11R
6/lib
${kdelibsuff} \
28478 /usr
/X11R
5/lib
${kdelibsuff} \
28479 /usr
/X11R
4/lib
${kdelibsuff} \
28481 /usr
/lib
${kdelibsuff}/X11 \
28482 /usr
/lib
${kdelibsuff}/X11R6 \
28483 /usr
/lib
${kdelibsuff}/X11R5 \
28484 /usr
/lib
${kdelibsuff}/X11R4 \
28486 /usr
/local
/X11
/lib
${kdelibsuff} \
28487 /usr
/local
/X11R
6/lib
${kdelibsuff} \
28488 /usr
/local
/X11R
5/lib
${kdelibsuff} \
28489 /usr
/local
/X11R
4/lib
${kdelibsuff} \
28491 /usr
/local
/lib
${kdelibsuff}/X11 \
28492 /usr
/local
/lib
${kdelibsuff}/X11R6 \
28493 /usr
/local
/lib
${kdelibsuff}/X11R5 \
28494 /usr
/local
/lib
${kdelibsuff}/X11R4 \
28496 /usr
/X386
/lib
${kdelibsuff} \
28497 /usr
/x386
/lib
${kdelibsuff} \
28498 /usr
/XFree86
/lib
${kdelibsuff}/X11 \
28500 /usr
/lib
${kdelibsuff} \
28501 /usr
/local
/lib
${kdelibsuff} \
28502 /usr
/unsupported
/lib
${kdelibsuff} \
28503 /usr
/athena
/lib
${kdelibsuff} \
28504 /usr
/local
/x11r
5/lib
${kdelibsuff} \
28505 /usr
/lpp
/Xamples
/lib
${kdelibsuff} \
28506 /lib
/usr
/lib
${kdelibsuff}/X11 \
28508 /usr
/openwin
/lib
${kdelibsuff} \
28509 /usr
/openwin
/share
/lib
${kdelibsuff} \
28512 for ac_extension
in a so sl
; do
28513 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
28514 ac_x_libraries
=$ac_dir
28520 rm -f conftest.err conftest.
$ac_objext \
28521 conftest
$ac_exeext conftest.
$ac_ext
28522 fi # $ac_x_libraries = NO
28530 rm -fr conftest.dir
28531 if mkdir conftest.dir
; then
28533 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28534 cat >Imakefile
<<'_ACEOF'
28536 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28538 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28540 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28541 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28542 for ac_extension
in a so sl
; do
28543 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28544 test -f $ac_im_libdir/libX11.
$ac_extension; then
28545 ac_im_usrlibdir
=$ac_im_libdir; break
28548 # Screen out bogus values from the imake configuration. They are
28549 # bogus both because they are the default anyway, and because
28550 # using them would break gcc on systems where it needs fixed includes.
28551 case $ac_im_incroot in
28553 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28555 case $ac_im_usrlibdir in
28556 /usr
/lib |
/lib
) ;;
28557 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28561 rm -fr conftest.dir
28564 if test -z "$ac_x_includes"; then
28567 if test -z "$ac_x_libraries"; then
28568 ac_x_libraries
="/usr/lib${kdelibsuff}"
28571 #from now on we use our own again
28573 # when the user already gave --x-includes, we ignore
28574 # what the standard autoconf macros told us.
28575 if test "$kde_x_includes" = NO
; then
28576 kde_x_includes
=$ac_x_includes
28579 # for --x-libraries too
28580 if test "$kde_x_libraries" = NO
; then
28581 kde_x_libraries
=$ac_x_libraries
28584 if test "$kde_x_includes" = NO
; then
28585 { { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28586 echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28587 { (exit 1); exit 1; }; }
28590 if test "$kde_x_libraries" = NO
; then
28591 { { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28592 echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28593 { (exit 1); exit 1; }; }
28596 # Record where we found X for the cache.
28597 kde_cv_have_x
="have_x=yes \
28598 kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28602 eval "$kde_cv_have_x"
28604 if test "$have_x" != yes; then
28605 echo "$as_me:$LINENO: result: $have_x" >&5
28606 echo "${ECHO_T}$have_x" >&6
28609 echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28610 echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
28613 if test -z "$kde_x_includes" ||
test "x$kde_x_includes" = xNONE
; then
28615 x_includes
="."; else
28616 x_includes
=$kde_x_includes
28617 X_INCLUDES
="-I$x_includes"
28620 if test -z "$kde_x_libraries" ||
test "x$kde_x_libraries" = xNONE
; then
28622 x_libraries
="/usr/lib"; else
28623 x_libraries
=$kde_x_libraries
28624 X_LDFLAGS
="-L$x_libraries"
28626 all_includes
="$X_INCLUDES"
28627 all_libraries
="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
28629 # Check for libraries that X11R6 Xt/Xaw programs need.
28630 ac_save_LDFLAGS
="$LDFLAGS"
28631 LDFLAGS
="$LDFLAGS $X_LDFLAGS"
28632 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28633 # check for ICE first), but we must link in the order -lSM -lICE or
28634 # we get undefined symbols. So assume we have SM if we have ICE.
28635 # These have to be linked with before -lX11, unlike the other
28636 # libraries we check for below, so use a different variable.
28637 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
28638 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28639 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28640 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28641 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 ac_check_lib_save_LIBS
=$LIBS
28644 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28645 cat >conftest.
$ac_ext <<_ACEOF
28648 cat confdefs.h
>>conftest.
$ac_ext
28649 cat >>conftest.
$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28652 /* Override any gcc2 internal prototype to avoid an error. */
28656 /* We use char because int might match the return type of a gcc2
28657 builtin and then its argument prototype would still apply. */
28658 char IceConnectionNumber ();
28662 IceConnectionNumber ();
28667 rm -f conftest.
$ac_objext conftest
$ac_exeext
28668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28669 (eval $ac_link) 2>conftest.er1
28671 grep -v '^ *+' conftest.er1
>conftest.err
28673 cat conftest.err
>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } &&
28676 { ac_try
='test -z "$ac_c_werror_flag"
28677 || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try
='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_ICE_IceConnectionNumber
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_lib_ICE_IceConnectionNumber
=no
28696 rm -f conftest.err conftest.
$ac_objext \
28697 conftest
$ac_exeext conftest.
$ac_ext
28698 LIBS
=$ac_check_lib_save_LIBS
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28701 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28702 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28706 LDFLAGS
="$ac_save_LDFLAGS"
28708 LIB_X11
='-lX11 $(LIBSOCKET)'
28710 echo "$as_me:$LINENO: checking for libXext" >&5
28711 echo $ECHO_N "checking for libXext... $ECHO_C" >&6
28712 if test "${kde_cv_have_libXext+set}" = set; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 kde_ldflags_safe
="$LDFLAGS"
28717 kde_libs_safe
="$LIBS"
28719 LDFLAGS
="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
28720 LIBS
="-lXext -lX11 $LIBSOCKET"
28722 cat >conftest.
$ac_ext <<_ACEOF
28725 cat confdefs.h
>>conftest.
$ac_ext
28726 cat >>conftest.
$ac_ext <<_ACEOF
28727 /* end confdefs.h. */
28730 #ifdef STDC_HEADERS
28731 # include <stdlib.h>
28738 printf("hello Xext\n");
28744 rm -f conftest.
$ac_objext conftest
$ac_exeext
28745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28746 (eval $ac_link) 2>conftest.er1
28748 grep -v '^ *+' conftest.er1
>conftest.err
28750 cat conftest.err
>&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } &&
28753 { ac_try
='test -z "$ac_c_werror_flag"
28754 || test ! -s conftest.err'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; } &&
28760 { ac_try
='test -s conftest$ac_exeext'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; }; then
28766 kde_cv_have_libXext
=yes
28768 echo "$as_me: failed program was:" >&5
28769 sed 's/^/| /' conftest.
$ac_ext >&5
28771 kde_cv_have_libXext
=no
28774 rm -f conftest.err conftest.
$ac_objext \
28775 conftest
$ac_exeext conftest.
$ac_ext
28777 LDFLAGS
=$kde_ldflags_safe
28778 LIBS
=$kde_libs_safe
28783 echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
28784 echo "${ECHO_T}$kde_cv_have_libXext" >&6
28786 if test "$kde_cv_have_libXext" = "no"; then
28787 { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
28788 can't find it itself, we stop here assuming that make wouldn't find
28790 echo "$as_me: error: We need a working libXext to proceed. Since configure
28791 can't find it itself, we stop here assuming that make wouldn't find
28792 them either." >&2;}
28793 { (exit 1); exit 1; }; }
28799 elif test "$kde_use_qt_emb" = "yes"; then
28801 CXXFLAGS
="$CXXFLAGS -fno-rtti"
28802 QTE_NORTTI
="-fno-rtti -DQWS"
28812 elif test "$kde_use_qt_mac" = "yes"; then
28813 CXXFLAGS
="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
28814 CFLAGS
="$CFLAGS -DQT_MAC -no-cpp-precomp"
28840 if test -n "$PTHREAD_LIBS"; then
28841 if test "x$PTHREAD_LIBS" = "x-pthread" ; then
28842 LIBPTHREAD
="PTHREAD"
28844 PTHREAD_LIBS_save
="$PTHREAD_LIBS"
28845 PTHREAD_LIBS
=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
28846 echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
28847 echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6
28849 kde_save_LDFLAGS
="$LDFLAGS"
28850 kde_save_LIBS
="$LIBS"
28851 LDFLAGS
="$LDFLAGS $all_libraries"
28853 aix
*) LDFLAGS
="-brtl $LDFLAGS"
28854 test "$GCC" = yes && LDFLAGS
="-Wl,$LDFLAGS"
28857 as_ac_Lib
=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
28858 echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
28859 echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6
28860 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28861 echo $ECHO_N "(cached) $ECHO_C" >&6
28863 ac_check_lib_save_LIBS
=$LIBS
28864 LIBS
="-l$PTHREAD_LIBS $LIBS"
28865 cat >conftest.
$ac_ext <<_ACEOF
28868 cat confdefs.h
>>conftest.
$ac_ext
28869 cat >>conftest.
$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28872 /* Override any gcc2 internal prototype to avoid an error. */
28876 /* We use char because int might match the return type of a gcc2
28877 builtin and then its argument prototype would still apply. */
28878 char pthread_create ();
28887 rm -f conftest.
$ac_objext conftest
$ac_exeext
28888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28889 (eval $ac_link) 2>conftest.er1
28891 grep -v '^ *+' conftest.er1
>conftest.err
28893 cat conftest.err
>&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); } &&
28896 { ac_try
='test -z "$ac_c_werror_flag"
28897 || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try
='test -s conftest$ac_exeext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 eval "$as_ac_Lib=yes"
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.
$ac_ext >&5
28914 eval "$as_ac_Lib=no"
28916 rm -f conftest.err conftest.
$ac_objext \
28917 conftest
$ac_exeext conftest.
$ac_ext
28918 LIBS
=$ac_check_lib_save_LIBS
28920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28921 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28922 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28923 LIBPTHREAD
="$PTHREAD_LIBS_save"
28926 LDFLAGS
="$kde_save_LDFLAGS"
28927 LIBS
="$kde_save_LIBS"
28929 PTHREAD_LIBS
="$PTHREAD_LIBS_save"
28933 if test -z "$LIBPTHREAD"; then
28934 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28935 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
28936 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
28937 echo $ECHO_N "(cached) $ECHO_C" >&6
28939 ac_check_lib_save_LIBS
=$LIBS
28940 LIBS
="-lpthread $LIBS"
28941 cat >conftest.
$ac_ext <<_ACEOF
28944 cat confdefs.h
>>conftest.
$ac_ext
28945 cat >>conftest.
$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28948 /* Override any gcc2 internal prototype to avoid an error. */
28952 /* We use char because int might match the return type of a gcc2
28953 builtin and then its argument prototype would still apply. */
28954 char pthread_create ();
28963 rm -f conftest.
$ac_objext conftest
$ac_exeext
28964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28965 (eval $ac_link) 2>conftest.er1
28967 grep -v '^ *+' conftest.er1
>conftest.err
28969 cat conftest.err
>&5
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); } &&
28972 { ac_try
='test -z "$ac_c_werror_flag"
28973 || test ! -s conftest.err'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; } &&
28979 { ac_try
='test -s conftest$ac_exeext'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; }; then
28985 ac_cv_lib_pthread_pthread_create
=yes
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.
$ac_ext >&5
28990 ac_cv_lib_pthread_pthread_create
=no
28992 rm -f conftest.err conftest.
$ac_objext \
28993 conftest
$ac_exeext conftest.
$ac_ext
28994 LIBS
=$ac_check_lib_save_LIBS
28996 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
28997 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
28998 if test $ac_cv_lib_pthread_pthread_create = yes; then
28999 LIBPTHREAD
="-lpthread"
29004 if test -z "$LIBPTHREAD" ; then
29005 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29006 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
29007 kde_safe_libs
=$LIBS
29008 LIBS
="$LIBS -lpthread"
29009 cat >conftest.
$ac_ext <<_ACEOF
29012 cat confdefs.h
>>conftest.
$ac_ext
29013 cat >>conftest.
$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29015 #include <pthread.h>
29019 (void)pthread_create(0,0,0,0);
29024 rm -f conftest.
$ac_objext conftest
$ac_exeext
29025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29026 (eval $ac_link) 2>conftest.er1
29028 grep -v '^ *+' conftest.er1
>conftest.err
29030 cat conftest.err
>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } &&
29033 { ac_try
='test -z "$ac_c_werror_flag"
29034 || test ! -s conftest.err'
29035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29036 (eval $ac_try) 2>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); }; } &&
29040 { ac_try
='test -s conftest$ac_exeext'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; }; then
29047 echo "$as_me:$LINENO: result: yes" >&5
29048 echo "${ECHO_T}yes" >&6
29049 LIBPTHREAD
="-lpthread"
29051 echo "$as_me: failed program was:" >&5
29052 sed 's/^/| /' conftest.
$ac_ext >&5
29055 echo "$as_me:$LINENO: result: no" >&5
29056 echo "${ECHO_T}no" >&6
29058 rm -f conftest.err conftest.
$ac_objext \
29059 conftest
$ac_exeext conftest.
$ac_ext
29060 LIBS
=$kde_safe_libs
29063 if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29071 if test -z "$LIBPTHREAD"; then
29073 echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29074 echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
29075 kde_cache
=`echo pthread | sed 'y% .=/+-,%____p__%'`
29076 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29083 ac_cpp
='$CXXCPP $CPPFLAGS'
29084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29088 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29091 save_CXXFLAGS
="$CXXFLAGS"
29092 CXXFLAGS
="$CXXFLAGS -pthread"
29093 cat >conftest.
$ac_ext <<_ACEOF
29096 cat confdefs.h
>>conftest.
$ac_ext
29097 cat >>conftest.
$ac_ext <<_ACEOF
29098 /* end confdefs.h. */
29108 rm -f conftest.
$ac_objext conftest
$ac_exeext
29109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29110 (eval $ac_link) 2>conftest.er1
29112 grep -v '^ *+' conftest.er1
>conftest.err
29114 cat conftest.err
>&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); } &&
29117 { ac_try
='test -z "$ac_cxx_werror_flag"
29118 || test ! -s conftest.err'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; } &&
29124 { ac_try
='test -s conftest$ac_exeext'
29125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29126 (eval $ac_try) 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; }; then
29130 eval "kde_cv_prog_cxx_$kde_cache=yes"
29132 echo "$as_me: failed program was:" >&5
29133 sed 's/^/| /' conftest.
$ac_ext >&5
29136 rm -f conftest.err conftest.
$ac_objext \
29137 conftest
$ac_exeext conftest.
$ac_ext
29138 CXXFLAGS
="$save_CXXFLAGS"
29140 ac_cpp
='$CPP $CPPFLAGS'
29141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29148 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29149 echo "$as_me:$LINENO: result: yes" >&5
29150 echo "${ECHO_T}yes" >&6
29152 USE_THREADS
="-D_THREAD_SAFE -pthread"
29154 echo "$as_me:$LINENO: result: no" >&5
29155 echo "${ECHO_T}no" >&6
29167 echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29168 echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
29169 kde_cache
=`echo mt | sed 'y% .=/+-,%____p__%'`
29170 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29177 ac_cpp
='$CXXCPP $CPPFLAGS'
29178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29182 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29185 save_CXXFLAGS
="$CXXFLAGS"
29186 CXXFLAGS
="$CXXFLAGS -mt"
29187 cat >conftest.
$ac_ext <<_ACEOF
29190 cat confdefs.h
>>conftest.
$ac_ext
29191 cat >>conftest.
$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29202 rm -f conftest.
$ac_objext conftest
$ac_exeext
29203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29204 (eval $ac_link) 2>conftest.er1
29206 grep -v '^ *+' conftest.er1
>conftest.err
29208 cat conftest.err
>&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); } &&
29211 { ac_try
='test -z "$ac_cxx_werror_flag"
29212 || test ! -s conftest.err'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; } &&
29218 { ac_try
='test -s conftest$ac_exeext'
29219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29220 (eval $ac_try) 2>&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); }; }; then
29224 eval "kde_cv_prog_cxx_$kde_cache=yes"
29226 echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.
$ac_ext >&5
29230 rm -f conftest.err conftest.
$ac_objext \
29231 conftest
$ac_exeext conftest.
$ac_ext
29232 CXXFLAGS
="$save_CXXFLAGS"
29234 ac_cpp
='$CPP $CPPFLAGS'
29235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29242 if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29243 echo "$as_me:$LINENO: result: yes" >&5
29244 echo "${ECHO_T}yes" >&6
29248 echo "$as_me:$LINENO: result: no" >&5
29249 echo "${ECHO_T}no" >&6
29254 CPPFLAGS
="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29257 CPPFLAGS
="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29260 CPPFLAGS
="$CPPFLAGS -D_THREAD_SAFE"
29261 LIBPTHREAD
="$LIBPTHREAD -lc_r"
29263 linux
*) CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
29264 if test "$CXX" = "KCC"; then
29265 CXXFLAGS
="$CXXFLAGS --thread_safe"
29266 NOOPT_CXXFLAGS
="$NOOPT_CXXFLAGS --thread_safe"
29276 echo "$as_me:$LINENO: checking for extra includes" >&5
29277 echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
29279 # Check whether --with-extra-includes or --without-extra-includes was given.
29280 if test "${with_extra_includes+set}" = set; then
29281 withval
="$with_extra_includes"
29282 kde_use_extra_includes
="$withval"
29284 kde_use_extra_includes
=NONE
29287 kde_extra_includes
=
29288 if test -n "$kde_use_extra_includes" && \
29289 test "$kde_use_extra_includes" != "NONE"; then
29293 for dir
in $kde_use_extra_includes; do
29294 kde_extra_includes
="$kde_extra_includes $dir"
29295 USER_INCLUDES
="$USER_INCLUDES -I$dir"
29298 kde_use_extra_includes
="added"
29300 kde_use_extra_includes
="no"
29304 echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29305 echo "${ECHO_T}$kde_use_extra_includes" >&6
29308 echo "$as_me:$LINENO: checking for extra libs" >&5
29309 echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
29311 # Check whether --with-extra-libs or --without-extra-libs was given.
29312 if test "${with_extra_libs+set}" = set; then
29313 withval
="$with_extra_libs"
29314 kde_use_extra_libs
=$withval
29316 kde_use_extra_libs
=NONE
29319 if test -n "$kde_use_extra_libs" && \
29320 test "$kde_use_extra_libs" != "NONE"; then
29324 for dir
in $kde_use_extra_libs; do
29325 kde_extra_libs
="$kde_extra_libs $dir"
29326 KDE_EXTRA_RPATH
="$KDE_EXTRA_RPATH -R $dir"
29327 USER_LDFLAGS
="$USER_LDFLAGS -L$dir"
29330 kde_use_extra_libs
="added"
29332 kde_use_extra_libs
="no"
29337 echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29338 echo "${ECHO_T}$kde_use_extra_libs" >&6
29343 echo "$as_me:$LINENO: checking for libz" >&5
29344 echo $ECHO_N "checking for libz... $ECHO_C" >&6
29345 if test "${ac_cv_lib_z+set}" = set; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 kde_save_LIBS
="$LIBS"
29350 LIBS
="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29351 kde_save_CFLAGS
="$CFLAGS"
29352 CFLAGS
="$CFLAGS $all_includes $USER_INCLUDES"
29353 cat >conftest.
$ac_ext <<_ACEOF
29356 cat confdefs.h
>>conftest.
$ac_ext
29357 cat >>conftest.
$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29367 gzFile f = (gzFile) 0;
29368 /* this would segfault.. but we only link, don't run */
29369 (void) gzgets(f, buf, sizeof(buf));
29371 return (zlibVersion() == ZLIB_VERSION);
29377 rm -f conftest.
$ac_objext conftest
$ac_exeext
29378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29379 (eval $ac_link) 2>conftest.er1
29381 grep -v '^ *+' conftest.er1
>conftest.err
29383 cat conftest.err
>&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); } &&
29386 { ac_try
='test -z "$ac_c_werror_flag"
29387 || test ! -s conftest.err'
29388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29389 (eval $ac_try) 2>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); }; } &&
29393 { ac_try
='test -s conftest$ac_exeext'
29394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395 (eval $ac_try) 2>&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); }; }; then
29399 eval "ac_cv_lib_z='-lz'"
29401 echo "$as_me: failed program was:" >&5
29402 sed 's/^/| /' conftest.
$ac_ext >&5
29404 eval "ac_cv_lib_z=no"
29406 rm -f conftest.err conftest.
$ac_objext \
29407 conftest
$ac_exeext conftest.
$ac_ext
29408 LIBS
="$kde_save_LIBS"
29409 CFLAGS
="$kde_save_CFLAGS"
29412 if test ! "$ac_cv_lib_z" = no
; then
29414 cat >>confdefs.h
<<_ACEOF
29415 #define HAVE_LIBZ 1
29418 LIBZ
="$ac_cv_lib_z"
29419 echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29420 echo "${ECHO_T}$ac_cv_lib_z" >&6
29422 { { echo "$as_me:$LINENO: error: not found.
29423 Possibly configure picks up an outdated version
29424 installed by XFree86. Remove it from your system.
29426 Check your installation and look into config.log" >&5
29427 echo "$as_me: error: not found.
29428 Possibly configure picks up an outdated version
29429 installed by XFree86. Remove it from your system.
29431 Check your installation and look into config.log" >&2;}
29432 { (exit 1); exit 1; }; }
29440 echo "$as_me:$LINENO: checking for libpng" >&5
29441 echo $ECHO_N "checking for libpng... $ECHO_C" >&6
29442 if test "${ac_cv_lib_png+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29446 kde_save_LIBS
="$LIBS"
29447 if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29448 LIBS
="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29450 LIBS
="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29452 kde_save_CFLAGS
="$CFLAGS"
29453 CFLAGS
="$CFLAGS $all_includes $USER_INCLUDES"
29455 cat >conftest.
$ac_ext <<_ACEOF
29458 cat confdefs.h
>>conftest.
$ac_ext
29459 cat >>conftest.
$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29468 png_structp png_ptr = png_create_read_struct( /* image ptr */
29469 PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29470 return( png_ptr != 0 );
29476 rm -f conftest.
$ac_objext conftest
$ac_exeext
29477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29478 (eval $ac_link) 2>conftest.er1
29480 grep -v '^ *+' conftest.er1
>conftest.err
29482 cat conftest.err
>&5
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); } &&
29485 { ac_try
='test -z "$ac_c_werror_flag"
29486 || test ! -s conftest.err'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; } &&
29492 { ac_try
='test -s conftest$ac_exeext'
29493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29494 (eval $ac_try) 2>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; }; then
29498 eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29500 echo "$as_me: failed program was:" >&5
29501 sed 's/^/| /' conftest.
$ac_ext >&5
29503 eval "ac_cv_lib_png=no"
29506 rm -f conftest.err conftest.
$ac_objext \
29507 conftest
$ac_exeext conftest.
$ac_ext
29508 LIBS
="$kde_save_LIBS"
29509 CFLAGS
="$kde_save_CFLAGS"
29512 if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29514 cat >>confdefs.h
<<_ACEOF
29515 #define HAVE_LIBPNG 1
29518 LIBPNG
="$ac_cv_lib_png"
29520 echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29521 echo "${ECHO_T}$ac_cv_lib_png" >&6
29523 echo "$as_me:$LINENO: result: no" >&5
29524 echo "${ECHO_T}no" >&6
29531 echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29532 echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
29533 if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29534 echo $ECHO_N "(cached) $ECHO_C" >&6
29537 ac_save_LIBS
="$LIBS"
29538 LIBS
="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29539 ac_save_CFLAGS
="$CFLAGS"
29540 CFLAGS
="$CFLAGS $all_includes $USER_INCLUDES"
29541 cat >conftest.
$ac_ext <<_ACEOF
29544 cat confdefs.h
>>conftest.
$ac_ext
29545 cat >>conftest.
$ac_ext <<_ACEOF
29546 /* end confdefs.h. */
29551 void jpeg_CreateDecompress();
29559 jpeg_CreateDecompress();
29564 rm -f conftest.
$ac_objext conftest
$ac_exeext
29565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29566 (eval $ac_link) 2>conftest.er1
29568 grep -v '^ *+' conftest.er1
>conftest.err
29570 cat conftest.err
>&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
29573 { ac_try
='test -z "$ac_c_werror_flag"
29574 || test ! -s conftest.err'
29575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29576 (eval $ac_try) 2>&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); }; } &&
29580 { ac_try
='test -s conftest$ac_exeext'
29581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582 (eval $ac_try) 2>&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); }; }; then
29586 eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.
$ac_ext >&5
29591 eval "ac_cv_lib_jpeg_6b=no"
29593 rm -f conftest.err conftest.
$ac_objext \
29594 conftest
$ac_exeext conftest.
$ac_ext
29595 LIBS
="$ac_save_LIBS"
29596 CFLAGS
="$ac_save_CFLAGS"
29601 if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29602 LIBJPEG
="$ac_cv_lib_jpeg_6b"
29603 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29604 echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
29606 echo "$as_me:$LINENO: result: no" >&5
29607 echo "${ECHO_T}no" >&6
29609 echo "$as_me:$LINENO: checking for libjpeg" >&5
29610 echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
29611 if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29612 echo $ECHO_N "(cached) $ECHO_C" >&6
29615 ac_save_LIBS
="$LIBS"
29616 LIBS
="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29617 ac_save_CFLAGS
="$CFLAGS"
29618 CFLAGS
="$CFLAGS $all_includes $USER_INCLUDES"
29619 cat >conftest.
$ac_ext <<_ACEOF
29622 cat confdefs.h
>>conftest.
$ac_ext
29623 cat >>conftest.
$ac_ext <<_ACEOF
29624 /* end confdefs.h. */
29629 void jpeg_CreateDecompress();
29637 jpeg_CreateDecompress();
29642 rm -f conftest.
$ac_objext conftest
$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644 (eval $ac_link) 2>conftest.er1
29646 grep -v '^ *+' conftest.er1
>conftest.err
29648 cat conftest.err
>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try
='test -z "$ac_c_werror_flag"
29652 || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try
='test -s conftest$ac_exeext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29664 eval "ac_cv_lib_jpeg_normal=-ljpeg"
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.
$ac_ext >&5
29669 eval "ac_cv_lib_jpeg_normal=no"
29671 rm -f conftest.err conftest.
$ac_objext \
29672 conftest
$ac_exeext conftest.
$ac_ext
29673 LIBS
="$ac_save_LIBS"
29674 CFLAGS
="$ac_save_CFLAGS"
29679 if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
29680 LIBJPEG
="$ac_cv_lib_jpeg_normal"
29681 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
29682 echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
29684 echo "$as_me:$LINENO: result: no" >&5
29685 echo "${ECHO_T}no" >&6
29698 jpeg_incdirs
="$includedir /usr/include /usr/local/include $kde_extra_includes"
29701 for i
in $jpeg_incdirs;
29703 for j
in jpeglib.h
;
29705 echo "configure: 29705: $i/$j" >&5
29706 if test -r "$i/$j"; then
29707 echo "taking that" >&5
29714 test "x$jpeg_incdir" = xNO
&& jpeg_incdir
=
29716 if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
29718 cat >>confdefs.h
<<_ACEOF
29719 #define HAVE_LIBJPEG 1
29723 if test -n "$jpeg_incdir" ||
test -n "$LIBJPEG" ; then
29724 { echo "$as_me:$LINENO: WARNING:
29725 There is an installation error in jpeg support. You seem to have only one
29726 of either the headers _or_ the libraries installed. You may need to either
29727 provide correct --with-extra-... options, or the development package of
29728 libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29729 Disabling JPEG support.
29731 echo "$as_me: WARNING:
29732 There is an installation error in jpeg support. You seem to have only one
29733 of either the headers _or_ the libraries installed. You may need to either
29734 provide correct --with-extra-... options, or the development package of
29735 libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29736 Disabling JPEG support.
29739 { echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
29740 echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
29752 echo "$as_me:$LINENO: checking for perl" >&5
29753 echo $ECHO_N "checking for perl... $ECHO_C" >&6
29754 if test -n "$PERL"; then
29755 kde_cv_path
="$PERL";
29757 kde_cache
=`echo perl | sed 'y%./+-%__p_%'`
29759 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29767 for dir
in $PATH; do
29770 if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
29771 else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
29775 for dir
in $dirs; do
29776 if test -x "$dir/perl"; then
29779 evalstr
="$dir/perl 2>&1 "
29780 if eval $evalstr; then
29781 kde_cv_path
="$dir/perl"
29785 kde_cv_path
="$dir/perl"
29791 eval "kde_cv_path_$kde_cache=$kde_cv_path"
29797 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29801 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
29802 echo "$as_me:$LINENO: result: not found" >&5
29803 echo "${ECHO_T}not found" >&6
29805 { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
29806 We need perl to generate some code." >&5
29807 echo "$as_me: error: No Perl found in your $PATH.
29808 We need perl to generate some code." >&2;}
29809 { (exit 1); exit 1; }; }
29812 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29813 echo "${ECHO_T}$kde_cv_path" >&6
29827 # Check whether --enable-mt or --disable-mt was given.
29828 if test "${enable_mt+set}" = set; then
29829 enableval
="$enable_mt"
29830 kde_use_qt_mt
=$enableval
29833 if test $kde_qtver = 3; then
29847 if test "x$kde_use_qt_mt" = "xyes"; then
29851 if test -z "$LIBPTHREAD"; then
29852 if test -z "$USE_THREADS"; then
29853 kde_check_threading_default
=no
29855 kde_check_threading_default
=yes
29858 kde_check_threading_default
=yes
29860 # Check whether --enable-threading or --disable-threading was given.
29861 if test "${enable_threading+set}" = set; then
29862 enableval
="$enable_threading"
29863 kde_use_threading
=$enableval
29865 kde_use_threading
=$kde_check_threading_default
29867 if test "x$kde_use_threading" = "xyes"; then
29869 cat >>confdefs.h
<<\_ACEOF
29870 #define HAVE_LIBPTHREAD 1
29875 if test "x$kde_use_threading" = "xyes"; then
29876 CPPFLAGS
="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
29877 KDE_MT_LDFLAGS
="$USE_THREADS"
29878 KDE_MT_LIBS
="$LIBPTHREAD"
29886 kde_qt_was_given
=yes
29888 if test -z "$LIBQT_GLOB"; then
29889 if test "x$kde_use_qt_emb" = "xyes"; then
29890 LIBQT_GLOB
="libqte.*"
29892 LIBQT_GLOB
="libqt.*"
29896 if test "x$kde_use_qt_emb" = "xyes"; then
29902 kde_int_qt
="-l$qtlib"
29904 if test -z "$LIBQPE"; then
29905 if test "x$kde_use_qt_emb" = "xyes"; then
29906 if test "x$kde_use_qt_emb_palm" = "xyes"; then
29917 if test "x$kde_use_qt_mt" = "xyes"; then
29918 LIBQT
="-l$qtlib-mt"
29919 kde_int_qt
="-l$qtlib-mt"
29920 LIBQT_GLOB
="lib$qtlib-mt.*"
29921 USING_QT_MT
="using -mt"
29926 if test $kde_qtver != 1; then
29930 LIBQT
="$LIBQT $LIBPNG $LIBJPEG"
29933 if test $kde_qtver = 3; then
29935 LIBQT
="$LIBQT $LIBDL"
29938 echo "$as_me:$LINENO: checking for Qt" >&5
29939 echo $ECHO_N "checking for Qt... $ECHO_C" >&6
29941 if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29942 LIBQT
="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
29944 ac_qt_includes
=NO ac_qt_libraries
=NO ac_qt_bindir
=NO
29948 # Check whether --with-qt-dir or --without-qt-dir was given.
29949 if test "${with_qt_dir+set}" = set; then
29950 withval
="$with_qt_dir"
29951 ac_qt_includes
="$withval"/include
29952 ac_qt_libraries
="$withval"/lib
${kdelibsuff}
29953 ac_qt_bindir
="$withval"/bin
29958 # Check whether --with-qt-includes or --without-qt-includes was given.
29959 if test "${with_qt_includes+set}" = set; then
29960 withval
="$with_qt_includes"
29962 ac_qt_includes
="$withval"
29966 kde_qt_libs_given
=no
29969 # Check whether --with-qt-libraries or --without-qt-libraries was given.
29970 if test "${with_qt_libraries+set}" = set; then
29971 withval
="$with_qt_libraries"
29972 ac_qt_libraries
="$withval"
29973 kde_qt_libs_given
=yes
29977 if test "${ac_cv_have_qt+set}" = set; then
29978 echo $ECHO_N "(cached) $ECHO_C" >&6
29980 #try to guess Qt locations
29983 for dir
in $kde_qt_dirs; do
29984 qt_incdirs
="$qt_incdirs $dir/include $dir"
29986 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"
29987 if test ! "$ac_qt_includes" = "NO"; then
29988 qt_incdirs
="$ac_qt_includes $qt_incdirs"
29991 if test "$kde_qtver" != "1"; then
29992 kde_qt_header
=qstyle.h
29994 kde_qt_header
=qglobal.h
29999 for i
in $qt_incdirs;
30001 for j
in $kde_qt_header;
30003 echo "configure: 30003: $i/$j" >&5
30004 if test -r "$i/$j"; then
30005 echo "taking that" >&5
30012 ac_qt_includes
="$qt_incdir"
30015 for dir
in $kde_qt_dirs; do
30016 qt_libdirs
="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30018 qt_libdirs
="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30019 if test ! "$ac_qt_libraries" = "NO"; then
30020 qt_libdir
=$ac_qt_libraries
30022 qt_libdirs
="$ac_qt_libraries $qt_libdirs"
30023 # if the Qt was given, the chance is too big that libqt.* doesn't exist
30025 for dir
in $qt_libdirs; do
30026 try
="ls -1 $dir/${LIBQT_GLOB}"
30027 if test -n "`$try 2> /dev/null`"; then qt_libdir
=$dir; break; else echo "tried $dir" >&5 ; fi
30030 for a
in $qt_libdir/lib
`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.
*; do
30031 if test -e "$a"; then
30032 LIBQT
="$LIBQT ${kde_int_qt}_incremental"
30037 ac_qt_libraries
="$qt_libdir"
30042 ac_cpp
='$CXXCPP $CPPFLAGS'
30043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30047 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30051 ac_cxxflags_safe
="$CXXFLAGS"
30052 ac_ldflags_safe
="$LDFLAGS"
30053 ac_libs_safe
="$LIBS"
30055 CXXFLAGS
="$CXXFLAGS -I$qt_incdir $all_includes"
30056 LDFLAGS
="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30057 LIBS
="$LIBS $LIBQT $KDE_MT_LIBS"
30061 cat > conftest.
$ac_ext <<EOF
30062 #include "confdefs.h"
30063 #include <qglobal.h>
30064 #include <qapplication.h>
30066 if test "$kde_qtver" = "2"; then
30067 cat >> conftest.
$ac_ext <<EOF
30068 #include <qevent.h>
30069 #include <qstring.h>
30070 #include <qstyle.h>
30073 if test $kde_qtsubver -gt 0; then
30074 cat >> conftest.
$ac_ext <<EOF
30075 #if QT_VERSION < 210
30082 if test "$kde_qtver" = "3"; then
30083 cat >> conftest.
$ac_ext <<EOF
30084 #include <qcursor.h>
30085 #include <qstylefactory.h>
30086 #include <private/qucomextra_p.h>
30090 echo "#if ! ($kde_qt_verstring)" >> conftest.
$ac_ext
30091 cat >> conftest.
$ac_ext <<EOF
30097 if test "$kde_qtver" = "2"; then
30098 cat >> conftest.
$ac_ext <<EOF
30099 QStringList *t = new QStringList();
30102 if test $kde_qtsubver -gt 0; then
30103 cat >> conftest.
$ac_ext <<EOF
30105 s.setLatin1("Elvis is alive", 14);
30109 if test "$kde_qtver" = "3"; then
30110 cat >> conftest.
$ac_ext <<EOF
30111 (void)QStyleFactory::create(QString::null);
30112 QCursor c(Qt::WhatsThisCursor);
30115 cat >> conftest.
$ac_ext <<EOF
30121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30122 (eval $ac_link) 2>&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); } && test -s conftest
; then
30128 echo "configure: failed program was:" >&5
30129 cat conftest.
$ac_ext >&5
30130 ac_qt_libraries
="NO"
30133 CXXFLAGS
="$ac_cxxflags_safe"
30134 LDFLAGS
="$ac_ldflags_safe"
30135 LIBS
="$ac_libs_safe"
30138 ac_cpp
='$CPP $CPPFLAGS'
30139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30143 if test "$ac_qt_includes" = NO ||
test "$ac_qt_libraries" = NO
; then
30144 ac_cv_have_qt
="have_qt=no"
30147 if test "$ac_qt_includes" = NO
; then
30148 if test "$ac_qt_libraries" = NO
; then
30149 ac_qt_notfound
="(headers and libraries)";
30151 ac_qt_notfound
="(headers)";
30154 if test "x$kde_use_qt_mt" = "xyes"; then
30156 Make sure that you have compiled Qt with thread support!"
30157 ac_qt_notfound
="(library $qtlib-mt)";
30159 ac_qt_notfound
="(library $qtlib)";
30163 { { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30164 For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30165 echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30166 For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30167 { (exit 1); exit 1; }; }
30175 eval "$ac_cv_have_qt"
30177 if test "$have_qt" != yes; then
30178 echo "$as_me:$LINENO: result: $have_qt" >&5
30179 echo "${ECHO_T}$have_qt" >&6;
30181 ac_cv_have_qt
="have_qt=yes \
30182 ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30183 echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30184 echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
30186 qt_libraries
="$ac_qt_libraries"
30187 qt_includes
="$ac_qt_includes"
30190 if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30193 echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30194 echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
30195 if test "${kde_cv_qt_direct+set}" = set; then
30196 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 ac_cpp
='$CXXCPP $CPPFLAGS'
30203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30207 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30210 ac_LD_LIBRARY_PATH_safe
=$LD_LIBRARY_PATH
30211 ac_LIBRARY_PATH
="$LIBRARY_PATH"
30212 ac_cxxflags_safe
="$CXXFLAGS"
30213 ac_ldflags_safe
="$LDFLAGS"
30214 ac_libs_safe
="$LIBS"
30216 CXXFLAGS
="$CXXFLAGS -I$qt_includes"
30217 LDFLAGS
="$LDFLAGS $X_LDFLAGS"
30218 if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30219 LIBS
="$LIBQT -lXext -lX11 $LIBSOCKET"
30221 LIBS
="$LIBQT $LIBSOCKET"
30224 export LD_LIBRARY_PATH
30226 export LIBRARY_PATH
30230 cat > conftest.
$ac_ext <<EOF
30231 #include "confdefs.h"
30232 #include <qglobal.h>
30233 #include <qapplication.h>
30235 if test "$kde_qtver" = "2"; then
30236 cat >> conftest.
$ac_ext <<EOF
30237 #include <qevent.h>
30238 #include <qstring.h>
30239 #include <qstyle.h>
30242 if test $kde_qtsubver -gt 0; then
30243 cat >> conftest.
$ac_ext <<EOF
30244 #if QT_VERSION < 210
30251 if test "$kde_qtver" = "3"; then
30252 cat >> conftest.
$ac_ext <<EOF
30253 #include <qcursor.h>
30254 #include <qstylefactory.h>
30255 #include <private/qucomextra_p.h>
30259 echo "#if ! ($kde_qt_verstring)" >> conftest.
$ac_ext
30260 cat >> conftest.
$ac_ext <<EOF
30266 if test "$kde_qtver" = "2"; then
30267 cat >> conftest.
$ac_ext <<EOF
30268 QStringList *t = new QStringList();
30271 if test $kde_qtsubver -gt 0; then
30272 cat >> conftest.
$ac_ext <<EOF
30274 s.setLatin1("Elvis is alive", 14);
30278 if test "$kde_qtver" = "3"; then
30279 cat >> conftest.
$ac_ext <<EOF
30280 (void)QStyleFactory::create(QString::null);
30281 QCursor c(Qt::WhatsThisCursor);
30284 cat >> conftest.
$ac_ext <<EOF
30290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30291 (eval $ac_link) 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); } && test -s conftest
; then
30295 kde_cv_qt_direct
="yes"
30297 kde_cv_qt_direct
="no"
30298 echo "configure: failed program was:" >&5
30299 cat conftest.
$ac_ext >&5
30303 CXXFLAGS
="$ac_cxxflags_safe"
30304 LDFLAGS
="$ac_ldflags_safe"
30305 LIBS
="$ac_libs_safe"
30307 LD_LIBRARY_PATH
="$ac_LD_LIBRARY_PATH_safe"
30308 export LD_LIBRARY_PATH
30309 LIBRARY_PATH
="$ac_LIBRARY_PATH"
30310 export LIBRARY_PATH
30312 ac_cpp
='$CPP $CPPFLAGS'
30313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30321 if test "$kde_cv_qt_direct" = "yes"; then
30322 echo "$as_me:$LINENO: result: yes" >&5
30323 echo "${ECHO_T}yes" >&6
30326 echo "$as_me:$LINENO: result: no" >&5
30327 echo "${ECHO_T}no" >&6
30336 if test "$qt_includes" = "$x_includes" ||
test -z "$qt_includes"; then
30339 QT_INCLUDES
="-I$qt_includes"
30340 all_includes
="$QT_INCLUDES $all_includes"
30343 if test "$qt_libraries" = "$x_libraries" ||
test -z "$qt_libraries"; then
30346 QT_LDFLAGS
="-L$qt_libraries"
30347 all_libraries
="$QT_LDFLAGS $all_libraries"
30349 test -z "$KDE_MT_LDFLAGS" || all_libraries
="$all_libraries $KDE_MT_LDFLAGS"
30356 for dir
in $kde_qt_dirs; do
30357 qt_bindirs
="$qt_bindirs $dir/bin $dir/src/moc"
30359 qt_bindirs
="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30360 if test ! "$ac_qt_bindir" = "NO"; then
30361 qt_bindirs
="$ac_qt_bindir $qt_bindirs"
30365 echo "$as_me:$LINENO: checking for moc" >&5
30366 echo $ECHO_N "checking for moc... $ECHO_C" >&6
30367 if test -n "$MOC"; then
30368 kde_cv_path
="$MOC";
30370 kde_cache
=`echo moc | sed 'y%./+-%__p_%'`
30372 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30373 echo $ECHO_N "(cached) $ECHO_C" >&6
30380 for dir
in $PATH; do
30383 if test -z ""; then dirs="$qt_bindirs $dirs"
30384 else dirs="$dirs $qt_bindirs"
30388 for dir
in $dirs; do
30389 if test -x "$dir/moc"; then
30392 evalstr
="$dir/moc 2>&1 "
30393 if eval $evalstr; then
30394 kde_cv_path
="$dir/moc"
30398 kde_cv_path
="$dir/moc"
30404 eval "kde_cv_path_$kde_cache=$kde_cv_path"
30410 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30414 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
30415 echo "$as_me:$LINENO: result: not found" >&5
30416 echo "${ECHO_T}not found" >&6
30418 { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30419 Please check whether you installed Qt correctly.
30420 You need to have a running moc binary.
30421 configure tried to run $ac_cv_path_moc and the test didn't
30422 succeed. If configure shouldn't have tried this one, set
30423 the environment variable MOC to the right one before running
30426 echo "$as_me: error: No Qt meta object compiler (moc) found!
30427 Please check whether you installed Qt correctly.
30428 You need to have a running moc binary.
30429 configure tried to run $ac_cv_path_moc and the test didn't
30430 succeed. If configure shouldn't have tried this one, set
30431 the environment variable MOC to the right one before running
30434 { (exit 1); exit 1; }; }
30437 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30438 echo "${ECHO_T}$kde_cv_path" >&6
30443 if test -z "$UIC_NOT_NEEDED"; then
30445 echo "$as_me:$LINENO: checking for uic" >&5
30446 echo $ECHO_N "checking for uic... $ECHO_C" >&6
30447 if test -n "$UIC_PATH"; then
30448 kde_cv_path
="$UIC_PATH";
30450 kde_cache
=`echo uic | sed 'y%./+-%__p_%'`
30452 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30460 for dir
in $PATH; do
30463 if test -z ""; then dirs="$qt_bindirs $dirs"
30464 else dirs="$dirs $qt_bindirs"
30468 for dir
in $dirs; do
30469 if test -x "$dir/uic"; then
30472 evalstr
="$dir/uic 2>&1 "
30473 if eval $evalstr; then
30474 kde_cv_path
="$dir/uic"
30478 kde_cv_path
="$dir/uic"
30484 eval "kde_cv_path_$kde_cache=$kde_cv_path"
30490 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30494 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
30495 echo "$as_me:$LINENO: result: not found" >&5
30496 echo "${ECHO_T}not found" >&6
30499 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30500 echo "${ECHO_T}$kde_cv_path" >&6
30501 UIC_PATH
=$kde_cv_path
30505 if test -z "$UIC_PATH" ; then
30507 { echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30508 Please check whether you installed Qt correctly.
30509 You need to have a running uic binary.
30510 configure tried to run $ac_cv_path_uic and the test didn't
30511 succeed. If configure shouldn't have tried this one, set
30512 the environment variable UIC to the right one before running
30515 echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30516 Please check whether you installed Qt correctly.
30517 You need to have a running uic binary.
30518 configure tried to run $ac_cv_path_uic and the test didn't
30519 succeed. If configure shouldn't have tried this one, set
30520 the environment variable UIC to the right one before running
30528 if test $kde_qtver = 3; then
30530 echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30531 echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
30532 kde_cache
=`echo L | sed 'y% .=/+-%____p_%'`
30533 if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30537 cat >conftest.ui
<<EOT
30538 <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30540 ac_uic_testrun
="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30541 if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30542 (eval $ac_uic_testrun) 2>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; then
30546 eval "kde_cv_prog_uic_$kde_cache=yes"
30548 eval "kde_cv_prog_uic_$kde_cache=no"
30555 if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30556 echo "$as_me:$LINENO: result: yes" >&5
30557 echo "${ECHO_T}yes" >&6
30559 ac_uic_supports_libpath
=yes
30561 echo "$as_me:$LINENO: result: no" >&5
30562 echo "${ECHO_T}no" >&6
30564 ac_uic_supports_libpath
=no
30568 echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30569 echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
30570 kde_cache
=`echo nounload | sed 'y% .=/+-%____p_%'`
30571 if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
30572 echo $ECHO_N "(cached) $ECHO_C" >&6
30575 cat >conftest.ui
<<EOT
30576 <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30578 ac_uic_testrun
="$UIC_PATH -nounload conftest.ui >/dev/null"
30579 if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30580 (eval $ac_uic_testrun) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; then
30584 eval "kde_cv_prog_uic_$kde_cache=yes"
30586 eval "kde_cv_prog_uic_$kde_cache=no"
30593 if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30594 echo "$as_me:$LINENO: result: yes" >&5
30595 echo "${ECHO_T}yes" >&6
30597 ac_uic_supports_nounload
=yes
30599 echo "$as_me:$LINENO: result: no" >&5
30600 echo "${ECHO_T}no" >&6
30602 ac_uic_supports_nounload
=no
30606 if test x
$ac_uic_supports_libpath = xyes
; then
30607 UIC
="$UIC -L \$(kde_widgetdir)"
30609 if test x
$ac_uic_supports_nounload = xyes
; then
30610 UIC
="$UIC -nounload"
30615 UIC
="echo uic not available: "
30622 if test $kde_qtver = 3; then
30630 if test -n "$LIBJPEG"; then
30631 echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30632 echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
30633 if test "${kde_cv_qt_jpeg+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 ac_cpp
='$CXXCPP $CPPFLAGS'
30641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30645 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30648 ac_save_LIBS
="$LIBS"
30649 LIBS
="$all_libraries $USER_LDFLAGS $LIBQT"
30650 LIBS
=`echo $LIBS | sed "s/$LIBJPEG//"`
30651 ac_save_CXXFLAGS
="$CXXFLAGS"
30652 CXXFLAGS
="$CXXFLAGS $all_includes $USER_INCLUDES"
30653 cat >conftest.
$ac_ext <<_ACEOF
30656 cat confdefs.h
>>conftest.
$ac_ext
30657 cat >>conftest.
$ac_ext <<_ACEOF
30658 /* end confdefs.h. */
30659 #include <qapplication.h>
30666 QApplication app(argc, argv);
30671 rm -f conftest.
$ac_objext conftest
$ac_exeext
30672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30673 (eval $ac_link) 2>conftest.er1
30675 grep -v '^ *+' conftest.er1
>conftest.err
30677 cat conftest.err
>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); } &&
30680 { ac_try
='test -z "$ac_cxx_werror_flag"
30681 || test ! -s conftest.err'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; } &&
30687 { ac_try
='test -s conftest$ac_exeext'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; }; then
30693 eval "kde_cv_qt_jpeg=no"
30695 echo "$as_me: failed program was:" >&5
30696 sed 's/^/| /' conftest.
$ac_ext >&5
30698 eval "kde_cv_qt_jpeg=yes"
30700 rm -f conftest.err conftest.
$ac_objext \
30701 conftest
$ac_exeext conftest.
$ac_ext
30702 LIBS
="$ac_save_LIBS"
30703 CXXFLAGS
="$ac_save_CXXFLAGS"
30705 ac_cpp
='$CPP $CPPFLAGS'
30706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30715 if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
30716 echo "$as_me:$LINENO: result: yes" >&5
30717 echo "${ECHO_T}yes" >&6
30718 LIBJPEG_QT
='$(LIBJPEG)'
30720 echo "$as_me:$LINENO: result: no" >&5
30721 echo "${ECHO_T}no" >&6
30727 if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30728 LIB_QT
="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
30730 LIB_QT
="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
30732 test -z "$KDE_MT_LIBS" || LIB_QT
="$LIB_QT $KDE_MT_LIBS"
30733 for a
in $qt_libdir/lib
`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.
*; do
30734 if test -e "$a"; then
30735 LIB_QT
="$LIB_QT ${kde_int_qt}_incremental"
30752 echo "$as_me:$LINENO: checking for rpath" >&5
30753 echo $ECHO_N "checking for rpath... $ECHO_C" >&6
30754 # Check whether --enable-rpath or --disable-rpath was given.
30755 if test "${enable_rpath+set}" = set; then
30756 enableval
="$enable_rpath"
30757 USE_RPATH
=$enableval
30762 if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
30764 KDE_RPATH
="-R \$(libdir)"
30766 if test "$kde_libraries" != "$libdir"; then
30767 KDE_RPATH
="$KDE_RPATH -R \$(kde_libraries)"
30770 if test -n "$qt_libraries"; then
30771 KDE_RPATH
="$KDE_RPATH -R \$(qt_libraries)"
30773 if test -n "$X_LDFLAGS"; then
30774 X_RPATH
="-R \$(x_libraries)"
30775 KDE_RPATH
="$KDE_RPATH $X_RPATH"
30777 if test -n "$KDE_EXTRA_RPATH"; then
30778 KDE_RPATH
="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
30784 echo "$as_me:$LINENO: result: $USE_RPATH" >&5
30785 echo "${ECHO_T}$USE_RPATH" >&6
30787 echo "$as_me:$LINENO: checking for KDE" >&5
30788 echo $ECHO_N "checking for KDE... $ECHO_C" >&6
30790 if test "${prefix}" != NONE
; then
30791 kde_includes
=${includedir}
30794 test "x$exec_prefix" = xNONE
&& exec_prefix
=$prefix
30796 while ac_kde_includes
=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp
=$ac_kde_includes; done
30800 kde_libraries
=${libdir}
30803 test "x$exec_prefix" = xNONE
&& exec_prefix
=$prefix
30805 while ac_kde_libraries
=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp
=$ac_kde_libraries; done
30816 if test "${ac_cv_have_kde+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 #try to guess kde locations
30821 if test "$kde_qtver" = 1; then
30822 kde_check_header
="ksock.h"
30823 kde_check_lib
="libkdecore.la"
30825 kde_check_header
="ksharedptr.h"
30826 kde_check_lib
="libkio.la"
30829 if test -z ""; then
30831 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"
30832 test -n "$KDEDIR" && kde_incdirs
="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
30833 kde_incdirs
="$ac_kde_includes $kde_incdirs"
30836 for i
in $kde_incdirs;
30838 for j
in $kde_check_header;
30840 echo "configure: 30840: $i/$j" >&5
30841 if test -r "$i/$j"; then
30842 echo "taking that" >&5
30849 ac_kde_includes
="$kde_incdir"
30851 if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
30852 { { echo "$as_me:$LINENO: error:
30853 in the prefix, you've chosen, are no KDE headers installed. This will fail.
30854 So, check this please and use another prefix!" >&5
30855 echo "$as_me: error:
30856 in the prefix, you've chosen, are no KDE headers installed. This will fail.
30857 So, check this please and use another prefix!" >&2;}
30858 { (exit 1); exit 1; }; }
30861 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}"
30862 test -n "$KDEDIR" && kde_libdirs
="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
30863 kde_libdirs
="$ac_kde_libraries $libdir $kde_libdirs"
30866 for i
in $kde_libdirs;
30868 for j
in $kde_check_lib;
30870 echo "configure: 30870: $i/$j" >&5
30871 if test -r "$i/$j"; then
30872 echo "taking that" >&5
30879 ac_kde_libraries
="$kde_libdir"
30884 for i
in $kde_libdirs;
30886 for j
in "kde3/plugins/designer/kdewidgets.la";
30888 echo "configure: 30888: $i/$j" >&5
30889 if test -r "$i/$j"; then
30890 echo "taking that" >&5
30898 if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
30899 { { echo "$as_me:$LINENO: error:
30900 in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30901 So, check this please and use another prefix!" >&5
30902 echo "$as_me: error:
30903 in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30904 So, check this please and use another prefix!" >&2;}
30905 { (exit 1); exit 1; }; }
30908 if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
30909 { { echo "$as_me:$LINENO: error:
30910 I can't find the designer plugins. These are required and should have been installed
30912 echo "$as_me: error:
30913 I can't find the designer plugins. These are required and should have been installed
30915 { (exit 1); exit 1; }; }
30918 if test -n "$kde_widgetdir"; then
30919 kde_widgetdir
="$kde_widgetdir/kde3/plugins/designer"
30923 if test "$ac_kde_includes" = NO ||
test "$ac_kde_libraries" = NO ||
test "$kde_widgetdir" = NO
; then
30924 ac_cv_have_kde
="have_kde=no"
30926 ac_cv_have_kde
="have_kde=yes \
30927 ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30931 ac_cv_have_kde
="have_kde=no"
30937 eval "$ac_cv_have_kde"
30939 if test "$have_kde" != "yes"; then
30940 if test "${prefix}" = NONE
; then
30941 ac_kde_prefix
="$ac_default_prefix"
30943 ac_kde_prefix
="$prefix"
30945 if test "$exec_prefix" = NONE
; then
30946 ac_kde_exec_prefix
="$ac_kde_prefix"
30947 echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
30948 echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
30950 ac_kde_exec_prefix
="$exec_prefix"
30951 echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
30952 echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
30955 kde_libraries
="${libdir}"
30956 kde_includes
="${includedir}"
30959 ac_cv_have_kde
="have_kde=yes \
30960 ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30961 echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
30962 echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
30964 kde_libraries
="$ac_kde_libraries"
30965 kde_includes
="$ac_kde_includes"
30970 if test "$kde_includes" = "$x_includes" ||
test "$kde_includes" = "$qt_includes" ||
test "$kde_includes" = "/usr/include"; then
30973 KDE_INCLUDES
="-I$kde_includes"
30974 all_includes
="$KDE_INCLUDES $all_includes"
30977 KDE_DEFAULT_CXXFLAGS
="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
30979 KDE_LDFLAGS
="-L$kde_libraries"
30980 if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
30981 all_libraries
="$KDE_LDFLAGS $all_libraries"
30989 all_libraries
="$all_libraries $USER_LDFLAGS"
30990 all_includes
="$all_includes $USER_INCLUDES"
30994 if test -z ""; then
30998 if test x
$ac_uic_supports_libpath = xyes
; then
31000 echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31001 echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
31002 if test "${kde_cv_uic_plugins+set}" = set; then
31003 echo $ECHO_N "(cached) $ECHO_C" >&6
31006 cat > actest.ui
<< EOF
31007 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31008 <class>NewConnectionDialog</class>
31009 <widget class="QDialog">
31010 <widget class="KLineEdit">
31011 <property name="name">
31012 <cstring>testInput</cstring>
31021 kde_cv_uic_plugins
=no
31022 kde_line
="$UIC_PATH -L $kde_widgetdir"
31023 if test x
$ac_uic_supports_nounload = xyes
; then
31024 kde_line
="$kde_line -nounload"
31026 kde_line
="$kde_line -impl actest.h actest.ui > actest.cpp"
31027 if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31028 (eval $kde_line) 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; then
31032 # if you're trying to debug this check and think it's incorrect,
31033 # better check your installation. The check _is_ correct - your
31034 # installation is not.
31035 if test -f actest.cpp
&& grep klineedit actest.cpp
> /dev
/null
; then
31036 kde_cv_uic_plugins
=yes
31039 rm -f actest.ui actest.cpp
31044 echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31045 echo "${ECHO_T}$kde_cv_uic_plugins" >&6
31046 if test "$kde_cv_uic_plugins" != yes; then
31047 { { echo "$as_me:$LINENO: error:
31048 you need to install kdelibs first.
31050 If you did install kdelibs, then the Qt version that is picked up by
31051 this configure is not the same version you used to compile kdelibs.
31052 The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31053 _same Qt version_, compiled with the _same compiler_ and the same Qt
31054 configuration settings.
31056 echo "$as_me: error:
31057 you need to install kdelibs first.
31059 If you did install kdelibs, then the Qt version that is picked up by
31060 this configure is not the same version you used to compile kdelibs.
31061 The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31062 _same Qt version_, compiled with the _same compiler_ and the same Qt
31063 configuration settings.
31065 { (exit 1); exit 1; }; }
31071 ac_kde_libraries
="$kde_libdir"
31077 # Check whether --enable-path-check or --disable-path-check was given.
31078 if test "${enable_path_check+set}" = set; then
31079 enableval
="$enable_path_check"
31081 if test "$enableval" = "no";
31082 then ac_use_path_checking
="default"
31083 else ac_use_path_checking
=""
31088 if test "$kde_qtver" = 1;
31089 then ac_use_path_checking
=""
31090 else ac_use_path_checking
="default"
31099 echo "$as_me:$LINENO: checking for KDE paths" >&5
31100 echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
31102 kde_cached_paths
=yes
31103 if test "${kde_cv_all_paths+set}" = set; then
31104 echo $ECHO_N "(cached) $ECHO_C" >&6
31108 if test "$ac_use_path_checking" = "default"; then
31110 if test -z "$kde_htmldir"; then
31111 kde_htmldir
='\${datadir}/doc/HTML'
31113 if test -z "$kde_appsdir"; then
31114 kde_appsdir
='\${datadir}/applnk'
31116 if test -z "$kde_icondir"; then
31117 kde_icondir
='\${datadir}/icons'
31119 if test -z "$kde_sounddir"; then
31120 kde_sounddir
='\${datadir}/sounds'
31122 if test -z "$kde_datadir"; then
31123 kde_datadir
='\${datadir}/apps'
31125 if test -z "$kde_locale"; then
31126 kde_locale
='\${datadir}/locale'
31128 if test -z "$kde_cgidir"; then
31129 kde_cgidir
='\${exec_prefix}/cgi-bin'
31131 if test -z "$kde_confdir"; then
31132 kde_confdir
='\${datadir}/config'
31134 if test -z "$kde_kcfgdir"; then
31135 kde_kcfgdir
='\${datadir}/config.kcfg'
31137 if test -z "$kde_mimedir"; then
31138 kde_mimedir
='\${datadir}/mimelnk'
31140 if test -z "$kde_toolbardir"; then
31141 kde_toolbardir
='\${datadir}/toolbar'
31143 if test -z "$kde_wallpaperdir"; then
31144 kde_wallpaperdir
='\${datadir}/wallpapers'
31146 if test -z "$kde_templatesdir"; then
31147 kde_templatesdir
='\${datadir}/templates'
31149 if test -z "$kde_bindir"; then
31150 kde_bindir
='\${exec_prefix}/bin'
31152 if test -z "$kde_servicesdir"; then
31153 kde_servicesdir
='\${datadir}/services'
31155 if test -z "$kde_servicetypesdir"; then
31156 kde_servicetypesdir
='\${datadir}/servicetypes'
31158 if test -z "$kde_moduledir"; then
31159 if test "$kde_qtver" = "2"; then
31160 kde_moduledir
='\${libdir}/kde2'
31162 kde_moduledir
='\${libdir}/kde3'
31165 if test -z "$kde_styledir"; then
31166 kde_styledir
='\${libdir}/kde3/plugins/styles'
31168 if test -z "$kde_widgetdir"; then
31169 kde_widgetdir
='\${libdir}/kde3/plugins/designer'
31171 if test -z "$xdg_appsdir"; then
31172 xdg_appsdir
='\${datadir}/applications/kde'
31174 if test -z "$xdg_menudir"; then
31175 xdg_menudir
='\${sysconfdir}/xdg/menus'
31177 if test -z "$xdg_directorydir"; then
31178 xdg_directorydir
='\${datadir}/desktop-directories'
31182 kde_cv_all_paths
="kde_have_all_paths=\"yes\" \
31183 kde_htmldir=\"$kde_htmldir\" \
31184 kde_appsdir=\"$kde_appsdir\" \
31185 kde_icondir=\"$kde_icondir\" \
31186 kde_sounddir=\"$kde_sounddir\" \
31187 kde_datadir=\"$kde_datadir\" \
31188 kde_locale=\"$kde_locale\" \
31189 kde_cgidir=\"$kde_cgidir\" \
31190 kde_confdir=\"$kde_confdir\" \
31191 kde_kcfgdir=\"$kde_kcfgdir\" \
31192 kde_mimedir=\"$kde_mimedir\" \
31193 kde_toolbardir=\"$kde_toolbardir\" \
31194 kde_wallpaperdir=\"$kde_wallpaperdir\" \
31195 kde_templatesdir=\"$kde_templatesdir\" \
31196 kde_bindir=\"$kde_bindir\" \
31197 kde_servicesdir=\"$kde_servicesdir\" \
31198 kde_servicetypesdir=\"$kde_servicetypesdir\" \
31199 kde_moduledir=\"$kde_moduledir\" \
31200 kde_styledir=\"$kde_styledir\" \
31201 kde_widgetdir=\"$kde_widgetdir\" \
31202 xdg_appsdir=\"$xdg_appsdir\" \
31203 xdg_menudir=\"$xdg_menudir\" \
31204 xdg_directorydir=\"$xdg_directorydir\" \
31205 kde_result=defaults"
31210 if test $kde_qtver = 1; then
31211 echo "$as_me:$LINENO: result: compiling" >&5
31212 echo "${ECHO_T}compiling" >&6
31215 echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31216 echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
31220 ac_cpp
='$CXXCPP $CPPFLAGS'
31221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31225 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31228 cat > conftest.
$ac_ext <<EOF
31229 #ifdef STDC_HEADERS
31230 # include <stdlib.h>
31233 #include "confdefs.h"
31237 printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31238 printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31239 printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31240 printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31241 printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31242 printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31243 printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31244 printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31245 printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31246 printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31247 printf("kde_wallpaperdir=\\"%s\\"\n",
31248 KApplication::kde_wallpaperdir().data());
31249 printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31250 printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31251 printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31252 printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31253 printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31254 printf("kde_styledir=\\"/tmp/dummy\\"\n");
31255 printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31256 printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31257 printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31258 printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31259 printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31264 ac_save_CPPFLAGS
=$CPPFLAGS
31265 CPPFLAGS
="$all_includes $CPPFLAGS"
31266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31267 (eval $ac_compile) 2>&5
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); }; then
31271 echo "$as_me:$LINENO: result: yes" >&5
31272 echo "${ECHO_T}yes" >&6
31274 { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31275 Check, if you installed the KDE header files correctly.
31276 For more details about this problem, look at the end of config.log." >&5
31277 echo "$as_me: error: your system is not able to compile a small KDE application!
31278 Check, if you installed the KDE header files correctly.
31279 For more details about this problem, look at the end of config.log." >&2;}
31280 { (exit 1); exit 1; }; }
31282 CPPFLAGS
=$ac_save_CPPFLAGS
31285 ac_cpp
='$CPP $CPPFLAGS'
31286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31294 if test -n "$USE_RPATH"; then
31296 if test -n "$kde_libraries"; then
31297 KDE_TEST_RPATH
="-R $kde_libraries"
31300 if test -n "$qt_libraries"; then
31301 KDE_TEST_RPATH
="$KDE_TEST_RPATH -R $qt_libraries"
31304 if test -n "$x_libraries"; then
31305 KDE_TEST_RPATH
="$KDE_TEST_RPATH -R $x_libraries"
31308 KDE_TEST_RPATH
="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31311 echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31312 echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
31313 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'
31315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31316 (eval $ac_link) 2>&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } && test -s conftest
; then
31320 echo "$as_me:$LINENO: result: yes" >&5
31321 echo "${ECHO_T}yes" >&6
31323 { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31324 Check, if your compiler is installed correctly and if you have used the
31325 same compiler to compile Qt and kdelibs as you did use now.
31326 For more details about this problem, look at the end of config.log." >&5
31327 echo "$as_me: error: your system fails at linking a small KDE application!
31328 Check, if your compiler is installed correctly and if you have used the
31329 same compiler to compile Qt and kdelibs as you did use now.
31330 For more details about this problem, look at the end of config.log." >&2;}
31331 { (exit 1); exit 1; }; }
31334 if eval `KDEDIR= ./conftest 2>&5`; then
31337 kde_result
=problems
31340 KDEDIR
= .
/conftest
2> /dev
/null
>&5 # make an echo for config.log
31341 kde_have_all_paths
=yes
31344 kde_cv_all_paths
="kde_have_all_paths=\"yes\" \
31345 kde_htmldir=\"$kde_htmldir\" \
31346 kde_appsdir=\"$kde_appsdir\" \
31347 kde_icondir=\"$kde_icondir\" \
31348 kde_sounddir=\"$kde_sounddir\" \
31349 kde_datadir=\"$kde_datadir\" \
31350 kde_locale=\"$kde_locale\" \
31351 kde_cgidir=\"$kde_cgidir\" \
31352 kde_confdir=\"$kde_confdir\" \
31353 kde_kcfgdir=\"$kde_kcfgdir\" \
31354 kde_mimedir=\"$kde_mimedir\" \
31355 kde_toolbardir=\"$kde_toolbardir\" \
31356 kde_wallpaperdir=\"$kde_wallpaperdir\" \
31357 kde_templatesdir=\"$kde_templatesdir\" \
31358 kde_bindir=\"$kde_bindir\" \
31359 kde_servicesdir=\"$kde_servicesdir\" \
31360 kde_servicetypesdir=\"$kde_servicetypesdir\" \
31361 kde_moduledir=\"$kde_moduledir\" \
31362 kde_styledir=\"$kde_styledir\" \
31363 kde_widgetdir=\"$kde_widgetdir\" \
31364 xdg_appsdir=\"$xdg_appsdir\" \
31365 xdg_menudir=\"$xdg_menudir\" \
31366 xdg_directorydir=\"$xdg_directorydir\" \
31367 kde_result=$kde_result"
31372 { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31373 echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31374 { (exit 1); exit 1; }; }
31379 kde_cached_paths
=no
31383 eval "$kde_cv_all_paths"
31384 if test -z "$kde_htmldir" ||
test -z "$kde_appsdir" ||
31385 test -z "$kde_icondir" ||
test -z "$kde_sounddir" ||
31386 test -z "$kde_datadir" ||
test -z "$kde_locale" ||
31387 test -z "$kde_cgidir" ||
test -z "$kde_confdir" ||
31388 test -z "$kde_kcfgdir" ||
31389 test -z "$kde_mimedir" ||
test -z "$kde_toolbardir" ||
31390 test -z "$kde_wallpaperdir" ||
test -z "$kde_templatesdir" ||
31391 test -z "$kde_bindir" ||
test -z "$kde_servicesdir" ||
31392 test -z "$kde_servicetypesdir" ||
test -z "$kde_moduledir" ||
31393 test -z "$kde_styledir" ||
test -z "kde_widgetdir" ||
31394 test -z "$xdg_appsdir" ||
test -z "$xdg_menudir" ||
test -z "$xdg_directorydir" ||
31395 test "x$kde_have_all_paths" != "xyes"; then
31396 kde_have_all_paths
=no
31399 if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31400 # wrong values were cached, may be, we can set better ones
31402 kde_htmldir
= kde_appsdir
= kde_icondir
= kde_sounddir
=
31403 kde_datadir
= kde_locale
= kde_cgidir
= kde_confdir
= kde_kcfgdir
=
31404 kde_mimedir
= kde_toolbardir
= kde_wallpaperdir
= kde_templatesdir
=
31405 kde_bindir
= kde_servicesdir
= kde_servicetypesdir
= kde_moduledir
=
31406 kde_have_all_paths
=
31409 xdg_appsdir
= xdg_menudir
= xdg_directorydir
=
31411 if test "$ac_use_path_checking" = "default"; then
31413 if test -z "$kde_htmldir"; then
31414 kde_htmldir
='\${datadir}/doc/HTML'
31416 if test -z "$kde_appsdir"; then
31417 kde_appsdir
='\${datadir}/applnk'
31419 if test -z "$kde_icondir"; then
31420 kde_icondir
='\${datadir}/icons'
31422 if test -z "$kde_sounddir"; then
31423 kde_sounddir
='\${datadir}/sounds'
31425 if test -z "$kde_datadir"; then
31426 kde_datadir
='\${datadir}/apps'
31428 if test -z "$kde_locale"; then
31429 kde_locale
='\${datadir}/locale'
31431 if test -z "$kde_cgidir"; then
31432 kde_cgidir
='\${exec_prefix}/cgi-bin'
31434 if test -z "$kde_confdir"; then
31435 kde_confdir
='\${datadir}/config'
31437 if test -z "$kde_kcfgdir"; then
31438 kde_kcfgdir
='\${datadir}/config.kcfg'
31440 if test -z "$kde_mimedir"; then
31441 kde_mimedir
='\${datadir}/mimelnk'
31443 if test -z "$kde_toolbardir"; then
31444 kde_toolbardir
='\${datadir}/toolbar'
31446 if test -z "$kde_wallpaperdir"; then
31447 kde_wallpaperdir
='\${datadir}/wallpapers'
31449 if test -z "$kde_templatesdir"; then
31450 kde_templatesdir
='\${datadir}/templates'
31452 if test -z "$kde_bindir"; then
31453 kde_bindir
='\${exec_prefix}/bin'
31455 if test -z "$kde_servicesdir"; then
31456 kde_servicesdir
='\${datadir}/services'
31458 if test -z "$kde_servicetypesdir"; then
31459 kde_servicetypesdir
='\${datadir}/servicetypes'
31461 if test -z "$kde_moduledir"; then
31462 if test "$kde_qtver" = "2"; then
31463 kde_moduledir
='\${libdir}/kde2'
31465 kde_moduledir
='\${libdir}/kde3'
31468 if test -z "$kde_styledir"; then
31469 kde_styledir
='\${libdir}/kde3/plugins/styles'
31471 if test -z "$kde_widgetdir"; then
31472 kde_widgetdir
='\${libdir}/kde3/plugins/designer'
31474 if test -z "$xdg_appsdir"; then
31475 xdg_appsdir
='\${datadir}/applications/kde'
31477 if test -z "$xdg_menudir"; then
31478 xdg_menudir
='\${sysconfdir}/xdg/menus'
31480 if test -z "$xdg_directorydir"; then
31481 xdg_directorydir
='\${datadir}/desktop-directories'
31485 kde_cv_all_paths
="kde_have_all_paths=\"yes\" \
31486 kde_htmldir=\"$kde_htmldir\" \
31487 kde_appsdir=\"$kde_appsdir\" \
31488 kde_icondir=\"$kde_icondir\" \
31489 kde_sounddir=\"$kde_sounddir\" \
31490 kde_datadir=\"$kde_datadir\" \
31491 kde_locale=\"$kde_locale\" \
31492 kde_cgidir=\"$kde_cgidir\" \
31493 kde_confdir=\"$kde_confdir\" \
31494 kde_kcfgdir=\"$kde_kcfgdir\" \
31495 kde_mimedir=\"$kde_mimedir\" \
31496 kde_toolbardir=\"$kde_toolbardir\" \
31497 kde_wallpaperdir=\"$kde_wallpaperdir\" \
31498 kde_templatesdir=\"$kde_templatesdir\" \
31499 kde_bindir=\"$kde_bindir\" \
31500 kde_servicesdir=\"$kde_servicesdir\" \
31501 kde_servicetypesdir=\"$kde_servicetypesdir\" \
31502 kde_moduledir=\"$kde_moduledir\" \
31503 kde_styledir=\"$kde_styledir\" \
31504 kde_widgetdir=\"$kde_widgetdir\" \
31505 xdg_appsdir=\"$xdg_appsdir\" \
31506 xdg_menudir=\"$xdg_menudir\" \
31507 xdg_directorydir=\"$xdg_directorydir\" \
31508 kde_result=defaults"
31513 if test $kde_qtver = 1; then
31514 echo "$as_me:$LINENO: result: compiling" >&5
31515 echo "${ECHO_T}compiling" >&6
31518 echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31519 echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
31523 ac_cpp
='$CXXCPP $CPPFLAGS'
31524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31528 ac_link
='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31531 cat > conftest.
$ac_ext <<EOF
31532 #ifdef STDC_HEADERS
31533 # include <stdlib.h>
31536 #include "confdefs.h"
31540 printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31541 printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31542 printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31543 printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31544 printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31545 printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31546 printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31547 printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31548 printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31549 printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31550 printf("kde_wallpaperdir=\\"%s\\"\n",
31551 KApplication::kde_wallpaperdir().data());
31552 printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31553 printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31554 printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31555 printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31556 printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31557 printf("kde_styledir=\\"/tmp/dummy\\"\n");
31558 printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31559 printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31560 printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31561 printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31562 printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31567 ac_save_CPPFLAGS
=$CPPFLAGS
31568 CPPFLAGS
="$all_includes $CPPFLAGS"
31569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31570 (eval $ac_compile) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; then
31574 echo "$as_me:$LINENO: result: yes" >&5
31575 echo "${ECHO_T}yes" >&6
31577 { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31578 Check, if you installed the KDE header files correctly.
31579 For more details about this problem, look at the end of config.log." >&5
31580 echo "$as_me: error: your system is not able to compile a small KDE application!
31581 Check, if you installed the KDE header files correctly.
31582 For more details about this problem, look at the end of config.log." >&2;}
31583 { (exit 1); exit 1; }; }
31585 CPPFLAGS
=$ac_save_CPPFLAGS
31588 ac_cpp
='$CPP $CPPFLAGS'
31589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31597 if test -n "$USE_RPATH"; then
31599 if test -n "$kde_libraries"; then
31600 KDE_TEST_RPATH
="-R $kde_libraries"
31603 if test -n "$qt_libraries"; then
31604 KDE_TEST_RPATH
="$KDE_TEST_RPATH -R $qt_libraries"
31607 if test -n "$x_libraries"; then
31608 KDE_TEST_RPATH
="$KDE_TEST_RPATH -R $x_libraries"
31611 KDE_TEST_RPATH
="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31614 echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31615 echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
31616 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'
31618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31619 (eval $ac_link) 2>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } && test -s conftest
; then
31623 echo "$as_me:$LINENO: result: yes" >&5
31624 echo "${ECHO_T}yes" >&6
31626 { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31627 Check, if your compiler is installed correctly and if you have used the
31628 same compiler to compile Qt and kdelibs as you did use now.
31629 For more details about this problem, look at the end of config.log." >&5
31630 echo "$as_me: error: your system fails at linking a small KDE application!
31631 Check, if your compiler is installed correctly and if you have used the
31632 same compiler to compile Qt and kdelibs as you did use now.
31633 For more details about this problem, look at the end of config.log." >&2;}
31634 { (exit 1); exit 1; }; }
31637 if eval `KDEDIR= ./conftest 2>&5`; then
31640 kde_result
=problems
31643 KDEDIR
= .
/conftest
2> /dev
/null
>&5 # make an echo for config.log
31644 kde_have_all_paths
=yes
31647 kde_cv_all_paths
="kde_have_all_paths=\"yes\" \
31648 kde_htmldir=\"$kde_htmldir\" \
31649 kde_appsdir=\"$kde_appsdir\" \
31650 kde_icondir=\"$kde_icondir\" \
31651 kde_sounddir=\"$kde_sounddir\" \
31652 kde_datadir=\"$kde_datadir\" \
31653 kde_locale=\"$kde_locale\" \
31654 kde_cgidir=\"$kde_cgidir\" \
31655 kde_confdir=\"$kde_confdir\" \
31656 kde_kcfgdir=\"$kde_kcfgdir\" \
31657 kde_mimedir=\"$kde_mimedir\" \
31658 kde_toolbardir=\"$kde_toolbardir\" \
31659 kde_wallpaperdir=\"$kde_wallpaperdir\" \
31660 kde_templatesdir=\"$kde_templatesdir\" \
31661 kde_bindir=\"$kde_bindir\" \
31662 kde_servicesdir=\"$kde_servicesdir\" \
31663 kde_servicetypesdir=\"$kde_servicetypesdir\" \
31664 kde_moduledir=\"$kde_moduledir\" \
31665 kde_styledir=\"$kde_styledir\" \
31666 kde_widgetdir=\"$kde_widgetdir\" \
31667 xdg_appsdir=\"$xdg_appsdir\" \
31668 xdg_menudir=\"$xdg_menudir\" \
31669 xdg_directorydir=\"$xdg_directorydir\" \
31670 kde_result=$kde_result"
31675 { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31676 echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31677 { (exit 1); exit 1; }; }
31682 eval "$kde_cv_all_paths"
31683 if test -z "$kde_htmldir" ||
test -z "$kde_appsdir" ||
31684 test -z "$kde_icondir" ||
test -z "$kde_sounddir" ||
31685 test -z "$kde_datadir" ||
test -z "$kde_locale" ||
31686 test -z "$kde_cgidir" ||
test -z "$kde_confdir" ||
31687 test -z "$kde_kcfgdir" ||
31688 test -z "$kde_mimedir" ||
test -z "$kde_toolbardir" ||
31689 test -z "$kde_wallpaperdir" ||
test -z "$kde_templatesdir" ||
31690 test -z "$kde_bindir" ||
test -z "$kde_servicesdir" ||
31691 test -z "$kde_servicetypesdir" ||
test -z "$kde_moduledir" ||
31692 test -z "$kde_styledir" ||
test -z "kde_widgetdir" ||
31693 test -z "$xdg_appsdir" ||
test -z "$xdg_menudir" ||
test -z "$xdg_directorydir" ||
31694 test "x$kde_have_all_paths" != "xyes"; then
31695 kde_have_all_paths
=no
31698 kde_result
="$kde_result (cache overridden)"
31700 if test "$kde_have_all_paths" = "no"; then
31701 { { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
31702 Since it had compiled and linked before, it must be a strange problem on your system.
31703 Look at config.log for details. If you are not able to fix this, look at
31704 http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31705 (If you're using an egcs version on Linux, you may update binutils!)
31707 echo "$as_me: error: configure could not run a little KDE program to test the environment.
31708 Since it had compiled and linked before, it must be a strange problem on your system.
31709 Look at config.log for details. If you are not able to fix this, look at
31710 http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31711 (If you're using an egcs version on Linux, you may update binutils!)
31713 { (exit 1); exit 1; }; }
31716 echo "$as_me:$LINENO: result: $kde_result" >&5
31717 echo "${ECHO_T}$kde_result" >&6
31724 # Check whether --with-arts or --without-arts was given.
31725 if test "${with_arts+set}" = set; then
31726 withval
="$with_arts"
31727 build_arts
=$withval
31734 if test "$build_arts" '!=' "no"; then
31736 include_ARTS_FALSE
='#'
31738 include_ARTS_TRUE
='#'
31739 include_ARTS_FALSE
=
31742 if test "$build_arts" = "no"; then
31744 cat >>confdefs.h
<<\_ACEOF
31745 #define WITHOUT_ARTS 1
31751 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"
31752 test -n "$KDEDIR" && kde_default_bindirs
="$KDEDIR/bin $kde_default_bindirs"
31753 if test -n "$KDEDIRS"; then
31756 for dir
in $KDEDIRS; do
31757 kde_default_bindirs
="$dir/bin $kde_default_bindirs "
31762 kde_default_bindirs
="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
31764 echo "$as_me:$LINENO: checking for dcopidl" >&5
31765 echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
31766 if test -n "$DCOPIDL"; then
31767 kde_cv_path
="$DCOPIDL";
31769 kde_cache
=`echo dcopidl | sed 'y%./+-%__p_%'`
31771 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31772 echo $ECHO_N "(cached) $ECHO_C" >&6
31779 for dir
in $PATH; do
31782 if test -z ""; then dirs="$kde_default_bindirs $dirs"
31783 else dirs="$dirs $kde_default_bindirs"
31787 for dir
in $dirs; do
31788 if test -x "$dir/dcopidl"; then
31791 evalstr
="$dir/dcopidl 2>&1 "
31792 if eval $evalstr; then
31793 kde_cv_path
="$dir/dcopidl"
31797 kde_cv_path
="$dir/dcopidl"
31803 eval "kde_cv_path_$kde_cache=$kde_cv_path"
31809 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31813 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
31814 echo "$as_me:$LINENO: result: not found" >&5
31815 echo "${ECHO_T}not found" >&6
31817 { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
31818 Please check whether you installed KDE correctly.
31820 echo "$as_me: error: The important program dcopidl was not found!
31821 Please check whether you installed KDE correctly.
31823 { (exit 1); exit 1; }; }
31826 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31827 echo "${ECHO_T}$kde_cv_path" >&6
31828 DCOPIDL
=$kde_cv_path
31833 echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
31834 echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
31835 if test -n "$DCOPIDL2CPP"; then
31836 kde_cv_path
="$DCOPIDL2CPP";
31838 kde_cache
=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
31840 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31841 echo $ECHO_N "(cached) $ECHO_C" >&6
31848 for dir
in $PATH; do
31851 if test -z ""; then dirs="$kde_default_bindirs $dirs"
31852 else dirs="$dirs $kde_default_bindirs"
31856 for dir
in $dirs; do
31857 if test -x "$dir/dcopidl2cpp"; then
31860 evalstr
="$dir/dcopidl2cpp 2>&1 "
31861 if eval $evalstr; then
31862 kde_cv_path
="$dir/dcopidl2cpp"
31866 kde_cv_path
="$dir/dcopidl2cpp"
31872 eval "kde_cv_path_$kde_cache=$kde_cv_path"
31878 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31882 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
31883 echo "$as_me:$LINENO: result: not found" >&5
31884 echo "${ECHO_T}not found" >&6
31886 { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
31887 Please check whether you installed KDE correctly.
31889 echo "$as_me: error: The important program dcopidl2cpp was not found!
31890 Please check whether you installed KDE correctly.
31892 { (exit 1); exit 1; }; }
31895 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31896 echo "${ECHO_T}$kde_cv_path" >&6
31897 DCOPIDL2CPP
=$kde_cv_path
31901 if test "$build_arts" '!=' "no"; then
31903 echo "$as_me:$LINENO: checking for mcopidl" >&5
31904 echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
31905 if test -n "$MCOPIDL"; then
31906 kde_cv_path
="$MCOPIDL";
31908 kde_cache
=`echo mcopidl | sed 'y%./+-%__p_%'`
31910 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31911 echo $ECHO_N "(cached) $ECHO_C" >&6
31918 for dir
in $PATH; do
31921 if test -z ""; then dirs="$kde_default_bindirs $dirs"
31922 else dirs="$dirs $kde_default_bindirs"
31926 for dir
in $dirs; do
31927 if test -x "$dir/mcopidl"; then
31930 evalstr
="$dir/mcopidl 2>&1 "
31931 if eval $evalstr; then
31932 kde_cv_path
="$dir/mcopidl"
31936 kde_cv_path
="$dir/mcopidl"
31942 eval "kde_cv_path_$kde_cache=$kde_cv_path"
31948 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31952 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
31953 echo "$as_me:$LINENO: result: not found" >&5
31954 echo "${ECHO_T}not found" >&6
31956 { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
31957 Please check whether you installed aRts correctly or use
31958 --without-arts to compile without aRts support (this will remove functionality).
31960 echo "$as_me: error: The important program mcopidl was not found!
31961 Please check whether you installed aRts correctly or use
31962 --without-arts to compile without aRts support (this will remove functionality).
31964 { (exit 1); exit 1; }; }
31967 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31968 echo "${ECHO_T}$kde_cv_path" >&6
31969 MCOPIDL
=$kde_cv_path
31974 echo "$as_me:$LINENO: checking for artsc-config" >&5
31975 echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
31976 if test -n "$ARTSCCONFIG"; then
31977 kde_cv_path
="$ARTSCCONFIG";
31979 kde_cache
=`echo artsc-config | sed 'y%./+-%__p_%'`
31981 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31982 echo $ECHO_N "(cached) $ECHO_C" >&6
31989 for dir
in $PATH; do
31992 if test -z ""; then dirs="$kde_default_bindirs $dirs"
31993 else dirs="$dirs $kde_default_bindirs"
31997 for dir
in $dirs; do
31998 if test -x "$dir/artsc-config"; then
32001 evalstr
="$dir/artsc-config 2>&1 "
32002 if eval $evalstr; then
32003 kde_cv_path
="$dir/artsc-config"
32007 kde_cv_path
="$dir/artsc-config"
32013 eval "kde_cv_path_$kde_cache=$kde_cv_path"
32019 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32023 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
32024 echo "$as_me:$LINENO: result: not found" >&5
32025 echo "${ECHO_T}not found" >&6
32027 { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32028 Please check whether you installed aRts correctly or use
32029 --without-arts to compile without aRts support (this will remove functionality).
32031 echo "$as_me: error: The important program artsc-config was not found!
32032 Please check whether you installed aRts correctly or use
32033 --without-arts to compile without aRts support (this will remove functionality).
32035 { (exit 1); exit 1; }; }
32038 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32039 echo "${ECHO_T}$kde_cv_path" >&6
32040 ARTSCCONFIG
=$kde_cv_path
32046 echo "$as_me:$LINENO: checking for meinproc" >&5
32047 echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
32048 if test -n "$MEINPROC"; then
32049 kde_cv_path
="$MEINPROC";
32051 kde_cache
=`echo meinproc | sed 'y%./+-%__p_%'`
32053 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32061 for dir
in $PATH; do
32064 if test -z ""; then dirs="$kde_default_bindirs $dirs"
32065 else dirs="$dirs $kde_default_bindirs"
32069 for dir
in $dirs; do
32070 if test -x "$dir/meinproc"; then
32073 evalstr
="$dir/meinproc 2>&1 "
32074 if eval $evalstr; then
32075 kde_cv_path
="$dir/meinproc"
32079 kde_cv_path
="$dir/meinproc"
32085 eval "kde_cv_path_$kde_cache=$kde_cv_path"
32091 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32095 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
32096 echo "$as_me:$LINENO: result: not found" >&5
32097 echo "${ECHO_T}not found" >&6
32100 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32101 echo "${ECHO_T}$kde_cv_path" >&6
32102 MEINPROC
=$kde_cv_path
32109 if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32113 if test "$kde_qtver" = "3"; then
32114 if test "$kde_qtsubver" -le 1; then
32117 if test "$kde_qtsubver" -le 2; then
32120 if test "$KDECONFIG" != "compiled"; then
32121 if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32128 if test -n "$kde32ornewer"; then
32130 echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32131 echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6
32132 if test -n "$KCONFIG_COMPILER"; then
32133 kde_cv_path
="$KCONFIG_COMPILER";
32135 kde_cache
=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32137 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32138 echo $ECHO_N "(cached) $ECHO_C" >&6
32145 for dir
in $PATH; do
32148 if test -z ""; then dirs="$kde_default_bindirs $dirs"
32149 else dirs="$dirs $kde_default_bindirs"
32153 for dir
in $dirs; do
32154 if test -x "$dir/kconfig_compiler"; then
32157 evalstr
="$dir/kconfig_compiler 2>&1 "
32158 if eval $evalstr; then
32159 kde_cv_path
="$dir/kconfig_compiler"
32163 kde_cv_path
="$dir/kconfig_compiler"
32169 eval "kde_cv_path_$kde_cache=$kde_cv_path"
32175 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32179 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
32180 echo "$as_me:$LINENO: result: not found" >&5
32181 echo "${ECHO_T}not found" >&6
32183 { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32184 Please check whether you installed KDE correctly.
32186 echo "$as_me: error: The important program kconfig_compiler was not found!
32187 Please check whether you installed KDE correctly.
32189 { (exit 1); exit 1; }; }
32192 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32193 echo "${ECHO_T}$kde_cv_path" >&6
32194 KCONFIG_COMPILER
=$kde_cv_path
32199 echo "$as_me:$LINENO: checking for dcopidlng" >&5
32200 echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6
32201 if test -n "$DCOPIDLNG"; then
32202 kde_cv_path
="$DCOPIDLNG";
32204 kde_cache
=`echo dcopidlng | sed 'y%./+-%__p_%'`
32206 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 for dir
in $PATH; do
32217 if test -z ""; then dirs="$kde_default_bindirs $dirs"
32218 else dirs="$dirs $kde_default_bindirs"
32222 for dir
in $dirs; do
32223 if test -x "$dir/dcopidlng"; then
32226 evalstr
="$dir/dcopidlng 2>&1 "
32227 if eval $evalstr; then
32228 kde_cv_path
="$dir/dcopidlng"
32232 kde_cv_path
="$dir/dcopidlng"
32238 eval "kde_cv_path_$kde_cache=$kde_cv_path"
32244 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32248 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
32249 echo "$as_me:$LINENO: result: not found" >&5
32250 echo "${ECHO_T}not found" >&6
32252 { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32253 Please check whether you installed KDE correctly.
32255 echo "$as_me: error: The important program dcopidlng was not found!
32256 Please check whether you installed KDE correctly.
32258 { (exit 1); exit 1; }; }
32261 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32262 echo "${ECHO_T}$kde_cv_path" >&6
32263 DCOPIDLNG
=$kde_cv_path
32268 if test -n "$kde33ornewer"; then
32270 echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32271 echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6
32272 if test -n "$MAKEKDEWIDGETS"; then
32273 kde_cv_path
="$MAKEKDEWIDGETS";
32275 kde_cache
=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32277 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32285 for dir
in $PATH; do
32288 if test -z ""; then dirs="$kde_default_bindirs $dirs"
32289 else dirs="$dirs $kde_default_bindirs"
32293 for dir
in $dirs; do
32294 if test -x "$dir/makekdewidgets"; then
32297 evalstr
="$dir/makekdewidgets 2>&1 "
32298 if eval $evalstr; then
32299 kde_cv_path
="$dir/makekdewidgets"
32303 kde_cv_path
="$dir/makekdewidgets"
32309 eval "kde_cv_path_$kde_cache=$kde_cv_path"
32315 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32319 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
32320 echo "$as_me:$LINENO: result: not found" >&5
32321 echo "${ECHO_T}not found" >&6
32323 { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32324 Please check whether you installed KDE correctly.
32326 echo "$as_me: error: The important program makekdewidgets was not found!
32327 Please check whether you installed KDE correctly.
32329 { (exit 1); exit 1; }; }
32332 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32333 echo "${ECHO_T}$kde_cv_path" >&6
32334 MAKEKDEWIDGETS
=$kde_cv_path
32341 echo "$as_me:$LINENO: checking for xmllint" >&5
32342 echo $ECHO_N "checking for xmllint... $ECHO_C" >&6
32343 if test -n "$XMLLINT"; then
32344 kde_cv_path
="$XMLLINT";
32346 kde_cache
=`echo xmllint | sed 'y%./+-%__p_%'`
32348 if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 for dir
in $PATH; do
32359 if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32360 else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32364 for dir
in $dirs; do
32365 if test -x "$dir/xmllint"; then
32368 evalstr
="$dir/xmllint 2>&1 "
32369 if eval $evalstr; then
32370 kde_cv_path
="$dir/xmllint"
32374 kde_cv_path
="$dir/xmllint"
32380 eval "kde_cv_path_$kde_cache=$kde_cv_path"
32386 eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32390 if test -z "$kde_cv_path" ||
test "$kde_cv_path" = NONE
; then
32391 echo "$as_me:$LINENO: result: not found" >&5
32392 echo "${ECHO_T}not found" >&6
32395 echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32396 echo "${ECHO_T}$kde_cv_path" >&6
32397 XMLLINT
=$kde_cv_path
32402 if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32403 kde_sharedirs
="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32404 test -n "$KDEDIR" && kde_sharedirs
="$KDEDIR/share $kde_sharedirs"
32406 KDE_XSL_STYLESHEET
=NO
32407 for i
in $kde_sharedirs;
32409 for j
in apps
/ksgmltools
2/customization
/kde-chunk.xsl
;
32411 echo "configure: 32411: $i/$j" >&5
32412 if test -r "$i/$j"; then
32413 echo "taking that" >&5
32414 KDE_XSL_STYLESHEET
=$i
32420 if test "$KDE_XSL_STYLESHEET" = "NO"; then
32421 KDE_XSL_STYLESHEET
=""
32423 KDE_XSL_STYLESHEET
="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32427 DCOP_DEPENDENCIES
='$(DCOPIDL)'
32428 if test -n "$kde32ornewer"; then
32429 KCFG_DEPENDENCIES
='$(KCONFIG_COMPILER)'
32430 DCOP_DEPENDENCIES
='$(DCOPIDL) $(DCOPIDLNG)'
32466 kdeinitdir
='$(kde_moduledir)'
32470 if test "$kde_qtver" = 1; then
32471 kde_minidir
="$kde_icondir/mini"
32473 # for KDE 1 - this breaks KDE2 apps using minidir, but
32474 # that's the plan ;-/
32475 kde_minidir
="/dev/null"
32483 if test $kde_qtver = 3; then
32485 *cygwin
*) lib_kded
="-lkdeinit_kded" ;;
32490 LIB_KDECORE
="-lkdecore"
32492 LIB_KDEUI
="-lkdeui"
32504 LIB_KHTML
="-lkhtml"
32506 LIB_KSPELL
="-lkspell"
32508 LIB_KPARTS
="-lkparts"
32510 LIB_KDEPRINT
="-lkdeprint"
32512 LIB_KUTILS
="-lkutils"
32514 LIB_KDEPIM
="-lkdepim"
32516 LIB_KIMPROXY
="-lkimproxy"
32518 LIB_KNEWSTUFF
="-lknewstuff"
32520 LIB_KDNSSD
="-lkdnssd"
32522 LIB_KUNITTEST
="-lkunittest"
32524 # these are for backward compatibility
32525 LIB_KSYCOCA
="-lkio"
32529 elif test $kde_qtver = 2; then
32530 LIB_KDECORE
="-lkdecore"
32532 LIB_KDEUI
="-lkdeui"
32536 LIB_KSYCOCA
="-lksycoca"
32540 LIB_KFILE
="-lkfile"
32544 LIB_KHTML
="-lkhtml"
32546 LIB_KSPELL
="-lkspell"
32548 LIB_KPARTS
="-lkparts"
32550 LIB_KDEPRINT
="-lkdeprint"
32553 LIB_KDECORE
="-lkdecore -lXext $(LIB_QT)"
32555 LIB_KDEUI
="-lkdeui $(LIB_KDECORE)"
32557 LIB_KFM
="-lkfm $(LIB_KDECORE)"
32559 LIB_KFILE
="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32561 LIB_KAB
="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32569 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32570 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
32571 if test "${ac_cv_c_bigendian+set}" = set; then
32572 echo $ECHO_N "(cached) $ECHO_C" >&6
32574 # See if sys/param.h defines the BYTE_ORDER macro.
32575 cat >conftest.
$ac_ext <<_ACEOF
32578 cat confdefs.h
>>conftest.
$ac_ext
32579 cat >>conftest.
$ac_ext <<_ACEOF
32580 /* end confdefs.h. */
32581 #include <sys/types.h>
32582 #include <sys/param.h>
32587 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
32588 bogus endian macros
32595 rm -f conftest.
$ac_objext
32596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32597 (eval $ac_compile) 2>conftest.er1
32599 grep -v '^ *+' conftest.er1
>conftest.err
32601 cat conftest.err
>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); } &&
32604 { ac_try
='test -z "$ac_c_werror_flag"
32605 || test ! -s conftest.err'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; } &&
32611 { ac_try
='test -s conftest.$ac_objext'
32612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32613 (eval $ac_try) 2>&5
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); }; }; then
32617 # It does; now see whether it defined to BIG_ENDIAN or not.
32618 cat >conftest.
$ac_ext <<_ACEOF
32621 cat confdefs.h
>>conftest.
$ac_ext
32622 cat >>conftest.
$ac_ext <<_ACEOF
32623 /* end confdefs.h. */
32624 #include <sys/types.h>
32625 #include <sys/param.h>
32630 #if BYTE_ORDER != BIG_ENDIAN
32638 rm -f conftest.
$ac_objext
32639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32640 (eval $ac_compile) 2>conftest.er1
32642 grep -v '^ *+' conftest.er1
>conftest.err
32644 cat conftest.err
>&5
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); } &&
32647 { ac_try
='test -z "$ac_c_werror_flag"
32648 || test ! -s conftest.err'
32649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650 (eval $ac_try) 2>&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; } &&
32654 { ac_try
='test -s conftest.$ac_objext'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; }; then
32660 ac_cv_c_bigendian
=yes
32662 echo "$as_me: failed program was:" >&5
32663 sed 's/^/| /' conftest.
$ac_ext >&5
32665 ac_cv_c_bigendian
=no
32667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.
$ac_ext >&5
32672 # It does not; compile a test program.
32673 if test "$cross_compiling" = yes; then
32674 # try to guess the endianness by grepping values into an object file
32675 ac_cv_c_bigendian
=unknown
32676 cat >conftest.
$ac_ext <<_ACEOF
32679 cat confdefs.h
>>conftest.
$ac_ext
32680 cat >>conftest.
$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32683 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32684 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32685 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32686 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32687 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32691 _ascii (); _ebcdic ();
32696 rm -f conftest.
$ac_objext
32697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32698 (eval $ac_compile) 2>conftest.er1
32700 grep -v '^ *+' conftest.er1
>conftest.err
32702 cat conftest.err
>&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } &&
32705 { ac_try
='test -z "$ac_c_werror_flag"
32706 || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try
='test -s conftest.$ac_objext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
32719 ac_cv_c_bigendian
=yes
32721 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
32722 if test "$ac_cv_c_bigendian" = unknown
; then
32723 ac_cv_c_bigendian
=no
32725 # finding both strings is unlikely to happen, but who knows?
32726 ac_cv_c_bigendian
=unknown
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.
$ac_ext >&5
32734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32736 cat >conftest.
$ac_ext <<_ACEOF
32739 cat confdefs.h
>>conftest.
$ac_ext
32740 cat >>conftest.
$ac_ext <<_ACEOF
32741 /* end confdefs.h. */
32745 /* Are we little or big endian? From Harbison&Steele. */
32749 char c[sizeof (long)];
32752 exit (u.c[sizeof (long) - 1] == 1);
32755 rm -f conftest
$ac_exeext
32756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32757 (eval $ac_link) 2>&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; }; then
32766 ac_cv_c_bigendian
=no
32768 echo "$as_me: program exited with status $ac_status" >&5
32769 echo "$as_me: failed program was:" >&5
32770 sed 's/^/| /' conftest.
$ac_ext >&5
32772 ( exit $ac_status )
32773 ac_cv_c_bigendian
=yes
32775 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32780 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32781 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
32782 case $ac_cv_c_bigendian in
32785 cat >>confdefs.h
<<\_ACEOF
32786 #define WORDS_BIGENDIAN 1
32792 { { echo "$as_me:$LINENO: error: unknown endianness
32793 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
32794 echo "$as_me: error: unknown endianness
32795 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
32796 { (exit 1); exit 1; }; } ;;
32800 echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
32801 echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6
32802 if test "${ac_cv_maxpathlen+set}" = set; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 cat > conftest.
$ac_ext <<EOF
32807 #ifdef STDC_HEADERS
32808 # include <stdlib.h>
32811 #include <sys/param.h>
32813 #define MAXPATHLEN 1024
32816 KDE_HELLO MAXPATHLEN
32820 ac_try
="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
32822 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 (eval $ac_try) 2>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } && test -s conftest.out
; then
32827 ac_cv_maxpathlen
=`sed 's#KDE_HELLO ##' conftest.out`
32829 ac_cv_maxpathlen
=1024
32837 echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
32838 echo "${ECHO_T}$ac_cv_maxpathlen" >&6
32840 cat >>confdefs.h
<<_ACEOF
32841 #define KDEMAXPATHLEN $ac_cv_maxpathlen
32848 DO_NOT_COMPILE
="$DO_NOT_COMPILE CVS debian bsd-port admin"
32851 if test ! -s $srcdir/subdirs
; then
32852 files
=`cd $srcdir && ls -1`
32853 dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
32855 echo $i >> $srcdir/subdirs
32860 if test -s $srcdir/inst-apps
; then
32861 ac_topsubdirs
="`cat $srcdir/inst-apps`"
32862 elif test -s $srcdir/subdirs
; then
32863 ac_topsubdirs
="`cat $srcdir/subdirs`"
32866 for i
in $ac_topsubdirs; do
32867 echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32868 echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
32869 if test -d $srcdir/$i; then
32871 for j
in $DO_NOT_COMPILE; do
32872 if test $i = $j; then
32879 echo "$as_me:$LINENO: result: $install_it" >&5
32880 echo "${ECHO_T}$install_it" >&6
32881 vari
=`echo $i | sed -e 's,[-+.@],_,g'`
32882 if test $install_it = "yes"; then
32883 TOPSUBDIRS
="$TOPSUBDIRS $i"
32884 eval "$vari""_SUBDIR_included=yes"
32886 eval "$vari""_SUBDIR_included=no"
32892 ac_config_files
="$ac_config_files Makefile"
32894 ac_config_files
="$ac_config_files doc/Makefile"
32896 ac_config_files
="$ac_config_files doc/en/Makefile"
32898 ac_config_files
="$ac_config_files po/Makefile"
32900 ac_config_files
="$ac_config_files src/Makefile"
32902 cat >confcache
<<\_ACEOF
32903 # This file is a shell script that caches the results of configure
32904 # tests run on this system so they can be shared between configure
32905 # scripts and configure runs, see configure's option --config-cache.
32906 # It is not useful on other systems. If it contains results you don't
32907 # want to keep, you may remove or edit it.
32909 # config.status only pays attention to the cache file if you give it
32910 # the --recheck option to rerun configure.
32912 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32913 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32914 # following values.
32918 # The following way of writing the cache mishandles newlines in values,
32919 # but we know of no workaround that is simple, portable, and efficient.
32920 # So, don't put newlines in cache variables' values.
32921 # Ultrix sh set writes to stderr and can't be redirected directly,
32922 # and sets the high bit in the cache file unless we assign to the vars.
32925 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32927 # `set' does not quote correctly, so add quotes (double-quote
32928 # substitution turns \\\\ into \\, and sed turns \\ into \).
32931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32934 # `set' quotes correctly as required by POSIX, so do not add quotes.
32936 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32945 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32947 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32948 if test -w $cache_file; then
32949 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32950 cat confcache
>$cache_file
32952 echo "not updating unwritable cache $cache_file"
32957 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
32958 # Let make expand exec_prefix.
32959 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
32961 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32962 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32963 # trailing colons and then remove the whole line if VPATH becomes empty
32964 # (actually we leave an empty line to preserve line numbers).
32965 if test "x$srcdir" = x.
; then
32966 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
32967 s/:*\$(srcdir):*/:/;
32968 s/:*\${srcdir}:*/:/;
32970 s/^\([^=]*=[ ]*\):*/\1/;
32976 DEFS
=-DHAVE_CONFIG_H
32980 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
32981 # 1. Remove the extension, and $U if already installed.
32982 ac_i
=`echo "$ac_i" |
32983 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32985 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
32986 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
32988 LIBOBJS
=$ac_libobjs
32990 LTLIBOBJS
=$ac_ltlibobjs
32993 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32994 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
32995 Usually this means the macro was only invoked conditionally." >&5
32996 echo "$as_me: error: conditional \"AMDEP\" was never defined.
32997 Usually this means the macro was only invoked conditionally." >&2;}
32998 { (exit 1); exit 1; }; }
33000 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33001 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33002 Usually this means the macro was only invoked conditionally." >&5
33003 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33004 Usually this means the macro was only invoked conditionally." >&2;}
33005 { (exit 1); exit 1; }; }
33007 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33008 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33009 Usually this means the macro was only invoked conditionally." >&5
33010 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33011 Usually this means the macro was only invoked conditionally." >&2;}
33012 { (exit 1); exit 1; }; }
33014 if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33015 { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33016 Usually this means the macro was only invoked conditionally." >&5
33017 echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33018 Usually this means the macro was only invoked conditionally." >&2;}
33019 { (exit 1); exit 1; }; }
33021 if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33022 { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33023 Usually this means the macro was only invoked conditionally." >&5
33024 echo "$as_me: error: conditional \"include_x11\" was never defined.
33025 Usually this means the macro was only invoked conditionally." >&2;}
33026 { (exit 1); exit 1; }; }
33028 if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33029 { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33030 Usually this means the macro was only invoked conditionally." >&5
33031 echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33032 Usually this means the macro was only invoked conditionally." >&2;}
33033 { (exit 1); exit 1; }; }
33036 : ${CONFIG_STATUS=./config.status}
33037 ac_clean_files_save
=$ac_clean_files
33038 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
33039 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33040 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33041 cat >$CONFIG_STATUS <<_ACEOF
33043 # Generated by $as_me.
33044 # Run this file to recreate the current configuration.
33045 # Compiler output produced by configure, useful for debugging
33046 # configure, is in config.log if it exists.
33049 ac_cs_recheck=false
33051 SHELL=\${CONFIG_SHELL-$SHELL}
33054 cat >>$CONFIG_STATUS <<\_ACEOF
33055 ## --------------------- ##
33056 ## M4sh Initialization. ##
33057 ## --------------------- ##
33059 # Be Bourne compatible
33060 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
33063 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33064 # is contrary to our usage. Disable this feature.
33065 alias -g '${1+"$@"}'='"$@"'
33066 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
33069 DUALCASE
=1; export DUALCASE
# for MKS sh
33071 # Support unset when possible.
33072 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33079 # Work around bugs in pre-3.0 UWIN ksh.
33080 $as_unset ENV MAIL MAILPATH
33087 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33088 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33089 LC_TELEPHONE LC_TIME
33091 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33092 eval $as_var=C
; export $as_var
33098 # Required to use basename.
33099 if expr a
: '\(a\)' >/dev
/null
2>&1; then
33105 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
33106 as_basename
=basename
33112 # Name of the executable.
33113 as_me
=`$as_basename "$0" ||
33114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33115 X"$0" : 'X\(//\)$' \| \
33116 X"$0" : 'X\(/\)$' \| \
33117 . : '\(.\)' 2>/dev/null ||
33119 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33120 /^X\/\(\/\/\)$/{ s//\1/; q; }
33121 /^X\/\(\/\).*/{ s//\1/; q; }
33125 # PATH needs CR, and LINENO needs CR and PATH.
33126 # Avoid depending upon Character Ranges.
33127 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33128 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33129 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33130 as_cr_digits
='0123456789'
33131 as_cr_alnum
=$as_cr_Letters$as_cr_digits
33133 # The user is always right.
33134 if test "${PATH_SEPARATOR+set}" != set; then
33135 echo "#! /bin/sh" >conf$$.sh
33136 echo "exit 0" >>conf$$.sh
33138 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
33147 as_lineno_1
=$LINENO
33148 as_lineno_2
=$LINENO
33149 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
33150 test "x$as_lineno_1" != "x$as_lineno_2" &&
33151 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
33152 # Find who we are. Look in the path if we contain no path at all
33155 *[\\/]* ) as_myself
=$0 ;;
33156 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33157 for as_dir
in $PATH
33160 test -z "$as_dir" && as_dir
=.
33161 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
33166 # We did not find ourselves, most probably we were run as `sh COMMAND'
33167 # in which case we are not to be found in the path.
33168 if test "x$as_myself" = x
; then
33171 if test ! -f "$as_myself"; then
33172 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33173 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33174 { (exit 1); exit 1; }; }
33176 case $CONFIG_SHELL in
33178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33179 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
33182 test -z "$as_dir" && as_dir
=.
33183 for as_base
in sh bash ksh sh5
; do
33186 if ("$as_dir/$as_base" -c '
33187 as_lineno_1=$LINENO
33188 as_lineno_2=$LINENO
33189 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33190 test "x$as_lineno_1" != "x$as_lineno_2" &&
33191 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
33192 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
33193 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
33194 CONFIG_SHELL
=$as_dir/$as_base
33195 export CONFIG_SHELL
33196 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33204 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33205 # uniformly replaced by the line number. The first 'sed' inserts a
33206 # line-number line before each line; the second 'sed' does the real
33207 # work. The second script uses 'N' to pair each line-number line
33208 # with the numbered line, and appends trailing '-' during
33209 # substitution so that $LINENO is not a special case at line end.
33210 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33211 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33212 sed '=' <$as_myself |
33217 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33220 s,^['$as_cr_digits']*\n,,
33221 ' >$as_me.lineno
&&
33222 chmod +x
$as_me.lineno ||
33223 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33224 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33225 { (exit 1); exit 1; }; }
33227 # Don't try to exec as it changes $[0], causing all sort of problems
33228 # (the dirname of $[0] is not the place where we might find the
33229 # original and so on. Autoconf is especially sensible to this).
33231 # Exit status is that of the last command.
33236 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33237 *c
*,-n*) ECHO_N
= ECHO_C
='
33239 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
33240 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
33243 if expr a
: '\(a\)' >/dev
/null
2>&1; then
33249 rm -f conf$$ conf$$.exe conf$$.
file
33251 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
33252 # We could just check for DJGPP; but this test a) works b) is more generic
33253 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33254 if test -f conf$$.exe
; then
33255 # Don't use ln at all; we don't have any links
33260 elif ln conf$$.
file conf$$
2>/dev
/null
; then
33265 rm -f conf$$ conf$$.exe conf$$.
file
33267 if mkdir
-p .
2>/dev
/null
; then
33270 test -d .
/-p && rmdir .
/-p
33274 as_executable_p
="test -f"
33276 # Sed expression to map a string onto a valid CPP name.
33277 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33279 # Sed expression to map a string onto a valid variable name.
33280 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33284 # We need space, tab and new line, in precisely that order.
33294 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33295 # report actual input values of CONFIG_FILES etc. instead of their
33296 # values after options handling. Logging --version etc. is OK.
33300 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33301 ## Running $as_me. ##
33306 This file was extended by $as_me, which was
33307 generated by GNU Autoconf 2.59. Invocation command line was
33309 CONFIG_FILES = $CONFIG_FILES
33310 CONFIG_HEADERS = $CONFIG_HEADERS
33311 CONFIG_LINKS = $CONFIG_LINKS
33312 CONFIG_COMMANDS = $CONFIG_COMMANDS
33316 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33320 # Files that config.status was made for.
33321 if test -n "$ac_config_files"; then
33322 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33325 if test -n "$ac_config_headers"; then
33326 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33329 if test -n "$ac_config_links"; then
33330 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33333 if test -n "$ac_config_commands"; then
33334 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33337 cat >>$CONFIG_STATUS <<\_ACEOF
33340 \`$as_me' instantiates files from templates according to the
33341 current configuration.
33343 Usage: $0 [OPTIONS] [FILE]...
33345 -h, --help print this help, then exit
33346 -V, --version print version number, then exit
33347 -q, --quiet do not print progress messages
33348 -d, --debug don't remove temporary files
33349 --recheck update $as_me by reconfiguring in the same conditions
33350 --file=FILE[:TEMPLATE]
33351 instantiate the configuration file FILE
33352 --header=FILE[:TEMPLATE]
33353 instantiate the configuration header FILE
33355 Configuration files:
33358 Configuration headers:
33361 Configuration commands:
33364 Report bugs to <bug-autoconf@gnu.org>."
33367 cat >>$CONFIG_STATUS <<_ACEOF
33370 configured by $0, generated by GNU Autoconf 2.59,
33371 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33373 Copyright (C) 2003 Free Software Foundation, Inc.
33374 This config.status script is free software; the Free Software Foundation
33375 gives unlimited permission to copy, distribute and modify it."
33380 cat >>$CONFIG_STATUS <<\_ACEOF
33381 # If no file are specified by the user, then we need to provide default
33382 # value. By we need to know if files were specified by the user.
33388 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
33389 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
33397 *) # This is not an option, so the user has probably given explicit
33400 ac_need_defaults
=false
;;
33404 # Handling of the options.
33406 cat >>$CONFIG_STATUS <<\_ACEOF
33407 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
33409 --version |
--vers* |
-V )
33410 echo "$ac_cs_version"; exit 0 ;;
33412 # Conflict between --help and --header
33413 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33414 Try \`$0 --help' for more information." >&5
33415 echo "$as_me: error: ambiguous option: $1
33416 Try \`$0 --help' for more information." >&2;}
33417 { (exit 1); exit 1; }; };;
33418 --help |
--hel |
-h )
33419 echo "$ac_cs_usage"; exit 0 ;;
33420 --debug |
--d* |
-d )
33422 --file |
--fil |
--fi |
--f )
33424 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
33425 ac_need_defaults
=false
;;
33426 --header |
--heade |
--head |
--hea )
33428 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
33429 ac_need_defaults
=false
;;
33430 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
33431 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
33434 # This is an error.
33435 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33436 Try \`$0 --help' for more information." >&5
33437 echo "$as_me: error: unrecognized option: $1
33438 Try \`$0 --help' for more information." >&2;}
33439 { (exit 1); exit 1; }; } ;;
33441 *) ac_config_targets
="$ac_config_targets $1" ;;
33447 ac_configure_extra_args
=
33449 if $ac_cs_silent; then
33451 ac_configure_extra_args
="$ac_configure_extra_args --silent"
33455 cat >>$CONFIG_STATUS <<_ACEOF
33456 if \$ac_cs_recheck; then
33457 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33458 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33463 cat >>$CONFIG_STATUS <<_ACEOF
33465 # INIT-COMMANDS section.
33468 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33474 cat >>$CONFIG_STATUS <<\_ACEOF
33475 for ac_config_target
in $ac_config_targets
33477 case "$ac_config_target" in
33478 # Handling of arguments.
33479 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
33480 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
33481 "doc/en/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/en/Makefile" ;;
33482 "po/Makefile" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
33483 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
33484 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
33485 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
33486 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33487 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33488 { (exit 1); exit 1; }; };;
33492 # If the user did not use the arguments to specify the items to instantiate,
33493 # then the envvar interface is used. Set only those that are not.
33494 # We use the long form for the default assignment because of an extremely
33495 # bizarre bug on SunOS 4.1.3.
33496 if $ac_need_defaults; then
33497 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
33498 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
33499 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
33502 # Have a temporary directory for convenience. Make it in the build tree
33503 # simply because there is no reason to put it here, and in addition,
33504 # creating and moving files from /tmp can sometimes cause problems.
33505 # Create a temporary directory, and hook for its removal unless debugging.
33508 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33509 trap '{ (exit 1); exit 1; }' 1 2 13 15
33512 # Create a (secure) tmp directory for tmp files.
33515 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33516 test -n "$tmp" && test -d "$tmp"
33519 tmp
=.
/confstat$$
-$RANDOM
33520 (umask 077 && mkdir
$tmp)
33523 echo "$me: cannot create a temporary directory in ." >&2
33524 { (exit 1); exit 1; }
33529 cat >>$CONFIG_STATUS <<_ACEOF
33532 # CONFIG_FILES section.
33535 # No need to generate the scripts if there are no CONFIG_FILES.
33536 # This happens for instance when ./config.status config.h
33537 if test -n "\$CONFIG_FILES"; then
33538 # Protect against being on the right side of a sed subst in config.status.
33539 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33540 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33541 s,@SHELL@,$SHELL,;t t
33542 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33543 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33544 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33545 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33546 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33547 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33548 s,@exec_prefix@,$exec_prefix,;t t
33549 s,@prefix@,$prefix,;t t
33550 s,@program_transform_name@,$program_transform_name,;t t
33551 s,@bindir@,$bindir,;t t
33552 s,@sbindir@,$sbindir,;t t
33553 s,@libexecdir@,$libexecdir,;t t
33554 s,@datadir@,$datadir,;t t
33555 s,@sysconfdir@,$sysconfdir,;t t
33556 s,@sharedstatedir@,$sharedstatedir,;t t
33557 s,@localstatedir@,$localstatedir,;t t
33558 s,@libdir@,$libdir,;t t
33559 s,@includedir@,$includedir,;t t
33560 s,@oldincludedir@,$oldincludedir,;t t
33561 s,@infodir@,$infodir,;t t
33562 s,@mandir@,$mandir,;t t
33563 s,@build_alias@,$build_alias,;t t
33564 s,@host_alias@,$host_alias,;t t
33565 s,@target_alias@,$target_alias,;t t
33566 s,@DEFS@,$DEFS,;t t
33567 s,@ECHO_C@,$ECHO_C,;t t
33568 s,@ECHO_N@,$ECHO_N,;t t
33569 s,@ECHO_T@,$ECHO_T,;t t
33570 s,@LIBS@,$LIBS,;t t
33571 s,@build@,$build,;t t
33572 s,@build_cpu@,$build_cpu,;t t
33573 s,@build_vendor@,$build_vendor,;t t
33574 s,@build_os@,$build_os,;t t
33575 s,@host@,$host,;t t
33576 s,@host_cpu@,$host_cpu,;t t
33577 s,@host_vendor@,$host_vendor,;t t
33578 s,@host_os@,$host_os,;t t
33579 s,@target@,$target,;t t
33580 s,@target_cpu@,$target_cpu,;t t
33581 s,@target_vendor@,$target_vendor,;t t
33582 s,@target_os@,$target_os,;t t
33583 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33584 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33585 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33586 s,@CYGPATH_W@,$CYGPATH_W,;t t
33587 s,@PACKAGE@,$PACKAGE,;t t
33588 s,@VERSION@,$VERSION,;t t
33589 s,@ACLOCAL@,$ACLOCAL,;t t
33590 s,@AUTOCONF@,$AUTOCONF,;t t
33591 s,@AUTOMAKE@,$AUTOMAKE,;t t
33592 s,@AUTOHEADER@,$AUTOHEADER,;t t
33593 s,@MAKEINFO@,$MAKEINFO,;t t
33594 s,@install_sh@,$install_sh,;t t
33595 s,@STRIP@,$STRIP,;t t
33596 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33597 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33598 s,@mkdir_p@,$mkdir_p,;t t
33600 s,@SET_MAKE@,$SET_MAKE,;t t
33601 s,@am__leading_dot@,$am__leading_dot,;t t
33602 s,@AMTAR@,$AMTAR,;t t
33603 s,@am__tar@,$am__tar,;t t
33604 s,@am__untar@,$am__untar,;t t
33605 s,@KDECONFIG@,$KDECONFIG,;t t
33606 s,@kde_libs_prefix@,$kde_libs_prefix,;t t
33607 s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
33608 s,@CONF_FILES@,$CONF_FILES,;t t
33610 s,@CFLAGS@,$CFLAGS,;t t
33611 s,@LDFLAGS@,$LDFLAGS,;t t
33612 s,@CPPFLAGS@,$CPPFLAGS,;t t
33613 s,@ac_ct_CC@,$ac_ct_CC,;t t
33614 s,@EXEEXT@,$EXEEXT,;t t
33615 s,@OBJEXT@,$OBJEXT,;t t
33616 s,@DEPDIR@,$DEPDIR,;t t
33617 s,@am__include@,$am__include,;t t
33618 s,@am__quote@,$am__quote,;t t
33619 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33620 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33621 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33622 s,@CCDEPMODE@,$CCDEPMODE,;t t
33623 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33624 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33627 s,@CXXFLAGS@,$CXXFLAGS,;t t
33628 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
33629 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
33630 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
33631 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
33632 s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
33633 s,@HAVE_GCC_VISIBILITY@,$HAVE_GCC_VISIBILITY,;t t
33634 s,@unsermake_enable_pch_TRUE@,$unsermake_enable_pch_TRUE,;t t
33635 s,@unsermake_enable_pch_FALSE@,$unsermake_enable_pch_FALSE,;t t
33636 s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
33637 s,@USE_RTTI@,$USE_RTTI,;t t
33638 s,@CXXCPP@,$CXXCPP,;t t
33639 s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
33640 s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
33641 s,@ENABLE_PERMISSIVE_FLAG@,$ENABLE_PERMISSIVE_FLAG,;t t
33642 s,@LDFLAGS_AS_NEEDED@,$LDFLAGS_AS_NEEDED,;t t
33643 s,@LDFLAGS_NEW_DTAGS@,$LDFLAGS_NEW_DTAGS,;t t
33644 s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
33645 s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
33646 s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
33647 s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
33648 s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
33649 s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
33650 s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
33651 s,@EGREP@,$EGREP,;t t
33652 s,@LN_S@,$LN_S,;t t
33653 s,@ECHO@,$ECHO,;t t
33655 s,@ac_ct_AR@,$ac_ct_AR,;t t
33656 s,@RANLIB@,$RANLIB,;t t
33657 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33659 s,@FFLAGS@,$FFLAGS,;t t
33660 s,@ac_ct_F77@,$ac_ct_F77,;t t
33661 s,@LIBTOOL@,$LIBTOOL,;t t
33662 s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
33663 s,@KDE_CHECK_PLUGIN@,$KDE_CHECK_PLUGIN,;t t
33664 s,@MSGFMT@,$MSGFMT,;t t
33665 s,@GMSGFMT@,$GMSGFMT,;t t
33666 s,@XGETTEXT@,$XGETTEXT,;t t
33667 s,@LIBUTIL@,$LIBUTIL,;t t
33668 s,@LIBCOMPAT@,$LIBCOMPAT,;t t
33669 s,@LIBCRYPT@,$LIBCRYPT,;t t
33670 s,@LIBRESOLV@,$LIBRESOLV,;t t
33671 s,@LIB_POLL@,$LIB_POLL,;t t
33672 s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
33673 s,@LIBSOCKET@,$LIBSOCKET,;t t
33674 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
33675 s,@LIBUCB@,$LIBUCB,;t t
33676 s,@LIBDL@,$LIBDL,;t t
33677 s,@KDE_USE_FPIE@,$KDE_USE_FPIE,;t t
33678 s,@KDE_USE_PIE@,$KDE_USE_PIE,;t t
33679 s,@include_x11_TRUE@,$include_x11_TRUE,;t t
33680 s,@include_x11_FALSE@,$include_x11_FALSE,;t t
33681 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
33682 s,@LIB_X11@,$LIB_X11,;t t
33683 s,@LIB_XRENDER@,$LIB_XRENDER,;t t
33684 s,@LIBSM@,$LIBSM,;t t
33685 s,@X_INCLUDES@,$X_INCLUDES,;t t
33686 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
33687 s,@x_includes@,$x_includes,;t t
33688 s,@x_libraries@,$x_libraries,;t t
33689 s,@QTE_NORTTI@,$QTE_NORTTI,;t t
33690 s,@LIB_XEXT@,$LIB_XEXT,;t t
33691 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
33692 s,@USE_THREADS@,$USE_THREADS,;t t
33693 s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
33694 s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
33695 s,@USER_INCLUDES@,$USER_INCLUDES,;t t
33696 s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
33697 s,@LIBZ@,$LIBZ,;t t
33698 s,@LIBPNG@,$LIBPNG,;t t
33699 s,@LIBJPEG@,$LIBJPEG,;t t
33700 s,@qt_libraries@,$qt_libraries,;t t
33701 s,@qt_includes@,$qt_includes,;t t
33702 s,@QT_INCLUDES@,$QT_INCLUDES,;t t
33703 s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
33704 s,@PERL@,$PERL,;t t
33707 s,@UIC_TR@,$UIC_TR,;t t
33708 s,@LIB_QT@,$LIB_QT,;t t
33709 s,@LIB_QPE@,$LIB_QPE,;t t
33710 s,@kde_qtver@,$kde_qtver,;t t
33711 s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
33712 s,@KDE_RPATH@,$KDE_RPATH,;t t
33713 s,@X_RPATH@,$X_RPATH,;t t
33714 s,@kde_libraries@,$kde_libraries,;t t
33715 s,@kde_includes@,$kde_includes,;t t
33716 s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
33717 s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
33718 s,@all_includes@,$all_includes,;t t
33719 s,@all_libraries@,$all_libraries,;t t
33720 s,@AUTODIRS@,$AUTODIRS,;t t
33721 s,@include_ARTS_TRUE@,$include_ARTS_TRUE,;t t
33722 s,@include_ARTS_FALSE@,$include_ARTS_FALSE,;t t
33723 s,@MAKEKDEWIDGETS@,$MAKEKDEWIDGETS,;t t
33724 s,@KCONFIG_COMPILER@,$KCONFIG_COMPILER,;t t
33725 s,@KCFG_DEPENDENCIES@,$KCFG_DEPENDENCIES,;t t
33726 s,@DCOPIDLNG@,$DCOPIDLNG,;t t
33727 s,@DCOPIDL@,$DCOPIDL,;t t
33728 s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
33729 s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
33730 s,@MCOPIDL@,$MCOPIDL,;t t
33731 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
33732 s,@MEINPROC@,$MEINPROC,;t t
33733 s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
33734 s,@XMLLINT@,$XMLLINT,;t t
33735 s,@kde_htmldir@,$kde_htmldir,;t t
33736 s,@kde_appsdir@,$kde_appsdir,;t t
33737 s,@kde_icondir@,$kde_icondir,;t t
33738 s,@kde_sounddir@,$kde_sounddir,;t t
33739 s,@kde_datadir@,$kde_datadir,;t t
33740 s,@kde_locale@,$kde_locale,;t t
33741 s,@kde_confdir@,$kde_confdir,;t t
33742 s,@kde_kcfgdir@,$kde_kcfgdir,;t t
33743 s,@kde_mimedir@,$kde_mimedir,;t t
33744 s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
33745 s,@kde_bindir@,$kde_bindir,;t t
33746 s,@xdg_appsdir@,$xdg_appsdir,;t t
33747 s,@xdg_menudir@,$xdg_menudir,;t t
33748 s,@xdg_directorydir@,$xdg_directorydir,;t t
33749 s,@kde_templatesdir@,$kde_templatesdir,;t t
33750 s,@kde_servicesdir@,$kde_servicesdir,;t t
33751 s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
33752 s,@kde_moduledir@,$kde_moduledir,;t t
33753 s,@kdeinitdir@,$kdeinitdir,;t t
33754 s,@kde_styledir@,$kde_styledir,;t t
33755 s,@kde_widgetdir@,$kde_widgetdir,;t t
33756 s,@LIB_KDED@,$LIB_KDED,;t t
33757 s,@LIB_KDECORE@,$LIB_KDECORE,;t t
33758 s,@LIB_KDEUI@,$LIB_KDEUI,;t t
33759 s,@LIB_KIO@,$LIB_KIO,;t t
33760 s,@LIB_KJS@,$LIB_KJS,;t t
33761 s,@LIB_SMB@,$LIB_SMB,;t t
33762 s,@LIB_KAB@,$LIB_KAB,;t t
33763 s,@LIB_KABC@,$LIB_KABC,;t t
33764 s,@LIB_KHTML@,$LIB_KHTML,;t t
33765 s,@LIB_KSPELL@,$LIB_KSPELL,;t t
33766 s,@LIB_KPARTS@,$LIB_KPARTS,;t t
33767 s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
33768 s,@LIB_KUTILS@,$LIB_KUTILS,;t t
33769 s,@LIB_KDEPIM@,$LIB_KDEPIM,;t t
33770 s,@LIB_KIMPROXY@,$LIB_KIMPROXY,;t t
33771 s,@LIB_KNEWSTUFF@,$LIB_KNEWSTUFF,;t t
33772 s,@LIB_KDNSSD@,$LIB_KDNSSD,;t t
33773 s,@LIB_KUNITTEST@,$LIB_KUNITTEST,;t t
33774 s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
33775 s,@LIB_KFILE@,$LIB_KFILE,;t t
33776 s,@LIB_KFM@,$LIB_KFM,;t t
33777 s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
33778 s,@LIBOBJS@,$LIBOBJS,;t t
33779 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33784 cat >>$CONFIG_STATUS <<\_ACEOF
33785 # Split the substitutions into bite-sized pieces for seds with
33786 # small command number limits, like on Digital OSF/1 and HP-UX.
33787 ac_max_sed_lines
=48
33788 ac_sed_frag
=1 # Number of current file.
33789 ac_beg
=1 # First line for current file.
33790 ac_end
=$ac_max_sed_lines # Line after last line for current file.
33793 while $ac_more_lines; do
33794 if test $ac_beg -gt 1; then
33795 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
33797 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
33799 if test ! -s $tmp/subs.frag
; then
33800 ac_more_lines
=false
33802 # The purpose of the label and of the branching condition is to
33803 # speed up the sed processing (if there are no `@' at all, there
33804 # is no need to browse any of the substitutions).
33805 # These are the two extra sed commands mentioned above.
33807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
33808 if test -z "$ac_sed_cmds"; then
33809 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
33811 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33813 ac_sed_frag
=`expr $ac_sed_frag + 1`
33815 ac_end
=`expr $ac_end + $ac_max_sed_lines`
33818 if test -z "$ac_sed_cmds"; then
33821 fi # test -n "$CONFIG_FILES"
33824 cat >>$CONFIG_STATUS <<\_ACEOF
33825 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
33826 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33828 - |
*:- |
*:-:* ) # input from stdin
33830 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
33831 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
33832 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
33833 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
33834 * ) ac_file_in
=$ac_file.
in ;;
33837 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
33838 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
33839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33840 X"$ac_file" : 'X\(//\)[^/]' \| \
33841 X"$ac_file" : 'X\(//\)$' \| \
33842 X"$ac_file" : 'X\(/\)' \| \
33843 . : '\(.\)' 2>/dev/null ||
33845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33847 /^X\(\/\/\)$/{ s//\1/; q; }
33848 /^X\(\/\).*/{ s//\1/; q; }
33850 { if $as_mkdir_p; then
33855 while test ! -d "$as_dir"; do
33856 as_dirs
="$as_dir $as_dirs"
33857 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
33858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33859 X"$as_dir" : 'X\(//\)[^/]' \| \
33860 X"$as_dir" : 'X\(//\)$' \| \
33861 X"$as_dir" : 'X\(/\)' \| \
33862 . : '\(.\)' 2>/dev/null ||
33864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33866 /^X\(\/\/\)$/{ s//\1/; q; }
33867 /^X\(\/\).*/{ s//\1/; q; }
33870 test ! -n "$as_dirs" || mkdir
$as_dirs
33871 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33872 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33873 { (exit 1); exit 1; }; }; }
33877 if test "$ac_dir" != .
; then
33878 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33879 # A "../" for each directory in $ac_dir_suffix.
33880 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33882 ac_dir_suffix
= ac_top_builddir
=
33886 .
) # No --srcdir option. We are building in place.
33888 if test -z "$ac_top_builddir"; then
33891 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
33893 [\\/]* | ?
:[\\/]* ) # Absolute path.
33894 ac_srcdir
=$srcdir$ac_dir_suffix;
33895 ac_top_srcdir
=$srcdir ;;
33896 *) # Relative path.
33897 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
33898 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
33901 # Do not use `cd foo && pwd` to compute absolute paths, because
33902 # the directories may not exist.
33904 .
) ac_abs_builddir
="$ac_dir";;
33907 .
) ac_abs_builddir
=`pwd`;;
33908 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
33909 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
33912 case $ac_abs_builddir in
33913 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
33915 case ${ac_top_builddir}.
in
33916 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
33917 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
33918 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
33921 case $ac_abs_builddir in
33922 .
) ac_abs_srcdir
=$ac_srcdir;;
33925 .
) ac_abs_srcdir
=$ac_abs_builddir;;
33926 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
33927 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
33930 case $ac_abs_builddir in
33931 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
33933 case $ac_top_srcdir in
33934 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
33935 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
33936 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
33942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33943 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
33946 if test x
"$ac_file" != x-
; then
33947 { echo "$as_me:$LINENO: creating $ac_file" >&5
33948 echo "$as_me: creating $ac_file" >&6;}
33951 # Let's still pretend it is `configure' which instantiates (i.e., don't
33952 # use $as_me), people would be surprised to read:
33953 # /* config.h. Generated by config.status. */
33954 if test x
"$ac_file" = x-
; then
33957 configure_input
="$ac_file. "
33959 configure_input
=$configure_input"Generated from `echo $ac_file_in |
33960 sed 's,.*/,,'` by configure."
33962 # First look for the input files in the build tree, otherwise in the
33964 ac_file_inputs
=`IFS=:
33965 for f in $ac_file_in; do
33967 -) echo $tmp/stdin ;;
33969 # Absolute (can't be DOS-style, as IFS=:)
33970 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33971 echo "$as_me: error: cannot find input file: $f" >&2;}
33972 { (exit 1); exit 1; }; }
33975 if test -f "$f"; then
33978 elif test -f "$srcdir/$f"; then
33983 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33984 echo "$as_me: error: cannot find input file: $f" >&2;}
33985 { (exit 1); exit 1; }; }
33988 done` ||
{ (exit 1); exit 1; }
33990 cat >>$CONFIG_STATUS <<_ACEOF
33994 cat >>$CONFIG_STATUS <<\_ACEOF
33996 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33997 s
,@configure_input@
,$configure_input,;t t
33998 s
,@srcdir@
,$ac_srcdir,;t t
33999 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
34000 s
,@top_srcdir@
,$ac_top_srcdir,;t t
34001 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
34002 s
,@builddir@
,$ac_builddir,;t t
34003 s
,@abs_builddir@
,$ac_abs_builddir,;t t
34004 s
,@top_builddir@
,$ac_top_builddir,;t t
34005 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
34006 s
,@INSTALL@
,$ac_INSTALL,;t t
34007 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34009 if test x"$ac_file" != x-; then
34010 mv $tmp/out $ac_file
34018 cat >>$CONFIG_STATUS <<\_ACEOF
34021 # CONFIG_HEADER section.
34024 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
34025 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34027 # ac_d sets the value in "#define NAME VALUE" lines.
34028 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34029 ac_dB
='[ ].*$,\1#\2'
34032 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34033 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34034 ac_uB
='$,\1#\2define\3'
34038 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
34039 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34041 - |
*:- |
*:-:* ) # input from stdin
34043 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
34044 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
34045 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
34046 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
34047 * ) ac_file_in
=$ac_file.
in ;;
34050 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
34051 echo "$as_me: creating $ac_file" >&6;}
34053 # First look for the input files in the build tree, otherwise in the
34055 ac_file_inputs
=`IFS=:
34056 for f in $ac_file_in; do
34058 -) echo $tmp/stdin ;;
34060 # Absolute (can't be DOS-style, as IFS=:)
34061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34062 echo "$as_me: error: cannot find input file: $f" >&2;}
34063 { (exit 1); exit 1; }; }
34064 # Do quote $f, to prevent DOS paths from being IFS'd.
34067 if test -f "$f"; then
34070 elif test -f "$srcdir/$f"; then
34075 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34076 echo "$as_me: error: cannot find input file: $f" >&2;}
34077 { (exit 1); exit 1; }; }
34080 done` ||
{ (exit 1); exit 1; }
34081 # Remove the trailing spaces.
34082 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34086 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34087 # `conftest.undefs', that substitutes the proper values into
34088 # config.h.in to produce config.h. The first handles `#define'
34089 # templates, and the second `#undef' templates.
34090 # And first: Protect against being on the right side of a sed subst in
34091 # config.status. Protect against being in an unquoted here document
34092 # in config.status.
34093 rm -f conftest.defines conftest.undefs
34094 # Using a here document instead of a string reduces the quoting nightmare.
34095 # Putting comments in sed scripts is not portable.
34097 # `end' is used to avoid that the second main sed command (meant for
34098 # 0-ary CPP macros) applies to n-ary macro definitions.
34099 # See the Autoconf documentation for `clear'.
34100 cat >confdef2sed.
sed <<\_ACEOF
34105 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34107 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34110 # If some macros were called several times there might be several times
34111 # the same #defines, which is useless. Nevertheless, we may not want to
34112 # sort them, since we want the *last* AC-DEFINE to be honored.
34113 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34114 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34115 rm -f confdef2sed.sed
34117 # This sed command replaces #undef with comments. This is necessary, for
34118 # example, in the case of _POSIX_SOURCE, which is predefined and required
34119 # on some systems where configure will not decide to define it.
34120 cat >>conftest.undefs <<\_ACEOF
34121 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34124 # Break up conftest.defines because some shells have a limit on the size
34125 # of here documents, and old seds have small limits too (100 cmds).
34126 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34127 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34128 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34129 echo ' :' >>$CONFIG_STATUS
34130 rm -f conftest.tail
34131 while grep . conftest.defines >/dev/null
34133 # Write a limited-size here document to $tmp/defines.sed.
34134 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34135 # Speed up: don't consider the non `#define' lines.
34136 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34137 # Work around the forget-to-reset-the-flag bug.
34138 echo 't clr' >>$CONFIG_STATUS
34139 echo ': clr' >>$CONFIG_STATUS
34140 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
34142 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34144 mv $tmp/out $tmp/in
34146 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
34147 rm -f conftest.defines
34148 mv conftest.
tail conftest.defines
34150 rm -f conftest.defines
34151 echo ' fi # grep' >>$CONFIG_STATUS
34152 echo >>$CONFIG_STATUS
34154 # Break up conftest.undefs because some shells have a limit on the size
34155 # of here documents, and old seds have small limits too (100 cmds).
34156 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34157 rm -f conftest.
tail
34158 while grep . conftest.undefs
>/dev
/null
34160 # Write a limited-size here document to $tmp/undefs.sed.
34161 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34162 # Speed up: don't consider the non
`#undef'
34163 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34164 # Work around the forget-to-reset-the-flag bug.
34165 echo 't clr' >>$CONFIG_STATUS
34166 echo ': clr' >>$CONFIG_STATUS
34167 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34169 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34171 mv $tmp/out $tmp/in
34173 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34174 rm -f conftest.undefs
34175 mv conftest.tail conftest.undefs
34177 rm -f conftest.undefs
34179 cat >>$CONFIG_STATUS <<\_ACEOF
34180 # Let's still pretend it is `configure
' which instantiates (i.e., don't
34181 # use $as_me), people would be surprised to read:
34182 # /* config.h. Generated by config.status. */
34183 if test x
"$ac_file" = x-
; then
34184 echo "/* Generated by configure. */" >$tmp/config.h
34186 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34188 cat $tmp/in >>$tmp/config.h
34190 if test x
"$ac_file" != x-
; then
34191 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
34192 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34193 echo "$as_me: $ac_file is unchanged" >&6;}
34195 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
34196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34197 X"$ac_file" : 'X\(//\)[^/]' \| \
34198 X"$ac_file" : 'X\(//\)$' \| \
34199 X"$ac_file" : 'X\(/\)' \| \
34200 . : '\(.\)' 2>/dev/null ||
34202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34204 /^X\(\/\/\)$/{ s//\1/; q; }
34205 /^X\(\/\).*/{ s//\1/; q; }
34207 { if $as_mkdir_p; then
34212 while test ! -d "$as_dir"; do
34213 as_dirs
="$as_dir $as_dirs"
34214 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
34215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34216 X"$as_dir" : 'X\(//\)[^/]' \| \
34217 X"$as_dir" : 'X\(//\)$' \| \
34218 X"$as_dir" : 'X\(/\)' \| \
34219 . : '\(.\)' 2>/dev/null ||
34221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34223 /^X\(\/\/\)$/{ s//\1/; q; }
34224 /^X\(\/\).*/{ s//\1/; q; }
34227 test ! -n "$as_dirs" || mkdir
$as_dirs
34228 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34230 { (exit 1); exit 1; }; }; }
34233 mv $tmp/config.h
$ac_file
34237 rm -f $tmp/config.h
34239 # Compute $ac_file's index in $config_headers.
34241 for _am_header
in $config_headers :; do
34242 case $_am_header in
34243 $ac_file |
$ac_file:* )
34246 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
34249 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34250 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34251 X$ac_file : 'X\(//\)[^/]' \| \
34252 X$ac_file : 'X\(//\)$' \| \
34253 X$ac_file : 'X\(/\)' \| \
34254 . : '\(.\)' 2>/dev/null ||
34256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34258 /^X\(\/\/\)$/{ s//\1/; q; }
34259 /^X\(\/\).*/{ s//\1/; q; }
34260 s/.*/./; q'`/stamp-h
$_am_stamp_count
34263 cat >>$CONFIG_STATUS <<\_ACEOF
34266 # CONFIG_COMMANDS section.
34268 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
34269 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
34270 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
34271 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
34272 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34273 X"$ac_dest" : 'X\(//\)[^/]' \| \
34274 X"$ac_dest" : 'X\(//\)$' \| \
34275 X"$ac_dest" : 'X\(/\)' \| \
34276 . : '\(.\)' 2>/dev/null ||
34278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34280 /^X\(\/\/\)$/{ s//\1/; q; }
34281 /^X\(\/\).*/{ s//\1/; q; }
34283 { if $as_mkdir_p; then
34288 while test ! -d "$as_dir"; do
34289 as_dirs
="$as_dir $as_dirs"
34290 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
34291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34292 X"$as_dir" : 'X\(//\)[^/]' \| \
34293 X"$as_dir" : 'X\(//\)$' \| \
34294 X"$as_dir" : 'X\(/\)' \| \
34295 . : '\(.\)' 2>/dev/null ||
34297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34299 /^X\(\/\/\)$/{ s//\1/; q; }
34300 /^X\(\/\).*/{ s//\1/; q; }
34303 test ! -n "$as_dirs" || mkdir
$as_dirs
34304 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34305 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34306 { (exit 1); exit 1; }; }; }
34310 if test "$ac_dir" != .
; then
34311 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34312 # A "../" for each directory in $ac_dir_suffix.
34313 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34315 ac_dir_suffix
= ac_top_builddir
=
34319 .
) # No --srcdir option. We are building in place.
34321 if test -z "$ac_top_builddir"; then
34324 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
34326 [\\/]* | ?
:[\\/]* ) # Absolute path.
34327 ac_srcdir
=$srcdir$ac_dir_suffix;
34328 ac_top_srcdir
=$srcdir ;;
34329 *) # Relative path.
34330 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
34331 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
34334 # Do not use `cd foo && pwd` to compute absolute paths, because
34335 # the directories may not exist.
34337 .
) ac_abs_builddir
="$ac_dir";;
34340 .
) ac_abs_builddir
=`pwd`;;
34341 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
34342 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
34345 case $ac_abs_builddir in
34346 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
34348 case ${ac_top_builddir}.
in
34349 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
34350 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
34351 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
34354 case $ac_abs_builddir in
34355 .
) ac_abs_srcdir
=$ac_srcdir;;
34358 .
) ac_abs_srcdir
=$ac_abs_builddir;;
34359 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
34360 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
34363 case $ac_abs_builddir in
34364 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
34366 case $ac_top_srcdir in
34367 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
34368 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
34369 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
34374 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34375 echo "$as_me: executing $ac_dest commands" >&6;}
34377 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
34378 # Strip MF so we end up with the name of the file.
34379 mf
=`echo "$mf" | sed -e 's/:.*$//'`
34380 # Check whether this is an Automake generated Makefile or not.
34381 # We used to match only the files named `Makefile.in', but
34382 # some people rename them; so instead we look at the file content.
34383 # Grep'ing the first line is not enough: some people post-process
34384 # each Makefile.in and add a new line on top of each file to say so.
34385 # So let's grep whole file.
34386 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
34387 dirpart
=`(dirname "$mf") 2>/dev/null ||
34388 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34389 X"$mf" : 'X\(//\)[^/]' \| \
34390 X"$mf" : 'X\(//\)$' \| \
34391 X"$mf" : 'X\(/\)' \| \
34392 . : '\(.\)' 2>/dev/null ||
34394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34396 /^X\(\/\/\)$/{ s//\1/; q; }
34397 /^X\(\/\).*/{ s//\1/; q; }
34402 # Extract the definition of DEPDIR, am__include, and am__quote
34403 # from the Makefile without running `make'.
34404 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
34405 test -z "$DEPDIR" && continue
34406 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
34407 test -z "am__include" && continue
34408 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
34409 # When using ansi2knr, U may be empty or an underscore; expand it
34410 U
=`sed -n 's/^U = //p' < "$mf"`
34411 # Find all dependency output files, they are included files with
34412 # $(DEPDIR) in their names. We invoke sed twice because it is the
34413 # simplest approach to changing $(DEPDIR) to its actual value in the
34415 for file in `sed -n "
34416 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34417 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34418 # Make sure the directory exists.
34419 test -f "$dirpart/$file" && continue
34420 fdir
=`(dirname "$file") 2>/dev/null ||
34421 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34422 X"$file" : 'X\(//\)[^/]' \| \
34423 X"$file" : 'X\(//\)$' \| \
34424 X"$file" : 'X\(/\)' \| \
34425 . : '\(.\)' 2>/dev/null ||
34427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34429 /^X\(\/\/\)$/{ s//\1/; q; }
34430 /^X\(\/\).*/{ s//\1/; q; }
34432 { if $as_mkdir_p; then
34433 mkdir
-p $dirpart/$fdir
34435 as_dir
=$dirpart/$fdir
34437 while test ! -d "$as_dir"; do
34438 as_dirs
="$as_dir $as_dirs"
34439 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
34440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34441 X"$as_dir" : 'X\(//\)[^/]' \| \
34442 X"$as_dir" : 'X\(//\)$' \| \
34443 X"$as_dir" : 'X\(/\)' \| \
34444 . : '\(.\)' 2>/dev/null ||
34446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34448 /^X\(\/\/\)$/{ s//\1/; q; }
34449 /^X\(\/\).*/{ s//\1/; q; }
34452 test ! -n "$as_dirs" || mkdir
$as_dirs
34453 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34454 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34455 { (exit 1); exit 1; }; }; }
34457 # echo "creating $dirpart/$file"
34458 echo '# dummy' > "$dirpart/$file"
34466 cat >>$CONFIG_STATUS <<\_ACEOF
34468 { (exit 0); exit 0; }
34470 if test "x$with_fast_perl" = "xyes"; then
34471 perl
-i.bak
$ac_aux_dir/conf.change.pl
$CONFIG_STATUS \
34472 ||
mv $CONFIG_STATUS.bak
$CONFIG_STATUS
34473 rm -f $CONFIG_STATUS.bak
34475 chmod +x
$CONFIG_STATUS
34476 ac_clean_files
=$ac_clean_files_save
34479 # configure is writing to config.log, and then calls config.status.
34480 # config.status does its own redirection, appending to config.log.
34481 # Unfortunately, on DOS this fails, as config.log is still kept open
34482 # by configure, so config.status won't be able to write to it; its
34483 # output is simply discarded. So we exec the FD to /dev/null,
34484 # effectively closing config.log, so it can be properly (re)opened and
34485 # appended to by config.status. When coming back to configure, we
34486 # need to make the FD available again.
34487 if test "$no_create" != yes; then
34489 ac_config_status_args
=
34490 test "$silent" = yes &&
34491 ac_config_status_args
="$ac_config_status_args --quiet"
34493 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34495 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34496 # would make configure fail if this is the last instruction.
34497 $ac_cs_success ||
{ (exit 1); exit 1; }
34500 # Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34501 if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34502 # And if so, warn when they don't match
34503 if test "$kde_libs_prefix" != "$given_prefix"; then
34504 # And if kde doesn't know about the prefix yet
34505 echo ":"`kde-config --path exe`":" |
grep ":$given_prefix/bin/:" 2>&1 >/dev
/null
34506 if test $?
-ne 0; then
34508 echo "Warning: you chose to install this package in $given_prefix,"
34509 echo "but KDE was found in $kde_libs_prefix."
34510 echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34511 echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34512 echo "Then restart KDE."
34518 if test x
$GXX = "xyes" -a x
$kde_have_gcc_visibility = "xyes" -a x
$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34520 echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34521 echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34523 echo "For better performance, consider including the Qt visibility supporting patch"
34526 echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34528 echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34529 echo "everything will continue to work just fine without it."
34533 if test "$all_tests" = "bad"; then
34534 if test ! "$cache_file" = "/dev/null"; then
34536 echo "Please remove the file $cache_file after changing your setup"
34537 echo "so that configure will find the changes next time."
34542 echo "Good - your configure finished. Start make now"