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 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
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
="Makefile.am"
429 # Factoring default headers for most tests.
430 ac_includes_default
="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 RANLIB ac_ct_RANLIB EGREP LN_S ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS DATADIRNAME PKG_CONFIG ac_pt_PKG_CONFIG HILDON_CFLAGS HILDON_LIBS DBUS_CFLAGS DBUS_LIBS OSSO_CFLAGS OSSO_LIBS SQL3_CFLAGS SQL3_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT MSGFMT_OPTS GMSGFMT XGETTEXT CATALOGS CATOBJEXT GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS desktopentrydir serviceentrydir localedir pixmapdir icon_26x26dir icon_34x34dir icon_40x40dir icon_50x50dir icon_scalabledir pluginlibdir plugindesktopentrydir LIBOBJS LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CC_set
=${CC+set}
909 ac_cv_env_CC_set
=${CC+set}
910 ac_cv_env_CC_value
=$CC
911 ac_env_CFLAGS_set
=${CFLAGS+set}
912 ac_env_CFLAGS_value
=$CFLAGS
913 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value
=$CFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_CPP_set
=${CPP+set}
924 ac_env_CPP_value
=$CPP
925 ac_cv_env_CPP_set
=${CPP+set}
926 ac_cv_env_CPP_value
=$CPP
927 ac_env_CXX_set
=${CXX+set}
928 ac_env_CXX_value
=$CXX
929 ac_cv_env_CXX_set
=${CXX+set}
930 ac_cv_env_CXX_value
=$CXX
931 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value
=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_env_CXXCPP_set
=${CXXCPP+set}
936 ac_env_CXXCPP_value
=$CXXCPP
937 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
938 ac_cv_env_CXXCPP_value
=$CXXCPP
939 ac_env_F77_set
=${F77+set}
940 ac_env_F77_value
=$F77
941 ac_cv_env_F77_set
=${F77+set}
942 ac_cv_env_F77_value
=$F77
943 ac_env_FFLAGS_set
=${FFLAGS+set}
944 ac_env_FFLAGS_value
=$FFLAGS
945 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
946 ac_cv_env_FFLAGS_value
=$FFLAGS
947 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
948 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
949 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
950 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
951 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
952 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
953 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
954 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
955 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
956 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
957 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
958 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
959 ac_env_DBUS_CFLAGS_set
=${DBUS_CFLAGS+set}
960 ac_env_DBUS_CFLAGS_value
=$DBUS_CFLAGS
961 ac_cv_env_DBUS_CFLAGS_set
=${DBUS_CFLAGS+set}
962 ac_cv_env_DBUS_CFLAGS_value
=$DBUS_CFLAGS
963 ac_env_DBUS_LIBS_set
=${DBUS_LIBS+set}
964 ac_env_DBUS_LIBS_value
=$DBUS_LIBS
965 ac_cv_env_DBUS_LIBS_set
=${DBUS_LIBS+set}
966 ac_cv_env_DBUS_LIBS_value
=$DBUS_LIBS
967 ac_env_OSSO_CFLAGS_set
=${OSSO_CFLAGS+set}
968 ac_env_OSSO_CFLAGS_value
=$OSSO_CFLAGS
969 ac_cv_env_OSSO_CFLAGS_set
=${OSSO_CFLAGS+set}
970 ac_cv_env_OSSO_CFLAGS_value
=$OSSO_CFLAGS
971 ac_env_OSSO_LIBS_set
=${OSSO_LIBS+set}
972 ac_env_OSSO_LIBS_value
=$OSSO_LIBS
973 ac_cv_env_OSSO_LIBS_set
=${OSSO_LIBS+set}
974 ac_cv_env_OSSO_LIBS_value
=$OSSO_LIBS
975 ac_env_SQL3_CFLAGS_set
=${SQL3_CFLAGS+set}
976 ac_env_SQL3_CFLAGS_value
=$SQL3_CFLAGS
977 ac_cv_env_SQL3_CFLAGS_set
=${SQL3_CFLAGS+set}
978 ac_cv_env_SQL3_CFLAGS_value
=$SQL3_CFLAGS
979 ac_env_SQL3_LIBS_set
=${SQL3_LIBS+set}
980 ac_env_SQL3_LIBS_value
=$SQL3_LIBS
981 ac_cv_env_SQL3_LIBS_set
=${SQL3_LIBS+set}
982 ac_cv_env_SQL3_LIBS_value
=$SQL3_LIBS
985 # Report the --help message.
987 if test "$ac_init_help" = "long"; then
988 # Omit some internal or obsolete options to make the list less imposing.
989 # This message is too long to be a string in the A/UX 3.1 sh.
991 \`configure' configures this package to adapt to many kinds of systems.
993 Usage: $0 [OPTION]... [VAR=VALUE]...
995 To assign environment variables (e.g., CC, CFLAGS...), specify them as
996 VAR=VALUE. See below for descriptions of some of the useful variables.
998 Defaults for the options are specified in brackets.
1001 -h, --help display this help and exit
1002 --help=short display options specific to this package
1003 --help=recursive display the short help of all the included packages
1004 -V, --version display version information and exit
1005 -q, --quiet, --silent do not print \`checking...' messages
1006 --cache-file=FILE cache test results in FILE [disabled]
1007 -C, --config-cache alias for \`--cache-file=config.cache'
1008 -n, --no-create do not create output files
1009 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1014 Installation directories:
1015 --prefix=PREFIX install architecture-independent files in PREFIX
1016 [$ac_default_prefix]
1017 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1020 By default, \`make install' will install all the files in
1021 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1022 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1023 for instance \`--prefix=\$HOME'.
1025 For better control, use the options below.
1027 Fine tuning of the installation directories:
1028 --bindir=DIR user executables [EPREFIX/bin]
1029 --sbindir=DIR system admin executables [EPREFIX/sbin]
1030 --libexecdir=DIR program executables [EPREFIX/libexec]
1031 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1032 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1033 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1034 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1035 --libdir=DIR object code libraries [EPREFIX/lib]
1036 --includedir=DIR C header files [PREFIX/include]
1037 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1038 --infodir=DIR info documentation [PREFIX/info]
1039 --mandir=DIR man documentation [PREFIX/man]
1045 --program-prefix=PREFIX prepend PREFIX to installed program names
1046 --program-suffix=SUFFIX append SUFFIX to installed program names
1047 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1050 --build=BUILD configure
for building on BUILD
[guessed
]
1051 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1055 if test -n "$ac_init_help"; then
1060 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1061 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1062 --disable-dependency-tracking Speeds up one-time builds
1063 --enable-dependency-tracking Do not reject slow dependency extractors
1064 --enable-shared[=PKGS
]
1065 build shared libraries
[default
=yes]
1066 --enable-static[=PKGS
]
1067 build static libraries
[default
=yes]
1068 --enable-fast-install[=PKGS
]
1069 optimize
for fast installation
[default
=yes]
1070 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1071 --enable-debug Debugging
(default
=no
)
1074 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1075 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1076 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1077 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1080 include additional configurations
[automatic
]
1082 Some influential environment variables
:
1083 CC C compiler
command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1086 nonstandard directory
<lib dir
>
1087 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1088 headers
in a nonstandard directory
<include dir
>
1090 CXX C
++ compiler
command
1091 CXXFLAGS C
++ compiler flags
1092 CXXCPP C
++ preprocessor
1093 F77 Fortran
77 compiler
command
1094 FFLAGS Fortran
77 compiler flags
1095 PKG_CONFIG path to pkg-config utility
1097 C compiler flags
for HILDON
, overriding pkg-config
1098 HILDON_LIBS linker flags
for HILDON
, overriding pkg-config
1099 DBUS_CFLAGS C compiler flags
for DBUS
, overriding pkg-config
1100 DBUS_LIBS linker flags
for DBUS
, overriding pkg-config
1101 OSSO_CFLAGS C compiler flags
for OSSO
, overriding pkg-config
1102 OSSO_LIBS linker flags
for OSSO
, overriding pkg-config
1103 SQL3_CFLAGS C compiler flags
for SQL3
, overriding pkg-config
1104 SQL3_LIBS linker flags
for SQL3
, overriding pkg-config
1106 Use these variables to override the choices made by
`configure' or to help
1107 it to find libraries and programs with nonstandard names/locations.
1112 if test "$ac_init_help" = "recursive"; then
1113 # If there are subdirs, report their specific --help.
1115 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1116 test -d $ac_dir || continue
1119 if test "$ac_dir" != .; then
1120 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1121 # A "../" for each directory in $ac_dir_suffix.
1122 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1124 ac_dir_suffix= ac_top_builddir=
1128 .) # No --srcdir option. We are building in place.
1130 if test -z "$ac_top_builddir"; then
1133 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1135 [\\/]* | ?:[\\/]* ) # Absolute path.
1136 ac_srcdir=$srcdir$ac_dir_suffix;
1137 ac_top_srcdir=$srcdir ;;
1139 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1140 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1143 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1144 # the directories may not exist.
1146 .) ac_abs_builddir="$ac_dir";;
1149 .) ac_abs_builddir=`pwd`;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1151 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1154 case $ac_abs_builddir in
1155 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 case ${ac_top_builddir}. in
1158 .) ac_abs_top_builddir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1160 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1163 case $ac_abs_builddir in
1164 .) ac_abs_srcdir=$ac_srcdir;;
1167 .) ac_abs_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1169 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1172 case $ac_abs_builddir in
1173 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 case $ac_top_srcdir in
1176 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1177 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1178 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1183 # Check for guested configure; otherwise get Cygnus style configure.
1184 if test -f $ac_srcdir/configure.gnu; then
1186 $SHELL $ac_srcdir/configure.gnu --help=recursive
1187 elif test -f $ac_srcdir/configure; then
1189 $SHELL $ac_srcdir/configure --help=recursive
1190 elif test -f $ac_srcdir/configure.ac ||
1191 test -f $ac_srcdir/configure.in; then
1193 $ac_configure --help
1195 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1201 test -n "$ac_init_help" && exit 0
1202 if $ac_init_version; then
1205 Copyright (C) 2003 Free Software Foundation, Inc.
1206 This configure script is free software; the Free Software Foundation
1207 gives unlimited permission to copy, distribute and modify it.
1213 This file contains any messages produced by compilers while
1214 running configure, to aid debugging if configure makes a mistake.
1216 It was created by $as_me, which was
1217 generated by GNU Autoconf 2.59. Invocation command line was
1228 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1229 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1230 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1231 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1232 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1234 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1235 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1237 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1238 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1239 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1240 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1241 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1242 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1243 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1251 test -z "$as_dir" && as_dir=.
1252 echo "PATH: $as_dir"
1267 # Keep a trace of the command line.
1268 # Strip out --no-create and --no-recursion so they do not pile up.
1269 # Strip out --silent because we don't want to record it for future runs.
1270 # Also quote any args containing shell meta-characters.
1271 # Make two passes to allow for proper duplicate-argument suppression.
1276 ac_must_keep_next=false
1282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1290 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1292 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1293 if test $ac_must_keep_next = true; then
1294 ac_must_keep_next=false # Got value, back to normal.
1297 *=* | --config-cache | -C | -disable-* | --disable-* \
1298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1300 | -with-* | --with-* | -without-* | --without-* | --x)
1301 case "$ac_configure_args0 " in
1302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1305 -* ) ac_must_keep_next=true ;;
1308 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309 # Get rid of the leading space.
1315 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1316 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1318 # When interrupted or exit'd, cleanup temporary files, and complete
1319 # config.log. We remove comments because anyway the quotes in there
1320 # would cause problems or look ugly.
1321 # WARNING: Be sure not to use single quotes in there, as some shells,
1322 # such as our DU 5.0 friend, will then `close
' the trap.
1323 trap 'exit_status
=$?
1324 # Save into config.log some information that might help in debugging.
1329 ## ---------------- ##
1330 ## Cache variables. ##
1331 ## ---------------- ##
1334 # The following way of writing the cache mishandles newlines in values,
1337 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1340 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1352 ## ----------------- ##
1353 ## Output variables. ##
1354 ## ----------------- ##
1357 for ac_var
in $ac_subst_vars
1359 eval ac_val
=$
`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -n "$ac_subst_files"; then
1371 for ac_var
in $ac_subst_files
1373 eval ac_val
=$
`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1379 if test -s confdefs.h
; then
1386 sed "/^$/d" confdefs.h |
sort
1389 test "$ac_signal" != 0 &&
1390 echo "$as_me: caught signal $ac_signal"
1391 echo "$as_me: exit $exit_status"
1393 rm -f core
*.core
&&
1394 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1397 for ac_signal in 1 2 13 15; do
1398 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1403 rm -rf conftest* confdefs.h
1404 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1407 # Predefined preprocessor variables.
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_NAME "$PACKAGE_NAME"
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_STRING "$PACKAGE_STRING"
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1434 # Let the site file select an alternate cache file if it wants to.
1435 # Prefer explicitly selected file to automatically selected ones.
1436 if test -z "$CONFIG_SITE"; then
1437 if test "x$prefix" != xNONE; then
1438 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1440 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1443 for ac_site_file in $CONFIG_SITE; do
1444 if test -r "$ac_site_file"; then
1445 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446 echo "$as_me: loading site script $ac_site_file" >&6;}
1447 sed 's
/^
/|
/' "$ac_site_file" >&5
1452 if test -r "$cache_file"; then
1453 # Some versions of bash will fail to source /dev/null (special
1454 # files actually), so we avoid doing that.
1455 if test -f "$cache_file"; then
1456 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457 echo "$as_me: loading cache $cache_file" >&6;}
1459 [\\/]* | ?:[\\/]* ) . $cache_file;;
1460 *) . ./$cache_file;;
1464 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465 echo "$as_me: creating cache $cache_file" >&6;}
1469 # Check that the precious variables saved in the cache have kept the same
1471 ac_cache_corrupted=false
1472 for ac_var in `(set) 2>&1 |
1473 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1474 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475 eval ac_new_set=\$ac_env_${ac_var}_set
1476 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477 eval ac_new_val="\$ac_env_${ac_var}_value"
1478 case $ac_old_set,$ac_new_set in
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1482 ac_cache_corrupted=: ;;
1484 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486 ac_cache_corrupted=: ;;
1489 if test "x$ac_old_val" != "x$ac_new_val"; then
1490 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1491 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1492 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1493 echo "$as_me: former value: $ac_old_val" >&2;}
1494 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1495 echo "$as_me: current value: $ac_new_val" >&2;}
1496 ac_cache_corrupted=:
1499 # Pass precious variables to config.status.
1500 if test "$ac_new_set" = set; then
1502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1504 *) ac_arg=$ac_var=$ac_new_val ;;
1506 case " $ac_configure_args " in
1507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1508 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1512 if $ac_cache_corrupted; then
1513 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1516 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517 { (exit 1); exit 1; }; }
1521 ac_cpp='$CPP $CPPFLAGS'
1522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1544 am__api_version="1.7"
1546 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1547 if test -f $ac_dir/install-sh; then
1549 ac_install_sh="$ac_aux_dir/install-sh -c"
1551 elif test -f $ac_dir/install.sh; then
1553 ac_install_sh="$ac_aux_dir/install.sh -c"
1555 elif test -f $ac_dir/shtool; then
1557 ac_install_sh="$ac_aux_dir/shtool install -c"
1561 if test -z "$ac_aux_dir"; then
1562 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1563 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1564 { (exit 1); exit 1; }; }
1566 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1567 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1568 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570 # Find a good install program. We prefer a C program (faster),
1571 # so one script is as good as another. But avoid the broken or
1572 # incompatible versions:
1573 # SysV /etc/install, /usr/sbin/install
1574 # SunOS /usr/etc/install
1575 # IRIX /sbin/install
1577 # AmigaOS /C/install, which installs bootblocks on floppy discs
1578 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1581 # OS/2's system install, which has a completely different semantic
1582 # ./install, which can be erroneously created by make from ./install.sh.
1583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1585 if test -z "$INSTALL"; then
1586 if test "${ac_cv_path_install+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir
=.
1594 # Account for people who put trailing slashes in PATH elements.
1596 .
/ | .
// |
/cC
/* | \
1597 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1598 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1601 # OSF1 and SCO ODT 3.0 have their own names for install.
1602 # Don't use installbsd from OSF since it installs stuff as root
1604 for ac_prog
in ginstall scoinst
install; do
1605 for ac_exec_ext
in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1607 if test $ac_prog = install &&
1608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1609 # AIX install. It has an incompatible calling convention.
1611 elif test $ac_prog = install &&
1612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1613 # program-specific install script used by HP pwplus--don't use.
1616 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1628 if test "${ac_cv_path_install+set}" = set; then
1629 INSTALL
=$ac_cv_path_install
1631 # As a last resort, use the slow shell script. We don't cache a
1632 # path for INSTALL within a source directory, because that will
1633 # break other packages using the cache if that directory is
1634 # removed, or if the path is relative.
1635 INSTALL
=$ac_install_sh
1638 echo "$as_me:$LINENO: result: $INSTALL" >&5
1639 echo "${ECHO_T}$INSTALL" >&6
1641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1642 # It thinks the first close brace ends the variable substitution.
1643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1647 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1649 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1650 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1653 echo timestamp
> conftest.
file
1654 # Do `set' in a subshell so we don't clobber the current shell's
1655 # arguments. Must try -L first in case configure is actually a
1656 # symlink; some systems play weird games with the mod time of symlinks
1657 # (eg FreeBSD returns the mod time of the symlink's containing
1660 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1661 if test "$*" = "X"; then
1663 set X
`ls -t $srcdir/configure conftest.file`
1666 if test "$*" != "X $srcdir/configure conftest.file" \
1667 && test "$*" != "X conftest.file $srcdir/configure"; then
1669 # If neither matched, then we have a broken ls. This can happen
1670 # if, for instance, CONFIG_SHELL is bash and it inherits a
1671 # broken ls alias from the environment. This has actually
1672 # happened. Such a system could not be considered "sane".
1673 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1674 alias in your environment" >&5
1675 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1676 alias in your environment" >&2;}
1677 { (exit 1); exit 1; }; }
1680 test "$2" = conftest.
file
1686 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1687 Check your system clock" >&5
1688 echo "$as_me: error: newly created file is older than distributed files!
1689 Check your system clock" >&2;}
1690 { (exit 1); exit 1; }; }
1692 echo "$as_me:$LINENO: result: yes" >&5
1693 echo "${ECHO_T}yes" >&6
1694 test "$program_prefix" != NONE
&&
1695 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1696 # Use a double $ so make ignores it.
1697 test "$program_suffix" != NONE
&&
1698 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1699 # Double any \ or $. echo might interpret backslashes.
1700 # By default was `s,x,x', remove it if useless.
1701 cat <<\_ACEOF
>conftest.
sed
1702 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1704 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1708 # expand $ac_aux_dir to an absolute path
1709 am_aux_dir
=`cd $ac_aux_dir && pwd`
1711 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1712 # Use eval to expand $SHELL
1713 if eval "$MISSING --run true"; then
1714 am_missing_run
="$MISSING --run "
1717 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1718 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1721 for ac_prog
in gawk mawk nawk
awk
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy
$ac_prog; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_AWK+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$AWK"; then
1731 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir
=.
1738 for ac_exec_ext
in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_AWK
="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$AWK"; then
1751 echo "$as_me:$LINENO: result: $AWK" >&5
1752 echo "${ECHO_T}$AWK" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$AWK" && break
1761 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1763 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1764 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 cat >conftest.
make <<\_ACEOF
1769 @
echo 'ac_maketemp="$(MAKE)"'
1771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1772 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1773 if test -n "$ac_maketemp"; then
1774 eval ac_cv_prog_make_
${ac_make}_set
=yes
1776 eval ac_cv_prog_make_
${ac_make}_set
=no
1780 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1787 SET_MAKE
="MAKE=${MAKE-make}"
1790 rm -rf .tst
2>/dev
/null
1791 mkdir .tst
2>/dev
/null
1792 if test -d .tst
; then
1797 rmdir .tst
2>/dev
/null
1799 # test to see if srcdir already configured
1800 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1801 test -f $srcdir/config.status
; then
1802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1803 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1804 { (exit 1); exit 1; }; }
1807 # test whether we have cygpath
1808 if test -z "$CYGPATH_W"; then
1809 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1810 CYGPATH_W
='cygpath -w'
1817 # Define the identity of the package.
1818 PACKAGE
=maemopadplus
1822 cat >>confdefs.h
<<_ACEOF
1823 #define PACKAGE "$PACKAGE"
1827 cat >>confdefs.h
<<_ACEOF
1828 #define VERSION "$VERSION"
1831 # Some tools Automake needs.
1833 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1836 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1839 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1842 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1845 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1848 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1850 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1852 # Installed binaries are usually stripped using `strip' when the user
1853 # run `make install-strip'. However `strip' might not be the right
1854 # tool to use in cross-compilation environments, therefore Automake
1855 # will honor the `STRIP' environment variable to overrule this program.
1856 if test "$cross_compiling" != no
; then
1857 if test -n "$ac_tool_prefix"; then
1858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1859 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_STRIP+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$STRIP"; then
1866 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir
=.
1873 for ac_exec_ext
in '' $ac_executable_extensions; do
1874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 STRIP
=$ac_cv_prog_STRIP
1885 if test -n "$STRIP"; then
1886 echo "$as_me:$LINENO: result: $STRIP" >&5
1887 echo "${ECHO_T}$STRIP" >&6
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1894 if test -z "$ac_cv_prog_STRIP"; then
1896 # Extract the first word of "strip", so it can be a program name with args.
1897 set dummy strip
; ac_word
=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$ac_ct_STRIP"; then
1904 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir
=.
1911 for ac_exec_ext
in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_ac_ct_STRIP
="strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1923 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1924 if test -n "$ac_ct_STRIP"; then
1925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1926 echo "${ECHO_T}$ac_ct_STRIP" >&6
1928 echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6
1934 STRIP
="$ac_cv_prog_STRIP"
1938 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1940 # We need awk for the "check" target. The system "awk" is bad on
1945 ac_config_headers
="$ac_config_headers config.h"
1948 # Make sure we can run config.sub.
1949 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1950 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1951 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1952 { (exit 1); exit 1; }; }
1954 echo "$as_me:$LINENO: checking build system type" >&5
1955 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1956 if test "${ac_cv_build+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 ac_cv_build_alias
=$build_alias
1960 test -z "$ac_cv_build_alias" &&
1961 ac_cv_build_alias
=`$ac_config_guess`
1962 test -z "$ac_cv_build_alias" &&
1963 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1964 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1965 { (exit 1); exit 1; }; }
1966 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1967 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1968 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1969 { (exit 1); exit 1; }; }
1972 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1973 echo "${ECHO_T}$ac_cv_build" >&6
1975 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1976 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1977 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1980 echo "$as_me:$LINENO: checking host system type" >&5
1981 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1982 if test "${ac_cv_host+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 ac_cv_host_alias
=$host_alias
1986 test -z "$ac_cv_host_alias" &&
1987 ac_cv_host_alias
=$ac_cv_build_alias
1988 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1989 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1990 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1991 { (exit 1); exit 1; }; }
1994 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1995 echo "${ECHO_T}$ac_cv_host" >&6
1997 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1998 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1999 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2004 ac_cpp
='$CPP $CPPFLAGS'
2005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2010 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2011 echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013 if test "${ac_cv_prog_CC+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 if test -n "$CC"; then
2017 ac_cv_prog_CC
="$CC" # Let the user override the test.
2019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir
=.
2024 for ac_exec_ext
in '' $ac_executable_extensions; do
2025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2026 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 echo "$as_me:$LINENO: result: $CC" >&5
2038 echo "${ECHO_T}$CC" >&6
2040 echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6
2045 if test -z "$ac_cv_prog_CC"; then
2047 # Extract the first word of "gcc", so it can be a program name with args.
2048 set dummy gcc
; ac_word
=$2
2049 echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$ac_ct_CC"; then
2055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 ac_cv_prog_ac_ct_CC
="gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 echo "${ECHO_T}$ac_ct_CC" >&6
2078 echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2090 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2091 echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC
="$CC" # Let the user override the test.
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 for ac_exec_ext
in '' $ac_executable_extensions; do
2105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2106 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 if test -n "$CC"; then
2117 echo "$as_me:$LINENO: result: $CC" >&5
2118 echo "${ECHO_T}$CC" >&6
2120 echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6
2125 if test -z "$ac_cv_prog_CC"; then
2127 # Extract the first word of "cc", so it can be a program name with args.
2128 set dummy cc
; ac_word
=$2
2129 echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_ac_ct_CC
="cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2154 if test -n "$ac_ct_CC"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2156 echo "${ECHO_T}$ac_ct_CC" >&6
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc
; ac_word
=$2
2171 echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC
="$CC" # Let the user override the test.
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 for ac_exec_ext
in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected
=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy
$ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC
="$CC" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy
$ac_prog; ac_word
=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 for ac_exec_ext
in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC
="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2295 if test -n "$ac_ct_CC"; then
2296 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2297 echo "${ECHO_T}$ac_ct_CC" >&6
2299 echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2303 test -n "$ac_ct_CC" && break
2312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&2;}
2316 { (exit 1); exit 1; }; }
2318 # Provide some information about the compiler.
2319 echo "$as_me:$LINENO:" \
2320 "checking for C compiler version" >&5
2321 ac_compiler
=`set X $ac_compile; echo $2`
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2323 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2328 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2333 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }
2338 cat >conftest.
$ac_ext <<_ACEOF
2341 cat confdefs.h
>>conftest.
$ac_ext
2342 cat >>conftest.
$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2353 ac_clean_files_save
=$ac_clean_files
2354 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2355 # Try to create an executable without -o first, disregard a.out.
2356 # It will help us diagnose broken compilers, and finding out an intuition
2358 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2359 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2360 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2361 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2362 (eval $ac_link_default) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; then
2366 # Find the output, starting from the most likely. This scheme is
2367 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2370 # Be careful to initialize this variable, since it used to be cached.
2371 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2373 # b.out is created by i960 compilers.
2374 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2376 test -f "$ac_file" ||
continue
2378 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2381 # This is the source file.
2384 # We found the default executable, but exeext='' is most
2388 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2389 # FIXME: I believe we export ac_cv_exeext for Libtool,
2390 # but it would be cool to find out if it's true. Does anybody
2391 # maintain Libtool? --akim.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2402 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&2;}
2406 { (exit 77); exit 77; }; }
2409 ac_exeext
=$ac_cv_exeext
2410 echo "$as_me:$LINENO: result: $ac_file" >&5
2411 echo "${ECHO_T}$ac_file" >&6
2413 # Check the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try
='./$ac_file'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; }; then
2428 if test "$cross_compiling" = maybe
; then
2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2432 If you meant to cross compile, use \`--host'.
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2445 ac_clean_files
=$ac_clean_files_save
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2450 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2451 echo "${ECHO_T}$cross_compiling" >&6
2453 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2456 (eval $ac_link) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; then
2460 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2461 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2462 # work properly (i.e., refer to `conftest.exe'), while it won't with
2464 for ac_file
in conftest.exe conftest conftest.
*; do
2465 test -f "$ac_file" ||
continue
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2468 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&2;}
2479 { (exit 1); exit 1; }; }
2482 rm -f conftest
$ac_cv_exeext
2483 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2484 echo "${ECHO_T}$ac_cv_exeext" >&6
2486 rm -f conftest.
$ac_ext
2487 EXEEXT
=$ac_cv_exeext
2489 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2490 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2491 if test "${ac_cv_objext+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 cat >conftest.
$ac_ext <<_ACEOF
2497 cat confdefs.h
>>conftest.
$ac_ext
2498 cat >>conftest.
$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2518 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2533 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT
=$ac_cv_objext
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 cat >conftest.
$ac_ext <<_ACEOF
2547 cat confdefs.h
>>conftest.
$ac_ext
2548 cat >>conftest.
$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2562 rm -f conftest.
$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1
>conftest.err
2568 cat conftest.err
>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; } &&
2577 { ac_try
='test -s conftest.$ac_objext'
2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; }; then
2585 echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.
$ac_ext >&5
2590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2591 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2594 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2595 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2596 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2597 ac_test_CFLAGS
=${CFLAGS+set}
2598 ac_save_CFLAGS
=$CFLAGS
2600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2602 if test "${ac_cv_prog_cc_g+set}" = set; then
2603 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 cat >conftest.
$ac_ext <<_ACEOF
2608 cat confdefs.h
>>conftest.
$ac_ext
2609 cat >>conftest.
$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2620 rm -f conftest.
$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>conftest.er1
2624 grep -v '^ *+' conftest.er1
>conftest.err
2626 cat conftest.err
>&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); } &&
2629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; } &&
2635 { ac_try
='test -s conftest.$ac_objext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.
$ac_ext >&5
2648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2650 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2651 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2652 if test "$ac_test_CFLAGS" = set; then
2653 CFLAGS
=$ac_save_CFLAGS
2654 elif test $ac_cv_prog_cc_g = yes; then
2655 if test "$GCC" = yes; then
2661 if test "$GCC" = yes; then
2667 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2668 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2669 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 ac_cv_prog_cc_stdc
=no
2674 cat >conftest.
$ac_ext <<_ACEOF
2677 cat confdefs.h
>>conftest.
$ac_ext
2678 cat >>conftest.
$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2682 #include <sys/types.h>
2683 #include <sys/stat.h>
2684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2685 struct buf { int x; };
2686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2687 static char *e (p, i)
2693 static char *f (char * (*g) (char **, int), char **p, ...)
2698 s = g (p, va_arg (v,int));
2703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2704 function prototypes and stuff, but not '\xHH' hex character constants.
2705 These don't provoke an error unfortunately, instead are silently treated
2706 as 'x'. The following induces an error, until -std1 is added to get
2707 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2708 array size at least. It's necessary to write '\x00'==0 to get something
2709 that's true only with -std1. */
2710 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2712 int test (int i, double x);
2713 struct s1 {int (*f) (int a);};
2714 struct s2 {int (*f) (double a);};
2715 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2721 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2726 # Don't try gcc -ansi; that turns off useful extensions and
2727 # breaks some systems' header files.
2728 # AIX -qlanglvl=ansi
2729 # Ultrix and OSF/1 -std1
2730 # HP-UX 10.20 and later -Ae
2731 # HP-UX older versions -Aa -D_HPUX_SOURCE
2732 # SVR4 -Xc -D__EXTENSIONS__
2733 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2735 CC
="$ac_save_CC $ac_arg"
2736 rm -f conftest.
$ac_objext
2737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2738 (eval $ac_compile) 2>conftest.er1
2740 grep -v '^ *+' conftest.er1
>conftest.err
2742 cat conftest.err
>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } &&
2745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; } &&
2751 { ac_try
='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2757 ac_cv_prog_cc_stdc
=$ac_arg
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.
$ac_ext >&5
2764 rm -f conftest.err conftest.
$ac_objext
2766 rm -f conftest.
$ac_ext conftest.
$ac_objext
2771 case "x$ac_cv_prog_cc_stdc" in
2773 echo "$as_me:$LINENO: result: none needed" >&5
2774 echo "${ECHO_T}none needed" >&6 ;;
2776 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2781 # Some people use a C++ compiler to compile C. Since we use `exit',
2782 # in C++ we need to declare it. In case someone uses the same compiler
2783 # for both compiling C and C++ we need to have the C++ compiler decide
2784 # the declaration of exit, since it's the most demanding environment.
2785 cat >conftest.
$ac_ext <<_ACEOF
2790 rm -f conftest.
$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } &&
2799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; } &&
2805 { ac_try
='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 for ac_declaration
in \
2813 'extern "C" void std::exit (int) throw (); using std::exit;' \
2814 'extern "C" void std::exit (int); using std::exit;' \
2815 'extern "C" void exit (int) throw ();' \
2816 'extern "C" void exit (int);' \
2819 cat >conftest.
$ac_ext <<_ACEOF
2822 cat confdefs.h
>>conftest.
$ac_ext
2823 cat >>conftest.
$ac_ext <<_ACEOF
2824 /* end confdefs.h. */
2835 rm -f conftest.
$ac_objext
2836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>conftest.er1
2839 grep -v '^ *+' conftest.er1
>conftest.err
2841 cat conftest.err
>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; } &&
2850 { ac_try
='test -s conftest.$ac_objext'
2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; }; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.
$ac_ext >&5
2863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2864 cat >conftest.
$ac_ext <<_ACEOF
2867 cat confdefs.h
>>conftest.
$ac_ext
2868 cat >>conftest.
$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2879 rm -f conftest.
$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2883 grep -v '^ *+' conftest.er1
>conftest.err
2885 cat conftest.err
>&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; } &&
2894 { ac_try
='test -s conftest.$ac_objext'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; }; then
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.
$ac_ext >&5
2906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2909 if test -n "$ac_declaration"; then
2910 echo '#ifdef __cplusplus' >>confdefs.h
2911 echo $ac_declaration >>confdefs.h
2912 echo '#endif' >>confdefs.h
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.
$ac_ext >&5
2920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2922 ac_cpp
='$CPP $CPPFLAGS'
2923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2926 DEPDIR
="${am__leading_dot}deps"
2928 ac_config_commands
="$ac_config_commands depfiles"
2931 am_make
=${MAKE-make}
2932 cat > confinc
<< 'END'
2937 # If we don't find an include directive, just comment out the code.
2938 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2939 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2943 # First try GNU make style include.
2944 echo "include confinc" > confmf
2945 # We grep out `Entering directory' and `Leaving directory'
2946 # messages which can occur if `w' ends up in MAKEFLAGS.
2947 # In particular we don't look at `^make:' because GNU make might
2948 # be invoked under some other name (usually "gmake"), in which
2949 # case it prints its new name instead of `make'.
2950 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2955 # Now try BSD make style include.
2956 if test "$am__include" = "#"; then
2957 echo '.include "confinc"' > confmf
2958 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2959 am__include
=.include
2966 echo "$as_me:$LINENO: result: $_am_result" >&5
2967 echo "${ECHO_T}$_am_result" >&6
2968 rm -f confinc confmf
2970 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2971 if test "${enable_dependency_tracking+set}" = set; then
2972 enableval
="$enable_dependency_tracking"
2975 if test "x$enable_dependency_tracking" != xno
; then
2976 am_depcomp
="$ac_aux_dir/depcomp"
2981 if test "x$enable_dependency_tracking" != xno; then
2992 depcc
="$CC" am_compiler_list
=
2994 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2995 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2996 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2997 echo $ECHO_N "(cached) $ECHO_C" >&6
2999 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3000 # We make a subdir and do the tests there. Otherwise we can end up
3001 # making bogus files that we don't know about and never remove. For
3002 # instance it was reported that on HP-UX the gcc test will end up
3003 # making a dummy file named `D' -- because `-MD' means `put the output
3006 # Copy depcomp to subdir because otherwise we won't find it if we're
3007 # using a relative directory.
3008 cp "$am_depcomp" conftest.dir
3010 # We will build objects and dependencies in a subdirectory because
3011 # it helps to detect inapplicable dependency modes. For instance
3012 # both Tru64's cc and ICC support -MD to output dependencies as a
3013 # side effect of compilation, but ICC will put the dependencies in
3014 # the current directory while Tru64 will put them in the object
3018 am_cv_CC_dependencies_compiler_type
=none
3019 if test "$am_compiler_list" = ""; then
3020 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3022 for depmode
in $am_compiler_list; do
3023 # Setup a source with many dependencies, because some compilers
3024 # like to wrap large dependency lists on column 80 (with \), and
3025 # we should not choose a depcomp mode which is confused by this.
3027 # We need to recreate these files for each test, as the compiler may
3028 # overwrite some of them when testing with obscure command lines.
3029 # This happens at least with the AIX C compiler.
3031 for i
in 1 2 3 4 5 6; do
3032 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3035 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3039 # after this tag, mechanisms are not by side-effect, so they'll
3040 # only be used when explicitly requested
3041 if test "x$enable_dependency_tracking" = xyes
; then
3049 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3050 # mode. It turns out that the SunPro C++ compiler does not properly
3051 # handle `-M -o', and we need to detect this.
3052 if depmode
=$depmode \
3053 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3054 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3055 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3056 >/dev
/null
2>conftest.err
&&
3057 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3058 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3059 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3060 # icc doesn't choke on unknown options, it will just issue warnings
3061 # (even with -Werror). So we grep stderr for any message
3062 # that says an option was ignored.
3063 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3064 am_cv_CC_dependencies_compiler_type
=$depmode
3073 am_cv_CC_dependencies_compiler_type
=none
3077 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3078 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3079 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3084 test "x$enable_dependency_tracking" != xno \
3085 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3087 am__fastdepCC_FALSE
='#'
3089 am__fastdepCC_TRUE
='#'
3090 am__fastdepCC_FALSE
=
3095 ac_cpp
='$CPP $CPPFLAGS'
3096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3099 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3100 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3101 # On Suns, sometimes $CPP names a directory.
3102 if test -n "$CPP" && test -d "$CPP"; then
3105 if test -z "$CPP"; then
3106 if test "${ac_cv_prog_CPP+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 # Double quotes because CPP needs to be expanded
3110 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3113 for ac_c_preproc_warn_flag
in '' yes
3115 # Use a header file that comes with gcc, so configuring glibc
3116 # with a fresh cross-compiler works.
3117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3118 # <limits.h> exists even on freestanding compilers.
3119 # On the NeXT, cc -E runs the code through the compiler's parser,
3120 # not just through cpp. "Syntax error" is here to catch this case.
3121 cat >conftest.
$ac_ext <<_ACEOF
3124 cat confdefs.h
>>conftest.
$ac_ext
3125 cat >>conftest.
$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3128 # include <limits.h>
3130 # include <assert.h>
3134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3137 grep -v '^ *+' conftest.er1
>conftest.err
3139 cat conftest.err
>&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } >/dev
/null
; then
3142 if test -s conftest.err
; then
3143 ac_cpp_err
=$ac_c_preproc_warn_flag
3144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3151 if test -z "$ac_cpp_err"; then
3154 echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.
$ac_ext >&5
3157 # Broken: fails on valid input.
3160 rm -f conftest.err conftest.
$ac_ext
3162 # OK, works on sane cases. Now check whether non-existent headers
3163 # can be detected and how.
3164 cat >conftest.
$ac_ext <<_ACEOF
3167 cat confdefs.h
>>conftest.
$ac_ext
3168 cat >>conftest.
$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3170 #include <ac_nonexistent.h>
3172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3175 grep -v '^ *+' conftest.er1
>conftest.err
3177 cat conftest.err
>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } >/dev
/null
; then
3180 if test -s conftest.err
; then
3181 ac_cpp_err
=$ac_c_preproc_warn_flag
3182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3189 if test -z "$ac_cpp_err"; then
3190 # Broken: success on invalid input.
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.
$ac_ext >&5
3196 # Passes both tests.
3200 rm -f conftest.err conftest.
$ac_ext
3203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3204 rm -f conftest.err conftest.
$ac_ext
3205 if $ac_preproc_ok; then
3217 echo "$as_me:$LINENO: result: $CPP" >&5
3218 echo "${ECHO_T}$CPP" >&6
3220 for ac_c_preproc_warn_flag
in '' yes
3222 # Use a header file that comes with gcc, so configuring glibc
3223 # with a fresh cross-compiler works.
3224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3225 # <limits.h> exists even on freestanding compilers.
3226 # On the NeXT, cc -E runs the code through the compiler's parser,
3227 # not just through cpp. "Syntax error" is here to catch this case.
3228 cat >conftest.
$ac_ext <<_ACEOF
3231 cat confdefs.h
>>conftest.
$ac_ext
3232 cat >>conftest.
$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3235 # include <limits.h>
3237 # include <assert.h>
3241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1
>conftest.err
3246 cat conftest.err
>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } >/dev
/null
; then
3249 if test -s conftest.err
; then
3250 ac_cpp_err
=$ac_c_preproc_warn_flag
3251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3258 if test -z "$ac_cpp_err"; then
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.
$ac_ext >&5
3264 # Broken: fails on valid input.
3267 rm -f conftest.err conftest.
$ac_ext
3269 # OK, works on sane cases. Now check whether non-existent headers
3270 # can be detected and how.
3271 cat >conftest.
$ac_ext <<_ACEOF
3274 cat confdefs.h
>>conftest.
$ac_ext
3275 cat >>conftest.
$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3277 #include <ac_nonexistent.h>
3279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3280 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3282 grep -v '^ *+' conftest.er1
>conftest.err
3284 cat conftest.err
>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } >/dev
/null
; then
3287 if test -s conftest.err
; then
3288 ac_cpp_err
=$ac_c_preproc_warn_flag
3289 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3296 if test -z "$ac_cpp_err"; then
3297 # Broken: success on invalid input.
3300 echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.
$ac_ext >&5
3303 # Passes both tests.
3307 rm -f conftest.err conftest.
$ac_ext
3310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3311 rm -f conftest.err conftest.
$ac_ext
3312 if $ac_preproc_ok; then
3315 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3316 See \`config.log' for more details." >&5
3317 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3318 See \`config.log' for more details." >&2;}
3319 { (exit 1); exit 1; }; }
3323 ac_cpp
='$CPP $CPPFLAGS'
3324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3328 # Find a good install program. We prefer a C program (faster),
3329 # so one script is as good as another. But avoid the broken or
3330 # incompatible versions:
3331 # SysV /etc/install, /usr/sbin/install
3332 # SunOS /usr/etc/install
3333 # IRIX /sbin/install
3335 # AmigaOS /C/install, which installs bootblocks on floppy discs
3336 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3337 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3338 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3339 # OS/2's system install, which has a completely different semantic
3340 # ./install, which can be erroneously created by make from ./install.sh.
3341 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3342 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3343 if test -z "$INSTALL"; then
3344 if test "${ac_cv_path_install+set}" = set; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 # Account for people who put trailing slashes in PATH elements.
3354 .
/ | .
// |
/cC
/* | \
3355 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3356 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3359 # OSF1 and SCO ODT 3.0 have their own names for install.
3360 # Don't use installbsd from OSF since it installs stuff as root
3362 for ac_prog
in ginstall scoinst
install; do
3363 for ac_exec_ext
in '' $ac_executable_extensions; do
3364 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3365 if test $ac_prog = install &&
3366 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3367 # AIX install. It has an incompatible calling convention.
3369 elif test $ac_prog = install &&
3370 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3371 # program-specific install script used by HP pwplus--don't use.
3374 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3386 if test "${ac_cv_path_install+set}" = set; then
3387 INSTALL
=$ac_cv_path_install
3389 # As a last resort, use the slow shell script. We don't cache a
3390 # path for INSTALL within a source directory, because that will
3391 # break other packages using the cache if that directory is
3392 # removed, or if the path is relative.
3393 INSTALL
=$ac_install_sh
3396 echo "$as_me:$LINENO: result: $INSTALL" >&5
3397 echo "${ECHO_T}$INSTALL" >&6
3399 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3400 # It thinks the first close brace ends the variable substitution.
3401 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3403 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3405 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3407 if test -n "$ac_tool_prefix"; then
3408 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3409 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3410 echo "$as_me:$LINENO: checking for $ac_word" >&5
3411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3412 if test "${ac_cv_prog_RANLIB+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 if test -n "$RANLIB"; then
3416 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3422 test -z "$as_dir" && as_dir
=.
3423 for ac_exec_ext
in '' $ac_executable_extensions; do
3424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3425 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 RANLIB
=$ac_cv_prog_RANLIB
3435 if test -n "$RANLIB"; then
3436 echo "$as_me:$LINENO: result: $RANLIB" >&5
3437 echo "${ECHO_T}$RANLIB" >&6
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3444 if test -z "$ac_cv_prog_RANLIB"; then
3445 ac_ct_RANLIB
=$RANLIB
3446 # Extract the first word of "ranlib", so it can be a program name with args.
3447 set dummy ranlib
; ac_word
=$2
3448 echo "$as_me:$LINENO: checking for $ac_word" >&5
3449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3450 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 if test -n "$ac_ct_RANLIB"; then
3454 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3460 test -z "$as_dir" && as_dir
=.
3461 for ac_exec_ext
in '' $ac_executable_extensions; do
3462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3463 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3473 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3474 if test -n "$ac_ct_RANLIB"; then
3475 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3476 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3482 RANLIB
=$ac_ct_RANLIB
3484 RANLIB
="$ac_cv_prog_RANLIB"
3487 # Check whether --enable-shared or --disable-shared was given.
3488 if test "${enable_shared+set}" = set; then
3489 enableval
="$enable_shared"
3490 p
=${PACKAGE-default}
3492 yes) enable_shared
=yes ;;
3493 no
) enable_shared
=no
;;
3496 # Look at the argument we got. We use all the common list separators.
3497 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3498 for pkg
in $enableval; do
3500 if test "X$pkg" = "X$p"; then
3511 # Check whether --enable-static or --disable-static was given.
3512 if test "${enable_static+set}" = set; then
3513 enableval
="$enable_static"
3514 p
=${PACKAGE-default}
3516 yes) enable_static
=yes ;;
3517 no
) enable_static
=no
;;
3520 # Look at the argument we got. We use all the common list separators.
3521 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3522 for pkg
in $enableval; do
3524 if test "X$pkg" = "X$p"; then
3535 # Check whether --enable-fast-install or --disable-fast-install was given.
3536 if test "${enable_fast_install+set}" = set; then
3537 enableval
="$enable_fast_install"
3538 p
=${PACKAGE-default}
3540 yes) enable_fast_install
=yes ;;
3541 no
) enable_fast_install
=no
;;
3543 enable_fast_install
=no
3544 # Look at the argument we got. We use all the common list separators.
3545 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3546 for pkg
in $enableval; do
3548 if test "X$pkg" = "X$p"; then
3549 enable_fast_install
=yes
3556 enable_fast_install
=yes
3559 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3560 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3561 if test "${lt_cv_path_SED+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 # Loop through the user's path and test for sed and gsed.
3565 # Then use that list of sed's as ones to test for truncation.
3566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir
=.
3571 for lt_ac_prog
in sed gsed
; do
3572 for ac_exec_ext
in '' $ac_executable_extensions; do
3573 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3574 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3581 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3582 # along with /bin/sed that truncates output.
3583 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3584 test ! -f $lt_ac_sed && continue
3585 cat /dev
/null
> conftest.
in
3587 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3588 # Check for GNU sed and select it if it is found.
3589 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3590 lt_cv_path_SED
=$lt_ac_sed
3594 cat conftest.
in conftest.
in >conftest.tmp
3595 mv conftest.tmp conftest.
in
3596 cp conftest.
in conftest.
nl
3598 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3599 cmp -s conftest.out conftest.
nl ||
break
3600 # 10000 chars as input seems more than enough
3601 test $lt_ac_count -gt 10 && break
3602 lt_ac_count
=`expr $lt_ac_count + 1`
3603 if test $lt_ac_count -gt $lt_ac_max; then
3604 lt_ac_max
=$lt_ac_count
3605 lt_cv_path_SED
=$lt_ac_sed
3613 echo "$as_me:$LINENO: result: $SED" >&5
3614 echo "${ECHO_T}$SED" >&6
3616 echo "$as_me:$LINENO: checking for egrep" >&5
3617 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3618 if test "${ac_cv_prog_egrep+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3622 then ac_cv_prog_egrep
='grep -E'
3623 else ac_cv_prog_egrep
='egrep'
3626 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3627 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3628 EGREP
=$ac_cv_prog_egrep
3632 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3633 if test "${with_gnu_ld+set}" = set; then
3634 withval
="$with_gnu_ld"
3635 test "$withval" = no || with_gnu_ld
=yes
3640 if test "$GCC" = yes; then
3641 # Check if gcc -print-prog-name=ld gives a path.
3642 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3643 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3646 # gcc leaves a trailing carriage return which upsets mingw
3647 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3649 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3652 # Accept absolute paths.
3654 re_direlt
='/[^/][^/]*/\.\./'
3655 # Canonicalize the pathname of ld
3656 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3657 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3658 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3660 test -z "$LD" && LD
="$ac_prog"
3663 # If it fails, then pretend we aren't using GCC.
3667 # If it is relative, then search for the first ld in PATH.
3671 elif test "$with_gnu_ld" = yes; then
3672 echo "$as_me:$LINENO: checking for GNU ld" >&5
3673 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3675 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3676 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3678 if test "${lt_cv_path_LD+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 if test -z "$LD"; then
3682 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3683 for ac_dir
in $PATH; do
3685 test -z "$ac_dir" && ac_dir
=.
3686 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3687 lt_cv_path_LD
="$ac_dir/$ac_prog"
3688 # Check to see if the program is GNU ld. I'd rather use --version,
3689 # but apparently some variants of GNU ld only accept -v.
3690 # Break only if it was the GNU/non-GNU ld that we prefer.
3691 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3692 *GNU
* |
*'with BFD'*)
3693 test "$with_gnu_ld" != no
&& break
3696 test "$with_gnu_ld" != yes && break
3703 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3708 if test -n "$LD"; then
3709 echo "$as_me:$LINENO: result: $LD" >&5
3710 echo "${ECHO_T}$LD" >&6
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3715 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3716 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3717 { (exit 1); exit 1; }; }
3718 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3719 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3720 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3724 case `$LD -v 2>&1 </dev/null` in
3725 *GNU
* |
*'with BFD'*)
3726 lt_cv_prog_gnu_ld
=yes
3729 lt_cv_prog_gnu_ld
=no
3733 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3734 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3735 with_gnu_ld
=$lt_cv_prog_gnu_ld
3738 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3739 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3740 if test "${lt_cv_ld_reload_flag+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 lt_cv_ld_reload_flag
='-r'
3745 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3746 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3747 reload_flag
=$lt_cv_ld_reload_flag
3748 case $reload_flag in
3750 *) reload_flag
=" $reload_flag" ;;
3752 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3755 if test "$GCC" = yes; then
3756 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3758 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3763 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3764 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3765 if test "${lt_cv_path_NM+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 if test -n "$NM"; then
3769 # Let the user override the test.
3772 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3773 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3775 test -z "$ac_dir" && ac_dir
=.
3776 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3777 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3778 # Check to see if the nm accepts a BSD-compat flag.
3779 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3780 # nm: unknown option "B" ignored
3781 # Tru64's nm complains that /dev/null is an invalid object file
3782 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3783 */dev
/null
* |
*'Invalid file or object type'*)
3784 lt_cv_path_NM
="$tmp_nm -B"
3788 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3790 lt_cv_path_NM
="$tmp_nm -p"
3794 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3795 continue # so that we can try to find one that supports BSD flags
3802 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3805 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3806 echo "${ECHO_T}$lt_cv_path_NM" >&6
3809 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3810 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3812 if test "$LN_S" = "ln -s"; then
3813 echo "$as_me:$LINENO: result: yes" >&5
3814 echo "${ECHO_T}yes" >&6
3816 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3817 echo "${ECHO_T}no, using $LN_S" >&6
3820 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3821 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3822 if test "${lt_cv_deplibs_check_method+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3826 lt_cv_file_magic_test_file
=
3827 lt_cv_deplibs_check_method
='unknown'
3828 # Need to set the preceding variable on all platforms that support
3829 # interlibrary dependencies.
3830 # 'none' -- dependencies not supported.
3831 # `unknown' -- same as none, but documents that we really don't know.
3832 # 'pass_all' -- all dependencies passed with no checks.
3833 # 'test_compile' -- check by making test program.
3834 # 'file_magic [[regex]]' -- check by looking for files in library path
3835 # which responds to the $file_magic_cmd with a given extended regex.
3836 # If you have `file' or equivalent on your system and you're not sure
3837 # whether `pass_all' will *always* work, you probably want this one.
3841 lt_cv_deplibs_check_method
=pass_all
3845 lt_cv_deplibs_check_method
=pass_all
3849 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3850 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3851 lt_cv_file_magic_test_file
=/shlib
/libc.so
3855 # func_win32_libid is a shell function defined in ltmain.sh
3856 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3857 lt_cv_file_magic_cmd
='func_win32_libid'
3861 # Base MSYS/MinGW do not provide the 'file' command needed by
3862 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3863 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3864 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3867 darwin
* | rhapsody
*)
3868 lt_cv_deplibs_check_method
=pass_all
3871 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
3872 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3875 # Not sure whether the presence of OpenBSD here was a mistake.
3876 # Let's accept both of them until this is cleared up.
3877 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3878 lt_cv_file_magic_cmd
=/usr
/bin
/file
3879 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3883 lt_cv_deplibs_check_method
=pass_all
3888 lt_cv_deplibs_check_method
=pass_all
3891 hpux10.20
* | hpux11
*)
3892 lt_cv_file_magic_cmd
=/usr
/bin
/file
3895 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3896 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3899 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]'
3900 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3903 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3904 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3909 irix5
* | irix6
* | nonstopux
*)
3911 *-32|
*"-32 ") libmagic
=32-bit;;
3912 *-n32|
*"-n32 ") libmagic
=N32
;;
3913 *-64|
*"-64 ") libmagic
=64-bit;;
3914 *) libmagic
=never-match
;;
3916 lt_cv_deplibs_check_method
=pass_all
3919 # This must be Linux ELF.
3921 lt_cv_deplibs_check_method
=pass_all
3925 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3926 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3928 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3933 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3934 lt_cv_file_magic_cmd
=/usr
/bin
/file
3935 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3939 lt_cv_deplibs_check_method
=unknown
3943 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3944 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3946 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3950 osf3
* | osf4
* | osf5
*)
3951 lt_cv_deplibs_check_method
=pass_all
3955 lt_cv_deplibs_check_method
=pass_all
3959 lt_cv_deplibs_check_method
=pass_all
3962 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3963 case $host_vendor in
3965 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]'
3966 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3969 lt_cv_deplibs_check_method
=pass_all
3972 lt_cv_file_magic_cmd
='/bin/file'
3973 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3976 lt_cv_file_magic_cmd
='/bin/file'
3977 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3978 lt_cv_file_magic_test_file
=/lib
/libc.so
3981 lt_cv_deplibs_check_method
=pass_all
3986 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3987 lt_cv_deplibs_check_method
=pass_all
3992 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3993 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3994 file_magic_cmd
=$lt_cv_file_magic_cmd
3995 deplibs_check_method
=$lt_cv_deplibs_check_method
3996 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4001 # If no C compiler was specified, use CC.
4004 # Allow CC to be a program name with arguments.
4008 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4009 if test "${enable_libtool_lock+set}" = set; then
4010 enableval
="$enable_libtool_lock"
4013 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4015 # Some flags need to be propagated to the compiler or linker for good
4019 # Find out which ABI we are using.
4020 echo 'int i;' > conftest.
$ac_ext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4022 (eval $ac_compile) 2>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; then
4026 case `/usr/bin/file conftest.$ac_objext` in
4038 # Find out which ABI we are using.
4039 echo '#line 4039 "configure"' > conftest.
$ac_ext
4040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4041 (eval $ac_compile) 2>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; then
4045 if test "$lt_cv_prog_gnu_ld" = yes; then
4046 case `/usr/bin/file conftest.$ac_objext` in
4048 LD
="${LD-ld} -melf32bsmip"
4051 LD
="${LD-ld} -melf32bmipn32"
4054 LD
="${LD-ld} -melf64bmip"
4058 case `/usr/bin/file conftest.$ac_objext` in
4074 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4075 # Find out which ABI we are using.
4076 echo 'int i;' > conftest.
$ac_ext
4077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4078 (eval $ac_compile) 2>&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; then
4082 case `/usr/bin/file conftest.o` in
4086 LD
="${LD-ld} -m elf_i386"
4088 ppc64-
*linux
*|powerpc64-
*linux
*)
4089 LD
="${LD-ld} -m elf32ppclinux"
4092 LD
="${LD-ld} -m elf_s390"
4095 LD
="${LD-ld} -m elf32_sparc"
4102 LD
="${LD-ld} -m elf_x86_64"
4104 ppc
*-*linux
*|powerpc
*-*linux
*)
4105 LD
="${LD-ld} -m elf64ppc"
4108 LD
="${LD-ld} -m elf64_s390"
4111 LD
="${LD-ld} -m elf64_sparc"
4121 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4122 SAVE_CFLAGS
="$CFLAGS"
4123 CFLAGS
="$CFLAGS -belf"
4124 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4125 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4126 if test "${lt_cv_cc_needs_belf+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 ac_cpp
='$CPP $CPPFLAGS'
4131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4135 cat >conftest.
$ac_ext <<_ACEOF
4138 cat confdefs.h
>>conftest.
$ac_ext
4139 cat >>conftest.
$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4150 rm -f conftest.
$ac_objext conftest
$ac_exeext
4151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4152 (eval $ac_link) 2>conftest.er1
4154 grep -v '^ *+' conftest.er1
>conftest.err
4156 cat conftest.err
>&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try
='test -s conftest$ac_exeext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 lt_cv_cc_needs_belf
=yes
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4176 lt_cv_cc_needs_belf
=no
4178 rm -f conftest.err conftest.
$ac_objext \
4179 conftest
$ac_exeext conftest.
$ac_ext
4181 ac_cpp
='$CPP $CPPFLAGS'
4182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4187 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4188 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4189 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4190 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4191 CFLAGS
="$SAVE_CFLAGS"
4197 need_locks
="$enable_libtool_lock"
4201 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4202 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4203 if test "${ac_cv_header_stdc+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 cat confdefs.h
>>conftest.
$ac_ext
4210 cat >>conftest.
$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4225 rm -f conftest.
$ac_objext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4227 (eval $ac_compile) 2>conftest.er1
4229 grep -v '^ *+' conftest.er1
>conftest.err
4231 cat conftest.err
>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; } &&
4240 { ac_try
='test -s conftest.$ac_objext'
4241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); }; }; then
4246 ac_cv_header_stdc
=yes
4248 echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.
$ac_ext >&5
4251 ac_cv_header_stdc
=no
4253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4255 if test $ac_cv_header_stdc = yes; then
4256 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4257 cat >conftest.
$ac_ext <<_ACEOF
4260 cat confdefs.h
>>conftest.
$ac_ext
4261 cat >>conftest.
$ac_ext <<_ACEOF
4262 /* end confdefs.h. */
4266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4267 $EGREP "memchr" >/dev
/null
2>&1; then
4270 ac_cv_header_stdc
=no
4276 if test $ac_cv_header_stdc = yes; then
4277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4278 cat >conftest.
$ac_ext <<_ACEOF
4281 cat confdefs.h
>>conftest.
$ac_ext
4282 cat >>conftest.
$ac_ext <<_ACEOF
4283 /* end confdefs.h. */
4287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4288 $EGREP "free" >/dev
/null
2>&1; then
4291 ac_cv_header_stdc
=no
4297 if test $ac_cv_header_stdc = yes; then
4298 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4299 if test "$cross_compiling" = yes; then
4302 cat >conftest.
$ac_ext <<_ACEOF
4305 cat confdefs.h
>>conftest.
$ac_ext
4306 cat >>conftest.
$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4309 #if ((' ' & 0x0FF) == 0x020)
4310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4313 # define ISLOWER(c) \
4314 (('a' <= (c) && (c) <= 'i') \
4315 || ('j' <= (c) && (c) <= 'r') \
4316 || ('s' <= (c) && (c) <= 'z'))
4317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4325 for (i = 0; i < 256; i++)
4326 if (XOR (islower (i), ISLOWER (i))
4327 || toupper (i) != TOUPPER (i))
4332 rm -f conftest
$ac_exeext
4333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4334 (eval $ac_link) 2>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; }; then
4345 echo "$as_me: program exited with status $ac_status" >&5
4346 echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.
$ac_ext >&5
4350 ac_cv_header_stdc
=no
4352 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4356 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4357 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4358 if test $ac_cv_header_stdc = yes; then
4360 cat >>confdefs.h
<<\_ACEOF
4361 #define STDC_HEADERS 1
4366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4376 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4377 inttypes.h stdint.h unistd.h
4379 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4380 echo "$as_me:$LINENO: checking for $ac_header" >&5
4381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 cat >conftest.
$ac_ext <<_ACEOF
4388 cat confdefs.h
>>conftest.
$ac_ext
4389 cat >>conftest.
$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4391 $ac_includes_default
4393 #include <$ac_header>
4395 rm -f conftest.
$ac_objext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>conftest.er1
4399 grep -v '^ *+' conftest.er1
>conftest.err
4401 cat conftest.err
>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } &&
4404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; } &&
4410 { ac_try
='test -s conftest.$ac_objext'
4411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); }; }; then
4416 eval "$as_ac_Header=yes"
4418 echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.
$ac_ext >&5
4421 eval "$as_ac_Header=no"
4423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4428 cat >>confdefs.h
<<_ACEOF
4429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4438 for ac_header
in dlfcn.h
4440 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4442 echo "$as_me:$LINENO: checking for $ac_header" >&5
4443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4450 # Is the header compilable?
4451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4453 cat >conftest.
$ac_ext <<_ACEOF
4456 cat confdefs.h
>>conftest.
$ac_ext
4457 cat >>conftest.
$ac_ext <<_ACEOF
4458 /* end confdefs.h. */
4459 $ac_includes_default
4460 #include <$ac_header>
4462 rm -f conftest.
$ac_objext
4463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4464 (eval $ac_compile) 2>conftest.er1
4466 grep -v '^ *+' conftest.er1
>conftest.err
4468 cat conftest.err
>&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); } &&
4471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; } &&
4477 { ac_try
='test -s conftest.$ac_objext'
4478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }; }; then
4483 ac_header_compiler
=yes
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4488 ac_header_compiler
=no
4490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4492 echo "${ECHO_T}$ac_header_compiler" >&6
4494 # Is the header present?
4495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4497 cat >conftest.
$ac_ext <<_ACEOF
4500 cat confdefs.h
>>conftest.
$ac_ext
4501 cat >>conftest.
$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4503 #include <$ac_header>
4505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4508 grep -v '^ *+' conftest.er1
>conftest.err
4510 cat conftest.err
>&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); } >/dev
/null
; then
4513 if test -s conftest.err
; then
4514 ac_cpp_err
=$ac_c_preproc_warn_flag
4515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4522 if test -z "$ac_cpp_err"; then
4523 ac_header_preproc
=yes
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.
$ac_ext >&5
4528 ac_header_preproc
=no
4530 rm -f conftest.err conftest.
$ac_ext
4531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4532 echo "${ECHO_T}$ac_header_preproc" >&6
4534 # So? What about this header?
4535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4541 ac_header_preproc
=yes
4544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4558 ## ------------------------------------------ ##
4559 ## Report this to the AC_PACKAGE_NAME lists. ##
4560 ## ------------------------------------------ ##
4563 sed "s/^/$as_me: WARNING: /" >&2
4566 echo "$as_me:$LINENO: checking for $ac_header" >&5
4567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 eval "$as_ac_Header=\$ac_header_preproc"
4573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4578 cat >>confdefs.h
<<_ACEOF
4579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4587 ac_cpp
='$CXXCPP $CPPFLAGS'
4588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4591 if test -n "$ac_tool_prefix"; then
4592 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4595 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4596 echo "$as_me:$LINENO: checking for $ac_word" >&5
4597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4598 if test "${ac_cv_prog_CXX+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$CXX"; then
4602 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test -n "$CXX"; then
4622 echo "$as_me:$LINENO: result: $CXX" >&5
4623 echo "${ECHO_T}$CXX" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4629 test -n "$CXX" && break
4632 if test -z "$CXX"; then
4634 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4636 # Extract the first word of "$ac_prog", so it can be a program name with args.
4637 set dummy
$ac_prog; ac_word
=$2
4638 echo "$as_me:$LINENO: checking for $ac_word" >&5
4639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4640 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test -n "$ac_ct_CXX"; then
4644 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4663 if test -n "$ac_ct_CXX"; then
4664 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4665 echo "${ECHO_T}$ac_ct_CXX" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4671 test -n "$ac_ct_CXX" && break
4673 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4679 # Provide some information about the compiler.
4680 echo "$as_me:$LINENO:" \
4681 "checking for C++ compiler version" >&5
4682 ac_compiler
=`set X $ac_compile; echo $2`
4683 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4684 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }
4688 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4689 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }
4693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4694 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }
4699 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4700 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4701 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 cat >conftest.
$ac_ext <<_ACEOF
4707 cat confdefs.h
>>conftest.
$ac_ext
4708 cat >>conftest.
$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4722 rm -f conftest.
$ac_objext
4723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4724 (eval $ac_compile) 2>conftest.er1
4726 grep -v '^ *+' conftest.er1
>conftest.err
4728 cat conftest.err
>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; } &&
4737 { ac_try
='test -s conftest.$ac_objext'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.
$ac_ext >&5
4750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4751 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4754 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4755 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4756 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4757 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4758 ac_save_CXXFLAGS
=$CXXFLAGS
4760 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4761 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4762 if test "${ac_cv_prog_cxx_g+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4780 rm -f conftest.
$ac_objext
4781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4782 (eval $ac_compile) 2>conftest.er1
4784 grep -v '^ *+' conftest.er1
>conftest.err
4786 cat conftest.err
>&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); } &&
4789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; } &&
4795 { ac_try
='test -s conftest.$ac_objext'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then
4801 ac_cv_prog_cxx_g
=yes
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.
$ac_ext >&5
4808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4811 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4812 if test "$ac_test_CXXFLAGS" = set; then
4813 CXXFLAGS
=$ac_save_CXXFLAGS
4814 elif test $ac_cv_prog_cxx_g = yes; then
4815 if test "$GXX" = yes; then
4821 if test "$GXX" = yes; then
4827 for ac_declaration
in \
4829 'extern "C" void std::exit (int) throw (); using std::exit;' \
4830 'extern "C" void std::exit (int); using std::exit;' \
4831 'extern "C" void exit (int) throw ();' \
4832 'extern "C" void exit (int);' \
4835 cat >conftest.
$ac_ext <<_ACEOF
4838 cat confdefs.h
>>conftest.
$ac_ext
4839 cat >>conftest.
$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4851 rm -f conftest.
$ac_objext
4852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4853 (eval $ac_compile) 2>conftest.er1
4855 grep -v '^ *+' conftest.er1
>conftest.err
4857 cat conftest.err
>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } &&
4860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; } &&
4866 { ac_try
='test -s conftest.$ac_objext'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; }; then
4874 echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.
$ac_ext >&5
4879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4880 cat >conftest.
$ac_ext <<_ACEOF
4883 cat confdefs.h
>>conftest.
$ac_ext
4884 cat >>conftest.
$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4895 rm -f conftest.
$ac_objext
4896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4897 (eval $ac_compile) 2>conftest.er1
4899 grep -v '^ *+' conftest.er1
>conftest.err
4901 cat conftest.err
>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } &&
4904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; } &&
4910 { ac_try
='test -s conftest.$ac_objext'
4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; }; then
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4925 if test -n "$ac_declaration"; then
4926 echo '#ifdef __cplusplus' >>confdefs.h
4927 echo $ac_declaration >>confdefs.h
4928 echo '#endif' >>confdefs.h
4932 ac_cpp
='$CXXCPP $CPPFLAGS'
4933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4937 depcc
="$CXX" am_compiler_list
=
4939 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4940 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4941 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4945 # We make a subdir and do the tests there. Otherwise we can end up
4946 # making bogus files that we don't know about and never remove. For
4947 # instance it was reported that on HP-UX the gcc test will end up
4948 # making a dummy file named `D' -- because `-MD' means `put the output
4951 # Copy depcomp to subdir because otherwise we won't find it if we're
4952 # using a relative directory.
4953 cp "$am_depcomp" conftest.dir
4955 # We will build objects and dependencies in a subdirectory because
4956 # it helps to detect inapplicable dependency modes. For instance
4957 # both Tru64's cc and ICC support -MD to output dependencies as a
4958 # side effect of compilation, but ICC will put the dependencies in
4959 # the current directory while Tru64 will put them in the object
4963 am_cv_CXX_dependencies_compiler_type
=none
4964 if test "$am_compiler_list" = ""; then
4965 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4967 for depmode
in $am_compiler_list; do
4968 # Setup a source with many dependencies, because some compilers
4969 # like to wrap large dependency lists on column 80 (with \), and
4970 # we should not choose a depcomp mode which is confused by this.
4972 # We need to recreate these files for each test, as the compiler may
4973 # overwrite some of them when testing with obscure command lines.
4974 # This happens at least with the AIX C compiler.
4976 for i
in 1 2 3 4 5 6; do
4977 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4980 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4984 # after this tag, mechanisms are not by side-effect, so they'll
4985 # only be used when explicitly requested
4986 if test "x$enable_dependency_tracking" = xyes
; then
4994 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4995 # mode. It turns out that the SunPro C++ compiler does not properly
4996 # handle `-M -o', and we need to detect this.
4997 if depmode
=$depmode \
4998 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4999 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5000 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5001 >/dev
/null
2>conftest.err
&&
5002 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5003 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5004 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5005 # icc doesn't choke on unknown options, it will just issue warnings
5006 # (even with -Werror). So we grep stderr for any message
5007 # that says an option was ignored.
5008 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5009 am_cv_CXX_dependencies_compiler_type
=$depmode
5018 am_cv_CXX_dependencies_compiler_type
=none
5022 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5023 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5024 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5029 test "x$enable_dependency_tracking" != xno \
5030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5031 am__fastdepCXX_TRUE
=
5032 am__fastdepCXX_FALSE
='#'
5034 am__fastdepCXX_TRUE
='#'
5035 am__fastdepCXX_FALSE
=
5041 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5042 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5043 (test "X$CXX" != "Xg++"))) ; then
5045 ac_cpp
='$CXXCPP $CPPFLAGS'
5046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5049 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5050 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5051 if test -z "$CXXCPP"; then
5052 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 # Double quotes because CXXCPP needs to be expanded
5056 for CXXCPP
in "$CXX -E" "/lib/cpp"
5059 for ac_cxx_preproc_warn_flag
in '' yes
5061 # Use a header file that comes with gcc, so configuring glibc
5062 # with a fresh cross-compiler works.
5063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5064 # <limits.h> exists even on freestanding compilers.
5065 # On the NeXT, cc -E runs the code through the compiler's parser,
5066 # not just through cpp. "Syntax error" is here to catch this case.
5067 cat >conftest.
$ac_ext <<_ACEOF
5070 cat confdefs.h
>>conftest.
$ac_ext
5071 cat >>conftest.
$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 # include <limits.h>
5076 # include <assert.h>
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5083 grep -v '^ *+' conftest.er1
>conftest.err
5085 cat conftest.err
>&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } >/dev
/null
; then
5088 if test -s conftest.err
; then
5089 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5090 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5097 if test -z "$ac_cpp_err"; then
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5103 # Broken: fails on valid input.
5106 rm -f conftest.err conftest.
$ac_ext
5108 # OK, works on sane cases. Now check whether non-existent headers
5109 # can be detected and how.
5110 cat >conftest.
$ac_ext <<_ACEOF
5113 cat confdefs.h
>>conftest.
$ac_ext
5114 cat >>conftest.
$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #include <ac_nonexistent.h>
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5121 grep -v '^ *+' conftest.er1
>conftest.err
5123 cat conftest.err
>&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev
/null
; then
5126 if test -s conftest.err
; then
5127 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5128 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5135 if test -z "$ac_cpp_err"; then
5136 # Broken: success on invalid input.
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.
$ac_ext >&5
5142 # Passes both tests.
5146 rm -f conftest.err conftest.
$ac_ext
5149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5150 rm -f conftest.err conftest.
$ac_ext
5151 if $ac_preproc_ok; then
5156 ac_cv_prog_CXXCPP
=$CXXCPP
5159 CXXCPP
=$ac_cv_prog_CXXCPP
5161 ac_cv_prog_CXXCPP
=$CXXCPP
5163 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5164 echo "${ECHO_T}$CXXCPP" >&6
5166 for ac_cxx_preproc_warn_flag
in '' yes
5168 # Use a header file that comes with gcc, so configuring glibc
5169 # with a fresh cross-compiler works.
5170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171 # <limits.h> exists even on freestanding compilers.
5172 # On the NeXT, cc -E runs the code through the compiler's parser,
5173 # not just through cpp. "Syntax error" is here to catch this case.
5174 cat >conftest.
$ac_ext <<_ACEOF
5177 cat confdefs.h
>>conftest.
$ac_ext
5178 cat >>conftest.
$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5181 # include <limits.h>
5183 # include <assert.h>
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5190 grep -v '^ *+' conftest.er1
>conftest.err
5192 cat conftest.err
>&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev
/null
; then
5195 if test -s conftest.err
; then
5196 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5197 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5204 if test -z "$ac_cpp_err"; then
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 # Broken: fails on valid input.
5213 rm -f conftest.err conftest.
$ac_ext
5215 # OK, works on sane cases. Now check whether non-existent headers
5216 # can be detected and how.
5217 cat >conftest.
$ac_ext <<_ACEOF
5220 cat confdefs.h
>>conftest.
$ac_ext
5221 cat >>conftest.
$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 #include <ac_nonexistent.h>
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5228 grep -v '^ *+' conftest.er1
>conftest.err
5230 cat conftest.err
>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } >/dev
/null
; then
5233 if test -s conftest.err
; then
5234 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5235 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5242 if test -z "$ac_cpp_err"; then
5243 # Broken: success on invalid input.
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.
$ac_ext >&5
5249 # Passes both tests.
5253 rm -f conftest.err conftest.
$ac_ext
5256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5257 rm -f conftest.err conftest.
$ac_ext
5258 if $ac_preproc_ok; then
5261 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5262 See \`config.log' for more details." >&5
5263 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5264 See \`config.log' for more details." >&2;}
5265 { (exit 1); exit 1; }; }
5269 ac_cpp
='$CXXCPP $CPPFLAGS'
5270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5278 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5279 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5280 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5281 if test -n "$ac_tool_prefix"; then
5282 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5285 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5286 echo "$as_me:$LINENO: checking for $ac_word" >&5
5287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5288 if test "${ac_cv_prog_F77+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 if test -n "$F77"; then
5292 ac_cv_prog_F77
="$F77" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5301 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 if test -n "$F77"; then
5312 echo "$as_me:$LINENO: result: $F77" >&5
5313 echo "${ECHO_T}$F77" >&6
5315 echo "$as_me:$LINENO: result: no" >&5
5316 echo "${ECHO_T}no" >&6
5319 test -n "$F77" && break
5322 if test -z "$F77"; then
5324 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5326 # Extract the first word of "$ac_prog", so it can be a program name with args.
5327 set dummy
$ac_prog; ac_word
=$2
5328 echo "$as_me:$LINENO: checking for $ac_word" >&5
5329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5330 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5331 echo $ECHO_N "(cached) $ECHO_C" >&6
5333 if test -n "$ac_ct_F77"; then
5334 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_ac_ct_F77
="$ac_prog"
5344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5353 if test -n "$ac_ct_F77"; then
5354 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5355 echo "${ECHO_T}$ac_ct_F77" >&6
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5361 test -n "$ac_ct_F77" && break
5368 # Provide some information about the compiler.
5369 echo "$as_me:5369:" \
5370 "checking for Fortran 77 compiler version" >&5
5371 ac_compiler
=`set X $ac_compile; echo $2`
5372 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5373 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }
5377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5378 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }
5382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5383 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); }
5389 # If we don't use `.F' as extension, the preprocessor is not run on the
5390 # input file. (Note that this only needs to work for GNU compilers.)
5393 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5394 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5395 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 cat >conftest.
$ac_ext <<_ACEOF
5406 rm -f conftest.
$ac_objext
5407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5408 (eval $ac_compile) 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } &&
5415 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; } &&
5421 { ac_try
='test -s conftest.$ac_objext'
5422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); }; }; then
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.
$ac_ext >&5
5434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5435 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5438 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5439 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5441 ac_test_FFLAGS
=${FFLAGS+set}
5442 ac_save_FFLAGS
=$FFLAGS
5444 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5445 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5446 if test "${ac_cv_prog_f77_g+set}" = set; then
5447 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 cat >conftest.
$ac_ext <<_ACEOF
5455 rm -f conftest.
$ac_objext
5456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5457 (eval $ac_compile) 2>conftest.er1
5459 grep -v '^ *+' conftest.er1
>conftest.err
5461 cat conftest.err
>&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); } &&
5464 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); }; } &&
5470 { ac_try
='test -s conftest.$ac_objext'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; }; then
5476 ac_cv_prog_f77_g
=yes
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5487 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5488 if test "$ac_test_FFLAGS" = set; then
5489 FFLAGS
=$ac_save_FFLAGS
5490 elif test $ac_cv_prog_f77_g = yes; then
5491 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5497 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5504 G77
=`test $ac_compiler_gnu = yes && echo yes`
5506 ac_cpp
='$CPP $CPPFLAGS'
5507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5513 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5515 # find the maximum length of command line arguments
5516 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5517 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5518 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 # On DJGPP, this test can blow up pretty badly due to problems in libc
5527 # (any single argument exceeding 2000 bytes causes a buffer overrun
5528 # during glob expansion). Even if it were fixed, the result of this
5529 # check would be larger than it should be.
5530 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5534 # Under GNU Hurd, this test is not required because there is
5535 # no limit to the length of command line arguments.
5536 # Libtool will interpret -1 as no limit whatsoever
5537 lt_cv_sys_max_cmd_len
=-1;
5541 # On Win9x/ME, this test blows up -- it succeeds, but takes
5542 # about 5 minutes as the teststring grows exponentially.
5543 # Worse, since 9x/ME are not pre-emptively multitasking,
5544 # you end up with a "frozen" computer, even though with patience
5545 # the test eventually succeeds (with a max line length of 256k).
5546 # Instead, let's just punt: use the minimum linelength reported by
5547 # all of the supported platforms: 8192 (on NT/2K/XP).
5548 lt_cv_sys_max_cmd_len
=8192;
5552 # On AmigaOS with pdksh, this test takes hours, literally.
5553 # So we just punt and use a minimum line length of 8192.
5554 lt_cv_sys_max_cmd_len
=8192;
5557 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5558 # This has been around since 386BSD, at least. Likely further.
5559 if test -x /sbin
/sysctl
; then
5560 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5561 elif test -x /usr
/sbin
/sysctl
; then
5562 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5564 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5566 # And add a safety zone
5567 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5568 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5571 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5572 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5573 # nice to cause kernel panics so lets avoid the loop below.
5574 # First set a reasonable default.
5575 lt_cv_sys_max_cmd_len
=16384
5577 if test -x /sbin
/sysconfig
; then
5578 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5579 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5584 # If test is not a shell built-in, we'll probably end up computing a
5585 # maximum length that is only half of the actual maximum length, but
5587 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5588 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5589 = "XX$teststring") >/dev
/null
2>&1 &&
5590 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5591 lt_cv_sys_max_cmd_len
=$new_result &&
5592 test $i != 17 # 1/2 MB should be enough
5595 teststring
=$teststring$teststring
5598 # Add a significant safety factor because C++ compilers can tack on massive
5599 # amounts of additional arguments before passing them to the linker.
5600 # It appears as though 1/2 is a usable value.
5601 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5607 if test -n $lt_cv_sys_max_cmd_len ; then
5608 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5609 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5611 echo "$as_me:$LINENO: result: none" >&5
5612 echo "${ECHO_T}none" >&6
5618 # Check for command to grab the raw symbol name followed by C symbol from nm.
5619 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5620 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5621 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 # These are sane defaults that work on at least a few old systems.
5626 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5628 # Character class describing NM global symbol codes.
5629 symcode
='[BCDEGRST]'
5631 # Regexp to match symbols that can be accessed directly from C.
5632 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5634 # Transform an extracted symbol line into a proper C declaration
5635 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5637 # Transform an extracted symbol line into symbol name and symbol address
5638 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'"
5640 # Define system-specific variables.
5645 cygwin
* | mingw
* | pw32
*)
5646 symcode
='[ABCDGISTW]'
5648 hpux
*) # Its linker distinguishes data from code symbols
5649 if test "$host_cpu" = ia64
; then
5650 symcode
='[ABCDEGRST]'
5652 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5653 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'"
5656 if test "$host_cpu" = ia64
; then
5657 symcode
='[ABCDGIRSTW]'
5658 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5659 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'"
5663 symcode
='[BCDEGRST]'
5666 symcode
='[BCDEGQRST]'
5676 # Handle CRLF in mingw tool chain
5680 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5684 # If we're using GNU nm, then use its standard symbol codes.
5685 case `$NM -V 2>&1` in
5686 *GNU
* |
*'with BFD'*)
5687 symcode
='[ABCDGIRSTW]' ;;
5690 # Try without a prefix undercore, then with it.
5691 for ac_symprfx
in "" "_"; do
5693 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5694 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5696 # Write the raw and C identifiers.
5697 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5699 # Check to see that the pipe works correctly.
5703 cat > conftest.
$ac_ext <<EOF
5708 void nm_test_func(){}
5712 int main(){nm_test_var='a';nm_test_func();return(0);}
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; then
5720 # Now try to grab the symbols.
5722 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5723 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); } && test -s "$nlist"; then
5727 # Try sorting and uniquifying the output.
5728 if sort "$nlist" |
uniq > "$nlist"T
; then
5729 mv -f "$nlist"T
"$nlist"
5734 # Make sure that we snagged all the symbols we need.
5735 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5736 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5737 cat <<EOF > conftest.$ac_ext
5743 # Now generate the symbol file.
5744 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5746 cat <<EOF >> conftest.$ac_ext
5747 #if defined (__STDC__) && __STDC__
5748 # define lt_ptr_t void *
5750 # define lt_ptr_t char *
5754 /* The mapping between symbol names and symbols. */
5759 lt_preloaded_symbols[] =
5762 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5763 cat <<\EOF
>> conftest.
$ac_ext
5771 # Now try linking the two files.
5772 mv conftest.
$ac_objext conftstm.
$ac_objext
5773 lt_save_LIBS
="$LIBS"
5774 lt_save_CFLAGS
="$CFLAGS"
5775 LIBS
="conftstm.$ac_objext"
5776 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5778 (eval $ac_link) 2>&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5784 LIBS
="$lt_save_LIBS"
5785 CFLAGS
="$lt_save_CFLAGS"
5787 echo "cannot find nm_test_func in $nlist" >&5
5790 echo "cannot find nm_test_var in $nlist" >&5
5793 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5796 echo "$progname: failed program was:" >&5
5797 cat conftest.
$ac_ext >&5
5799 rm -f conftest
* conftst
*
5801 # Do not use the global_symbol_pipe unless it works.
5802 if test "$pipe_works" = yes; then
5805 lt_cv_sys_global_symbol_pipe
=
5811 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5812 lt_cv_sys_global_symbol_to_cdecl
=
5814 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5815 echo "$as_me:$LINENO: result: failed" >&5
5816 echo "${ECHO_T}failed" >&6
5818 echo "$as_me:$LINENO: result: ok" >&5
5819 echo "${ECHO_T}ok" >&6
5822 echo "$as_me:$LINENO: checking for objdir" >&5
5823 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5824 if test "${lt_cv_objdir+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 rm -f .libs
2>/dev
/null
5828 mkdir .libs
2>/dev
/null
5829 if test -d .libs
; then
5832 # MS-DOS does not allow filenames that begin with a dot.
5835 rmdir .libs
2>/dev
/null
5837 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5838 echo "${ECHO_T}$lt_cv_objdir" >&6
5839 objdir
=$lt_cv_objdir
5847 # AIX sometimes has problems with the GCC collect2 program. For some
5848 # reason, if we set the COLLECT_NAMES environment variable, the problems
5849 # vanish in a puff of smoke.
5850 if test "X${COLLECT_NAMES+set}" != Xset
; then
5852 export COLLECT_NAMES
5857 # Sed substitution that helps us do robust quoting. It backslashifies
5858 # metacharacters that are still active within double-quoted strings.
5859 Xsed
='sed -e 1s/^X//'
5860 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5862 # Same as above, but do not quote variable references.
5863 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5865 # Sed substitution to delay expansion of an escaped shell variable in a
5866 # double_quote_subst'ed string.
5867 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5869 # Sed substitution to avoid accidental globbing in evaled expressions
5870 no_glob_subst
='s/\*/\\\*/g'
5876 default_ofile
=libtool
5877 can_build_shared
=yes
5879 # All known linkers require a `.a' archive for static linking (except MSVC,
5880 # which needs '.lib').
5882 ltmain
="$ac_aux_dir/ltmain.sh"
5883 ofile
="$default_ofile"
5884 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5886 if test -n "$ac_tool_prefix"; then
5887 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5888 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5889 echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5891 if test "${ac_cv_prog_AR+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 if test -n "$AR"; then
5895 ac_cv_prog_AR
="$AR" # Let the user override the test.
5897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir
=.
5902 for ac_exec_ext
in '' $ac_executable_extensions; do
5903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 if test -n "$AR"; then
5915 echo "$as_me:$LINENO: result: $AR" >&5
5916 echo "${ECHO_T}$AR" >&6
5918 echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6
5923 if test -z "$ac_cv_prog_AR"; then
5925 # Extract the first word of "ar", so it can be a program name with args.
5926 set dummy
ar; ac_word
=$2
5927 echo "$as_me:$LINENO: checking for $ac_word" >&5
5928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5929 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5932 if test -n "$ac_ct_AR"; then
5933 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir
=.
5940 for ac_exec_ext
in '' $ac_executable_extensions; do
5941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_ac_ct_AR
="ar"
5943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5952 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5953 if test -n "$ac_ct_AR"; then
5954 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5955 echo "${ECHO_T}$ac_ct_AR" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5966 if test -n "$ac_tool_prefix"; then
5967 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5968 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5969 echo "$as_me:$LINENO: checking for $ac_word" >&5
5970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5971 if test "${ac_cv_prog_RANLIB+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 if test -n "$RANLIB"; then
5975 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5981 test -z "$as_dir" && as_dir
=.
5982 for ac_exec_ext
in '' $ac_executable_extensions; do
5983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 RANLIB
=$ac_cv_prog_RANLIB
5994 if test -n "$RANLIB"; then
5995 echo "$as_me:$LINENO: result: $RANLIB" >&5
5996 echo "${ECHO_T}$RANLIB" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6003 if test -z "$ac_cv_prog_RANLIB"; then
6004 ac_ct_RANLIB
=$RANLIB
6005 # Extract the first word of "ranlib", so it can be a program name with args.
6006 set dummy ranlib
; ac_word
=$2
6007 echo "$as_me:$LINENO: checking for $ac_word" >&5
6008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6009 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 if test -n "$ac_ct_RANLIB"; then
6013 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir
=.
6020 for ac_exec_ext
in '' $ac_executable_extensions; do
6021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6032 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6033 if test -n "$ac_ct_RANLIB"; then
6034 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6035 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6037 echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6
6041 RANLIB
=$ac_ct_RANLIB
6043 RANLIB
="$ac_cv_prog_RANLIB"
6046 if test -n "$ac_tool_prefix"; then
6047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6048 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6049 echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6051 if test "${ac_cv_prog_STRIP+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 if test -n "$STRIP"; then
6055 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir
=.
6062 for ac_exec_ext
in '' $ac_executable_extensions; do
6063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 STRIP
=$ac_cv_prog_STRIP
6074 if test -n "$STRIP"; then
6075 echo "$as_me:$LINENO: result: $STRIP" >&5
6076 echo "${ECHO_T}$STRIP" >&6
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6083 if test -z "$ac_cv_prog_STRIP"; then
6085 # Extract the first word of "strip", so it can be a program name with args.
6086 set dummy strip
; ac_word
=$2
6087 echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6089 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -n "$ac_ct_STRIP"; then
6093 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir
=.
6100 for ac_exec_ext
in '' $ac_executable_extensions; do
6101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_ac_ct_STRIP
="strip"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6112 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6113 if test -n "$ac_ct_STRIP"; then
6114 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6115 echo "${ECHO_T}$ac_ct_STRIP" >&6
6117 echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6
6123 STRIP
="$ac_cv_prog_STRIP"
6128 old_CFLAGS
="$CFLAGS"
6130 # Set sane defaults for various variables
6131 test -z "$AR" && AR
=ar
6132 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6133 test -z "$AS" && AS
=as
6134 test -z "$CC" && CC
=cc
6135 test -z "$LTCC" && LTCC
=$CC
6136 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6137 test -z "$LD" && LD
=ld
6138 test -z "$LN_S" && LN_S
="ln -s"
6139 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6140 test -z "$NM" && NM
=nm
6141 test -z "$SED" && SED
=sed
6142 test -z "$OBJDUMP" && OBJDUMP
=objdump
6143 test -z "$RANLIB" && RANLIB
=:
6144 test -z "$STRIP" && STRIP
=:
6145 test -z "$ac_objext" && ac_objext
=o
6147 # Determine commands to create old-style static archives.
6148 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6149 old_postinstall_cmds
='chmod 644 $oldlib'
6150 old_postuninstall_cmds
=
6152 if test -n "$RANLIB"; then
6155 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6158 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6161 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6164 for cc_temp
in $compiler""; do
6166 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6167 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6172 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6175 # Only perform the check for file, if the check method requires it
6176 case $deplibs_check_method in
6178 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6179 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6180 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6181 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6189 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6190 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6191 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6192 for ac_dir
in $ac_dummy; do
6194 test -z "$ac_dir" && ac_dir
=.
6195 if test -f $ac_dir/${ac_tool_prefix}file; then
6196 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6197 if test -n "$file_magic_test_file"; then
6198 case $deplibs_check_method in
6200 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6201 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6202 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6203 $EGREP "$file_magic_regex" > /dev
/null
; then
6208 *** Warning: the command libtool uses to detect shared libraries,
6209 *** $file_magic_cmd, produces output that libtool cannot recognize.
6210 *** The result is that libtool may fail to recognize shared libraries
6211 *** as such. This will affect the creation of libtool libraries that
6212 *** depend on shared libraries, but programs linked with such libtool
6213 *** libraries will work regardless of this problem. Nevertheless, you
6214 *** may want to report the problem to your system manager and/or to
6215 *** bug-libtool@gnu.org
6225 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6230 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6231 if test -n "$MAGIC_CMD"; then
6232 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6233 echo "${ECHO_T}$MAGIC_CMD" >&6
6235 echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6
6239 if test -z "$lt_cv_path_MAGIC_CMD"; then
6240 if test -n "$ac_tool_prefix"; then
6241 echo "$as_me:$LINENO: checking for file" >&5
6242 echo $ECHO_N "checking for file... $ECHO_C" >&6
6243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6251 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6252 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6253 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6254 for ac_dir
in $ac_dummy; do
6256 test -z "$ac_dir" && ac_dir
=.
6257 if test -f $ac_dir/file; then
6258 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6259 if test -n "$file_magic_test_file"; then
6260 case $deplibs_check_method in
6262 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6263 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6264 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6265 $EGREP "$file_magic_regex" > /dev
/null
; then
6270 *** Warning: the command libtool uses to detect shared libraries,
6271 *** $file_magic_cmd, produces output that libtool cannot recognize.
6272 *** The result is that libtool may fail to recognize shared libraries
6273 *** as such. This will affect the creation of libtool libraries that
6274 *** depend on shared libraries, but programs linked with such libtool
6275 *** libraries will work regardless of this problem. Nevertheless, you
6276 *** may want to report the problem to your system manager and/or to
6277 *** bug-libtool@gnu.org
6287 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6292 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6293 if test -n "$MAGIC_CMD"; then
6294 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6295 echo "${ECHO_T}$MAGIC_CMD" >&6
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6313 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6314 if test "${enable_libtool_lock+set}" = set; then
6315 enableval
="$enable_libtool_lock"
6318 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6321 # Check whether --with-pic or --without-pic was given.
6322 if test "${with_pic+set}" = set; then
6328 test -z "$pic_mode" && pic_mode
=default
6330 # Use C for the default configuration in the libtool script
6334 ac_cpp
='$CPP $CPPFLAGS'
6335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6340 # Source file extension for C test sources.
6343 # Object file extension for compiled C test sources.
6347 # Code to be used in simple compile tests
6348 lt_simple_compile_test_code
="int some_variable = 0;\n"
6350 # Code to be used in simple link tests
6351 lt_simple_link_test_code
='int main(){return(0);}\n'
6354 # If no C compiler was specified, use CC.
6357 # Allow CC to be a program name with arguments.
6361 # save warnings/boilerplate of simple test code
6362 ac_outfile
=conftest.
$ac_objext
6363 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6364 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6365 _lt_compiler_boilerplate
=`cat conftest.err`
6368 ac_outfile
=conftest.
$ac_objext
6369 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6370 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6371 _lt_linker_boilerplate
=`cat conftest.err`
6376 # Check for any special shared library compilation flags.
6379 if test "$GCC" = no
; then
6382 lt_prog_cc_shlib
='-belf'
6386 if test -n "$lt_prog_cc_shlib"; then
6387 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6388 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6389 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6391 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6392 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6393 lt_cv_prog_cc_can_build_shared
=no
6399 # Check to make sure the static flag actually works.
6401 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6402 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6403 if test "${lt_prog_compiler_static_works+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 lt_prog_compiler_static_works
=no
6407 save_LDFLAGS
="$LDFLAGS"
6408 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6409 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6410 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6411 # The linker can only warn and ignore the option if not recognized
6412 # So say no if there are warnings
6413 if test -s conftest.err
; then
6414 # Append any errors to the config.log.
6415 cat conftest.err
1>&5
6416 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
6417 $SED '/^$/d' conftest.err
>conftest.er2
6418 if diff conftest.exp conftest.er2
>/dev
/null
; then
6419 lt_prog_compiler_static_works
=yes
6422 lt_prog_compiler_static_works
=yes
6426 LDFLAGS
="$save_LDFLAGS"
6429 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6430 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6432 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6435 lt_prog_compiler_static
=
6441 lt_prog_compiler_no_builtin_flag
=
6443 if test "$GCC" = yes; then
6444 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6447 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6448 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6449 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6450 echo $ECHO_N "(cached) $ECHO_C" >&6
6452 lt_cv_prog_compiler_rtti_exceptions
=no
6453 ac_outfile
=conftest.
$ac_objext
6454 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6455 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6456 # Insert the option either (1) after the last *FLAGS variable, or
6457 # (2) before a word containing "conftest.", or (3) at the end.
6458 # Note that $ac_compile itself does not contain backslashes and begins
6459 # with a dollar sign (not a hyphen), so the echo should work correctly.
6460 # The option is referenced via a variable to avoid confusing sed.
6461 lt_compile
=`echo "$ac_compile" | $SED \
6462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6464 -e 's:$: $lt_compiler_flag:'`
6465 (eval echo "\"\$as_me:6465: $lt_compile\"" >&5)
6466 (eval "$lt_compile" 2>conftest.err
)
6468 cat conftest.err
>&5
6469 echo "$as_me:6469: \$? = $ac_status" >&5
6470 if (exit $ac_status) && test -s "$ac_outfile"; then
6471 # The compiler can only warn and ignore the option if not recognized
6472 # So say no if there are warnings other than the usual output.
6473 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6474 $SED '/^$/d' conftest.err
>conftest.er2
6475 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6476 lt_cv_prog_compiler_rtti_exceptions
=yes
6482 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6483 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6485 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6486 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6493 lt_prog_compiler_wl
=
6494 lt_prog_compiler_pic
=
6495 lt_prog_compiler_static
=
6497 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6498 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6500 if test "$GCC" = yes; then
6501 lt_prog_compiler_wl
='-Wl,'
6502 lt_prog_compiler_static
='-static'
6506 # All AIX code is PIC.
6507 if test "$host_cpu" = ia64
; then
6508 # AIX 5 now supports IA64 processor
6509 lt_prog_compiler_static
='-Bstatic'
6514 # FIXME: we need at least 68020 code to build shared libraries, but
6515 # adding the `-m68020' flag to GCC prevents building anything better,
6517 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6520 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6521 # PIC is the default for these OSes.
6524 mingw
* | pw32
* | os2
*)
6525 # This hack is so that the source file can tell whether it is being
6526 # built for inclusion in a dll (and should export symbols for example).
6527 lt_prog_compiler_pic
='-DDLL_EXPORT'
6530 darwin
* | rhapsody
*)
6531 # PIC is the default on this platform
6532 # Common symbols not allowed in MH_DYLIB files
6533 lt_prog_compiler_pic
='-fno-common'
6537 # Just because we use GCC doesn't mean we suddenly get shared libraries
6538 # on systems that don't support them.
6539 lt_prog_compiler_can_build_shared
=no
6544 if test -d /usr
/nec
; then
6545 lt_prog_compiler_pic
=-Kconform_pic
6550 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6557 lt_prog_compiler_pic
='-fPIC'
6563 lt_prog_compiler_pic
='-fPIC'
6567 # PORTME Check for flag to pass linker flags through the system compiler.
6570 lt_prog_compiler_wl
='-Wl,'
6571 if test "$host_cpu" = ia64
; then
6572 # AIX 5 now supports IA64 processor
6573 lt_prog_compiler_static
='-Bstatic'
6575 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6579 # PIC is the default on this platform
6580 # Common symbols not allowed in MH_DYLIB files
6581 case $cc_basename in
6583 lt_prog_compiler_pic
='-qnocommon'
6584 lt_prog_compiler_wl
='-Wl,'
6589 mingw
* | pw32
* | os2
*)
6590 # This hack is so that the source file can tell whether it is being
6591 # built for inclusion in a dll (and should export symbols for example).
6592 lt_prog_compiler_pic
='-DDLL_EXPORT'
6595 hpux9
* | hpux10
* | hpux11
*)
6596 lt_prog_compiler_wl
='-Wl,'
6597 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6604 lt_prog_compiler_pic
='+Z'
6607 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6608 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6611 irix5
* | irix6
* | nonstopux
*)
6612 lt_prog_compiler_wl
='-Wl,'
6613 # PIC (with -KPIC) is the default.
6614 lt_prog_compiler_static
='-non_shared'
6618 lt_prog_compiler_pic
='-KPIC'
6619 lt_prog_compiler_static
='-Bstatic'
6623 case $cc_basename in
6625 lt_prog_compiler_wl
='-Wl,'
6626 lt_prog_compiler_pic
='-KPIC'
6627 lt_prog_compiler_static
='-static'
6629 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6630 # Portland Group compilers (*not* the Pentium gcc compiler,
6631 # which looks to be a dead project)
6632 lt_prog_compiler_wl
='-Wl,'
6633 lt_prog_compiler_pic
='-fpic'
6634 lt_prog_compiler_static
='-Bstatic'
6637 lt_prog_compiler_wl
='-Wl,'
6638 # All Alpha code is PIC.
6639 lt_prog_compiler_static
='-non_shared'
6644 osf3
* | osf4
* | osf5
*)
6645 lt_prog_compiler_wl
='-Wl,'
6646 # All OSF/1 code is PIC.
6647 lt_prog_compiler_static
='-non_shared'
6651 lt_prog_compiler_pic
='-Kpic'
6652 lt_prog_compiler_static
='-dn'
6656 lt_prog_compiler_pic
='-KPIC'
6657 lt_prog_compiler_static
='-Bstatic'
6658 case $cc_basename in
6660 lt_prog_compiler_wl
='-Qoption ld ';;
6662 lt_prog_compiler_wl
='-Wl,';;
6667 lt_prog_compiler_wl
='-Qoption ld '
6668 lt_prog_compiler_pic
='-PIC'
6669 lt_prog_compiler_static
='-Bstatic'
6672 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6673 lt_prog_compiler_wl
='-Wl,'
6674 lt_prog_compiler_pic
='-KPIC'
6675 lt_prog_compiler_static
='-Bstatic'
6679 if test -d /usr
/nec
;then
6680 lt_prog_compiler_pic
='-Kconform_pic'
6681 lt_prog_compiler_static
='-Bstatic'
6686 lt_prog_compiler_wl
='-Wl,'
6687 lt_prog_compiler_can_build_shared
=no
6691 lt_prog_compiler_pic
='-pic'
6692 lt_prog_compiler_static
='-Bstatic'
6696 lt_prog_compiler_can_build_shared
=no
6701 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6702 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6705 # Check to make sure the PIC flag actually works.
6707 if test -n "$lt_prog_compiler_pic"; then
6709 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6710 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6711 if test "${lt_prog_compiler_pic_works+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 lt_prog_compiler_pic_works
=no
6715 ac_outfile
=conftest.
$ac_objext
6716 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6717 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6718 # Insert the option either (1) after the last *FLAGS variable, or
6719 # (2) before a word containing "conftest.", or (3) at the end.
6720 # Note that $ac_compile itself does not contain backslashes and begins
6721 # with a dollar sign (not a hyphen), so the echo should work correctly.
6722 # The option is referenced via a variable to avoid confusing sed.
6723 lt_compile
=`echo "$ac_compile" | $SED \
6724 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6726 -e 's:$: $lt_compiler_flag:'`
6727 (eval echo "\"\$as_me:6727: $lt_compile\"" >&5)
6728 (eval "$lt_compile" 2>conftest.err
)
6730 cat conftest.err
>&5
6731 echo "$as_me:6731: \$? = $ac_status" >&5
6732 if (exit $ac_status) && test -s "$ac_outfile"; then
6733 # The compiler can only warn and ignore the option if not recognized
6734 # So say no if there are warnings other than the usual output.
6735 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6736 $SED '/^$/d' conftest.err
>conftest.er2
6737 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6738 lt_prog_compiler_pic_works
=yes
6744 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6745 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6747 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6748 case $lt_prog_compiler_pic in
6750 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6753 lt_prog_compiler_pic
=
6754 lt_prog_compiler_can_build_shared
=no
6759 # For platforms which do not support PIC, -DPIC is meaningless:
6761 lt_prog_compiler_pic
=
6764 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6768 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6769 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6770 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 lt_cv_prog_compiler_c_o
=no
6774 $rm -r conftest
2>/dev
/null
6778 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6780 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6781 # Insert the option either (1) after the last *FLAGS variable, or
6782 # (2) before a word containing "conftest.", or (3) at the end.
6783 # Note that $ac_compile itself does not contain backslashes and begins
6784 # with a dollar sign (not a hyphen), so the echo should work correctly.
6785 lt_compile
=`echo "$ac_compile" | $SED \
6786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6788 -e 's:$: $lt_compiler_flag:'`
6789 (eval echo "\"\$as_me:6789: $lt_compile\"" >&5)
6790 (eval "$lt_compile" 2>out
/conftest.err
)
6792 cat out
/conftest.err
>&5
6793 echo "$as_me:6793: \$? = $ac_status" >&5
6794 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6796 # The compiler can only warn and ignore the option if not recognized
6797 # So say no if there are warnings
6798 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
6799 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
6800 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6801 lt_cv_prog_compiler_c_o
=yes
6806 # SGI C++ compiler will create directory out/ii_files/ for
6807 # template instantiation
6808 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6809 $rm out
/* && rmdir out
6815 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6816 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6819 hard_links
="nottested"
6820 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6821 # do not overwrite the value of need_locks provided by the user
6822 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6823 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6826 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6828 ln conftest.a conftest.b
2>&5 || hard_links
=no
6829 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6830 echo "$as_me:$LINENO: result: $hard_links" >&5
6831 echo "${ECHO_T}$hard_links" >&6
6832 if test "$hard_links" = no
; then
6833 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6834 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6841 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6845 allow_undefined_flag
=
6846 enable_shared_with_static_runtimes
=no
6848 archive_expsym_cmds
=
6849 old_archive_From_new_cmds
=
6850 old_archive_from_expsyms_cmds
=
6851 export_dynamic_flag_spec
=
6852 whole_archive_flag_spec
=
6853 thread_safe_flag_spec
=
6854 hardcode_libdir_flag_spec
=
6855 hardcode_libdir_flag_spec_ld
=
6856 hardcode_libdir_separator
=
6859 hardcode_shlibpath_var
=unsupported
6860 link_all_deplibs
=unknown
6861 hardcode_automatic
=no
6864 always_export_symbols
=no
6865 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6866 # include_expsyms should be a list of space-separated symbols to be *always*
6867 # included in the symbol list
6869 # exclude_expsyms can be an extended regexp of symbols to exclude
6870 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6871 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6872 # as well as any symbol that contains `d'.
6873 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6874 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6875 # platforms (ab)use it in PIC code, but their linkers get confused if
6876 # the symbol is explicitly referenced. Since portable code cannot
6877 # rely on this symbol name, it's probably fine to never include it in
6878 # preloaded symbol tables.
6879 extract_expsyms_cmds
=
6880 # Just being paranoid about ensuring that cc_basename is set.
6881 for cc_temp
in $compiler""; do
6883 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6884 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6889 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6892 cygwin
* | mingw
* | pw32
*)
6893 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6894 # When not using gcc, we currently assume that we are using
6895 # Microsoft Visual C++.
6896 if test "$GCC" != yes; then
6906 if test "$with_gnu_ld" = yes; then
6907 # If archive_cmds runs LD, not CC, wlarc should be empty
6910 # Set some defaults for GNU ld with shared library support. These
6911 # are reset later if shared libraries are not supported. Putting them
6912 # here allows them to be overridden if necessary.
6913 runpath_var
=LD_RUN_PATH
6914 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6915 export_dynamic_flag_spec
='${wl}--export-dynamic'
6916 # ancient GNU ld didn't support --whole-archive et. al.
6917 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6918 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6920 whole_archive_flag_spec
=
6922 supports_anon_versioning
=no
6923 case `$LD -v 2>/dev/null` in
6924 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6925 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6926 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6927 *\
2.11.
*) ;; # other 2.11 versions
6928 *) supports_anon_versioning
=yes ;;
6931 # See if GNU ld supports shared libraries.
6933 aix3
* | aix4
* | aix5
*)
6934 # On AIX/PPC, the GNU linker is very broken
6935 if test "$host_cpu" != ia64
; then
6939 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6940 *** to be unable to reliably create shared libraries on AIX.
6941 *** Therefore, libtool is disabling shared libraries support. If you
6942 *** really care for shared libraries, you may want to modify your PATH
6943 *** so that a non-GNU linker is found, and then restart.
6950 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)'
6951 hardcode_libdir_flag_spec
='-L$libdir'
6952 hardcode_minus_L
=yes
6954 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6955 # that the semantics of dynamic libraries on AmigaOS, at least up
6956 # to version 4, is to share data among multiple programs linked
6957 # with the same dynamic library. Since this doesn't match the
6958 # behavior of shared libraries on other platforms, we can't use
6964 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6965 allow_undefined_flag
=unsupported
6966 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6967 # support --undefined. This deserves some investigation. FIXME
6968 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6974 cygwin
* | mingw
* | pw32
*)
6975 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6976 # as there is no search path for DLLs.
6977 hardcode_libdir_flag_spec
='-L$libdir'
6978 allow_undefined_flag
=unsupported
6979 always_export_symbols
=no
6980 enable_shared_with_static_runtimes
=yes
6981 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6983 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6985 # If the export-symbols file already is a .def file (1st line
6986 # is EXPORTS), use it as is; otherwise, prepend...
6987 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6988 cp $export_symbols $output_objdir/$soname.def;
6990 echo EXPORTS > $output_objdir/$soname.def;
6991 cat $export_symbols >> $output_objdir/$soname.def;
6993 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7000 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7002 case $cc_basename,$host_cpu in
7003 pgcc
*) # Portland Group C compiler
7004 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7005 tmp_addflag
=' $pic_flag'
7007 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7008 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7009 tmp_addflag
=' $pic_flag -Mnomain' ;;
7010 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7011 tmp_addflag
=' -i_dynamic' ;;
7012 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7013 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7014 ifc
* | ifort
*) # Intel Fortran compiler
7015 tmp_addflag
=' -nofor_main' ;;
7017 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7019 if test $supports_anon_versioning = yes; then
7020 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7021 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7022 $echo "local: *; };" >> $output_objdir/$libname.ver~
7023 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7031 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7032 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7035 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7036 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7041 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7045 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7046 *** create shared libraries on Solaris systems. Therefore, libtool
7047 *** is disabling shared libraries support. We urge you to upgrade GNU
7048 *** binutils to release 2.9.1 or newer. Another option is to modify
7049 *** your PATH or compiler configuration so that the native linker is
7050 *** used, and then restart.
7053 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7054 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7055 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7062 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7065 hardcode_shlibpath_var
=no
7069 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7070 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7071 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7078 if test "$ld_shlibs" = no
; then
7080 hardcode_libdir_flag_spec
=
7081 export_dynamic_flag_spec
=
7082 whole_archive_flag_spec
=
7085 # PORTME fill in a description of your system's linker (not GNU ld)
7088 allow_undefined_flag
=unsupported
7089 always_export_symbols
=yes
7090 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'
7091 # Note: this linker hardcodes the directories in LIBPATH if there
7092 # are no directories specified by -L.
7093 hardcode_minus_L
=yes
7094 if test "$GCC" = yes && test -z "$link_static_flag"; then
7095 # Neither direct hardcoding nor static linking is supported with a
7097 hardcode_direct
=unsupported
7102 if test "$host_cpu" = ia64
; then
7103 # On IA64, the linker does run time linking by default, so we don't
7104 # have to do anything special.
7105 aix_use_runtimelinking
=no
7106 exp_sym_flag
='-Bexport'
7109 # If we're using GNU nm, then we don't want the "-C" option.
7110 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7111 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7112 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'
7114 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'
7116 aix_use_runtimelinking
=no
7118 # Test if we are trying to use run time linking or normal
7119 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7120 # need to do runtime linking.
7121 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7122 for ld_flag
in $LDFLAGS; do
7123 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7124 aix_use_runtimelinking
=yes
7130 exp_sym_flag
='-bexport'
7131 no_entry_flag
='-bnoentry'
7134 # When large executables or shared objects are built, AIX ld can
7135 # have problems creating the table of contents. If linking a library
7136 # or program results in "error TOC overflow" add -mminimal-toc to
7137 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7138 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7142 hardcode_libdir_separator
=':'
7143 link_all_deplibs
=yes
7145 if test "$GCC" = yes; then
7146 case $host_os in aix4.
[012]|aix4.
[012].
*)
7147 # We only want to do this on AIX 4.2 and lower, the check
7148 # below for broken collect2 doesn't work under 4.3+
7149 collect2name
=`${CC} -print-prog-name=collect2`
7150 if test -f "$collect2name" && \
7151 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7153 # We have reworked collect2
7156 # We have old collect2
7157 hardcode_direct
=unsupported
7158 # It fails to find uninstalled libraries when the uninstalled
7159 # path is not listed in the libpath. Setting hardcode_minus_L
7160 # to unsupported forces relinking
7161 hardcode_minus_L
=yes
7162 hardcode_libdir_flag_spec
='-L$libdir'
7163 hardcode_libdir_separator
=
7166 shared_flag
='-shared'
7167 if test "$aix_use_runtimelinking" = yes; then
7168 shared_flag
="$shared_flag "'${wl}-G'
7172 if test "$host_cpu" = ia64
; then
7173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7174 # chokes on -Wl,-G. The following line is correct:
7177 if test "$aix_use_runtimelinking" = yes; then
7178 shared_flag
='${wl}-G'
7180 shared_flag
='${wl}-bM:SRE'
7185 # It seems that -bexpall does not export symbols beginning with
7186 # underscore (_), so it is better to generate a list of symbols to export.
7187 always_export_symbols
=yes
7188 if test "$aix_use_runtimelinking" = yes; then
7189 # Warning - without using the other runtime loading flags (-brtl),
7190 # -berok will link without error, but may produce a broken library.
7191 allow_undefined_flag
='-berok'
7192 # Determine the default libpath from the value encoded in an empty executable.
7193 cat >conftest.
$ac_ext <<_ACEOF
7196 cat confdefs.h
>>conftest.
$ac_ext
7197 cat >>conftest.
$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7208 rm -f conftest.
$ac_objext conftest
$ac_exeext
7209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7210 (eval $ac_link) 2>conftest.er1
7212 grep -v '^ *+' conftest.er1
>conftest.err
7214 cat conftest.err
>&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } &&
7217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; } &&
7223 { ac_try
='test -s conftest$ac_exeext'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; }; then
7230 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7232 # Check for a 64-bit object if we didn't find anything.
7233 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; }
7236 echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.
$ac_ext >&5
7240 rm -f conftest.err conftest.
$ac_objext \
7241 conftest
$ac_exeext conftest.
$ac_ext
7242 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7244 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7245 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7247 if test "$host_cpu" = ia64; then
7248 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7249 allow_undefined_flag="-z nodefs"
7250 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7252 # Determine the default libpath from the value encoded in an empty executable.
7253 cat >conftest.$ac_ext <<_ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7268 rm -f conftest.$ac_objext conftest$ac_exeext
7269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7270 (eval $ac_link) 2>conftest.er1
7272 grep -v '^ *+' conftest.er1 >conftest.err
7274 cat conftest.err >&5
7275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7276 (exit $ac_status); } &&
7277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7282 (exit $ac_status); }; } &&
7283 { ac_try='test -s conftest$ac_exeext'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7288 (exit $ac_status); }; }; then
7290 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7292 # Check for a 64-bit object if we didn't find anything.
7293 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; }
7296 echo "$as_me: failed program was
:" >&5
7297 sed 's/^/| /' conftest.$ac_ext >&5
7300 rm -f conftest.err conftest.$ac_objext \
7301 conftest$ac_exeext conftest.$ac_ext
7302 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7304 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7305 # Warning - without using the other run time loading flags,
7306 # -berok will link without error, but may produce a broken library.
7307 no_undefined_flag=' ${wl}-bernotok'
7308 allow_undefined_flag=' ${wl}-berok'
7309 # -bexpall does not export symbols beginning with underscore (_)
7310 always_export_symbols=yes
7311 # Exported symbols can be pulled into shared objects from archives
7312 whole_archive_flag_spec=' '
7313 archive_cmds_need_lc=yes
7314 # This is similar to how AIX traditionally builds its shared libraries.
7315 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7321 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)'
7322 hardcode_libdir_flag_spec
='-L$libdir'
7323 hardcode_minus_L
=yes
7324 # see comment about different semantics on the GNU ld section
7329 export_dynamic_flag_spec
=-rdynamic
7332 cygwin
* | mingw
* | pw32
*)
7333 # When not using gcc, we currently assume that we are using
7334 # Microsoft Visual C++.
7335 # hardcode_libdir_flag_spec is actually meaningless, as there is
7336 # no search path for DLLs.
7337 hardcode_libdir_flag_spec
=' '
7338 allow_undefined_flag
=unsupported
7339 # Tell ltmain to make .lib files, not .a files.
7341 # Tell ltmain to make .dll files, not .so files.
7343 # FIXME: Setting linknames here is a bad hack.
7344 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7345 # The linker will automatically build a .lib file if we build a DLL.
7346 old_archive_From_new_cmds
='true'
7347 # FIXME: Should let the user specify the lib program.
7348 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7349 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7350 enable_shared_with_static_runtimes
=yes
7353 darwin
* | rhapsody
*)
7355 rhapsody
* | darwin1.
[012])
7356 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7359 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7360 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7362 case ${MACOSX_DEPLOYMENT_TARGET} in
7364 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7367 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7373 archive_cmds_need_lc
=no
7375 hardcode_automatic
=yes
7376 hardcode_shlibpath_var
=unsupported
7377 whole_archive_flag_spec
=''
7378 link_all_deplibs
=yes
7379 if test "$GCC" = yes ; then
7380 output_verbose_link_cmd
='echo'
7381 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7382 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7383 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7384 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7385 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7387 case $cc_basename in
7389 output_verbose_link_cmd
='echo'
7390 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7391 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7392 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7393 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7394 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7405 hardcode_libdir_flag_spec
='-L$libdir'
7406 hardcode_shlibpath_var
=no
7413 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7414 # support. Future versions do this automatically, but an explicit c++rt0.o
7415 # does not break anything, and helps significantly (at the cost of a little
7418 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7419 hardcode_libdir_flag_spec
='-R$libdir'
7421 hardcode_shlibpath_var
=no
7424 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7426 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7428 hardcode_minus_L
=yes
7429 hardcode_shlibpath_var
=no
7432 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7433 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7434 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7435 hardcode_libdir_flag_spec
='-R$libdir'
7437 hardcode_shlibpath_var
=no
7441 if test "$GCC" = yes; then
7442 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7444 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'
7446 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7447 hardcode_libdir_separator
=:
7450 # hardcode_minus_L: Not really in the search PATH,
7451 # but as the default location of the library.
7452 hardcode_minus_L
=yes
7453 export_dynamic_flag_spec
='${wl}-E'
7457 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7460 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7463 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7469 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7472 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7476 if test "$with_gnu_ld" = no
; then
7479 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7480 hardcode_libdir_flag_spec_ld
='+b $libdir'
7481 hardcode_libdir_separator
=:
7483 hardcode_shlibpath_var
=no
7486 hardcode_libdir_flag_spec
='-L$libdir'
7488 hardcode_shlibpath_var
=no
7490 # hardcode_minus_L: Not really in the search PATH,
7491 # but as the default location of the library.
7492 hardcode_minus_L
=yes
7495 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7496 hardcode_libdir_separator
=:
7498 export_dynamic_flag_spec
='${wl}-E'
7500 # hardcode_minus_L: Not really in the search PATH,
7501 # but as the default location of the library.
7502 hardcode_minus_L
=yes
7508 irix5
* | irix6
* | nonstopux
*)
7509 if test "$GCC" = yes; then
7510 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7512 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'
7513 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7515 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7516 hardcode_libdir_separator
=:
7517 link_all_deplibs
=yes
7521 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7522 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7524 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7526 hardcode_libdir_flag_spec
='-R$libdir'
7528 hardcode_shlibpath_var
=no
7532 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7534 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7535 hardcode_libdir_separator
=:
7536 hardcode_shlibpath_var
=no
7541 hardcode_shlibpath_var
=no
7542 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7543 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7544 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7545 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7546 export_dynamic_flag_spec
='${wl}-E'
7549 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7550 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7551 hardcode_libdir_flag_spec
='-R$libdir'
7554 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7555 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7562 hardcode_libdir_flag_spec
='-L$libdir'
7563 hardcode_minus_L
=yes
7564 allow_undefined_flag
=unsupported
7565 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7566 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7570 if test "$GCC" = yes; then
7571 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7572 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7574 allow_undefined_flag
=' -expect_unresolved \*'
7575 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'
7577 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7578 hardcode_libdir_separator
=:
7581 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7582 if test "$GCC" = yes; then
7583 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7584 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7585 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7587 allow_undefined_flag
=' -expect_unresolved \*'
7588 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'
7589 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7590 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7592 # Both c and cxx compiler support -rpath directly
7593 hardcode_libdir_flag_spec
='-rpath $libdir'
7595 hardcode_libdir_separator
=:
7599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7600 hardcode_shlibpath_var
=no
7601 export_dynamic_flag_spec
='${wl}-Bexport'
7602 runpath_var
=LD_RUN_PATH
7603 hardcode_runpath_var
=yes
7607 no_undefined_flag
=' -z text'
7608 if test "$GCC" = yes; then
7610 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7611 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7612 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7615 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7616 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7617 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7619 hardcode_libdir_flag_spec
='-R$libdir'
7620 hardcode_shlibpath_var
=no
7622 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7624 # The compiler driver will combine linker options so we
7625 # cannot just pass the convience library names through
7626 # without $wl, iff we do not link with $LD.
7627 # Luckily, gcc supports the same syntax we need for Sun Studio.
7628 # Supported since Solaris 2.6 (maybe 2.5.1?)
7631 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7633 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7636 link_all_deplibs
=yes
7640 if test "x$host_vendor" = xsequent
; then
7641 # Use $CC to link under sequent, because it throws in some extra .o
7642 # files that make .init and .fini sections work.
7643 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7645 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7647 hardcode_libdir_flag_spec
='-L$libdir'
7649 hardcode_minus_L
=yes
7650 hardcode_shlibpath_var
=no
7654 case $host_vendor in
7656 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7657 hardcode_direct
=yes # is this really true???
7660 ## LD is ld it makes a PLAMLIB
7661 ## CC just makes a GrossModule.
7662 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7663 reload_cmds
='$CC -r -o $output$reload_objs'
7667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7668 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7671 runpath_var
='LD_RUN_PATH'
7672 hardcode_shlibpath_var
=no
7676 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7677 hardcode_shlibpath_var
=no
7678 export_dynamic_flag_spec
='-Bexport'
7682 if test -d /usr
/nec
; then
7683 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7684 hardcode_shlibpath_var
=no
7685 runpath_var
=LD_RUN_PATH
7686 hardcode_runpath_var
=yes
7692 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7695 hardcode_shlibpath_var
=no
7696 hardcode_runpath_var
=yes
7697 runpath_var
=LD_RUN_PATH
7700 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7701 no_undefined_flag
='${wl}-z ${wl}text'
7702 if test "$GCC" = yes; then
7703 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7705 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7707 runpath_var
='LD_RUN_PATH'
7708 hardcode_shlibpath_var
=no
7712 no_undefined_flag
=' -z text'
7713 # $CC -shared without GNU ld will not create a library from C++
7714 # object files and a static libstdc++, better avoid it by now
7715 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7716 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7718 hardcode_libdir_flag_spec
=
7719 hardcode_shlibpath_var
=no
7720 runpath_var
='LD_RUN_PATH'
7724 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7725 hardcode_libdir_flag_spec
='-L$libdir'
7726 hardcode_shlibpath_var
=no
7735 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7736 echo "${ECHO_T}$ld_shlibs" >&6
7737 test "$ld_shlibs" = no
&& can_build_shared
=no
7739 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7740 if test "$GCC" = yes; then
7741 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7745 # Do we need to explicitly link libc?
7747 case "x$archive_cmds_need_lc" in
7749 # Assume -lc should be added
7750 archive_cmds_need_lc
=yes
7752 if test "$enable_shared" = yes && test "$GCC" = yes; then
7753 case $archive_cmds in
7755 # FIXME: we may have to deal with multi-command sequences.
7758 # Test whether the compiler implicitly links with -lc since on some
7759 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7760 # to ld, don't add -lc before -lgcc.
7761 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7762 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7764 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7767 (eval $ac_compile) 2>&5
7769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770 (exit $ac_status); } 2>conftest.err
; then
7773 libobjs
=conftest.
$ac_objext
7775 wl
=$lt_prog_compiler_wl
7781 lt_save_allow_undefined_flag
=$allow_undefined_flag
7782 allow_undefined_flag
=
7783 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7784 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }
7789 archive_cmds_need_lc
=no
7791 archive_cmds_need_lc
=yes
7793 allow_undefined_flag
=$lt_save_allow_undefined_flag
7795 cat conftest.err
1>&5
7798 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7799 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7806 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7807 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7809 libname_spec
='lib$name'
7817 shlibpath_overrides_runpath
=unknown
7819 dynamic_linker
="$host_os ld.so"
7820 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7821 if test "$GCC" = yes; then
7822 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7823 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7824 # if the path contains ";" then we assume it to be the separator
7825 # otherwise default to the standard path separator (i.e. ":") - it is
7826 # assumed that no part of a normal pathname contains ";" but that should
7827 # okay in the real world where ";" in dirpaths is itself problematic.
7828 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7830 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7833 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7835 need_lib_prefix
=unknown
7836 hardcode_into_libs
=no
7838 # when you set need_version to no, make sure it does not cause -set_version
7839 # flags to be left without arguments
7840 need_version
=unknown
7845 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7846 shlibpath_var
=LIBPATH
7848 # AIX 3 has no versioning support, so we append a major version to the name.
7849 soname_spec
='${libname}${release}${shared_ext}$major'
7856 hardcode_into_libs
=yes
7857 if test "$host_cpu" = ia64
; then
7858 # AIX 5 supports IA64
7859 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7860 shlibpath_var
=LD_LIBRARY_PATH
7862 # With GCC up to 2.95.x, collect2 would create an import file
7863 # for dependence libraries. The import file would start with
7864 # the line `#! .'. This would cause the generated library to
7865 # depend on `.', always an invalid library. This was fixed in
7866 # development snapshots of GCC prior to 3.0.
7868 aix4 | aix4.
[01] | aix4.
[01].
*)
7869 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7871 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7878 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7879 # soname into executable. Probably we can add versioning support to
7880 # collect2, so additional links can be useful in future.
7881 if test "$aix_use_runtimelinking" = yes; then
7882 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7883 # instead of lib<name>.a to let people know that these are not
7884 # typical AIX shared libraries.
7885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7887 # We preserve .a as extension for shared libraries through AIX4.2
7888 # and later when we are not doing run time linking.
7889 library_names_spec
='${libname}${release}.a $libname.a'
7890 soname_spec
='${libname}${release}${shared_ext}$major'
7892 shlibpath_var
=LIBPATH
7897 library_names_spec
='$libname.ixlibrary $libname.a'
7898 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7899 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'
7903 library_names_spec
='${libname}${shared_ext}'
7904 dynamic_linker
="$host_os ld.so"
7905 shlibpath_var
=LIBRARY_PATH
7911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7912 soname_spec
='${libname}${release}${shared_ext}$major'
7913 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7914 shlibpath_var
=LD_LIBRARY_PATH
7915 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7916 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7917 # the default ld.so.conf also contains /usr/contrib/lib and
7918 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7919 # libtool to hard-code these into programs
7922 cygwin
* | mingw
* | pw32
*)
7923 version_type
=windows
7928 case $GCC,$host_os in
7929 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7930 library_names_spec
='$libname.dll.a'
7931 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7932 postinstall_cmds
='base_file=`basename \${file}`~
7933 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7934 dldir=$destdir/`dirname \$dlpath`~
7935 test -d \$dldir || mkdir -p \$dldir~
7936 $install_prog $dir/$dlname \$dldir/$dlname~
7937 chmod a+x \$dldir/$dlname'
7938 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7939 dlpath=$dir/\$dldll~
7941 shlibpath_overrides_runpath
=yes
7945 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7946 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7947 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7950 # MinGW DLLs use traditional 'lib' prefix
7951 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7952 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7953 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7954 # It is most probably a Windows format PATH printed by
7955 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7956 # path with ; separators, and with drive letters. We can handle the
7957 # drive letters (cygwin fileutils understands them), so leave them,
7958 # especially as we might pass files found there to a mingw objdump,
7959 # which wouldn't understand a cygwinified path. Ahh.
7960 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7962 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7966 # pw32 DLLs use 'pw' prefix rather than 'lib'
7967 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7973 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7976 dynamic_linker
='Win32 ld.exe'
7977 # FIXME: first we should search . and the directory the executable is in
7981 darwin
* | rhapsody
*)
7982 dynamic_linker
="$host_os dyld"
7986 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7987 soname_spec
='${libname}${release}${major}$shared_ext'
7988 shlibpath_overrides_runpath
=yes
7989 shlibpath_var
=DYLD_LIBRARY_PATH
7990 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
7991 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7992 if test "$GCC" = yes; then
7993 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"`
7995 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7997 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8005 soname_spec
='${libname}${release}${shared_ext}$major'
8006 shlibpath_var
=LD_LIBRARY_PATH
8017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8018 soname_spec
='${libname}${release}${shared_ext}$major'
8019 shlibpath_var
=LD_LIBRARY_PATH
8020 shlibpath_overrides_runpath
=no
8021 hardcode_into_libs
=yes
8022 dynamic_linker
='GNU ld.so'
8025 freebsd
* | dragonfly
*)
8026 # DragonFly does not have aout. When/if they implement a new
8027 # versioning mechanism, adjust this.
8028 if test -x /usr
/bin
/objformat
; then
8029 objformat
=`/usr/bin/objformat`
8032 freebsd
[123]*) objformat
=aout
;;
8036 version_type
=freebsd-
$objformat
8037 case $version_type in
8039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8044 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8048 shlibpath_var
=LD_LIBRARY_PATH
8051 shlibpath_overrides_runpath
=yes
8053 freebsd3.
[01]* | freebsdelf3.
[01]*)
8054 shlibpath_overrides_runpath
=yes
8055 hardcode_into_libs
=yes
8058 shlibpath_overrides_runpath
=no
8059 hardcode_into_libs
=yes
8068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8069 soname_spec
='${libname}${release}${shared_ext}$major'
8070 shlibpath_var
=LD_LIBRARY_PATH
8071 hardcode_into_libs
=yes
8074 hpux9
* | hpux10
* | hpux11
*)
8075 # Give a soname corresponding to the major version so that dld.sl refuses to
8076 # link against other versions.
8083 hardcode_into_libs
=yes
8084 dynamic_linker
="$host_os dld.so"
8085 shlibpath_var
=LD_LIBRARY_PATH
8086 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8088 soname_spec
='${libname}${release}${shared_ext}$major'
8089 if test "X$HPUX_IA64_MODE" = X32
; then
8090 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8092 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8094 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8098 hardcode_into_libs
=yes
8099 dynamic_linker
="$host_os dld.sl"
8100 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8101 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8103 soname_spec
='${libname}${release}${shared_ext}$major'
8104 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8105 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8109 dynamic_linker
="$host_os dld.sl"
8110 shlibpath_var
=SHLIB_PATH
8111 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8113 soname_spec
='${libname}${release}${shared_ext}$major'
8116 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8117 postinstall_cmds
='chmod 555 $lib'
8120 irix5
* | irix6
* | nonstopux
*)
8122 nonstopux
*) version_type
=nonstopux
;;
8124 if test "$lt_cv_prog_gnu_ld" = yes; then
8132 soname_spec
='${libname}${release}${shared_ext}$major'
8133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8135 irix5
* | nonstopux
*)
8139 case $LD in # libtool.m4 will add one of these switches to LD
8140 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8141 libsuff
= shlibsuff
= libmagic
=32-bit;;
8142 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8143 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8144 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8145 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8146 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8150 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8151 shlibpath_overrides_runpath
=no
8152 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8153 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8154 hardcode_into_libs
=yes
8157 # No shared lib support for Linux oldld, aout, or coff.
8158 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8162 # This must be Linux ELF.
8167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8168 soname_spec
='${libname}${release}${shared_ext}$major'
8169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8170 shlibpath_var
=LD_LIBRARY_PATH
8171 shlibpath_overrides_runpath
=no
8172 # This implies no fast_install, which is unacceptable.
8173 # Some rework will be needed to allow for fast_install
8174 # before this can be enabled.
8175 hardcode_into_libs
=yes
8177 # Append ld.so.conf contents to the search path
8178 if test -f /etc
/ld.so.conf
; then
8179 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8180 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8183 # We used to test for /lib/ld.so.1 and disable shared libraries on
8184 # powerpc, because MkLinux only supported shared libraries with the
8185 # GNU dynamic linker. Since this was broken with cross compilers,
8186 # most powerpc-linux boxes support dynamic linking these days and
8187 # people can always --disable-shared, the test was removed, and we
8188 # assume the GNU/Linux dynamic linker is in use.
8189 dynamic_linker
='GNU/Linux ld.so'
8196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8197 soname_spec
='${libname}${release}${shared_ext}$major'
8198 shlibpath_var
=LD_LIBRARY_PATH
8199 shlibpath_overrides_runpath
=no
8200 hardcode_into_libs
=yes
8201 dynamic_linker
='GNU ld.so'
8208 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8210 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8211 dynamic_linker
='NetBSD (a.out) ld.so'
8213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8214 soname_spec
='${libname}${release}${shared_ext}$major'
8215 dynamic_linker
='NetBSD ld.elf_so'
8217 shlibpath_var
=LD_LIBRARY_PATH
8218 shlibpath_overrides_runpath
=yes
8219 hardcode_into_libs
=yes
8224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8225 shlibpath_var
=LD_LIBRARY_PATH
8226 shlibpath_overrides_runpath
=yes
8233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8234 soname_spec
='${libname}${release}${shared_ext}$major'
8235 shlibpath_var
=LD_LIBRARY_PATH
8236 shlibpath_overrides_runpath
=yes
8242 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8244 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8245 *) need_version
=no
;;
8247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8249 shlibpath_var
=LD_LIBRARY_PATH
8250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8252 openbsd2.
[89] | openbsd2.
[89].
*)
8253 shlibpath_overrides_runpath
=no
8256 shlibpath_overrides_runpath
=yes
8260 shlibpath_overrides_runpath
=yes
8265 libname_spec
='$name'
8268 library_names_spec
='$libname${shared_ext} $libname.a'
8269 dynamic_linker
='OS/2 ld.exe'
8270 shlibpath_var
=LIBPATH
8273 osf3
* | osf4
* | osf5
*)
8277 soname_spec
='${libname}${release}${shared_ext}$major'
8278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8279 shlibpath_var
=LD_LIBRARY_PATH
8280 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8281 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8286 soname_spec
='${libname}${release}${shared_ext}$major'
8287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8288 shlibpath_var
=LD_LIBRARY_PATH
8295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8296 soname_spec
='${libname}${release}${shared_ext}$major'
8297 shlibpath_var
=LD_LIBRARY_PATH
8298 shlibpath_overrides_runpath
=yes
8299 hardcode_into_libs
=yes
8300 # ldd complains unless libraries are executable
8301 postinstall_cmds
='chmod +x $lib'
8306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8307 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8308 shlibpath_var
=LD_LIBRARY_PATH
8309 shlibpath_overrides_runpath
=yes
8310 if test "$with_gnu_ld" = yes; then
8316 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8319 soname_spec
='${libname}${release}${shared_ext}$major'
8320 shlibpath_var
=LD_LIBRARY_PATH
8321 case $host_vendor in
8323 shlibpath_overrides_runpath
=no
8325 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8326 runpath_var
=LD_RUN_PATH
8334 shlibpath_overrides_runpath
=no
8335 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8341 if test -d /usr
/nec
;then
8343 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8344 soname_spec
='$libname${shared_ext}.$major'
8345 shlibpath_var
=LD_LIBRARY_PATH
8351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8352 soname_spec
='${libname}${release}${shared_ext}$major'
8353 shlibpath_var
=LD_LIBRARY_PATH
8360 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8361 echo "${ECHO_T}$dynamic_linker" >&6
8362 test "$dynamic_linker" = no
&& can_build_shared
=no
8364 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8365 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8367 if test -n "$hardcode_libdir_flag_spec" || \
8368 test -n "$runpath_var" || \
8369 test "X$hardcode_automatic" = "Xyes" ; then
8371 # We can hardcode non-existant directories.
8372 if test "$hardcode_direct" != no
&&
8373 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8374 # have to relink, otherwise we might link with an installed library
8375 # when we should be linking with a yet-to-be-installed one
8376 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8377 test "$hardcode_minus_L" != no
; then
8378 # Linking always hardcodes the temporary library directory.
8379 hardcode_action
=relink
8381 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8382 hardcode_action
=immediate
8385 # We cannot hardcode anything, or else we can only hardcode existing
8387 hardcode_action
=unsupported
8389 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8390 echo "${ECHO_T}$hardcode_action" >&6
8392 if test "$hardcode_action" = relink
; then
8393 # Fast installation is not supported
8394 enable_fast_install
=no
8395 elif test "$shlibpath_overrides_runpath" = yes ||
8396 test "$enable_shared" = no
; then
8397 # Fast installation is not necessary
8398 enable_fast_install
=needless
8403 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8404 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8405 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8406 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8407 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8411 # FIXME - insert some real tests, host_os isn't really good enough
8414 if test -n "$STRIP" ; then
8415 striplib
="$STRIP -x"
8416 echo "$as_me:$LINENO: result: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8419 echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6
8424 echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8430 if test "x$enable_dlopen" != xyes
; then
8431 enable_dlopen
=unknown
8432 enable_dlopen_self
=unknown
8433 enable_dlopen_self_static
=unknown
8440 lt_cv_dlopen
="load_add_on"
8442 lt_cv_dlopen_self
=yes
8446 lt_cv_dlopen
="LoadLibrary"
8451 lt_cv_dlopen
="dlopen"
8456 # if libdl is installed we need to link against it
8457 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8458 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8459 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8460 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 ac_check_lib_save_LIBS
=$LIBS
8464 cat >conftest.
$ac_ext <<_ACEOF
8467 cat confdefs.h
>>conftest.
$ac_ext
8468 cat >>conftest.
$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8471 /* Override any gcc2 internal prototype to avoid an error. */
8475 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */
8486 rm -f conftest.
$ac_objext conftest
$ac_exeext
8487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8488 (eval $ac_link) 2>conftest.er1
8490 grep -v '^ *+' conftest.er1
>conftest.err
8492 cat conftest.err
>&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; } &&
8501 { ac_try
='test -s conftest$ac_exeext'
8502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); }; }; then
8507 ac_cv_lib_dl_dlopen
=yes
8509 echo "$as_me: failed program was:" >&5
8510 sed 's/^/| /' conftest.
$ac_ext >&5
8512 ac_cv_lib_dl_dlopen
=no
8514 rm -f conftest.err conftest.
$ac_objext \
8515 conftest
$ac_exeext conftest.
$ac_ext
8516 LIBS
=$ac_check_lib_save_LIBS
8518 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8519 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8520 if test $ac_cv_lib_dl_dlopen = yes; then
8521 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8526 lt_cv_dlopen_self
=yes
8533 echo "$as_me:$LINENO: checking for shl_load" >&5
8534 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8535 if test "${ac_cv_func_shl_load+set}" = set; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 cat >conftest.
$ac_ext <<_ACEOF
8541 cat confdefs.h
>>conftest.
$ac_ext
8542 cat >>conftest.
$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8544 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8546 #define shl_load innocuous_shl_load
8548 /* System header to define __stub macros and hopefully few prototypes,
8549 which can conflict with char shl_load (); below.
8550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8551 <limits.h> exists even on freestanding compilers. */
8554 # include <limits.h>
8556 # include <assert.h>
8561 /* Override any gcc2 internal prototype to avoid an error. */
8566 /* We use char because int might match the return type of a gcc2
8567 builtin and then its argument prototype would still apply. */
8569 /* The GNU C library defines this for functions which it implements
8570 to always fail with ENOSYS. Some functions are actually named
8571 something starting with __ and the normal name is an alias. */
8572 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8575 char (*f) () = shl_load;
8584 return f != shl_load;
8589 rm -f conftest.
$ac_objext conftest
$ac_exeext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591 (eval $ac_link) 2>conftest.er1
8593 grep -v '^ *+' conftest.er1
>conftest.err
8595 cat conftest.err
>&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; } &&
8604 { ac_try
='test -s conftest$ac_exeext'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; }; then
8610 ac_cv_func_shl_load
=yes
8612 echo "$as_me: failed program was:" >&5
8613 sed 's/^/| /' conftest.
$ac_ext >&5
8615 ac_cv_func_shl_load
=no
8617 rm -f conftest.err conftest.
$ac_objext \
8618 conftest
$ac_exeext conftest.
$ac_ext
8620 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8621 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8622 if test $ac_cv_func_shl_load = yes; then
8623 lt_cv_dlopen
="shl_load"
8625 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8626 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8627 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8628 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 ac_check_lib_save_LIBS
=$LIBS
8632 cat >conftest.
$ac_ext <<_ACEOF
8635 cat confdefs.h
>>conftest.
$ac_ext
8636 cat >>conftest.
$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8639 /* Override any gcc2 internal prototype to avoid an error. */
8643 /* We use char because int might match the return type of a gcc2
8644 builtin and then its argument prototype would still apply. */
8654 rm -f conftest.
$ac_objext conftest
$ac_exeext
8655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8656 (eval $ac_link) 2>conftest.er1
8658 grep -v '^ *+' conftest.er1
>conftest.err
8660 cat conftest.err
>&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } &&
8663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; } &&
8669 { ac_try
='test -s conftest$ac_exeext'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; }; then
8675 ac_cv_lib_dld_shl_load
=yes
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.
$ac_ext >&5
8680 ac_cv_lib_dld_shl_load
=no
8682 rm -f conftest.err conftest.
$ac_objext \
8683 conftest
$ac_exeext conftest.
$ac_ext
8684 LIBS
=$ac_check_lib_save_LIBS
8686 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8687 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8688 if test $ac_cv_lib_dld_shl_load = yes; then
8689 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8691 echo "$as_me:$LINENO: checking for dlopen" >&5
8692 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8693 if test "${ac_cv_func_dlopen+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 cat >conftest.
$ac_ext <<_ACEOF
8699 cat confdefs.h
>>conftest.
$ac_ext
8700 cat >>conftest.
$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8704 #define dlopen innocuous_dlopen
8706 /* System header to define __stub macros and hopefully few prototypes,
8707 which can conflict with char dlopen (); below.
8708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8709 <limits.h> exists even on freestanding compilers. */
8712 # include <limits.h>
8714 # include <assert.h>
8719 /* Override any gcc2 internal prototype to avoid an error. */
8724 /* We use char because int might match the return type of a gcc2
8725 builtin and then its argument prototype would still apply. */
8727 /* The GNU C library defines this for functions which it implements
8728 to always fail with ENOSYS. Some functions are actually named
8729 something starting with __ and the normal name is an alias. */
8730 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8733 char (*f) () = dlopen;
8747 rm -f conftest.
$ac_objext conftest
$ac_exeext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8749 (eval $ac_link) 2>conftest.er1
8751 grep -v '^ *+' conftest.er1
>conftest.err
8753 cat conftest.err
>&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } &&
8756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; } &&
8762 { ac_try
='test -s conftest$ac_exeext'
8763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); }; }; then
8768 ac_cv_func_dlopen
=yes
8770 echo "$as_me: failed program was:" >&5
8771 sed 's/^/| /' conftest.
$ac_ext >&5
8773 ac_cv_func_dlopen
=no
8775 rm -f conftest.err conftest.
$ac_objext \
8776 conftest
$ac_exeext conftest.
$ac_ext
8778 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8779 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8780 if test $ac_cv_func_dlopen = yes; then
8781 lt_cv_dlopen
="dlopen"
8783 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8784 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8785 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8786 echo $ECHO_N "(cached) $ECHO_C" >&6
8788 ac_check_lib_save_LIBS
=$LIBS
8790 cat >conftest.
$ac_ext <<_ACEOF
8793 cat confdefs.h
>>conftest.
$ac_ext
8794 cat >>conftest.
$ac_ext <<_ACEOF
8795 /* end confdefs.h. */
8797 /* Override any gcc2 internal prototype to avoid an error. */
8801 /* We use char because int might match the return type of a gcc2
8802 builtin and then its argument prototype would still apply. */
8812 rm -f conftest.
$ac_objext conftest
$ac_exeext
8813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8814 (eval $ac_link) 2>conftest.er1
8816 grep -v '^ *+' conftest.er1
>conftest.err
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } &&
8821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; } &&
8827 { ac_try
='test -s conftest$ac_exeext'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; }; then
8833 ac_cv_lib_dl_dlopen
=yes
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.
$ac_ext >&5
8838 ac_cv_lib_dl_dlopen
=no
8840 rm -f conftest.err conftest.
$ac_objext \
8841 conftest
$ac_exeext conftest.
$ac_ext
8842 LIBS
=$ac_check_lib_save_LIBS
8844 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8845 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8846 if test $ac_cv_lib_dl_dlopen = yes; then
8847 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8849 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8850 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8851 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 ac_check_lib_save_LIBS
=$LIBS
8856 cat >conftest.
$ac_ext <<_ACEOF
8859 cat confdefs.h
>>conftest.
$ac_ext
8860 cat >>conftest.
$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8863 /* Override any gcc2 internal prototype to avoid an error. */
8867 /* We use char because int might match the return type of a gcc2
8868 builtin and then its argument prototype would still apply. */
8878 rm -f conftest.
$ac_objext conftest
$ac_exeext
8879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8880 (eval $ac_link) 2>conftest.er1
8882 grep -v '^ *+' conftest.er1
>conftest.err
8884 cat conftest.err
>&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } &&
8887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try
='test -s conftest$ac_exeext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 ac_cv_lib_svld_dlopen
=yes
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.
$ac_ext >&5
8904 ac_cv_lib_svld_dlopen
=no
8906 rm -f conftest.err conftest.
$ac_objext \
8907 conftest
$ac_exeext conftest.
$ac_ext
8908 LIBS
=$ac_check_lib_save_LIBS
8910 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8911 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8912 if test $ac_cv_lib_svld_dlopen = yes; then
8913 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8915 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8916 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8917 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 ac_check_lib_save_LIBS
=$LIBS
8922 cat >conftest.
$ac_ext <<_ACEOF
8925 cat confdefs.h
>>conftest.
$ac_ext
8926 cat >>conftest.
$ac_ext <<_ACEOF
8927 /* end confdefs.h. */
8929 /* Override any gcc2 internal prototype to avoid an error. */
8933 /* We use char because int might match the return type of a gcc2
8934 builtin and then its argument prototype would still apply. */
8944 rm -f conftest.
$ac_objext conftest
$ac_exeext
8945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8946 (eval $ac_link) 2>conftest.er1
8948 grep -v '^ *+' conftest.er1
>conftest.err
8950 cat conftest.err
>&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); } &&
8953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); }; } &&
8959 { ac_try
='test -s conftest$ac_exeext'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; }; then
8965 ac_cv_lib_dld_dld_link
=yes
8967 echo "$as_me: failed program was:" >&5
8968 sed 's/^/| /' conftest.
$ac_ext >&5
8970 ac_cv_lib_dld_dld_link
=no
8972 rm -f conftest.err conftest.
$ac_objext \
8973 conftest
$ac_exeext conftest.
$ac_ext
8974 LIBS
=$ac_check_lib_save_LIBS
8976 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8977 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8978 if test $ac_cv_lib_dld_dld_link = yes; then
8979 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9000 if test "x$lt_cv_dlopen" != xno
; then
9006 case $lt_cv_dlopen in
9008 save_CPPFLAGS
="$CPPFLAGS"
9009 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9011 save_LDFLAGS
="$LDFLAGS"
9012 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9015 LIBS
="$lt_cv_dlopen_libs $LIBS"
9017 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9018 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9019 if test "${lt_cv_dlopen_self+set}" = set; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6
9022 if test "$cross_compiling" = yes; then :
9023 lt_cv_dlopen_self
=cross
9025 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9026 lt_status
=$lt_dlunknown
9027 cat > conftest.
$ac_ext <<EOF
9028 #line 9028 "configure"
9029 #include "confdefs.h"
9038 # define LT_DLGLOBAL RTLD_GLOBAL
9041 # define LT_DLGLOBAL DL_GLOBAL
9043 # define LT_DLGLOBAL 0
9047 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9048 find out it does not work in some platform. */
9049 #ifndef LT_DLLAZY_OR_NOW
9051 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9054 # define LT_DLLAZY_OR_NOW DL_LAZY
9057 # define LT_DLLAZY_OR_NOW RTLD_NOW
9060 # define LT_DLLAZY_OR_NOW DL_NOW
9062 # define LT_DLLAZY_OR_NOW 0
9070 extern "C" void exit (int);
9073 void fnord() { int i=42;}
9076 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9077 int status = $lt_dlunknown;
9081 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9082 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9083 /* dlclose (self); */
9089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9090 (eval $ac_link) 2>&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9094 (.
/conftest
; exit; ) >&5 2>/dev
/null
9097 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9098 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9099 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9102 # compilation failed
9103 lt_cv_dlopen_self
=no
9110 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9111 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9113 if test "x$lt_cv_dlopen_self" = xyes
; then
9114 LDFLAGS
="$LDFLAGS $link_static_flag"
9115 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9116 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9117 if test "${lt_cv_dlopen_self_static+set}" = set; then
9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9120 if test "$cross_compiling" = yes; then :
9121 lt_cv_dlopen_self_static
=cross
9123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9124 lt_status
=$lt_dlunknown
9125 cat > conftest.
$ac_ext <<EOF
9126 #line 9126 "configure"
9127 #include "confdefs.h"
9136 # define LT_DLGLOBAL RTLD_GLOBAL
9139 # define LT_DLGLOBAL DL_GLOBAL
9141 # define LT_DLGLOBAL 0
9145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9146 find out it does not work in some platform. */
9147 #ifndef LT_DLLAZY_OR_NOW
9149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9152 # define LT_DLLAZY_OR_NOW DL_LAZY
9155 # define LT_DLLAZY_OR_NOW RTLD_NOW
9158 # define LT_DLLAZY_OR_NOW DL_NOW
9160 # define LT_DLLAZY_OR_NOW 0
9168 extern "C" void exit (int);
9171 void fnord() { int i=42;}
9174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9175 int status = $lt_dlunknown;
9179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9180 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9181 /* dlclose (self); */
9187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9188 (eval $ac_link) 2>&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9192 (.
/conftest
; exit; ) >&5 2>/dev
/null
9195 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9196 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9197 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9200 # compilation failed
9201 lt_cv_dlopen_self_static
=no
9208 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9209 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9212 CPPFLAGS
="$save_CPPFLAGS"
9213 LDFLAGS
="$save_LDFLAGS"
9218 case $lt_cv_dlopen_self in
9219 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9220 *) enable_dlopen_self
=unknown
;;
9223 case $lt_cv_dlopen_self_static in
9224 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9225 *) enable_dlopen_self_static
=unknown
;;
9230 # Report which librarie types wil actually be built
9231 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9232 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9233 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9234 echo "${ECHO_T}$can_build_shared" >&6
9236 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9237 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9238 test "$can_build_shared" = "no" && enable_shared
=no
9240 # On AIX, shared libraries and static libraries use the same namespace, and
9241 # are all built from PIC.
9244 test "$enable_shared" = yes && enable_static
=no
9245 if test -n "$RANLIB"; then
9246 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9247 postinstall_cmds
='$RANLIB $lib'
9252 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9253 test "$enable_shared" = yes && enable_static
=no
9257 echo "$as_me:$LINENO: result: $enable_shared" >&5
9258 echo "${ECHO_T}$enable_shared" >&6
9260 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9261 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9262 # Make sure either enable_shared or enable_static is yes.
9263 test "$enable_shared" = yes || enable_static
=yes
9264 echo "$as_me:$LINENO: result: $enable_static" >&5
9265 echo "${ECHO_T}$enable_static" >&6
9267 # The else clause should only fire when bootstrapping the
9268 # libtool distribution, otherwise you forgot to ship ltmain.sh
9269 # with your package, and you will get complaints that there are
9270 # no rules to generate ltmain.sh.
9271 if test -f "$ltmain"; then
9272 # See if we are running on zsh, and set the options which allow our commands through
9273 # without removal of \ escapes.
9274 if test -n "${ZSH_VERSION+set}" ; then
9275 setopt NO_GLOB_SUBST
9277 # Now quote all the things that may contain metacharacters while being
9278 # careful not to overquote the AC_SUBSTed values. We take copies of the
9279 # variables and quote the copies for generation of the libtool script.
9280 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9282 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9283 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9284 deplibs_check_method reload_flag reload_cmds need_locks \
9285 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9286 lt_cv_sys_global_symbol_to_c_name_address \
9287 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9288 old_postinstall_cmds old_postuninstall_cmds \
9292 lt_prog_compiler_wl \
9293 lt_prog_compiler_pic \
9294 lt_prog_compiler_static \
9295 lt_prog_compiler_no_builtin_flag \
9296 export_dynamic_flag_spec \
9297 thread_safe_flag_spec \
9298 whole_archive_flag_spec \
9299 enable_shared_with_static_runtimes \
9301 old_archive_from_new_cmds \
9306 compiler_lib_search_path \
9308 archive_expsym_cmds \
9310 postuninstall_cmds \
9311 old_archive_from_expsyms_cmds \
9312 allow_undefined_flag \
9314 export_symbols_cmds \
9315 hardcode_libdir_flag_spec \
9316 hardcode_libdir_flag_spec_ld \
9317 hardcode_libdir_separator \
9318 hardcode_automatic \
9320 module_expsym_cmds \
9321 lt_cv_prog_compiler_c_o \
9326 old_archive_cmds | \
9327 old_archive_from_new_cmds | \
9329 archive_expsym_cmds | \
9331 module_expsym_cmds | \
9332 old_archive_from_expsyms_cmds | \
9333 export_symbols_cmds | \
9334 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9335 postinstall_cmds | postuninstall_cmds | \
9336 old_postinstall_cmds | old_postuninstall_cmds | \
9337 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9338 # Double-quote double-evaled strings.
9339 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9342 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9348 *'\$0 --fallback-echo"')
9349 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9354 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9356 { echo "$as_me:$LINENO: creating $ofile" >&5
9357 echo "$as_me: creating $ofile" >&6;}
9359 cat <<__EOF__ >> "$cfgfile"
9362 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9363 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9364 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9366 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9367 # Free Software Foundation, Inc.
9369 # This file is part of GNU Libtool:
9370 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9372 # This program is free software; you can redistribute it and/or modify
9373 # it under the terms of the GNU General Public License as published by
9374 # the Free Software Foundation; either version 2 of the License, or
9375 # (at your option) any later version.
9377 # This program is distributed in the hope that it will be useful, but
9378 # WITHOUT ANY WARRANTY; without even the implied warranty of
9379 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9380 # General Public License for more details.
9382 # You should have received a copy of the GNU General Public License
9383 # along with this program; if not, write to the Free Software
9384 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9386 # As a special exception to the GNU General Public License, if you
9387 # distribute this file as part of a program that contains a
9388 # configuration script generated by Autoconf, you may include it under
9389 # the same distribution terms that you use for the rest of that program.
9391 # A sed program that does not truncate output.
9394 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9395 Xsed="$SED -e 1s/^X//"
9397 # The HP-UX ksh and POSIX shell print the target directory to stdout
9399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9401 # The names of the tagged configurations supported by this script.
9404 # ### BEGIN LIBTOOL CONFIG
9406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9408 # Shell to use when invoking shell scripts.
9411 # Whether or not to build shared libraries.
9412 build_libtool_libs=$enable_shared
9414 # Whether or not to build static libraries.
9415 build_old_libs=$enable_static
9417 # Whether or not to add -lc for building shared libraries.
9418 build_libtool_need_lc=$archive_cmds_need_lc
9420 # Whether or not to disallow shared libs when runtime libs are static
9421 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9423 # Whether or not to optimize for fast installation.
9424 fast_install=$enable_fast_install
9427 host_alias=$host_alias
9432 build_alias=$build_alias
9436 # An echo program that does not interpret backslashes.
9441 AR_FLAGS=$lt_AR_FLAGS
9446 # A language-specific compiler.
9449 # Is the compiler the GNU C compiler?
9455 # The linker used to build libraries.
9458 # Whether we need hard or soft links.
9461 # A BSD-compatible nm program.
9464 # A symbol stripping program
9467 # Used to examine libraries when file_magic_cmd begins "file"
9468 MAGIC_CMD=$MAGIC_CMD
9470 # Used on cygwin: DLL creation program.
9473 # Used on cygwin: object dumper.
9476 # Used on cygwin: assembler.
9479 # The name of the directory that contains temporary libtool files.
9482 # How to create reloadable object files.
9483 reload_flag=$lt_reload_flag
9484 reload_cmds=$lt_reload_cmds
9486 # How to pass a linker flag through the compiler.
9487 wl=$lt_lt_prog_compiler_wl
9489 # Object file suffix (normally "o").
9492 # Old archive suffix (normally "a").
9495 # Shared library suffix (normally ".so").
9496 shrext_cmds='$shrext_cmds'
9498 # Executable file suffix (normally "").
9501 # Additional compiler flags for building library objects.
9502 pic_flag=$lt_lt_prog_compiler_pic
9505 # What is the maximum length of a command?
9506 max_cmd_len=$lt_cv_sys_max_cmd_len
9508 # Does compiler simultaneously support -c and -o options?
9509 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9511 # Must we lock files when doing compilation?
9512 need_locks=$lt_need_locks
9514 # Do we need the lib prefix for modules?
9515 need_lib_prefix=$need_lib_prefix
9517 # Do we need a version for libraries?
9518 need_version=$need_version
9520 # Whether dlopen is supported.
9521 dlopen_support=$enable_dlopen
9523 # Whether dlopen of programs is supported.
9524 dlopen_self=$enable_dlopen_self
9526 # Whether dlopen of statically linked programs is supported.
9527 dlopen_self_static=$enable_dlopen_self_static
9529 # Compiler flag to prevent dynamic linking.
9530 link_static_flag=$lt_lt_prog_compiler_static
9532 # Compiler flag to turn off builtin functions.
9533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9535 # Compiler flag to allow reflexive dlopens.
9536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9538 # Compiler flag to generate shared objects directly from archives.
9539 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9541 # Compiler flag to generate thread-safe objects.
9542 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9544 # Library versioning type.
9545 version_type=$version_type
9547 # Format of library name prefix.
9548 libname_spec=$lt_libname_spec
9550 # List of archive names. First name is the real one, the rest are links.
9551 # The last name is the one that the linker finds with -lNAME.
9552 library_names_spec=$lt_library_names_spec
9554 # The coded name of the library, if different from the real name.
9555 soname_spec=$lt_soname_spec
9557 # Commands used to build and install an old-style archive.
9559 old_archive_cmds=$lt_old_archive_cmds
9560 old_postinstall_cmds=$lt_old_postinstall_cmds
9561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9563 # Create an old-style archive from a shared archive.
9564 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9566 # Create a temporary old-style archive to link instead of a shared archive.
9567 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9569 # Commands used to build and install a shared archive.
9570 archive_cmds=$lt_archive_cmds
9571 archive_expsym_cmds=$lt_archive_expsym_cmds
9572 postinstall_cmds=$lt_postinstall_cmds
9573 postuninstall_cmds=$lt_postuninstall_cmds
9575 # Commands used to build a loadable module (assumed same as above if empty)
9576 module_cmds=$lt_module_cmds
9577 module_expsym_cmds=$lt_module_expsym_cmds
9579 # Commands to strip libraries.
9580 old_striplib=$lt_old_striplib
9581 striplib=$lt_striplib
9583 # Dependencies to place before the objects being linked to create a
9585 predep_objects=$lt_predep_objects
9587 # Dependencies to place after the objects being linked to create a
9589 postdep_objects=$lt_postdep_objects
9591 # Dependencies to place before the objects being linked to create a
9595 # Dependencies to place after the objects being linked to create a
9597 postdeps=$lt_postdeps
9599 # The library search path used internally by the compiler when linking
9601 compiler_lib_search_path=$lt_compiler_lib_search_path
9603 # Method to check whether dependent libraries are shared objects.
9604 deplibs_check_method=$lt_deplibs_check_method
9606 # Command to use when deplibs_check_method == file_magic.
9607 file_magic_cmd=$lt_file_magic_cmd
9609 # Flag that allows shared libraries with undefined symbols to be built.
9610 allow_undefined_flag=$lt_allow_undefined_flag
9612 # Flag that forces no undefined symbols.
9613 no_undefined_flag=$lt_no_undefined_flag
9615 # Commands used to finish a libtool library installation in a directory.
9616 finish_cmds=$lt_finish_cmds
9618 # Same as above, but a single script fragment to be evaled but not shown.
9619 finish_eval=$lt_finish_eval
9621 # Take the output of nm and produce a listing of raw symbols and C names.
9622 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9624 # Transform the output of nm in a proper C declaration
9625 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9627 # Transform the output of nm in a C name address pair
9628 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9630 # This is the shared library runtime path variable.
9631 runpath_var=$runpath_var
9633 # This is the shared library path variable.
9634 shlibpath_var=$shlibpath_var
9636 # Is shlibpath searched before the hard-coded library search path?
9637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9639 # How to hardcode a shared library path into an executable.
9640 hardcode_action=$hardcode_action
9642 # Whether we should hardcode library paths into libraries.
9643 hardcode_into_libs=$hardcode_into_libs
9645 # Flag to hardcode \$libdir into a binary during linking.
9646 # This must work even if \$libdir does not exist.
9647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9649 # If ld is used when linking, flag to hardcode \$libdir into
9650 # a binary during linking. This must work even if \$libdir does
9652 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9654 # Whether we need a single -rpath flag with a separated argument.
9655 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9657 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9659 hardcode_direct=$hardcode_direct
9661 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9663 hardcode_minus_L=$hardcode_minus_L
9665 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9666 # the resulting binary.
9667 hardcode_shlibpath_var=$hardcode_shlibpath_var
9669 # Set to yes if building a shared library automatically hardcodes DIR into the library
9670 # and all subsequent libraries and executables linked against it.
9671 hardcode_automatic=$hardcode_automatic
9673 # Variables whose values should be saved in libtool wrapper scripts and
9674 # restored at relink time.
9675 variables_saved_for_relink="$variables_saved_for_relink"
9677 # Whether libtool must link a program against all its dependency libraries.
9678 link_all_deplibs=$link_all_deplibs
9680 # Compile-time system search path for libraries
9681 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9683 # Run-time system search path for libraries
9684 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9686 # Fix the shell variable \$srcfile for the compiler.
9687 fix_srcfile_path="$fix_srcfile_path"
9689 # Set to yes if exported symbols are required.
9690 always_export_symbols=$always_export_symbols
9692 # The commands to list exported symbols.
9693 export_symbols_cmds=$lt_export_symbols_cmds
9695 # The commands to extract the exported symbol list from a shared archive.
9696 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9698 # Symbols that should not be listed in the preloaded symbols.
9699 exclude_expsyms=$lt_exclude_expsyms
9701 # Symbols that must always be exported.
9702 include_expsyms=$lt_include_expsyms
9704 # ### END LIBTOOL CONFIG
9711 cat <<\EOF
>> "$cfgfile"
9713 # AIX sometimes has problems with the GCC collect2 program. For some
9714 # reason, if we set the COLLECT_NAMES environment variable, the problems
9715 # vanish in a puff of smoke.
9716 if test "X${COLLECT_NAMES+set}" != Xset
; then
9718 export COLLECT_NAMES
9724 # We use sed instead of cat because bash on DJGPP gets confused if
9725 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9726 # text mode, it properly converts lines to CR/LF. This bash problem
9727 # is reportedly fixed, but why not run on old versions too?
9728 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9730 mv -f "$cfgfile" "$ofile" || \
9731 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9735 # If there is no Makefile yet, we rely on a make rule to execute
9736 # `config.status --recheck' to rerun these tests and create the
9737 # libtool script then.
9738 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9739 if test -f "$ltmain_in"; then
9740 test -f Makefile
&& make "$ltmain"
9746 ac_cpp
='$CPP $CPPFLAGS'
9747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9754 # Check whether --with-tags or --without-tags was given.
9755 if test "${with_tags+set}" = set; then
9756 withval
="$with_tags"
9760 if test -f "$ltmain" && test -n "$tagnames"; then
9761 if test ! -f "${ofile}"; then
9762 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9763 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9766 if test -z "$LTCC"; then
9767 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9768 if test -z "$LTCC"; then
9769 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9770 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9772 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9773 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9777 # Extract list of available tagged configurations in $ofile.
9778 # Note that this assumes the entire list is on one line.
9779 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9781 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9782 for tagname
in $tagnames; do
9784 # Check whether tagname contains only valid characters
9785 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9787 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9788 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9789 { (exit 1); exit 1; }; }
9793 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9795 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9796 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9797 { (exit 1); exit 1; }; }
9800 # Update the list of available tags.
9801 if test -n "$tagname"; then
9802 echo appending configuration tag
\"$tagname\" to
$ofile
9806 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9807 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9808 (test "X$CXX" != "Xg++"))) ; then
9810 ac_cpp
='$CXXCPP $CPPFLAGS'
9811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9818 archive_cmds_need_lc_CXX
=no
9819 allow_undefined_flag_CXX
=
9820 always_export_symbols_CXX
=no
9821 archive_expsym_cmds_CXX
=
9822 export_dynamic_flag_spec_CXX
=
9823 hardcode_direct_CXX
=no
9824 hardcode_libdir_flag_spec_CXX
=
9825 hardcode_libdir_flag_spec_ld_CXX
=
9826 hardcode_libdir_separator_CXX
=
9827 hardcode_minus_L_CXX
=no
9828 hardcode_automatic_CXX
=no
9830 module_expsym_cmds_CXX
=
9831 link_all_deplibs_CXX
=unknown
9832 old_archive_cmds_CXX
=$old_archive_cmds
9833 no_undefined_flag_CXX
=
9834 whole_archive_flag_spec_CXX
=
9835 enable_shared_with_static_runtimes_CXX
=no
9837 # Dependencies to place before and after the object being linked:
9839 postdep_objects_CXX
=
9842 compiler_lib_search_path_CXX
=
9844 # Source file extension for C++ test sources.
9847 # Object file extension for compiled C++ test sources.
9851 # Code to be used in simple compile tests
9852 lt_simple_compile_test_code
="int some_variable = 0;\n"
9854 # Code to be used in simple link tests
9855 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9857 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9859 # If no C compiler was specified, use CC.
9862 # Allow CC to be a program name with arguments.
9866 # save warnings/boilerplate of simple test code
9867 ac_outfile
=conftest.
$ac_objext
9868 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9869 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9870 _lt_compiler_boilerplate
=`cat conftest.err`
9873 ac_outfile
=conftest.
$ac_objext
9874 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9875 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9876 _lt_linker_boilerplate
=`cat conftest.err`
9880 # Allow CC to be a program name with arguments.
9885 lt_save_with_gnu_ld
=$with_gnu_ld
9886 lt_save_path_LD
=$lt_cv_path_LD
9887 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9888 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9890 unset lt_cv_prog_gnu_ld
9892 if test -n "${lt_cv_path_LDCXX+set}"; then
9893 lt_cv_path_LD
=$lt_cv_path_LDCXX
9897 test -z "${LDCXX+set}" || LD
=$LDCXX
9901 for cc_temp
in $compiler""; do
9903 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9904 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9909 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9912 # We don't want -fno-exception wen compiling C++ code, so set the
9913 # no_builtin_flag separately
9914 if test "$GXX" = yes; then
9915 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9917 lt_prog_compiler_no_builtin_flag_CXX
=
9920 if test "$GXX" = yes; then
9921 # Set up default GNU C++ configuration
9924 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9925 if test "${with_gnu_ld+set}" = set; then
9926 withval
="$with_gnu_ld"
9927 test "$withval" = no || with_gnu_ld
=yes
9932 if test "$GCC" = yes; then
9933 # Check if gcc -print-prog-name=ld gives a path.
9934 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9935 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9938 # gcc leaves a trailing carriage return which upsets mingw
9939 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9941 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9944 # Accept absolute paths.
9946 re_direlt
='/[^/][^/]*/\.\./'
9947 # Canonicalize the pathname of ld
9948 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9949 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9950 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9952 test -z "$LD" && LD
="$ac_prog"
9955 # If it fails, then pretend we aren't using GCC.
9959 # If it is relative, then search for the first ld in PATH.
9963 elif test "$with_gnu_ld" = yes; then
9964 echo "$as_me:$LINENO: checking for GNU ld" >&5
9965 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9967 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9968 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9970 if test "${lt_cv_path_LD+set}" = set; then
9971 echo $ECHO_N "(cached) $ECHO_C" >&6
9973 if test -z "$LD"; then
9974 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9975 for ac_dir
in $PATH; do
9977 test -z "$ac_dir" && ac_dir
=.
9978 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9979 lt_cv_path_LD
="$ac_dir/$ac_prog"
9980 # Check to see if the program is GNU ld. I'd rather use --version,
9981 # but apparently some variants of GNU ld only accept -v.
9982 # Break only if it was the GNU/non-GNU ld that we prefer.
9983 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9984 *GNU
* |
*'with BFD'*)
9985 test "$with_gnu_ld" != no
&& break
9988 test "$with_gnu_ld" != yes && break
9995 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10000 if test -n "$LD"; then
10001 echo "$as_me:$LINENO: result: $LD" >&5
10002 echo "${ECHO_T}$LD" >&6
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10007 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10008 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10009 { (exit 1); exit 1; }; }
10010 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10011 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10012 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10016 case `$LD -v 2>&1 </dev/null` in
10017 *GNU
* |
*'with BFD'*)
10018 lt_cv_prog_gnu_ld
=yes
10021 lt_cv_prog_gnu_ld
=no
10025 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10026 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10027 with_gnu_ld
=$lt_cv_prog_gnu_ld
10031 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10032 # archiving commands below assume that GNU ld is being used.
10033 if test "$with_gnu_ld" = yes; then
10034 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10035 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10038 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10040 # If archive_cmds runs LD, not CC, wlarc should be empty
10041 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10042 # investigate it a little bit more. (MM)
10045 # ancient GNU ld didn't support --whole-archive et. al.
10046 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10047 grep 'no-whole-archive' > /dev
/null
; then
10048 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10050 whole_archive_flag_spec_CXX
=
10056 # A generic and very simple default shared library creation
10057 # command for GNU C++ for the case where it uses the native
10058 # linker, instead of GNU ld. If possible, this setting should
10059 # overridden to take advantage of the native linker features on
10060 # the platform it is being used on.
10061 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10064 # Commands to make compiler produce verbose output that lists
10065 # what "hidden" libraries, object files and flags are used when
10066 # linking a shared library.
10067 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10075 # PORTME: fill in a description of your system's C++ link characteristics
10076 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10077 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10081 # FIXME: insert proper C++ library support
10085 if test "$host_cpu" = ia64
; then
10086 # On IA64, the linker does run time linking by default, so we don't
10087 # have to do anything special.
10088 aix_use_runtimelinking
=no
10089 exp_sym_flag
='-Bexport'
10092 aix_use_runtimelinking
=no
10094 # Test if we are trying to use run time linking or normal
10095 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10096 # need to do runtime linking.
10097 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10098 for ld_flag
in $LDFLAGS; do
10101 aix_use_runtimelinking
=yes
10108 exp_sym_flag
='-bexport'
10109 no_entry_flag
='-bnoentry'
10112 # When large executables or shared objects are built, AIX ld can
10113 # have problems creating the table of contents. If linking a library
10114 # or program results in "error TOC overflow" add -mminimal-toc to
10115 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10116 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10118 archive_cmds_CXX
=''
10119 hardcode_direct_CXX
=yes
10120 hardcode_libdir_separator_CXX
=':'
10121 link_all_deplibs_CXX
=yes
10123 if test "$GXX" = yes; then
10124 case $host_os in aix4.
[012]|aix4.
[012].
*)
10125 # We only want to do this on AIX 4.2 and lower, the check
10126 # below for broken collect2 doesn't work under 4.3+
10127 collect2name
=`${CC} -print-prog-name=collect2`
10128 if test -f "$collect2name" && \
10129 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10131 # We have reworked collect2
10132 hardcode_direct_CXX
=yes
10134 # We have old collect2
10135 hardcode_direct_CXX
=unsupported
10136 # It fails to find uninstalled libraries when the uninstalled
10137 # path is not listed in the libpath. Setting hardcode_minus_L
10138 # to unsupported forces relinking
10139 hardcode_minus_L_CXX
=yes
10140 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10141 hardcode_libdir_separator_CXX
=
10144 shared_flag
='-shared'
10145 if test "$aix_use_runtimelinking" = yes; then
10146 shared_flag
="$shared_flag "'${wl}-G'
10150 if test "$host_cpu" = ia64
; then
10151 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10152 # chokes on -Wl,-G. The following line is correct:
10155 if test "$aix_use_runtimelinking" = yes; then
10156 shared_flag
='${wl}-G'
10158 shared_flag
='${wl}-bM:SRE'
10163 # It seems that -bexpall does not export symbols beginning with
10164 # underscore (_), so it is better to generate a list of symbols to export.
10165 always_export_symbols_CXX
=yes
10166 if test "$aix_use_runtimelinking" = yes; then
10167 # Warning - without using the other runtime loading flags (-brtl),
10168 # -berok will link without error, but may produce a broken library.
10169 allow_undefined_flag_CXX
='-berok'
10170 # Determine the default libpath from the value encoded in an empty executable.
10171 cat >conftest.
$ac_ext <<_ACEOF
10174 cat confdefs.h
>>conftest.
$ac_ext
10175 cat >>conftest.
$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10186 rm -f conftest.
$ac_objext conftest
$ac_exeext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1
>conftest.err
10192 cat conftest.err
>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; } &&
10201 { ac_try
='test -s conftest$ac_exeext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10208 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10210 # Check for a 64-bit object if we didn't find anything.
10211 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; }
10214 echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.
$ac_ext >&5
10218 rm -f conftest.err conftest.
$ac_objext \
10219 conftest
$ac_exeext conftest.
$ac_ext
10220 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10222 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10224 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10226 if test "$host_cpu" = ia64; then
10227 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10228 allow_undefined_flag_CXX="-z nodefs"
10229 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10231 # Determine the default libpath from the value encoded in an empty executable.
10232 cat >conftest.$ac_ext <<_ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10247 rm -f conftest.$ac_objext conftest$ac_exeext
10248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10249 (eval $ac_link) 2>conftest.er1
10251 grep -v '^ *+' conftest.er1 >conftest.err
10253 cat conftest.err >&5
10254 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10260 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10261 (exit $ac_status); }; } &&
10262 { ac_try='test -s conftest$ac_exeext'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5
10266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10267 (exit $ac_status); }; }; then
10269 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10271 # Check for a 64-bit object if we didn't find anything.
10272 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; }
10275 echo "$as_me: failed program was
:" >&5
10276 sed 's/^/| /' conftest.$ac_ext >&5
10279 rm -f conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10283 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10284 # Warning - without using the other run time loading flags,
10285 # -berok will link without error, but may produce a broken library.
10286 no_undefined_flag_CXX=' ${wl}-bernotok'
10287 allow_undefined_flag_CXX=' ${wl}-berok'
10288 # -bexpall does not export symbols beginning with underscore (_)
10289 always_export_symbols_CXX=yes
10290 # Exported symbols can be pulled into shared objects from archives
10291 whole_archive_flag_spec_CXX=' '
10292 archive_cmds_need_lc_CXX=yes
10293 # This is similar to how AIX traditionally builds its shared libraries.
10294 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10299 case $cc_basename in
10301 # FIXME: insert proper C++ library support
10308 cygwin* | mingw* | pw32*)
10309 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10310 # as there is no search path for DLLs.
10311 hardcode_libdir_flag_spec_CXX='-L$libdir'
10312 allow_undefined_flag_CXX=unsupported
10313 always_export_symbols_CXX=no
10314 enable_shared_with_static_runtimes_CXX=yes
10316 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10317 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10318 # If the export-symbols file already is a .def file (1st line
10319 # is EXPORTS), use it as is; otherwise, prepend...
10320 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10321 cp $export_symbols $output_objdir/$soname.def;
10323 echo EXPORTS > $output_objdir/$soname.def;
10324 cat $export_symbols >> $output_objdir/$soname.def;
10326 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10331 darwin* | rhapsody*)
10333 rhapsody* | darwin1.[012])
10334 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10337 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10338 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10340 case ${MACOSX_DEPLOYMENT_TARGET} in
10342 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10345 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10351 archive_cmds_need_lc_CXX=no
10352 hardcode_direct_CXX=no
10353 hardcode_automatic_CXX=yes
10354 hardcode_shlibpath_var_CXX=unsupported
10355 whole_archive_flag_spec_CXX=''
10356 link_all_deplibs_CXX=yes
10358 if test "$GXX" = yes ; then
10359 lt_int_apple_cc_single_mod=no
10360 output_verbose_link_cmd='echo'
10361 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10362 lt_int_apple_cc_single_mod=yes
10364 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10365 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10367 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10369 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10370 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10371 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10372 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10374 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10376 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10378 case $cc_basename in
10380 output_verbose_link_cmd
='echo'
10381 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10382 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10383 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10384 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10385 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10395 case $cc_basename in
10397 # FIXME: insert proper C++ library support
10401 # Green Hills C++ Compiler
10402 # FIXME: insert proper C++ library support
10406 # FIXME: insert proper C++ library support
10412 # C++ shared libraries reported to be fairly broken before switch to ELF
10416 archive_cmds_need_lc_CXX
=no
10418 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10419 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10426 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10427 hardcode_libdir_separator_CXX
=:
10428 export_dynamic_flag_spec_CXX
='${wl}-E'
10429 hardcode_direct_CXX
=yes
10430 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10431 # but as the default
10432 # location of the library.
10434 case $cc_basename in
10436 # FIXME: insert proper C++ library support
10440 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10441 # Commands to make compiler produce verbose output that lists
10442 # what "hidden" libraries, object files and flags are used when
10443 # linking a shared library.
10445 # There doesn't appear to be a way to prevent this compiler from
10446 # explicitly linking system object files so we need to strip them
10447 # from the output so that they don't get included in the library
10449 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'
10452 if test "$GXX" = yes; then
10453 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10455 # FIXME: insert proper C++ library support
10462 if test $with_gnu_ld = no
; then
10465 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10466 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10467 hardcode_libdir_separator_CXX
=:
10470 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10473 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10474 hardcode_libdir_separator_CXX
=:
10475 export_dynamic_flag_spec_CXX
='${wl}-E'
10481 hardcode_direct_CXX
=no
10482 hardcode_shlibpath_var_CXX
=no
10485 hardcode_direct_CXX
=no
10486 hardcode_shlibpath_var_CXX
=no
10487 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10488 # but as the default
10489 # location of the library.
10492 hardcode_direct_CXX
=yes
10493 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10494 # but as the default
10495 # location of the library.
10499 case $cc_basename in
10501 # FIXME: insert proper C++ library support
10507 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10510 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10513 # Commands to make compiler produce verbose output that lists
10514 # what "hidden" libraries, object files and flags are used when
10515 # linking a shared library.
10517 # There doesn't appear to be a way to prevent this compiler from
10518 # explicitly linking system object files so we need to strip them
10519 # from the output so that they don't get included in the library
10521 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'
10524 if test "$GXX" = yes; then
10525 if test $with_gnu_ld = no
; then
10528 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10531 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10536 # FIXME: insert proper C++ library support
10543 case $cc_basename in
10546 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10548 # Archives containing C++ object files must be created using
10549 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10550 # necessary to make sure instantiated templates are included
10552 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10555 if test "$GXX" = yes; then
10556 if test "$with_gnu_ld" = no
; then
10557 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10559 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10562 link_all_deplibs_CXX
=yes
10565 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10566 hardcode_libdir_separator_CXX
=:
10569 case $cc_basename in
10571 # Kuck and Associates, Inc. (KAI) C++ Compiler
10573 # KCC will only create a shared library if the output file
10574 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10575 # to its proper name (with version) after linking.
10576 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10577 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10578 # Commands to make compiler produce verbose output that lists
10579 # what "hidden" libraries, object files and flags are used when
10580 # linking a shared library.
10582 # There doesn't appear to be a way to prevent this compiler from
10583 # explicitly linking system object files so we need to strip them
10584 # from the output so that they don't get included in the library
10586 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'
10588 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10589 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10591 # Archives containing C++ object files must be created using
10592 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10593 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10598 # version 8.0 and above of icpc choke on multiply defined symbols
10599 # if we add $predep_objects and $postdep_objects, however 7.1 and
10600 # earlier do not add the objects themselves.
10601 case `$CC -V 2>&1` in
10603 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10604 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10606 *) # Version 8.0 or newer
10609 ia64
*) tmp_idyn
=' -i_dynamic';;
10611 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10612 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10615 archive_cmds_need_lc_CXX
=no
10616 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10617 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10618 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10621 # Portland Group C++ compiler
10622 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10623 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10625 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10626 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10627 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10631 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10632 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10634 runpath_var
=LD_RUN_PATH
10635 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10636 hardcode_libdir_separator_CXX
=:
10638 # Commands to make compiler produce verbose output that lists
10639 # what "hidden" libraries, object files and flags are used when
10640 # linking a shared library.
10642 # There doesn't appear to be a way to prevent this compiler from
10643 # explicitly linking system object files so we need to strip them
10644 # from the output so that they don't get included in the library
10646 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'
10651 # FIXME: insert proper C++ library support
10655 # FIXME: insert proper C++ library support
10659 case $cc_basename in
10661 # FIXME: insert proper C++ library support
10665 # FIXME: insert proper C++ library support
10671 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10672 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10674 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10675 hardcode_direct_CXX
=yes
10676 hardcode_shlibpath_var_CXX
=no
10678 # Workaround some broken pre-1.5 toolchains
10679 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10682 # C++ shared libraries are fairly broken
10686 hardcode_direct_CXX
=yes
10687 hardcode_shlibpath_var_CXX
=no
10688 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10689 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10690 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10691 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10692 export_dynamic_flag_spec_CXX
='${wl}-E'
10693 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10695 output_verbose_link_cmd
='echo'
10698 case $cc_basename in
10700 # Kuck and Associates, Inc. (KAI) C++ Compiler
10702 # KCC will only create a shared library if the output file
10703 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10704 # to its proper name (with version) after linking.
10705 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10707 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10708 hardcode_libdir_separator_CXX
=:
10710 # Archives containing C++ object files must be created using
10711 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10712 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10716 # Rational C++ 2.4.1
10717 # FIXME: insert proper C++ library support
10721 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10722 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10724 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10725 hardcode_libdir_separator_CXX
=:
10727 # Commands to make compiler produce verbose output that lists
10728 # what "hidden" libraries, object files and flags are used when
10729 # linking a shared library.
10731 # There doesn't appear to be a way to prevent this compiler from
10732 # explicitly linking system object files so we need to strip them
10733 # from the output so that they don't get included in the library
10735 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'
10738 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10739 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10740 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10742 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10743 hardcode_libdir_separator_CXX
=:
10745 # Commands to make compiler produce verbose output that lists
10746 # what "hidden" libraries, object files and flags are used when
10747 # linking a shared library.
10748 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10751 # FIXME: insert proper C++ library support
10758 case $cc_basename in
10760 # Kuck and Associates, Inc. (KAI) C++ Compiler
10762 # KCC will only create a shared library if the output file
10763 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10764 # to its proper name (with version) after linking.
10765 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10767 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10768 hardcode_libdir_separator_CXX
=:
10770 # Archives containing C++ object files must be created using
10771 # the KAI C++ compiler.
10772 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10775 # Rational C++ 2.4.1
10776 # FIXME: insert proper C++ library support
10780 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10781 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10782 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10783 echo "-hidden">> $lib.exp~
10784 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10787 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10788 hardcode_libdir_separator_CXX
=:
10790 # Commands to make compiler produce verbose output that lists
10791 # what "hidden" libraries, object files and flags are used when
10792 # linking a shared library.
10794 # There doesn't appear to be a way to prevent this compiler from
10795 # explicitly linking system object files so we need to strip them
10796 # from the output so that they don't get included in the library
10798 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'
10801 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10802 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10803 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10805 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10806 hardcode_libdir_separator_CXX
=:
10808 # Commands to make compiler produce verbose output that lists
10809 # what "hidden" libraries, object files and flags are used when
10810 # linking a shared library.
10811 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10814 # FIXME: insert proper C++ library support
10821 # FIXME: insert proper C++ library support
10825 archive_cmds_need_lc_CXX
=no
10826 case $cc_basename in
10828 # FIXME: insert proper C++ library support
10832 # FIXME: insert proper C++ library support
10838 case $cc_basename in
10841 # FIXME: insert proper C++ library support
10846 # FIXME: insert proper C++ library support
10850 # FIXME: insert proper C++ library support
10856 case $cc_basename in
10858 # Sun C++ 4.2, 5.x and Centerline C++
10859 archive_cmds_need_lc_CXX
=yes
10860 no_undefined_flag_CXX
=' -zdefs'
10861 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10862 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10863 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10865 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10866 hardcode_shlibpath_var_CXX
=no
10868 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10870 # The C++ compiler is used as linker so we must use $wl
10871 # flag to pass the commands to the underlying system
10872 # linker. We must also pass each convience library through
10873 # to the system linker between allextract/defaultextract.
10874 # The C++ compiler will combine linker options so we
10875 # cannot just pass the convience library names through
10877 # Supported since Solaris 2.6 (maybe 2.5.1?)
10878 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10881 link_all_deplibs_CXX
=yes
10883 output_verbose_link_cmd
='echo'
10885 # Archives containing C++ object files must be created using
10886 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10887 # necessary to make sure instantiated templates are included
10889 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10892 # Green Hills C++ Compiler
10893 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10895 # The C++ compiler must be used to create the archive.
10896 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10899 # GNU C++ compiler with Solaris linker
10900 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10901 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10902 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10903 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10904 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10905 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10907 # Commands to make compiler produce verbose output that lists
10908 # what "hidden" libraries, object files and flags are used when
10909 # linking a shared library.
10910 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10912 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10914 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10915 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10916 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10918 # Commands to make compiler produce verbose output that lists
10919 # what "hidden" libraries, object files and flags are used when
10920 # linking a shared library.
10921 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10924 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10929 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10930 archive_cmds_need_lc_CXX
=no
10933 case $cc_basename in
10935 # NonStop-UX NCC 3.20
10936 # FIXME: insert proper C++ library support
10940 # FIXME: insert proper C++ library support
10946 # FIXME: insert proper C++ library support
10950 # FIXME: insert proper C++ library support
10954 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10955 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10956 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10962 cat > conftest.
$ac_ext <<EOF
10966 Foo (void) { a = 0; }
10972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10973 (eval $ac_compile) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; then
10977 # Parse the compiler output and extract the necessary
10978 # objects, libraries and library flags.
10980 # Sentinel used to keep track of whether or not we are before
10981 # the conftest object file.
10982 pre_test_object_deps_done
=no
10984 # The `*' in the case matches for architectures that use `case' in
10985 # $output_verbose_cmd can trigger glob expansion during the loop
10986 # eval without this substitution.
10987 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10989 for p
in `eval $output_verbose_link_cmd`; do
10993 # Some compilers place space between "-{L,R}" and the path.
10994 # Remove the space.
10995 if test $p = "-L" \
10996 ||
test $p = "-R"; then
11003 if test "$pre_test_object_deps_done" = no
; then
11006 # Internal compiler library paths should come after those
11007 # provided the user. The postdeps already come after the
11008 # user supplied libs so there is no need to process them.
11009 if test -z "$compiler_lib_search_path_CXX"; then
11010 compiler_lib_search_path_CXX
="${prev}${p}"
11012 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11015 # The "-l" case would never come before the object being
11016 # linked, so don't bother handling this case.
11019 if test -z "$postdeps_CXX"; then
11020 postdeps_CXX
="${prev}${p}"
11022 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11028 # This assumes that the test object file only shows up
11029 # once in the compiler output.
11030 if test "$p" = "conftest.$objext"; then
11031 pre_test_object_deps_done
=yes
11035 if test "$pre_test_object_deps_done" = no
; then
11036 if test -z "$predep_objects_CXX"; then
11037 predep_objects_CXX
="$p"
11039 predep_objects_CXX
="$predep_objects_CXX $p"
11042 if test -z "$postdep_objects_CXX"; then
11043 postdep_objects_CXX
="$p"
11045 postdep_objects_CXX
="$postdep_objects_CXX $p"
11050 *) ;; # Ignore the rest.
11058 echo "libtool.m4: error: problem compiling CXX test program"
11061 $rm -f confest.
$objext
11063 # PORTME: override above test on systems where it is broken
11066 case $cc_basename in
11068 # Adding this requires a known-good setup of shared libraries for
11069 # Sun compiler versions before 5.6, else PIC objects from an old
11070 # archive will be linked into the output, leading to subtle bugs.
11071 postdeps_CXX
='-lCstd -lCrun'
11077 case " $postdeps_CXX " in
11078 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11081 lt_prog_compiler_wl_CXX
=
11082 lt_prog_compiler_pic_CXX
=
11083 lt_prog_compiler_static_CXX
=
11085 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11086 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11088 # C++ specific cases for pic, static, wl, etc.
11089 if test "$GXX" = yes; then
11090 lt_prog_compiler_wl_CXX
='-Wl,'
11091 lt_prog_compiler_static_CXX
='-static'
11095 # All AIX code is PIC.
11096 if test "$host_cpu" = ia64
; then
11097 # AIX 5 now supports IA64 processor
11098 lt_prog_compiler_static_CXX
='-Bstatic'
11102 # FIXME: we need at least 68020 code to build shared libraries, but
11103 # adding the `-m68020' flag to GCC prevents building anything better,
11105 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11107 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11108 # PIC is the default for these OSes.
11110 mingw
* | os2
* | pw32
*)
11111 # This hack is so that the source file can tell whether it is being
11112 # built for inclusion in a dll (and should export symbols for example).
11113 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11115 darwin
* | rhapsody
*)
11116 # PIC is the default on this platform
11117 # Common symbols not allowed in MH_DYLIB files
11118 lt_prog_compiler_pic_CXX
='-fno-common'
11121 # DJGPP does not support shared libraries at all
11122 lt_prog_compiler_pic_CXX
=
11125 if test -d /usr
/nec
; then
11126 lt_prog_compiler_pic_CXX
=-Kconform_pic
11130 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11131 # not for PA HP-UX.
11136 lt_prog_compiler_pic_CXX
='-fPIC'
11141 lt_prog_compiler_pic_CXX
='-fPIC'
11147 # All AIX code is PIC.
11148 if test "$host_cpu" = ia64
; then
11149 # AIX 5 now supports IA64 processor
11150 lt_prog_compiler_static_CXX
='-Bstatic'
11152 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11156 case $cc_basename in
11158 # Green Hills C++ Compiler
11159 # _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"
11164 # PIC is the default on this platform
11165 # Common symbols not allowed in MH_DYLIB files
11166 case $cc_basename in
11168 lt_prog_compiler_pic_CXX
='-qnocommon'
11169 lt_prog_compiler_wl_CXX
='-Wl,'
11174 case $cc_basename in
11176 lt_prog_compiler_pic_CXX
='-KPIC'
11179 # Green Hills C++ Compiler
11180 lt_prog_compiler_pic_CXX
='-pic'
11186 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11187 # FreeBSD uses GNU C++
11189 hpux9
* | hpux10
* | hpux11
*)
11190 case $cc_basename in
11192 lt_prog_compiler_wl_CXX
='-Wl,'
11193 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11194 if test "$host_cpu" != ia64
; then
11195 lt_prog_compiler_pic_CXX
='+Z'
11199 lt_prog_compiler_wl_CXX
='-Wl,'
11200 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11206 lt_prog_compiler_pic_CXX
='+Z'
11214 irix5
* | irix6
* | nonstopux
*)
11215 case $cc_basename in
11217 lt_prog_compiler_wl_CXX
='-Wl,'
11218 lt_prog_compiler_static_CXX
='-non_shared'
11219 # CC pic flag -KPIC is the default.
11226 case $cc_basename in
11229 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11230 lt_prog_compiler_pic_CXX
='-fPIC'
11234 lt_prog_compiler_wl_CXX
='-Wl,'
11235 lt_prog_compiler_pic_CXX
='-KPIC'
11236 lt_prog_compiler_static_CXX
='-static'
11239 # Portland Group C++ compiler.
11240 lt_prog_compiler_wl_CXX
='-Wl,'
11241 lt_prog_compiler_pic_CXX
='-fpic'
11242 lt_prog_compiler_static_CXX
='-Bstatic'
11246 # Make sure the PIC flag is empty. It appears that all Alpha
11247 # Linux and Compaq Tru64 Unix objects are PIC.
11248 lt_prog_compiler_pic_CXX
=
11249 lt_prog_compiler_static_CXX
='-non_shared'
11260 case $cc_basename in
11262 lt_prog_compiler_pic_CXX
='-W c,exportall'
11270 osf3
* | osf4
* | osf5
*)
11271 case $cc_basename in
11273 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11276 # Rational C++ 2.4.1
11277 lt_prog_compiler_pic_CXX
='-pic'
11280 # Digital/Compaq C++
11281 lt_prog_compiler_wl_CXX
='-Wl,'
11282 # Make sure the PIC flag is empty. It appears that all Alpha
11283 # Linux and Compaq Tru64 Unix objects are PIC.
11284 lt_prog_compiler_pic_CXX
=
11285 lt_prog_compiler_static_CXX
='-non_shared'
11294 case $cc_basename in
11296 lt_prog_compiler_pic_CXX
='-fPIC'
11303 case $cc_basename in
11305 # Sun C++ 4.2, 5.x and Centerline C++
11306 lt_prog_compiler_pic_CXX
='-KPIC'
11307 lt_prog_compiler_static_CXX
='-Bstatic'
11308 lt_prog_compiler_wl_CXX
='-Qoption ld '
11311 # Green Hills C++ Compiler
11312 lt_prog_compiler_pic_CXX
='-PIC'
11319 case $cc_basename in
11322 lt_prog_compiler_pic_CXX
='-pic'
11323 lt_prog_compiler_static_CXX
='-Bstatic'
11327 lt_prog_compiler_pic_CXX
='-pic'
11334 case $cc_basename in
11336 # NonStop-UX NCC 3.20
11337 lt_prog_compiler_pic_CXX
='-KPIC'
11348 lt_prog_compiler_can_build_shared_CXX
=no
11353 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11354 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11357 # Check to make sure the PIC flag actually works.
11359 if test -n "$lt_prog_compiler_pic_CXX"; then
11361 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11362 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11363 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 lt_prog_compiler_pic_works_CXX
=no
11367 ac_outfile
=conftest.
$ac_objext
11368 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11369 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11370 # Insert the option either (1) after the last *FLAGS variable, or
11371 # (2) before a word containing "conftest.", or (3) at the end.
11372 # Note that $ac_compile itself does not contain backslashes and begins
11373 # with a dollar sign (not a hyphen), so the echo should work correctly.
11374 # The option is referenced via a variable to avoid confusing sed.
11375 lt_compile
=`echo "$ac_compile" | $SED \
11376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11378 -e 's:$: $lt_compiler_flag:'`
11379 (eval echo "\"\$as_me:11379: $lt_compile\"" >&5)
11380 (eval "$lt_compile" 2>conftest.err
)
11382 cat conftest.err
>&5
11383 echo "$as_me:11383: \$? = $ac_status" >&5
11384 if (exit $ac_status) && test -s "$ac_outfile"; then
11385 # The compiler can only warn and ignore the option if not recognized
11386 # So say no if there are warnings other than the usual output.
11387 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
11388 $SED '/^$/d' conftest.err
>conftest.er2
11389 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11390 lt_prog_compiler_pic_works_CXX
=yes
11396 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11397 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11399 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11400 case $lt_prog_compiler_pic_CXX in
11402 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11405 lt_prog_compiler_pic_CXX
=
11406 lt_prog_compiler_can_build_shared_CXX
=no
11411 # For platforms which do not support PIC, -DPIC is meaningless:
11413 lt_prog_compiler_pic_CXX
=
11416 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11420 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11421 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11422 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 lt_cv_prog_compiler_c_o_CXX
=no
11426 $rm -r conftest
2>/dev
/null
11430 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11432 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11433 # Insert the option either (1) after the last *FLAGS variable, or
11434 # (2) before a word containing "conftest.", or (3) at the end.
11435 # Note that $ac_compile itself does not contain backslashes and begins
11436 # with a dollar sign (not a hyphen), so the echo should work correctly.
11437 lt_compile
=`echo "$ac_compile" | $SED \
11438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11440 -e 's:$: $lt_compiler_flag:'`
11441 (eval echo "\"\$as_me:11441: $lt_compile\"" >&5)
11442 (eval "$lt_compile" 2>out
/conftest.err
)
11444 cat out
/conftest.err
>&5
11445 echo "$as_me:11445: \$? = $ac_status" >&5
11446 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11448 # The compiler can only warn and ignore the option if not recognized
11449 # So say no if there are warnings
11450 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
11451 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
11452 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11453 lt_cv_prog_compiler_c_o_CXX
=yes
11458 # SGI C++ compiler will create directory out/ii_files/ for
11459 # template instantiation
11460 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11461 $rm out
/* && rmdir out
11467 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11468 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11471 hard_links
="nottested"
11472 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11473 # do not overwrite the value of need_locks provided by the user
11474 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11475 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11478 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11480 ln conftest.a conftest.b
2>&5 || hard_links
=no
11481 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11482 echo "$as_me:$LINENO: result: $hard_links" >&5
11483 echo "${ECHO_T}$hard_links" >&6
11484 if test "$hard_links" = no
; then
11485 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11486 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11493 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11494 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11496 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11499 # If we're using GNU nm, then we don't want the "-C" option.
11500 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11501 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11502 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'
11504 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'
11508 export_symbols_cmds_CXX
="$ltdll_cmds"
11511 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11514 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11518 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11519 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11520 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11522 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11523 if test "$GCC" = yes; then
11524 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11528 # Do we need to explicitly link libc?
11530 case "x$archive_cmds_need_lc_CXX" in
11532 # Assume -lc should be added
11533 archive_cmds_need_lc_CXX
=yes
11535 if test "$enable_shared" = yes && test "$GCC" = yes; then
11536 case $archive_cmds_CXX in
11538 # FIXME: we may have to deal with multi-command sequences.
11541 # Test whether the compiler implicitly links with -lc since on some
11542 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11543 # to ld, don't add -lc before -lgcc.
11544 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11545 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11547 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11550 (eval $ac_compile) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } 2>conftest.err
; then
11556 libobjs
=conftest.
$ac_objext
11558 wl
=$lt_prog_compiler_wl_CXX
11564 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11565 allow_undefined_flag_CXX
=
11566 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11567 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }
11572 archive_cmds_need_lc_CXX
=no
11574 archive_cmds_need_lc_CXX
=yes
11576 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11578 cat conftest.err
1>&5
11581 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11582 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11589 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11590 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11591 library_names_spec
=
11592 libname_spec
='lib$name'
11596 postuninstall_cmds
=
11600 shlibpath_overrides_runpath
=unknown
11602 dynamic_linker
="$host_os ld.so"
11603 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11604 if test "$GCC" = yes; then
11605 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11606 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11607 # if the path contains ";" then we assume it to be the separator
11608 # otherwise default to the standard path separator (i.e. ":") - it is
11609 # assumed that no part of a normal pathname contains ";" but that should
11610 # okay in the real world where ";" in dirpaths is itself problematic.
11611 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11613 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11616 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11618 need_lib_prefix
=unknown
11619 hardcode_into_libs
=no
11621 # when you set need_version to no, make sure it does not cause -set_version
11622 # flags to be left without arguments
11623 need_version
=unknown
11628 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11629 shlibpath_var
=LIBPATH
11631 # AIX 3 has no versioning support, so we append a major version to the name.
11632 soname_spec
='${libname}${release}${shared_ext}$major'
11639 hardcode_into_libs
=yes
11640 if test "$host_cpu" = ia64
; then
11641 # AIX 5 supports IA64
11642 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11643 shlibpath_var
=LD_LIBRARY_PATH
11645 # With GCC up to 2.95.x, collect2 would create an import file
11646 # for dependence libraries. The import file would start with
11647 # the line `#! .'. This would cause the generated library to
11648 # depend on `.', always an invalid library. This was fixed in
11649 # development snapshots of GCC prior to 3.0.
11651 aix4 | aix4.
[01] | aix4.
[01].
*)
11652 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11654 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11657 can_build_shared
=no
11661 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11662 # soname into executable. Probably we can add versioning support to
11663 # collect2, so additional links can be useful in future.
11664 if test "$aix_use_runtimelinking" = yes; then
11665 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11666 # instead of lib<name>.a to let people know that these are not
11667 # typical AIX shared libraries.
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11670 # We preserve .a as extension for shared libraries through AIX4.2
11671 # and later when we are not doing run time linking.
11672 library_names_spec
='${libname}${release}.a $libname.a'
11673 soname_spec
='${libname}${release}${shared_ext}$major'
11675 shlibpath_var
=LIBPATH
11680 library_names_spec
='$libname.ixlibrary $libname.a'
11681 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11682 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'
11686 library_names_spec
='${libname}${shared_ext}'
11687 dynamic_linker
="$host_os ld.so"
11688 shlibpath_var
=LIBRARY_PATH
11694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695 soname_spec
='${libname}${release}${shared_ext}$major'
11696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11697 shlibpath_var
=LD_LIBRARY_PATH
11698 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11699 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11700 # the default ld.so.conf also contains /usr/contrib/lib and
11701 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11702 # libtool to hard-code these into programs
11705 cygwin
* | mingw
* | pw32
*)
11706 version_type
=windows
11711 case $GCC,$host_os in
11712 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11713 library_names_spec
='$libname.dll.a'
11714 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11715 postinstall_cmds
='base_file=`basename \${file}`~
11716 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11717 dldir=$destdir/`dirname \$dlpath`~
11718 test -d \$dldir || mkdir -p \$dldir~
11719 $install_prog $dir/$dlname \$dldir/$dlname~
11720 chmod a+x \$dldir/$dlname'
11721 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11722 dlpath=$dir/\$dldll~
11724 shlibpath_overrides_runpath
=yes
11728 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11729 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11730 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11733 # MinGW DLLs use traditional 'lib' prefix
11734 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11735 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11736 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11737 # It is most probably a Windows format PATH printed by
11738 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11739 # path with ; separators, and with drive letters. We can handle the
11740 # drive letters (cygwin fileutils understands them), so leave them,
11741 # especially as we might pass files found there to a mingw objdump,
11742 # which wouldn't understand a cygwinified path. Ahh.
11743 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11745 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11749 # pw32 DLLs use 'pw' prefix rather than 'lib'
11750 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11756 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11759 dynamic_linker
='Win32 ld.exe'
11760 # FIXME: first we should search . and the directory the executable is in
11764 darwin
* | rhapsody
*)
11765 dynamic_linker
="$host_os dyld"
11766 version_type
=darwin
11769 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11770 soname_spec
='${libname}${release}${major}$shared_ext'
11771 shlibpath_overrides_runpath
=yes
11772 shlibpath_var
=DYLD_LIBRARY_PATH
11773 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11774 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11775 if test "$GCC" = yes; then
11776 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"`
11778 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11780 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11788 soname_spec
='${libname}${release}${shared_ext}$major'
11789 shlibpath_var
=LD_LIBRARY_PATH
11800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11801 soname_spec
='${libname}${release}${shared_ext}$major'
11802 shlibpath_var
=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath
=no
11804 hardcode_into_libs
=yes
11805 dynamic_linker
='GNU ld.so'
11808 freebsd
* | dragonfly
*)
11809 # DragonFly does not have aout. When/if they implement a new
11810 # versioning mechanism, adjust this.
11811 if test -x /usr
/bin
/objformat
; then
11812 objformat
=`/usr/bin/objformat`
11815 freebsd
[123]*) objformat
=aout
;;
11816 *) objformat
=elf
;;
11819 version_type
=freebsd-
$objformat
11820 case $version_type in
11822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11827 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11831 shlibpath_var
=LD_LIBRARY_PATH
11834 shlibpath_overrides_runpath
=yes
11836 freebsd3.
[01]* | freebsdelf3.
[01]*)
11837 shlibpath_overrides_runpath
=yes
11838 hardcode_into_libs
=yes
11841 shlibpath_overrides_runpath
=no
11842 hardcode_into_libs
=yes
11851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11852 soname_spec
='${libname}${release}${shared_ext}$major'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 hardcode_into_libs
=yes
11857 hpux9
* | hpux10
* | hpux11
*)
11858 # Give a soname corresponding to the major version so that dld.sl refuses to
11859 # link against other versions.
11866 hardcode_into_libs
=yes
11867 dynamic_linker
="$host_os dld.so"
11868 shlibpath_var
=LD_LIBRARY_PATH
11869 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11871 soname_spec
='${libname}${release}${shared_ext}$major'
11872 if test "X$HPUX_IA64_MODE" = X32
; then
11873 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11875 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11877 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11881 hardcode_into_libs
=yes
11882 dynamic_linker
="$host_os dld.sl"
11883 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11884 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11886 soname_spec
='${libname}${release}${shared_ext}$major'
11887 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11888 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11892 dynamic_linker
="$host_os dld.sl"
11893 shlibpath_var
=SHLIB_PATH
11894 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11896 soname_spec
='${libname}${release}${shared_ext}$major'
11899 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11900 postinstall_cmds
='chmod 555 $lib'
11903 irix5
* | irix6
* | nonstopux
*)
11905 nonstopux
*) version_type
=nonstopux
;;
11907 if test "$lt_cv_prog_gnu_ld" = yes; then
11915 soname_spec
='${libname}${release}${shared_ext}$major'
11916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11918 irix5
* | nonstopux
*)
11919 libsuff
= shlibsuff
=
11922 case $LD in # libtool.m4 will add one of these switches to LD
11923 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11924 libsuff
= shlibsuff
= libmagic
=32-bit;;
11925 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11926 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11927 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11928 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11929 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11933 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11934 shlibpath_overrides_runpath
=no
11935 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11936 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11937 hardcode_into_libs
=yes
11940 # No shared lib support for Linux oldld, aout, or coff.
11941 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11945 # This must be Linux ELF.
11950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11951 soname_spec
='${libname}${release}${shared_ext}$major'
11952 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11953 shlibpath_var
=LD_LIBRARY_PATH
11954 shlibpath_overrides_runpath
=no
11955 # This implies no fast_install, which is unacceptable.
11956 # Some rework will be needed to allow for fast_install
11957 # before this can be enabled.
11958 hardcode_into_libs
=yes
11960 # Append ld.so.conf contents to the search path
11961 if test -f /etc
/ld.so.conf
; then
11962 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11963 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11966 # We used to test for /lib/ld.so.1 and disable shared libraries on
11967 # powerpc, because MkLinux only supported shared libraries with the
11968 # GNU dynamic linker. Since this was broken with cross compilers,
11969 # most powerpc-linux boxes support dynamic linking these days and
11970 # people can always --disable-shared, the test was removed, and we
11971 # assume the GNU/Linux dynamic linker is in use.
11972 dynamic_linker
='GNU/Linux ld.so'
11979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11980 soname_spec
='${libname}${release}${shared_ext}$major'
11981 shlibpath_var
=LD_LIBRARY_PATH
11982 shlibpath_overrides_runpath
=no
11983 hardcode_into_libs
=yes
11984 dynamic_linker
='GNU ld.so'
11991 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11993 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11994 dynamic_linker
='NetBSD (a.out) ld.so'
11996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11997 soname_spec
='${libname}${release}${shared_ext}$major'
11998 dynamic_linker
='NetBSD ld.elf_so'
12000 shlibpath_var
=LD_LIBRARY_PATH
12001 shlibpath_overrides_runpath
=yes
12002 hardcode_into_libs
=yes
12007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12008 shlibpath_var
=LD_LIBRARY_PATH
12009 shlibpath_overrides_runpath
=yes
12016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12017 soname_spec
='${libname}${release}${shared_ext}$major'
12018 shlibpath_var
=LD_LIBRARY_PATH
12019 shlibpath_overrides_runpath
=yes
12025 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12027 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12028 *) need_version
=no
;;
12030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12032 shlibpath_var
=LD_LIBRARY_PATH
12033 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12035 openbsd2.
[89] | openbsd2.
[89].
*)
12036 shlibpath_overrides_runpath
=no
12039 shlibpath_overrides_runpath
=yes
12043 shlibpath_overrides_runpath
=yes
12048 libname_spec
='$name'
12051 library_names_spec
='$libname${shared_ext} $libname.a'
12052 dynamic_linker
='OS/2 ld.exe'
12053 shlibpath_var
=LIBPATH
12056 osf3
* | osf4
* | osf5
*)
12060 soname_spec
='${libname}${release}${shared_ext}$major'
12061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12062 shlibpath_var
=LD_LIBRARY_PATH
12063 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12064 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12069 soname_spec
='${libname}${release}${shared_ext}$major'
12070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12071 shlibpath_var
=LD_LIBRARY_PATH
12078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12079 soname_spec
='${libname}${release}${shared_ext}$major'
12080 shlibpath_var
=LD_LIBRARY_PATH
12081 shlibpath_overrides_runpath
=yes
12082 hardcode_into_libs
=yes
12083 # ldd complains unless libraries are executable
12084 postinstall_cmds
='chmod +x $lib'
12089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12090 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12091 shlibpath_var
=LD_LIBRARY_PATH
12092 shlibpath_overrides_runpath
=yes
12093 if test "$with_gnu_ld" = yes; then
12099 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12102 soname_spec
='${libname}${release}${shared_ext}$major'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 case $host_vendor in
12106 shlibpath_overrides_runpath
=no
12108 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12109 runpath_var
=LD_RUN_PATH
12117 shlibpath_overrides_runpath
=no
12118 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12124 if test -d /usr
/nec
;then
12126 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12127 soname_spec
='$libname${shared_ext}.$major'
12128 shlibpath_var
=LD_LIBRARY_PATH
12134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12135 soname_spec
='${libname}${release}${shared_ext}$major'
12136 shlibpath_var
=LD_LIBRARY_PATH
12143 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12144 echo "${ECHO_T}$dynamic_linker" >&6
12145 test "$dynamic_linker" = no
&& can_build_shared
=no
12147 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12148 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12149 hardcode_action_CXX
=
12150 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12151 test -n "$runpath_var_CXX" || \
12152 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12154 # We can hardcode non-existant directories.
12155 if test "$hardcode_direct_CXX" != no
&&
12156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12157 # have to relink, otherwise we might link with an installed library
12158 # when we should be linking with a yet-to-be-installed one
12159 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12160 test "$hardcode_minus_L_CXX" != no
; then
12161 # Linking always hardcodes the temporary library directory.
12162 hardcode_action_CXX
=relink
12164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12165 hardcode_action_CXX
=immediate
12168 # We cannot hardcode anything, or else we can only hardcode existing
12170 hardcode_action_CXX
=unsupported
12172 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12173 echo "${ECHO_T}$hardcode_action_CXX" >&6
12175 if test "$hardcode_action_CXX" = relink
; then
12176 # Fast installation is not supported
12177 enable_fast_install
=no
12178 elif test "$shlibpath_overrides_runpath" = yes ||
12179 test "$enable_shared" = no
; then
12180 # Fast installation is not necessary
12181 enable_fast_install
=needless
12186 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12187 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12188 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12189 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12190 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12191 echo "$as_me:$LINENO: result: yes" >&5
12192 echo "${ECHO_T}yes" >&6
12194 # FIXME - insert some real tests, host_os isn't really good enough
12197 if test -n "$STRIP" ; then
12198 striplib
="$STRIP -x"
12199 echo "$as_me:$LINENO: result: yes" >&5
12200 echo "${ECHO_T}yes" >&6
12202 echo "$as_me:$LINENO: result: no" >&5
12203 echo "${ECHO_T}no" >&6
12207 echo "$as_me:$LINENO: result: no" >&5
12208 echo "${ECHO_T}no" >&6
12213 if test "x$enable_dlopen" != xyes
; then
12214 enable_dlopen
=unknown
12215 enable_dlopen_self
=unknown
12216 enable_dlopen_self_static
=unknown
12223 lt_cv_dlopen
="load_add_on"
12225 lt_cv_dlopen_self
=yes
12229 lt_cv_dlopen
="LoadLibrary"
12234 lt_cv_dlopen
="dlopen"
12239 # if libdl is installed we need to link against it
12240 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12241 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12242 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 ac_check_lib_save_LIBS
=$LIBS
12247 cat >conftest.
$ac_ext <<_ACEOF
12250 cat confdefs.h
>>conftest.
$ac_ext
12251 cat >>conftest.
$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12254 /* Override any gcc2 internal prototype to avoid an error. */
12258 /* We use char because int might match the return type of a gcc2
12259 builtin and then its argument prototype would still apply. */
12269 rm -f conftest.
$ac_objext conftest
$ac_exeext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12271 (eval $ac_link) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; } &&
12284 { ac_try
='test -s conftest$ac_exeext'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; }; then
12290 ac_cv_lib_dl_dlopen
=yes
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.
$ac_ext >&5
12295 ac_cv_lib_dl_dlopen
=no
12297 rm -f conftest.err conftest.
$ac_objext \
12298 conftest
$ac_exeext conftest.
$ac_ext
12299 LIBS
=$ac_check_lib_save_LIBS
12301 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12302 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12303 if test $ac_cv_lib_dl_dlopen = yes; then
12304 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12307 lt_cv_dlopen
="dyld"
12309 lt_cv_dlopen_self
=yes
12316 echo "$as_me:$LINENO: checking for shl_load" >&5
12317 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12318 if test "${ac_cv_func_shl_load+set}" = set; then
12319 echo $ECHO_N "(cached) $ECHO_C" >&6
12321 cat >conftest.
$ac_ext <<_ACEOF
12324 cat confdefs.h
>>conftest.
$ac_ext
12325 cat >>conftest.
$ac_ext <<_ACEOF
12326 /* end confdefs.h. */
12327 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12329 #define shl_load innocuous_shl_load
12331 /* System header to define __stub macros and hopefully few prototypes,
12332 which can conflict with char shl_load (); below.
12333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12334 <limits.h> exists even on freestanding compilers. */
12337 # include <limits.h>
12339 # include <assert.h>
12344 /* Override any gcc2 internal prototype to avoid an error. */
12349 /* We use char because int might match the return type of a gcc2
12350 builtin and then its argument prototype would still apply. */
12352 /* The GNU C library defines this for functions which it implements
12353 to always fail with ENOSYS. Some functions are actually named
12354 something starting with __ and the normal name is an alias. */
12355 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12358 char (*f) () = shl_load;
12367 return f != shl_load;
12372 rm -f conftest.
$ac_objext conftest
$ac_exeext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12374 (eval $ac_link) 2>conftest.er1
12376 grep -v '^ *+' conftest.er1
>conftest.err
12378 cat conftest.err
>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try
='test -s conftest$ac_exeext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 ac_cv_func_shl_load
=yes
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.
$ac_ext >&5
12398 ac_cv_func_shl_load
=no
12400 rm -f conftest.err conftest.
$ac_objext \
12401 conftest
$ac_exeext conftest.
$ac_ext
12403 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12404 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12405 if test $ac_cv_func_shl_load = yes; then
12406 lt_cv_dlopen
="shl_load"
12408 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12409 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12410 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 ac_check_lib_save_LIBS
=$LIBS
12415 cat >conftest.
$ac_ext <<_ACEOF
12418 cat confdefs.h
>>conftest.
$ac_ext
12419 cat >>conftest.
$ac_ext <<_ACEOF
12420 /* end confdefs.h. */
12422 /* Override any gcc2 internal prototype to avoid an error. */
12426 /* We use char because int might match the return type of a gcc2
12427 builtin and then its argument prototype would still apply. */
12437 rm -f conftest.
$ac_objext conftest
$ac_exeext
12438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12439 (eval $ac_link) 2>conftest.er1
12441 grep -v '^ *+' conftest.er1
>conftest.err
12443 cat conftest.err
>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } &&
12446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; } &&
12452 { ac_try
='test -s conftest$ac_exeext'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; }; then
12458 ac_cv_lib_dld_shl_load
=yes
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12463 ac_cv_lib_dld_shl_load
=no
12465 rm -f conftest.err conftest.
$ac_objext \
12466 conftest
$ac_exeext conftest.
$ac_ext
12467 LIBS
=$ac_check_lib_save_LIBS
12469 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12470 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12471 if test $ac_cv_lib_dld_shl_load = yes; then
12472 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12474 echo "$as_me:$LINENO: checking for dlopen" >&5
12475 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12476 if test "${ac_cv_func_dlopen+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 cat >conftest.
$ac_ext <<_ACEOF
12482 cat confdefs.h
>>conftest.
$ac_ext
12483 cat >>conftest.
$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12485 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12487 #define dlopen innocuous_dlopen
12489 /* System header to define __stub macros and hopefully few prototypes,
12490 which can conflict with char dlopen (); below.
12491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12492 <limits.h> exists even on freestanding compilers. */
12495 # include <limits.h>
12497 # include <assert.h>
12502 /* Override any gcc2 internal prototype to avoid an error. */
12507 /* We use char because int might match the return type of a gcc2
12508 builtin and then its argument prototype would still apply. */
12510 /* The GNU C library defines this for functions which it implements
12511 to always fail with ENOSYS. Some functions are actually named
12512 something starting with __ and the normal name is an alias. */
12513 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12516 char (*f) () = dlopen;
12525 return f != dlopen;
12530 rm -f conftest.
$ac_objext conftest
$ac_exeext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12532 (eval $ac_link) 2>conftest.er1
12534 grep -v '^ *+' conftest.er1
>conftest.err
12536 cat conftest.err
>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; } &&
12545 { ac_try
='test -s conftest$ac_exeext'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; }; then
12551 ac_cv_func_dlopen
=yes
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.
$ac_ext >&5
12556 ac_cv_func_dlopen
=no
12558 rm -f conftest.err conftest.
$ac_objext \
12559 conftest
$ac_exeext conftest.
$ac_ext
12561 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12562 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12563 if test $ac_cv_func_dlopen = yes; then
12564 lt_cv_dlopen
="dlopen"
12566 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 ac_check_lib_save_LIBS
=$LIBS
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12580 /* Override any gcc2 internal prototype to avoid an error. */
12584 /* We use char because int might match the return type of a gcc2
12585 builtin and then its argument prototype would still apply. */
12595 rm -f conftest.
$ac_objext conftest
$ac_exeext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12597 (eval $ac_link) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; } &&
12610 { ac_try
='test -s conftest$ac_exeext'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; }; then
12616 ac_cv_lib_dl_dlopen
=yes
12618 echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.
$ac_ext >&5
12621 ac_cv_lib_dl_dlopen
=no
12623 rm -f conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 LIBS
=$ac_check_lib_save_LIBS
12627 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12628 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12629 if test $ac_cv_lib_dl_dlopen = yes; then
12630 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12632 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12633 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12634 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 ac_check_lib_save_LIBS
=$LIBS
12638 LIBS
="-lsvld $LIBS"
12639 cat >conftest.
$ac_ext <<_ACEOF
12642 cat confdefs.h
>>conftest.
$ac_ext
12643 cat >>conftest.
$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12646 /* Override any gcc2 internal prototype to avoid an error. */
12650 /* We use char because int might match the return type of a gcc2
12651 builtin and then its argument prototype would still apply. */
12661 rm -f conftest.
$ac_objext conftest
$ac_exeext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12663 (eval $ac_link) 2>conftest.er1
12665 grep -v '^ *+' conftest.er1
>conftest.err
12667 cat conftest.err
>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; } &&
12676 { ac_try
='test -s conftest$ac_exeext'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 ac_cv_lib_svld_dlopen
=yes
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 ac_cv_lib_svld_dlopen
=no
12689 rm -f conftest.err conftest.
$ac_objext \
12690 conftest
$ac_exeext conftest.
$ac_ext
12691 LIBS
=$ac_check_lib_save_LIBS
12693 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12694 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12695 if test $ac_cv_lib_svld_dlopen = yes; then
12696 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12698 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12699 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12700 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12701 echo $ECHO_N "(cached) $ECHO_C" >&6
12703 ac_check_lib_save_LIBS
=$LIBS
12705 cat >conftest.
$ac_ext <<_ACEOF
12708 cat confdefs.h
>>conftest.
$ac_ext
12709 cat >>conftest.
$ac_ext <<_ACEOF
12710 /* end confdefs.h. */
12712 /* Override any gcc2 internal prototype to avoid an error. */
12716 /* We use char because int might match the return type of a gcc2
12717 builtin and then its argument prototype would still apply. */
12727 rm -f conftest.
$ac_objext conftest
$ac_exeext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>conftest.er1
12731 grep -v '^ *+' conftest.er1
>conftest.err
12733 cat conftest.err
>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; } &&
12742 { ac_try
='test -s conftest$ac_exeext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12748 ac_cv_lib_dld_dld_link
=yes
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12753 ac_cv_lib_dld_dld_link
=no
12755 rm -f conftest.err conftest.
$ac_objext \
12756 conftest
$ac_exeext conftest.
$ac_ext
12757 LIBS
=$ac_check_lib_save_LIBS
12759 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12760 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12761 if test $ac_cv_lib_dld_dld_link = yes; then
12762 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12783 if test "x$lt_cv_dlopen" != xno
; then
12789 case $lt_cv_dlopen in
12791 save_CPPFLAGS
="$CPPFLAGS"
12792 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12794 save_LDFLAGS
="$LDFLAGS"
12795 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12798 LIBS
="$lt_cv_dlopen_libs $LIBS"
12800 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12801 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12802 if test "${lt_cv_dlopen_self+set}" = set; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 if test "$cross_compiling" = yes; then :
12806 lt_cv_dlopen_self
=cross
12808 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12809 lt_status
=$lt_dlunknown
12810 cat > conftest.
$ac_ext <<EOF
12811 #line 12811 "configure"
12812 #include "confdefs.h"
12821 # define LT_DLGLOBAL RTLD_GLOBAL
12824 # define LT_DLGLOBAL DL_GLOBAL
12826 # define LT_DLGLOBAL 0
12830 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12831 find out it does not work in some platform. */
12832 #ifndef LT_DLLAZY_OR_NOW
12834 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12837 # define LT_DLLAZY_OR_NOW DL_LAZY
12840 # define LT_DLLAZY_OR_NOW RTLD_NOW
12843 # define LT_DLLAZY_OR_NOW DL_NOW
12845 # define LT_DLLAZY_OR_NOW 0
12853 extern "C" void exit (int);
12856 void fnord() { int i=42;}
12859 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12860 int status = $lt_dlunknown;
12864 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12865 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12866 /* dlclose (self); */
12872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12873 (eval $ac_link) 2>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12877 (.
/conftest
; exit; ) >&5 2>/dev
/null
12879 case x
$lt_status in
12880 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12881 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12882 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12885 # compilation failed
12886 lt_cv_dlopen_self
=no
12893 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12894 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12896 if test "x$lt_cv_dlopen_self" = xyes
; then
12897 LDFLAGS
="$LDFLAGS $link_static_flag"
12898 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12899 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12900 if test "${lt_cv_dlopen_self_static+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 if test "$cross_compiling" = yes; then :
12904 lt_cv_dlopen_self_static
=cross
12906 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12907 lt_status
=$lt_dlunknown
12908 cat > conftest.
$ac_ext <<EOF
12909 #line 12909 "configure"
12910 #include "confdefs.h"
12919 # define LT_DLGLOBAL RTLD_GLOBAL
12922 # define LT_DLGLOBAL DL_GLOBAL
12924 # define LT_DLGLOBAL 0
12928 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12929 find out it does not work in some platform. */
12930 #ifndef LT_DLLAZY_OR_NOW
12932 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12935 # define LT_DLLAZY_OR_NOW DL_LAZY
12938 # define LT_DLLAZY_OR_NOW RTLD_NOW
12941 # define LT_DLLAZY_OR_NOW DL_NOW
12943 # define LT_DLLAZY_OR_NOW 0
12951 extern "C" void exit (int);
12954 void fnord() { int i=42;}
12957 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12958 int status = $lt_dlunknown;
12962 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12963 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12964 /* dlclose (self); */
12970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12971 (eval $ac_link) 2>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12975 (.
/conftest
; exit; ) >&5 2>/dev
/null
12977 case x
$lt_status in
12978 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12979 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12980 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12983 # compilation failed
12984 lt_cv_dlopen_self_static
=no
12991 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12992 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12995 CPPFLAGS
="$save_CPPFLAGS"
12996 LDFLAGS
="$save_LDFLAGS"
13001 case $lt_cv_dlopen_self in
13002 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13003 *) enable_dlopen_self
=unknown
;;
13006 case $lt_cv_dlopen_self_static in
13007 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13008 *) enable_dlopen_self_static
=unknown
;;
13013 # The else clause should only fire when bootstrapping the
13014 # libtool distribution, otherwise you forgot to ship ltmain.sh
13015 # with your package, and you will get complaints that there are
13016 # no rules to generate ltmain.sh.
13017 if test -f "$ltmain"; then
13018 # See if we are running on zsh, and set the options which allow our commands through
13019 # without removal of \ escapes.
13020 if test -n "${ZSH_VERSION+set}" ; then
13021 setopt NO_GLOB_SUBST
13023 # Now quote all the things that may contain metacharacters while being
13024 # careful not to overquote the AC_SUBSTed values. We take copies of the
13025 # variables and quote the copies for generation of the libtool script.
13026 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13028 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13029 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13030 deplibs_check_method reload_flag reload_cmds need_locks \
13031 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13032 lt_cv_sys_global_symbol_to_c_name_address \
13033 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13034 old_postinstall_cmds old_postuninstall_cmds \
13038 lt_prog_compiler_wl_CXX \
13039 lt_prog_compiler_pic_CXX \
13040 lt_prog_compiler_static_CXX \
13041 lt_prog_compiler_no_builtin_flag_CXX \
13042 export_dynamic_flag_spec_CXX \
13043 thread_safe_flag_spec_CXX \
13044 whole_archive_flag_spec_CXX \
13045 enable_shared_with_static_runtimes_CXX \
13046 old_archive_cmds_CXX \
13047 old_archive_from_new_cmds_CXX \
13048 predep_objects_CXX \
13049 postdep_objects_CXX \
13052 compiler_lib_search_path_CXX \
13054 archive_expsym_cmds_CXX \
13055 postinstall_cmds_CXX \
13056 postuninstall_cmds_CXX \
13057 old_archive_from_expsyms_cmds_CXX \
13058 allow_undefined_flag_CXX \
13059 no_undefined_flag_CXX \
13060 export_symbols_cmds_CXX \
13061 hardcode_libdir_flag_spec_CXX \
13062 hardcode_libdir_flag_spec_ld_CXX \
13063 hardcode_libdir_separator_CXX \
13064 hardcode_automatic_CXX \
13066 module_expsym_cmds_CXX \
13067 lt_cv_prog_compiler_c_o_CXX \
13068 exclude_expsyms_CXX \
13069 include_expsyms_CXX
; do
13072 old_archive_cmds_CXX | \
13073 old_archive_from_new_cmds_CXX | \
13074 archive_cmds_CXX | \
13075 archive_expsym_cmds_CXX | \
13076 module_cmds_CXX | \
13077 module_expsym_cmds_CXX | \
13078 old_archive_from_expsyms_cmds_CXX | \
13079 export_symbols_cmds_CXX | \
13080 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13081 postinstall_cmds | postuninstall_cmds | \
13082 old_postinstall_cmds | old_postuninstall_cmds | \
13083 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13084 # Double-quote double-evaled strings.
13085 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13088 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13094 *'\$0 --fallback-echo"')
13095 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13101 cat <<__EOF__ >> "$cfgfile"
13102 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13104 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13106 # Shell to use when invoking shell scripts.
13109 # Whether or not to build shared libraries.
13110 build_libtool_libs=$enable_shared
13112 # Whether or not to build static libraries.
13113 build_old_libs=$enable_static
13115 # Whether or not to add -lc for building shared libraries.
13116 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13118 # Whether or not to disallow shared libs when runtime libs are static
13119 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13121 # Whether or not to optimize for fast installation.
13122 fast_install=$enable_fast_install
13125 host_alias=$host_alias
13129 # The build system.
13130 build_alias=$build_alias
13134 # An echo program that does not interpret backslashes.
13139 AR_FLAGS=$lt_AR_FLAGS
13144 # A language-specific compiler.
13145 CC=$lt_compiler_CXX
13147 # Is the compiler the GNU C compiler?
13153 # The linker used to build libraries.
13156 # Whether we need hard or soft links.
13159 # A BSD-compatible nm program.
13162 # A symbol stripping program
13165 # Used to examine libraries when file_magic_cmd begins "file"
13166 MAGIC_CMD=$MAGIC_CMD
13168 # Used on cygwin: DLL creation program.
13171 # Used on cygwin: object dumper.
13174 # Used on cygwin: assembler.
13177 # The name of the directory that contains temporary libtool files.
13180 # How to create reloadable object files.
13181 reload_flag=$lt_reload_flag
13182 reload_cmds=$lt_reload_cmds
13184 # How to pass a linker flag through the compiler.
13185 wl=$lt_lt_prog_compiler_wl_CXX
13187 # Object file suffix (normally "o").
13188 objext="$ac_objext"
13190 # Old archive suffix (normally "a").
13193 # Shared library suffix (normally ".so").
13194 shrext_cmds='$shrext_cmds'
13196 # Executable file suffix (normally "").
13199 # Additional compiler flags for building library objects.
13200 pic_flag=$lt_lt_prog_compiler_pic_CXX
13203 # What is the maximum length of a command?
13204 max_cmd_len=$lt_cv_sys_max_cmd_len
13206 # Does compiler simultaneously support -c and -o options?
13207 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13209 # Must we lock files when doing compilation?
13210 need_locks=$lt_need_locks
13212 # Do we need the lib prefix for modules?
13213 need_lib_prefix=$need_lib_prefix
13215 # Do we need a version for libraries?
13216 need_version=$need_version
13218 # Whether dlopen is supported.
13219 dlopen_support=$enable_dlopen
13221 # Whether dlopen of programs is supported.
13222 dlopen_self=$enable_dlopen_self
13224 # Whether dlopen of statically linked programs is supported.
13225 dlopen_self_static=$enable_dlopen_self_static
13227 # Compiler flag to prevent dynamic linking.
13228 link_static_flag=$lt_lt_prog_compiler_static_CXX
13230 # Compiler flag to turn off builtin functions.
13231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13233 # Compiler flag to allow reflexive dlopens.
13234 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13236 # Compiler flag to generate shared objects directly from archives.
13237 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13239 # Compiler flag to generate thread-safe objects.
13240 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13242 # Library versioning type.
13243 version_type=$version_type
13245 # Format of library name prefix.
13246 libname_spec=$lt_libname_spec
13248 # List of archive names. First name is the real one, the rest are links.
13249 # The last name is the one that the linker finds with -lNAME.
13250 library_names_spec=$lt_library_names_spec
13252 # The coded name of the library, if different from the real name.
13253 soname_spec=$lt_soname_spec
13255 # Commands used to build and install an old-style archive.
13257 old_archive_cmds=$lt_old_archive_cmds_CXX
13258 old_postinstall_cmds=$lt_old_postinstall_cmds
13259 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13261 # Create an old-style archive from a shared archive.
13262 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13264 # Create a temporary old-style archive to link instead of a shared archive.
13265 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13267 # Commands used to build and install a shared archive.
13268 archive_cmds=$lt_archive_cmds_CXX
13269 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13270 postinstall_cmds=$lt_postinstall_cmds
13271 postuninstall_cmds=$lt_postuninstall_cmds
13273 # Commands used to build a loadable module (assumed same as above if empty)
13274 module_cmds=$lt_module_cmds_CXX
13275 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13277 # Commands to strip libraries.
13278 old_striplib=$lt_old_striplib
13279 striplib=$lt_striplib
13281 # Dependencies to place before the objects being linked to create a
13283 predep_objects=$lt_predep_objects_CXX
13285 # Dependencies to place after the objects being linked to create a
13287 postdep_objects=$lt_postdep_objects_CXX
13289 # Dependencies to place before the objects being linked to create a
13291 predeps=$lt_predeps_CXX
13293 # Dependencies to place after the objects being linked to create a
13295 postdeps=$lt_postdeps_CXX
13297 # The library search path used internally by the compiler when linking
13298 # a shared library.
13299 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13301 # Method to check whether dependent libraries are shared objects.
13302 deplibs_check_method=$lt_deplibs_check_method
13304 # Command to use when deplibs_check_method == file_magic.
13305 file_magic_cmd=$lt_file_magic_cmd
13307 # Flag that allows shared libraries with undefined symbols to be built.
13308 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13310 # Flag that forces no undefined symbols.
13311 no_undefined_flag=$lt_no_undefined_flag_CXX
13313 # Commands used to finish a libtool library installation in a directory.
13314 finish_cmds=$lt_finish_cmds
13316 # Same as above, but a single script fragment to be evaled but not shown.
13317 finish_eval=$lt_finish_eval
13319 # Take the output of nm and produce a listing of raw symbols and C names.
13320 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13322 # Transform the output of nm in a proper C declaration
13323 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13325 # Transform the output of nm in a C name address pair
13326 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13328 # This is the shared library runtime path variable.
13329 runpath_var=$runpath_var
13331 # This is the shared library path variable.
13332 shlibpath_var=$shlibpath_var
13334 # Is shlibpath searched before the hard-coded library search path?
13335 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13337 # How to hardcode a shared library path into an executable.
13338 hardcode_action=$hardcode_action_CXX
13340 # Whether we should hardcode library paths into libraries.
13341 hardcode_into_libs=$hardcode_into_libs
13343 # Flag to hardcode \$libdir into a binary during linking.
13344 # This must work even if \$libdir does not exist.
13345 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13347 # If ld is used when linking, flag to hardcode \$libdir into
13348 # a binary during linking. This must work even if \$libdir does
13350 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13352 # Whether we need a single -rpath flag with a separated argument.
13353 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13355 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13356 # resulting binary.
13357 hardcode_direct=$hardcode_direct_CXX
13359 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13360 # resulting binary.
13361 hardcode_minus_L=$hardcode_minus_L_CXX
13363 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13364 # the resulting binary.
13365 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13367 # Set to yes if building a shared library automatically hardcodes DIR into the library
13368 # and all subsequent libraries and executables linked against it.
13369 hardcode_automatic=$hardcode_automatic_CXX
13371 # Variables whose values should be saved in libtool wrapper scripts and
13372 # restored at relink time.
13373 variables_saved_for_relink="$variables_saved_for_relink"
13375 # Whether libtool must link a program against all its dependency libraries.
13376 link_all_deplibs=$link_all_deplibs_CXX
13378 # Compile-time system search path for libraries
13379 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13381 # Run-time system search path for libraries
13382 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13384 # Fix the shell variable \$srcfile for the compiler.
13385 fix_srcfile_path="$fix_srcfile_path_CXX"
13387 # Set to yes if exported symbols are required.
13388 always_export_symbols=$always_export_symbols_CXX
13390 # The commands to list exported symbols.
13391 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13393 # The commands to extract the exported symbol list from a shared archive.
13394 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13396 # Symbols that should not be listed in the preloaded symbols.
13397 exclude_expsyms=$lt_exclude_expsyms_CXX
13399 # Symbols that must always be exported.
13400 include_expsyms=$lt_include_expsyms_CXX
13402 # ### END LIBTOOL TAG CONFIG: $tagname
13408 # If there is no Makefile yet, we rely on a make rule to execute
13409 # `config.status --recheck' to rerun these tests and create the
13410 # libtool script then.
13411 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13412 if test -f "$ltmain_in"; then
13413 test -f Makefile
&& make "$ltmain"
13419 ac_cpp
='$CPP $CPPFLAGS'
13420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13428 with_gnu_ldcxx
=$with_gnu_ld
13429 with_gnu_ld
=$lt_save_with_gnu_ld
13430 lt_cv_path_LDCXX
=$lt_cv_path_LD
13431 lt_cv_path_LD
=$lt_save_path_LD
13432 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13433 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13441 if test -n "$F77" && test "X$F77" != "Xno"; then
13444 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13445 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13446 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13449 archive_cmds_need_lc_F77
=no
13450 allow_undefined_flag_F77
=
13451 always_export_symbols_F77
=no
13452 archive_expsym_cmds_F77
=
13453 export_dynamic_flag_spec_F77
=
13454 hardcode_direct_F77
=no
13455 hardcode_libdir_flag_spec_F77
=
13456 hardcode_libdir_flag_spec_ld_F77
=
13457 hardcode_libdir_separator_F77
=
13458 hardcode_minus_L_F77
=no
13459 hardcode_automatic_F77
=no
13461 module_expsym_cmds_F77
=
13462 link_all_deplibs_F77
=unknown
13463 old_archive_cmds_F77
=$old_archive_cmds
13464 no_undefined_flag_F77
=
13465 whole_archive_flag_spec_F77
=
13466 enable_shared_with_static_runtimes_F77
=no
13468 # Source file extension for f77 test sources.
13471 # Object file extension for compiled f77 test sources.
13475 # Code to be used in simple compile tests
13476 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13478 # Code to be used in simple link tests
13479 lt_simple_link_test_code
=" program t\n end\n"
13481 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13483 # If no C compiler was specified, use CC.
13486 # Allow CC to be a program name with arguments.
13490 # save warnings/boilerplate of simple test code
13491 ac_outfile
=conftest.
$ac_objext
13492 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13493 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13494 _lt_compiler_boilerplate
=`cat conftest.err`
13497 ac_outfile
=conftest.
$ac_objext
13498 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13499 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13500 _lt_linker_boilerplate
=`cat conftest.err`
13504 # Allow CC to be a program name with arguments.
13509 for cc_temp
in $compiler""; do
13511 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13512 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13517 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13520 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13521 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13522 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13523 echo "${ECHO_T}$can_build_shared" >&6
13525 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13526 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13527 test "$can_build_shared" = "no" && enable_shared
=no
13529 # On AIX, shared libraries and static libraries use the same namespace, and
13530 # are all built from PIC.
13533 test "$enable_shared" = yes && enable_static
=no
13534 if test -n "$RANLIB"; then
13535 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13536 postinstall_cmds
='$RANLIB $lib'
13540 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13541 test "$enable_shared" = yes && enable_static
=no
13545 echo "$as_me:$LINENO: result: $enable_shared" >&5
13546 echo "${ECHO_T}$enable_shared" >&6
13548 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13549 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13550 # Make sure either enable_shared or enable_static is yes.
13551 test "$enable_shared" = yes || enable_static
=yes
13552 echo "$as_me:$LINENO: result: $enable_static" >&5
13553 echo "${ECHO_T}$enable_static" >&6
13555 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13560 lt_prog_compiler_wl_F77
=
13561 lt_prog_compiler_pic_F77
=
13562 lt_prog_compiler_static_F77
=
13564 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13565 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13567 if test "$GCC" = yes; then
13568 lt_prog_compiler_wl_F77
='-Wl,'
13569 lt_prog_compiler_static_F77
='-static'
13573 # All AIX code is PIC.
13574 if test "$host_cpu" = ia64
; then
13575 # AIX 5 now supports IA64 processor
13576 lt_prog_compiler_static_F77
='-Bstatic'
13581 # FIXME: we need at least 68020 code to build shared libraries, but
13582 # adding the `-m68020' flag to GCC prevents building anything better,
13584 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13587 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13588 # PIC is the default for these OSes.
13591 mingw
* | pw32
* | os2
*)
13592 # This hack is so that the source file can tell whether it is being
13593 # built for inclusion in a dll (and should export symbols for example).
13594 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13597 darwin
* | rhapsody
*)
13598 # PIC is the default on this platform
13599 # Common symbols not allowed in MH_DYLIB files
13600 lt_prog_compiler_pic_F77
='-fno-common'
13604 # Just because we use GCC doesn't mean we suddenly get shared libraries
13605 # on systems that don't support them.
13606 lt_prog_compiler_can_build_shared_F77
=no
13611 if test -d /usr
/nec
; then
13612 lt_prog_compiler_pic_F77
=-Kconform_pic
13617 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13618 # not for PA HP-UX.
13624 lt_prog_compiler_pic_F77
='-fPIC'
13630 lt_prog_compiler_pic_F77
='-fPIC'
13634 # PORTME Check for flag to pass linker flags through the system compiler.
13637 lt_prog_compiler_wl_F77
='-Wl,'
13638 if test "$host_cpu" = ia64
; then
13639 # AIX 5 now supports IA64 processor
13640 lt_prog_compiler_static_F77
='-Bstatic'
13642 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13646 # PIC is the default on this platform
13647 # Common symbols not allowed in MH_DYLIB files
13648 case $cc_basename in
13650 lt_prog_compiler_pic_F77
='-qnocommon'
13651 lt_prog_compiler_wl_F77
='-Wl,'
13656 mingw
* | pw32
* | os2
*)
13657 # This hack is so that the source file can tell whether it is being
13658 # built for inclusion in a dll (and should export symbols for example).
13659 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13662 hpux9
* | hpux10
* | hpux11
*)
13663 lt_prog_compiler_wl_F77
='-Wl,'
13664 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13665 # not for PA HP-UX.
13671 lt_prog_compiler_pic_F77
='+Z'
13674 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13675 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13678 irix5
* | irix6
* | nonstopux
*)
13679 lt_prog_compiler_wl_F77
='-Wl,'
13680 # PIC (with -KPIC) is the default.
13681 lt_prog_compiler_static_F77
='-non_shared'
13685 lt_prog_compiler_pic_F77
='-KPIC'
13686 lt_prog_compiler_static_F77
='-Bstatic'
13690 case $cc_basename in
13692 lt_prog_compiler_wl_F77
='-Wl,'
13693 lt_prog_compiler_pic_F77
='-KPIC'
13694 lt_prog_compiler_static_F77
='-static'
13696 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13697 # Portland Group compilers (*not* the Pentium gcc compiler,
13698 # which looks to be a dead project)
13699 lt_prog_compiler_wl_F77
='-Wl,'
13700 lt_prog_compiler_pic_F77
='-fpic'
13701 lt_prog_compiler_static_F77
='-Bstatic'
13704 lt_prog_compiler_wl_F77
='-Wl,'
13705 # All Alpha code is PIC.
13706 lt_prog_compiler_static_F77
='-non_shared'
13711 osf3
* | osf4
* | osf5
*)
13712 lt_prog_compiler_wl_F77
='-Wl,'
13713 # All OSF/1 code is PIC.
13714 lt_prog_compiler_static_F77
='-non_shared'
13718 lt_prog_compiler_pic_F77
='-Kpic'
13719 lt_prog_compiler_static_F77
='-dn'
13723 lt_prog_compiler_pic_F77
='-KPIC'
13724 lt_prog_compiler_static_F77
='-Bstatic'
13725 case $cc_basename in
13726 f77
* | f90
* | f95
*)
13727 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13729 lt_prog_compiler_wl_F77
='-Wl,';;
13734 lt_prog_compiler_wl_F77
='-Qoption ld '
13735 lt_prog_compiler_pic_F77
='-PIC'
13736 lt_prog_compiler_static_F77
='-Bstatic'
13739 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13740 lt_prog_compiler_wl_F77
='-Wl,'
13741 lt_prog_compiler_pic_F77
='-KPIC'
13742 lt_prog_compiler_static_F77
='-Bstatic'
13746 if test -d /usr
/nec
;then
13747 lt_prog_compiler_pic_F77
='-Kconform_pic'
13748 lt_prog_compiler_static_F77
='-Bstatic'
13753 lt_prog_compiler_wl_F77
='-Wl,'
13754 lt_prog_compiler_can_build_shared_F77
=no
13758 lt_prog_compiler_pic_F77
='-pic'
13759 lt_prog_compiler_static_F77
='-Bstatic'
13763 lt_prog_compiler_can_build_shared_F77
=no
13768 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13769 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13772 # Check to make sure the PIC flag actually works.
13774 if test -n "$lt_prog_compiler_pic_F77"; then
13776 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13777 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13778 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 lt_prog_compiler_pic_works_F77
=no
13782 ac_outfile
=conftest.
$ac_objext
13783 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13784 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13785 # Insert the option either (1) after the last *FLAGS variable, or
13786 # (2) before a word containing "conftest.", or (3) at the end.
13787 # Note that $ac_compile itself does not contain backslashes and begins
13788 # with a dollar sign (not a hyphen), so the echo should work correctly.
13789 # The option is referenced via a variable to avoid confusing sed.
13790 lt_compile
=`echo "$ac_compile" | $SED \
13791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13793 -e 's:$: $lt_compiler_flag:'`
13794 (eval echo "\"\$as_me:13794: $lt_compile\"" >&5)
13795 (eval "$lt_compile" 2>conftest.err
)
13797 cat conftest.err
>&5
13798 echo "$as_me:13798: \$? = $ac_status" >&5
13799 if (exit $ac_status) && test -s "$ac_outfile"; then
13800 # The compiler can only warn and ignore the option if not recognized
13801 # So say no if there are warnings other than the usual output.
13802 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
13803 $SED '/^$/d' conftest.err
>conftest.er2
13804 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13805 lt_prog_compiler_pic_works_F77
=yes
13811 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13812 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13814 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13815 case $lt_prog_compiler_pic_F77 in
13817 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13820 lt_prog_compiler_pic_F77
=
13821 lt_prog_compiler_can_build_shared_F77
=no
13826 # For platforms which do not support PIC, -DPIC is meaningless:
13828 lt_prog_compiler_pic_F77
=
13831 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13835 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13836 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13837 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 lt_cv_prog_compiler_c_o_F77
=no
13841 $rm -r conftest
2>/dev
/null
13845 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13847 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13848 # Insert the option either (1) after the last *FLAGS variable, or
13849 # (2) before a word containing "conftest.", or (3) at the end.
13850 # Note that $ac_compile itself does not contain backslashes and begins
13851 # with a dollar sign (not a hyphen), so the echo should work correctly.
13852 lt_compile
=`echo "$ac_compile" | $SED \
13853 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13854 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13855 -e 's:$: $lt_compiler_flag:'`
13856 (eval echo "\"\$as_me:13856: $lt_compile\"" >&5)
13857 (eval "$lt_compile" 2>out
/conftest.err
)
13859 cat out
/conftest.err
>&5
13860 echo "$as_me:13860: \$? = $ac_status" >&5
13861 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13863 # The compiler can only warn and ignore the option if not recognized
13864 # So say no if there are warnings
13865 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
13866 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
13867 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13868 lt_cv_prog_compiler_c_o_F77
=yes
13873 # SGI C++ compiler will create directory out/ii_files/ for
13874 # template instantiation
13875 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13876 $rm out
/* && rmdir out
13882 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13883 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13886 hard_links
="nottested"
13887 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13888 # do not overwrite the value of need_locks provided by the user
13889 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13890 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13893 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13895 ln conftest.a conftest.b
2>&5 || hard_links
=no
13896 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13897 echo "$as_me:$LINENO: result: $hard_links" >&5
13898 echo "${ECHO_T}$hard_links" >&6
13899 if test "$hard_links" = no
; then
13900 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13901 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13908 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13909 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13912 allow_undefined_flag_F77
=
13913 enable_shared_with_static_runtimes_F77
=no
13915 archive_expsym_cmds_F77
=
13916 old_archive_From_new_cmds_F77
=
13917 old_archive_from_expsyms_cmds_F77
=
13918 export_dynamic_flag_spec_F77
=
13919 whole_archive_flag_spec_F77
=
13920 thread_safe_flag_spec_F77
=
13921 hardcode_libdir_flag_spec_F77
=
13922 hardcode_libdir_flag_spec_ld_F77
=
13923 hardcode_libdir_separator_F77
=
13924 hardcode_direct_F77
=no
13925 hardcode_minus_L_F77
=no
13926 hardcode_shlibpath_var_F77
=unsupported
13927 link_all_deplibs_F77
=unknown
13928 hardcode_automatic_F77
=no
13930 module_expsym_cmds_F77
=
13931 always_export_symbols_F77
=no
13932 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13933 # include_expsyms should be a list of space-separated symbols to be *always*
13934 # included in the symbol list
13935 include_expsyms_F77
=
13936 # exclude_expsyms can be an extended regexp of symbols to exclude
13937 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13938 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13939 # as well as any symbol that contains `d'.
13940 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13941 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13942 # platforms (ab)use it in PIC code, but their linkers get confused if
13943 # the symbol is explicitly referenced. Since portable code cannot
13944 # rely on this symbol name, it's probably fine to never include it in
13945 # preloaded symbol tables.
13946 extract_expsyms_cmds
=
13947 # Just being paranoid about ensuring that cc_basename is set.
13948 for cc_temp
in $compiler""; do
13950 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13951 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13956 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13959 cygwin
* | mingw
* | pw32
*)
13960 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13961 # When not using gcc, we currently assume that we are using
13962 # Microsoft Visual C++.
13963 if test "$GCC" != yes; then
13973 if test "$with_gnu_ld" = yes; then
13974 # If archive_cmds runs LD, not CC, wlarc should be empty
13977 # Set some defaults for GNU ld with shared library support. These
13978 # are reset later if shared libraries are not supported. Putting them
13979 # here allows them to be overridden if necessary.
13980 runpath_var
=LD_RUN_PATH
13981 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13982 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13983 # ancient GNU ld didn't support --whole-archive et. al.
13984 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13985 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13987 whole_archive_flag_spec_F77
=
13989 supports_anon_versioning
=no
13990 case `$LD -v 2>/dev/null` in
13991 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13992 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13993 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13994 *\
2.11.
*) ;; # other 2.11 versions
13995 *) supports_anon_versioning
=yes ;;
13998 # See if GNU ld supports shared libraries.
14000 aix3
* | aix4
* | aix5
*)
14001 # On AIX/PPC, the GNU linker is very broken
14002 if test "$host_cpu" != ia64
; then
14006 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14007 *** to be unable to reliably create shared libraries on AIX.
14008 *** Therefore, libtool is disabling shared libraries support. If you
14009 *** really care for shared libraries, you may want to modify your PATH
14010 *** so that a non-GNU linker is found, and then restart.
14017 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)'
14018 hardcode_libdir_flag_spec_F77
='-L$libdir'
14019 hardcode_minus_L_F77
=yes
14021 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14022 # that the semantics of dynamic libraries on AmigaOS, at least up
14023 # to version 4, is to share data among multiple programs linked
14024 # with the same dynamic library. Since this doesn't match the
14025 # behavior of shared libraries on other platforms, we can't use
14031 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14032 allow_undefined_flag_F77
=unsupported
14033 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14034 # support --undefined. This deserves some investigation. FIXME
14035 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14041 cygwin
* | mingw
* | pw32
*)
14042 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14043 # as there is no search path for DLLs.
14044 hardcode_libdir_flag_spec_F77
='-L$libdir'
14045 allow_undefined_flag_F77
=unsupported
14046 always_export_symbols_F77
=no
14047 enable_shared_with_static_runtimes_F77
=yes
14048 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14050 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14051 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14052 # If the export-symbols file already is a .def file (1st line
14053 # is EXPORTS), use it as is; otherwise, prepend...
14054 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14055 cp $export_symbols $output_objdir/$soname.def;
14057 echo EXPORTS > $output_objdir/$soname.def;
14058 cat $export_symbols >> $output_objdir/$soname.def;
14060 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14067 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14069 case $cc_basename,$host_cpu in
14070 pgcc
*) # Portland Group C compiler
14071 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14072 tmp_addflag
=' $pic_flag'
14074 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14075 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14076 tmp_addflag
=' $pic_flag -Mnomain' ;;
14077 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14078 tmp_addflag
=' -i_dynamic' ;;
14079 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14080 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14081 ifc
* | ifort
*) # Intel Fortran compiler
14082 tmp_addflag
=' -nofor_main' ;;
14084 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14086 if test $supports_anon_versioning = yes; then
14087 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14088 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14089 $echo "local: *; };" >> $output_objdir/$libname.ver~
14090 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14098 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14099 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14102 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14103 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14108 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14112 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14113 *** create shared libraries on Solaris systems. Therefore, libtool
14114 *** is disabling shared libraries support. We urge you to upgrade GNU
14115 *** binutils to release 2.9.1 or newer. Another option is to modify
14116 *** your PATH or compiler configuration so that the native linker is
14117 *** used, and then restart.
14120 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14121 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14122 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14129 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14131 hardcode_direct_F77
=yes
14132 hardcode_shlibpath_var_F77
=no
14136 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14137 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14138 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14145 if test "$ld_shlibs_F77" = no
; then
14147 hardcode_libdir_flag_spec_F77
=
14148 export_dynamic_flag_spec_F77
=
14149 whole_archive_flag_spec_F77
=
14152 # PORTME fill in a description of your system's linker (not GNU ld)
14155 allow_undefined_flag_F77
=unsupported
14156 always_export_symbols_F77
=yes
14157 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'
14158 # Note: this linker hardcodes the directories in LIBPATH if there
14159 # are no directories specified by -L.
14160 hardcode_minus_L_F77
=yes
14161 if test "$GCC" = yes && test -z "$link_static_flag"; then
14162 # Neither direct hardcoding nor static linking is supported with a
14164 hardcode_direct_F77
=unsupported
14169 if test "$host_cpu" = ia64
; then
14170 # On IA64, the linker does run time linking by default, so we don't
14171 # have to do anything special.
14172 aix_use_runtimelinking
=no
14173 exp_sym_flag
='-Bexport'
14176 # If we're using GNU nm, then we don't want the "-C" option.
14177 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14178 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14179 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'
14181 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'
14183 aix_use_runtimelinking
=no
14185 # Test if we are trying to use run time linking or normal
14186 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14187 # need to do runtime linking.
14188 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14189 for ld_flag
in $LDFLAGS; do
14190 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14191 aix_use_runtimelinking
=yes
14197 exp_sym_flag
='-bexport'
14198 no_entry_flag
='-bnoentry'
14201 # When large executables or shared objects are built, AIX ld can
14202 # have problems creating the table of contents. If linking a library
14203 # or program results in "error TOC overflow" add -mminimal-toc to
14204 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14205 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14207 archive_cmds_F77
=''
14208 hardcode_direct_F77
=yes
14209 hardcode_libdir_separator_F77
=':'
14210 link_all_deplibs_F77
=yes
14212 if test "$GCC" = yes; then
14213 case $host_os in aix4.
[012]|aix4.
[012].
*)
14214 # We only want to do this on AIX 4.2 and lower, the check
14215 # below for broken collect2 doesn't work under 4.3+
14216 collect2name
=`${CC} -print-prog-name=collect2`
14217 if test -f "$collect2name" && \
14218 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14220 # We have reworked collect2
14221 hardcode_direct_F77
=yes
14223 # We have old collect2
14224 hardcode_direct_F77
=unsupported
14225 # It fails to find uninstalled libraries when the uninstalled
14226 # path is not listed in the libpath. Setting hardcode_minus_L
14227 # to unsupported forces relinking
14228 hardcode_minus_L_F77
=yes
14229 hardcode_libdir_flag_spec_F77
='-L$libdir'
14230 hardcode_libdir_separator_F77
=
14233 shared_flag
='-shared'
14234 if test "$aix_use_runtimelinking" = yes; then
14235 shared_flag
="$shared_flag "'${wl}-G'
14239 if test "$host_cpu" = ia64
; then
14240 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14241 # chokes on -Wl,-G. The following line is correct:
14244 if test "$aix_use_runtimelinking" = yes; then
14245 shared_flag
='${wl}-G'
14247 shared_flag
='${wl}-bM:SRE'
14252 # It seems that -bexpall does not export symbols beginning with
14253 # underscore (_), so it is better to generate a list of symbols to export.
14254 always_export_symbols_F77
=yes
14255 if test "$aix_use_runtimelinking" = yes; then
14256 # Warning - without using the other runtime loading flags (-brtl),
14257 # -berok will link without error, but may produce a broken library.
14258 allow_undefined_flag_F77
='-berok'
14259 # Determine the default libpath from the value encoded in an empty executable.
14260 cat >conftest.
$ac_ext <<_ACEOF
14265 rm -f conftest.
$ac_objext conftest
$ac_exeext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14267 (eval $ac_link) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try
='test -s conftest$ac_exeext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14287 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14289 # Check for a 64-bit object if we didn't find anything.
14290 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; }
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.
$ac_ext >&5
14297 rm -f conftest.err conftest.
$ac_objext \
14298 conftest
$ac_exeext conftest.
$ac_ext
14299 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14301 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14302 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14304 if test "$host_cpu" = ia64; then
14305 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14306 allow_undefined_flag_F77="-z nodefs"
14307 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
14309 # Determine the default libpath from the value encoded in an empty executable.
14310 cat >conftest.$ac_ext <<_ACEOF
14315 rm -f conftest.$ac_objext conftest$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>conftest.er1
14319 grep -v '^ *+' conftest.er1 >conftest.err
14321 cat conftest.err >&5
14322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14323 (exit $ac_status); } &&
14324 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try='test -s conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14335 (exit $ac_status); }; }; then
14337 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14339 # Check for a 64-bit object if we didn't find anything.
14340 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; }
14343 echo "$as_me: failed program was
:" >&5
14344 sed 's/^/| /' conftest.$ac_ext >&5
14347 rm -f conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14351 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14352 # Warning - without using the other run time loading flags,
14353 # -berok will link without error, but may produce a broken library.
14354 no_undefined_flag_F77=' ${wl}-bernotok'
14355 allow_undefined_flag_F77=' ${wl}-berok'
14356 # -bexpall does not export symbols beginning with underscore (_)
14357 always_export_symbols_F77=yes
14358 # Exported symbols can be pulled into shared objects from archives
14359 whole_archive_flag_spec_F77=' '
14360 archive_cmds_need_lc_F77=yes
14361 # This is similar to how AIX traditionally builds its shared libraries.
14362 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14368 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)'
14369 hardcode_libdir_flag_spec_F77
='-L$libdir'
14370 hardcode_minus_L_F77
=yes
14371 # see comment about different semantics on the GNU ld section
14376 export_dynamic_flag_spec_F77
=-rdynamic
14379 cygwin
* | mingw
* | pw32
*)
14380 # When not using gcc, we currently assume that we are using
14381 # Microsoft Visual C++.
14382 # hardcode_libdir_flag_spec is actually meaningless, as there is
14383 # no search path for DLLs.
14384 hardcode_libdir_flag_spec_F77
=' '
14385 allow_undefined_flag_F77
=unsupported
14386 # Tell ltmain to make .lib files, not .a files.
14388 # Tell ltmain to make .dll files, not .so files.
14390 # FIXME: Setting linknames here is a bad hack.
14391 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14392 # The linker will automatically build a .lib file if we build a DLL.
14393 old_archive_From_new_cmds_F77
='true'
14394 # FIXME: Should let the user specify the lib program.
14395 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14396 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14397 enable_shared_with_static_runtimes_F77
=yes
14400 darwin
* | rhapsody
*)
14402 rhapsody
* | darwin1.
[012])
14403 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14406 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14407 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14409 case ${MACOSX_DEPLOYMENT_TARGET} in
14411 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14414 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14420 archive_cmds_need_lc_F77
=no
14421 hardcode_direct_F77
=no
14422 hardcode_automatic_F77
=yes
14423 hardcode_shlibpath_var_F77
=unsupported
14424 whole_archive_flag_spec_F77
=''
14425 link_all_deplibs_F77
=yes
14426 if test "$GCC" = yes ; then
14427 output_verbose_link_cmd
='echo'
14428 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14429 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14430 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14431 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14432 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14434 case $cc_basename in
14436 output_verbose_link_cmd
='echo'
14437 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14438 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14439 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14440 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14441 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14451 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14452 hardcode_libdir_flag_spec_F77
='-L$libdir'
14453 hardcode_shlibpath_var_F77
=no
14460 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14461 # support. Future versions do this automatically, but an explicit c++rt0.o
14462 # does not break anything, and helps significantly (at the cost of a little
14465 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14466 hardcode_libdir_flag_spec_F77
='-R$libdir'
14467 hardcode_direct_F77
=yes
14468 hardcode_shlibpath_var_F77
=no
14471 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14473 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14474 hardcode_direct_F77
=yes
14475 hardcode_minus_L_F77
=yes
14476 hardcode_shlibpath_var_F77
=no
14479 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14480 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14481 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14482 hardcode_libdir_flag_spec_F77
='-R$libdir'
14483 hardcode_direct_F77
=yes
14484 hardcode_shlibpath_var_F77
=no
14488 if test "$GCC" = yes; then
14489 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14491 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'
14493 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14494 hardcode_libdir_separator_F77
=:
14495 hardcode_direct_F77
=yes
14497 # hardcode_minus_L: Not really in the search PATH,
14498 # but as the default location of the library.
14499 hardcode_minus_L_F77
=yes
14500 export_dynamic_flag_spec_F77
='${wl}-E'
14504 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14507 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14510 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14516 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14519 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14523 if test "$with_gnu_ld" = no
; then
14526 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14527 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14528 hardcode_libdir_separator_F77
=:
14529 hardcode_direct_F77
=no
14530 hardcode_shlibpath_var_F77
=no
14533 hardcode_libdir_flag_spec_F77
='-L$libdir'
14534 hardcode_direct_F77
=no
14535 hardcode_shlibpath_var_F77
=no
14537 # hardcode_minus_L: Not really in the search PATH,
14538 # but as the default location of the library.
14539 hardcode_minus_L_F77
=yes
14542 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14543 hardcode_libdir_separator_F77
=:
14544 hardcode_direct_F77
=yes
14545 export_dynamic_flag_spec_F77
='${wl}-E'
14547 # hardcode_minus_L: Not really in the search PATH,
14548 # but as the default location of the library.
14549 hardcode_minus_L_F77
=yes
14555 irix5
* | irix6
* | nonstopux
*)
14556 if test "$GCC" = yes; then
14557 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14559 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'
14560 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14562 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14563 hardcode_libdir_separator_F77
=:
14564 link_all_deplibs_F77
=yes
14568 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14569 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14571 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14573 hardcode_libdir_flag_spec_F77
='-R$libdir'
14574 hardcode_direct_F77
=yes
14575 hardcode_shlibpath_var_F77
=no
14579 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14580 hardcode_direct_F77
=yes
14581 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14582 hardcode_libdir_separator_F77
=:
14583 hardcode_shlibpath_var_F77
=no
14587 hardcode_direct_F77
=yes
14588 hardcode_shlibpath_var_F77
=no
14589 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14590 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14591 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14592 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14593 export_dynamic_flag_spec_F77
='${wl}-E'
14596 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14597 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14598 hardcode_libdir_flag_spec_F77
='-R$libdir'
14601 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14602 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14609 hardcode_libdir_flag_spec_F77
='-L$libdir'
14610 hardcode_minus_L_F77
=yes
14611 allow_undefined_flag_F77
=unsupported
14612 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14613 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14617 if test "$GCC" = yes; then
14618 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14619 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14621 allow_undefined_flag_F77
=' -expect_unresolved \*'
14622 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'
14624 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14625 hardcode_libdir_separator_F77
=:
14628 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14629 if test "$GCC" = yes; then
14630 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14631 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14632 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14634 allow_undefined_flag_F77
=' -expect_unresolved \*'
14635 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'
14636 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~
14637 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14639 # Both c and cxx compiler support -rpath directly
14640 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14642 hardcode_libdir_separator_F77
=:
14646 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14647 hardcode_shlibpath_var_F77
=no
14648 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14649 runpath_var
=LD_RUN_PATH
14650 hardcode_runpath_var
=yes
14654 no_undefined_flag_F77
=' -z text'
14655 if test "$GCC" = yes; then
14657 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14658 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14659 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14662 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14663 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14664 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14666 hardcode_libdir_flag_spec_F77
='-R$libdir'
14667 hardcode_shlibpath_var_F77
=no
14669 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14671 # The compiler driver will combine linker options so we
14672 # cannot just pass the convience library names through
14673 # without $wl, iff we do not link with $LD.
14674 # Luckily, gcc supports the same syntax we need for Sun Studio.
14675 # Supported since Solaris 2.6 (maybe 2.5.1?)
14678 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14680 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14683 link_all_deplibs_F77
=yes
14687 if test "x$host_vendor" = xsequent
; then
14688 # Use $CC to link under sequent, because it throws in some extra .o
14689 # files that make .init and .fini sections work.
14690 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14692 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14694 hardcode_libdir_flag_spec_F77
='-L$libdir'
14695 hardcode_direct_F77
=yes
14696 hardcode_minus_L_F77
=yes
14697 hardcode_shlibpath_var_F77
=no
14701 case $host_vendor in
14703 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14704 hardcode_direct_F77
=yes # is this really true???
14707 ## LD is ld it makes a PLAMLIB
14708 ## CC just makes a GrossModule.
14709 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14710 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14711 hardcode_direct_F77
=no
14714 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14715 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14718 runpath_var
='LD_RUN_PATH'
14719 hardcode_shlibpath_var_F77
=no
14723 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14724 hardcode_shlibpath_var_F77
=no
14725 export_dynamic_flag_spec_F77
='-Bexport'
14729 if test -d /usr
/nec
; then
14730 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14731 hardcode_shlibpath_var_F77
=no
14732 runpath_var
=LD_RUN_PATH
14733 hardcode_runpath_var
=yes
14739 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14740 hardcode_direct_F77
=yes
14741 hardcode_minus_L_F77
=no
14742 hardcode_shlibpath_var_F77
=no
14743 hardcode_runpath_var
=yes
14744 runpath_var
=LD_RUN_PATH
14747 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14748 no_undefined_flag_F77
='${wl}-z ${wl}text'
14749 if test "$GCC" = yes; then
14750 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14752 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14754 runpath_var
='LD_RUN_PATH'
14755 hardcode_shlibpath_var_F77
=no
14759 no_undefined_flag_F77
=' -z text'
14760 # $CC -shared without GNU ld will not create a library from C++
14761 # object files and a static libstdc++, better avoid it by now
14762 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14763 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14764 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14765 hardcode_libdir_flag_spec_F77
=
14766 hardcode_shlibpath_var_F77
=no
14767 runpath_var
='LD_RUN_PATH'
14771 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14772 hardcode_libdir_flag_spec_F77
='-L$libdir'
14773 hardcode_shlibpath_var_F77
=no
14782 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14783 echo "${ECHO_T}$ld_shlibs_F77" >&6
14784 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14786 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14787 if test "$GCC" = yes; then
14788 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14792 # Do we need to explicitly link libc?
14794 case "x$archive_cmds_need_lc_F77" in
14796 # Assume -lc should be added
14797 archive_cmds_need_lc_F77
=yes
14799 if test "$enable_shared" = yes && test "$GCC" = yes; then
14800 case $archive_cmds_F77 in
14802 # FIXME: we may have to deal with multi-command sequences.
14805 # Test whether the compiler implicitly links with -lc since on some
14806 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14807 # to ld, don't add -lc before -lgcc.
14808 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14809 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14811 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14814 (eval $ac_compile) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } 2>conftest.err
; then
14820 libobjs
=conftest.
$ac_objext
14822 wl
=$lt_prog_compiler_wl_F77
14828 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14829 allow_undefined_flag_F77
=
14830 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14831 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }
14836 archive_cmds_need_lc_F77
=no
14838 archive_cmds_need_lc_F77
=yes
14840 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14842 cat conftest.err
1>&5
14845 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14846 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14853 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14854 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14855 library_names_spec
=
14856 libname_spec
='lib$name'
14860 postuninstall_cmds
=
14864 shlibpath_overrides_runpath
=unknown
14866 dynamic_linker
="$host_os ld.so"
14867 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14868 if test "$GCC" = yes; then
14869 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14870 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14871 # if the path contains ";" then we assume it to be the separator
14872 # otherwise default to the standard path separator (i.e. ":") - it is
14873 # assumed that no part of a normal pathname contains ";" but that should
14874 # okay in the real world where ";" in dirpaths is itself problematic.
14875 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14877 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14880 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14882 need_lib_prefix
=unknown
14883 hardcode_into_libs
=no
14885 # when you set need_version to no, make sure it does not cause -set_version
14886 # flags to be left without arguments
14887 need_version
=unknown
14892 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14893 shlibpath_var
=LIBPATH
14895 # AIX 3 has no versioning support, so we append a major version to the name.
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14903 hardcode_into_libs
=yes
14904 if test "$host_cpu" = ia64
; then
14905 # AIX 5 supports IA64
14906 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14907 shlibpath_var
=LD_LIBRARY_PATH
14909 # With GCC up to 2.95.x, collect2 would create an import file
14910 # for dependence libraries. The import file would start with
14911 # the line `#! .'. This would cause the generated library to
14912 # depend on `.', always an invalid library. This was fixed in
14913 # development snapshots of GCC prior to 3.0.
14915 aix4 | aix4.
[01] | aix4.
[01].
*)
14916 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14918 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14921 can_build_shared
=no
14925 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14926 # soname into executable. Probably we can add versioning support to
14927 # collect2, so additional links can be useful in future.
14928 if test "$aix_use_runtimelinking" = yes; then
14929 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14930 # instead of lib<name>.a to let people know that these are not
14931 # typical AIX shared libraries.
14932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934 # We preserve .a as extension for shared libraries through AIX4.2
14935 # and later when we are not doing run time linking.
14936 library_names_spec
='${libname}${release}.a $libname.a'
14937 soname_spec
='${libname}${release}${shared_ext}$major'
14939 shlibpath_var
=LIBPATH
14944 library_names_spec
='$libname.ixlibrary $libname.a'
14945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14946 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'
14950 library_names_spec
='${libname}${shared_ext}'
14951 dynamic_linker
="$host_os ld.so"
14952 shlibpath_var
=LIBRARY_PATH
14958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14959 soname_spec
='${libname}${release}${shared_ext}$major'
14960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14961 shlibpath_var
=LD_LIBRARY_PATH
14962 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14963 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14964 # the default ld.so.conf also contains /usr/contrib/lib and
14965 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14966 # libtool to hard-code these into programs
14969 cygwin
* | mingw
* | pw32
*)
14970 version_type
=windows
14975 case $GCC,$host_os in
14976 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14977 library_names_spec
='$libname.dll.a'
14978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14979 postinstall_cmds
='base_file=`basename \${file}`~
14980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14981 dldir=$destdir/`dirname \$dlpath`~
14982 test -d \$dldir || mkdir -p \$dldir~
14983 $install_prog $dir/$dlname \$dldir/$dlname~
14984 chmod a+x \$dldir/$dlname'
14985 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14986 dlpath=$dir/\$dldll~
14988 shlibpath_overrides_runpath
=yes
14992 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14993 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14994 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14997 # MinGW DLLs use traditional 'lib' prefix
14998 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14999 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15000 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15001 # It is most probably a Windows format PATH printed by
15002 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15003 # path with ; separators, and with drive letters. We can handle the
15004 # drive letters (cygwin fileutils understands them), so leave them,
15005 # especially as we might pass files found there to a mingw objdump,
15006 # which wouldn't understand a cygwinified path. Ahh.
15007 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15009 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15013 # pw32 DLLs use 'pw' prefix rather than 'lib'
15014 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15020 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15023 dynamic_linker
='Win32 ld.exe'
15024 # FIXME: first we should search . and the directory the executable is in
15028 darwin
* | rhapsody
*)
15029 dynamic_linker
="$host_os dyld"
15030 version_type
=darwin
15033 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15034 soname_spec
='${libname}${release}${major}$shared_ext'
15035 shlibpath_overrides_runpath
=yes
15036 shlibpath_var
=DYLD_LIBRARY_PATH
15037 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15038 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15039 if test "$GCC" = yes; then
15040 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"`
15042 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15044 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15052 soname_spec
='${libname}${release}${shared_ext}$major'
15053 shlibpath_var
=LD_LIBRARY_PATH
15064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15065 soname_spec
='${libname}${release}${shared_ext}$major'
15066 shlibpath_var
=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath
=no
15068 hardcode_into_libs
=yes
15069 dynamic_linker
='GNU ld.so'
15072 freebsd
* | dragonfly
*)
15073 # DragonFly does not have aout. When/if they implement a new
15074 # versioning mechanism, adjust this.
15075 if test -x /usr
/bin
/objformat
; then
15076 objformat
=`/usr/bin/objformat`
15079 freebsd
[123]*) objformat
=aout
;;
15080 *) objformat
=elf
;;
15083 version_type
=freebsd-
$objformat
15084 case $version_type in
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15091 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15095 shlibpath_var
=LD_LIBRARY_PATH
15098 shlibpath_overrides_runpath
=yes
15100 freebsd3.
[01]* | freebsdelf3.
[01]*)
15101 shlibpath_overrides_runpath
=yes
15102 hardcode_into_libs
=yes
15105 shlibpath_overrides_runpath
=no
15106 hardcode_into_libs
=yes
15115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15116 soname_spec
='${libname}${release}${shared_ext}$major'
15117 shlibpath_var
=LD_LIBRARY_PATH
15118 hardcode_into_libs
=yes
15121 hpux9
* | hpux10
* | hpux11
*)
15122 # Give a soname corresponding to the major version so that dld.sl refuses to
15123 # link against other versions.
15130 hardcode_into_libs
=yes
15131 dynamic_linker
="$host_os dld.so"
15132 shlibpath_var
=LD_LIBRARY_PATH
15133 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135 soname_spec
='${libname}${release}${shared_ext}$major'
15136 if test "X$HPUX_IA64_MODE" = X32
; then
15137 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15139 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15141 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15145 hardcode_into_libs
=yes
15146 dynamic_linker
="$host_os dld.sl"
15147 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15148 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15150 soname_spec
='${libname}${release}${shared_ext}$major'
15151 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15152 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15156 dynamic_linker
="$host_os dld.sl"
15157 shlibpath_var
=SHLIB_PATH
15158 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15160 soname_spec
='${libname}${release}${shared_ext}$major'
15163 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15164 postinstall_cmds
='chmod 555 $lib'
15167 irix5
* | irix6
* | nonstopux
*)
15169 nonstopux
*) version_type
=nonstopux
;;
15171 if test "$lt_cv_prog_gnu_ld" = yes; then
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15182 irix5
* | nonstopux
*)
15183 libsuff
= shlibsuff
=
15186 case $LD in # libtool.m4 will add one of these switches to LD
15187 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15188 libsuff
= shlibsuff
= libmagic
=32-bit;;
15189 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15190 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15191 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15192 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15193 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15197 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15198 shlibpath_overrides_runpath
=no
15199 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15200 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15201 hardcode_into_libs
=yes
15204 # No shared lib support for Linux oldld, aout, or coff.
15205 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15209 # This must be Linux ELF.
15214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15215 soname_spec
='${libname}${release}${shared_ext}$major'
15216 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15217 shlibpath_var
=LD_LIBRARY_PATH
15218 shlibpath_overrides_runpath
=no
15219 # This implies no fast_install, which is unacceptable.
15220 # Some rework will be needed to allow for fast_install
15221 # before this can be enabled.
15222 hardcode_into_libs
=yes
15224 # Append ld.so.conf contents to the search path
15225 if test -f /etc
/ld.so.conf
; then
15226 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15227 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15230 # We used to test for /lib/ld.so.1 and disable shared libraries on
15231 # powerpc, because MkLinux only supported shared libraries with the
15232 # GNU dynamic linker. Since this was broken with cross compilers,
15233 # most powerpc-linux boxes support dynamic linking these days and
15234 # people can always --disable-shared, the test was removed, and we
15235 # assume the GNU/Linux dynamic linker is in use.
15236 dynamic_linker
='GNU/Linux ld.so'
15243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15244 soname_spec
='${libname}${release}${shared_ext}$major'
15245 shlibpath_var
=LD_LIBRARY_PATH
15246 shlibpath_overrides_runpath
=no
15247 hardcode_into_libs
=yes
15248 dynamic_linker
='GNU ld.so'
15255 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15257 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15258 dynamic_linker
='NetBSD (a.out) ld.so'
15260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15261 soname_spec
='${libname}${release}${shared_ext}$major'
15262 dynamic_linker
='NetBSD ld.elf_so'
15264 shlibpath_var
=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath
=yes
15266 hardcode_into_libs
=yes
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 shlibpath_var
=LD_LIBRARY_PATH
15273 shlibpath_overrides_runpath
=yes
15280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15281 soname_spec
='${libname}${release}${shared_ext}$major'
15282 shlibpath_var
=LD_LIBRARY_PATH
15283 shlibpath_overrides_runpath
=yes
15289 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15291 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15292 *) need_version
=no
;;
15294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15295 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15296 shlibpath_var
=LD_LIBRARY_PATH
15297 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15299 openbsd2.
[89] | openbsd2.
[89].
*)
15300 shlibpath_overrides_runpath
=no
15303 shlibpath_overrides_runpath
=yes
15307 shlibpath_overrides_runpath
=yes
15312 libname_spec
='$name'
15315 library_names_spec
='$libname${shared_ext} $libname.a'
15316 dynamic_linker
='OS/2 ld.exe'
15317 shlibpath_var
=LIBPATH
15320 osf3
* | osf4
* | osf5
*)
15324 soname_spec
='${libname}${release}${shared_ext}$major'
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 shlibpath_var
=LD_LIBRARY_PATH
15327 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15328 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15333 soname_spec
='${libname}${release}${shared_ext}$major'
15334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15335 shlibpath_var
=LD_LIBRARY_PATH
15342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15343 soname_spec
='${libname}${release}${shared_ext}$major'
15344 shlibpath_var
=LD_LIBRARY_PATH
15345 shlibpath_overrides_runpath
=yes
15346 hardcode_into_libs
=yes
15347 # ldd complains unless libraries are executable
15348 postinstall_cmds
='chmod +x $lib'
15353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15354 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15355 shlibpath_var
=LD_LIBRARY_PATH
15356 shlibpath_overrides_runpath
=yes
15357 if test "$with_gnu_ld" = yes; then
15363 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366 soname_spec
='${libname}${release}${shared_ext}$major'
15367 shlibpath_var
=LD_LIBRARY_PATH
15368 case $host_vendor in
15370 shlibpath_overrides_runpath
=no
15372 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15373 runpath_var
=LD_RUN_PATH
15381 shlibpath_overrides_runpath
=no
15382 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15388 if test -d /usr
/nec
;then
15390 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15391 soname_spec
='$libname${shared_ext}.$major'
15392 shlibpath_var
=LD_LIBRARY_PATH
15398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15399 soname_spec
='${libname}${release}${shared_ext}$major'
15400 shlibpath_var
=LD_LIBRARY_PATH
15407 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15408 echo "${ECHO_T}$dynamic_linker" >&6
15409 test "$dynamic_linker" = no
&& can_build_shared
=no
15411 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15412 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15413 hardcode_action_F77
=
15414 if test -n "$hardcode_libdir_flag_spec_F77" || \
15415 test -n "$runpath_var_F77" || \
15416 test "X$hardcode_automatic_F77" = "Xyes" ; then
15418 # We can hardcode non-existant directories.
15419 if test "$hardcode_direct_F77" != no
&&
15420 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15421 # have to relink, otherwise we might link with an installed library
15422 # when we should be linking with a yet-to-be-installed one
15423 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15424 test "$hardcode_minus_L_F77" != no
; then
15425 # Linking always hardcodes the temporary library directory.
15426 hardcode_action_F77
=relink
15428 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15429 hardcode_action_F77
=immediate
15432 # We cannot hardcode anything, or else we can only hardcode existing
15434 hardcode_action_F77
=unsupported
15436 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15437 echo "${ECHO_T}$hardcode_action_F77" >&6
15439 if test "$hardcode_action_F77" = relink
; then
15440 # Fast installation is not supported
15441 enable_fast_install
=no
15442 elif test "$shlibpath_overrides_runpath" = yes ||
15443 test "$enable_shared" = no
; then
15444 # Fast installation is not necessary
15445 enable_fast_install
=needless
15450 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15451 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15452 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15453 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15454 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15455 echo "$as_me:$LINENO: result: yes" >&5
15456 echo "${ECHO_T}yes" >&6
15458 # FIXME - insert some real tests, host_os isn't really good enough
15461 if test -n "$STRIP" ; then
15462 striplib
="$STRIP -x"
15463 echo "$as_me:$LINENO: result: yes" >&5
15464 echo "${ECHO_T}yes" >&6
15466 echo "$as_me:$LINENO: result: no" >&5
15467 echo "${ECHO_T}no" >&6
15471 echo "$as_me:$LINENO: result: no" >&5
15472 echo "${ECHO_T}no" >&6
15479 # The else clause should only fire when bootstrapping the
15480 # libtool distribution, otherwise you forgot to ship ltmain.sh
15481 # with your package, and you will get complaints that there are
15482 # no rules to generate ltmain.sh.
15483 if test -f "$ltmain"; then
15484 # See if we are running on zsh, and set the options which allow our commands through
15485 # without removal of \ escapes.
15486 if test -n "${ZSH_VERSION+set}" ; then
15487 setopt NO_GLOB_SUBST
15489 # Now quote all the things that may contain metacharacters while being
15490 # careful not to overquote the AC_SUBSTed values. We take copies of the
15491 # variables and quote the copies for generation of the libtool script.
15492 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15494 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15495 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15496 deplibs_check_method reload_flag reload_cmds need_locks \
15497 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15498 lt_cv_sys_global_symbol_to_c_name_address \
15499 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15500 old_postinstall_cmds old_postuninstall_cmds \
15504 lt_prog_compiler_wl_F77 \
15505 lt_prog_compiler_pic_F77 \
15506 lt_prog_compiler_static_F77 \
15507 lt_prog_compiler_no_builtin_flag_F77 \
15508 export_dynamic_flag_spec_F77 \
15509 thread_safe_flag_spec_F77 \
15510 whole_archive_flag_spec_F77 \
15511 enable_shared_with_static_runtimes_F77 \
15512 old_archive_cmds_F77 \
15513 old_archive_from_new_cmds_F77 \
15514 predep_objects_F77 \
15515 postdep_objects_F77 \
15518 compiler_lib_search_path_F77 \
15520 archive_expsym_cmds_F77 \
15521 postinstall_cmds_F77 \
15522 postuninstall_cmds_F77 \
15523 old_archive_from_expsyms_cmds_F77 \
15524 allow_undefined_flag_F77 \
15525 no_undefined_flag_F77 \
15526 export_symbols_cmds_F77 \
15527 hardcode_libdir_flag_spec_F77 \
15528 hardcode_libdir_flag_spec_ld_F77 \
15529 hardcode_libdir_separator_F77 \
15530 hardcode_automatic_F77 \
15532 module_expsym_cmds_F77 \
15533 lt_cv_prog_compiler_c_o_F77 \
15534 exclude_expsyms_F77 \
15535 include_expsyms_F77
; do
15538 old_archive_cmds_F77 | \
15539 old_archive_from_new_cmds_F77 | \
15540 archive_cmds_F77 | \
15541 archive_expsym_cmds_F77 | \
15542 module_cmds_F77 | \
15543 module_expsym_cmds_F77 | \
15544 old_archive_from_expsyms_cmds_F77 | \
15545 export_symbols_cmds_F77 | \
15546 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15547 postinstall_cmds | postuninstall_cmds | \
15548 old_postinstall_cmds | old_postuninstall_cmds | \
15549 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15550 # Double-quote double-evaled strings.
15551 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15554 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15560 *'\$0 --fallback-echo"')
15561 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15567 cat <<__EOF__ >> "$cfgfile"
15568 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15570 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15572 # Shell to use when invoking shell scripts.
15575 # Whether or not to build shared libraries.
15576 build_libtool_libs=$enable_shared
15578 # Whether or not to build static libraries.
15579 build_old_libs=$enable_static
15581 # Whether or not to add -lc for building shared libraries.
15582 build_libtool_need_lc=$archive_cmds_need_lc_F77
15584 # Whether or not to disallow shared libs when runtime libs are static
15585 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15587 # Whether or not to optimize for fast installation.
15588 fast_install=$enable_fast_install
15591 host_alias=$host_alias
15595 # The build system.
15596 build_alias=$build_alias
15600 # An echo program that does not interpret backslashes.
15605 AR_FLAGS=$lt_AR_FLAGS
15610 # A language-specific compiler.
15611 CC=$lt_compiler_F77
15613 # Is the compiler the GNU C compiler?
15619 # The linker used to build libraries.
15622 # Whether we need hard or soft links.
15625 # A BSD-compatible nm program.
15628 # A symbol stripping program
15631 # Used to examine libraries when file_magic_cmd begins "file"
15632 MAGIC_CMD=$MAGIC_CMD
15634 # Used on cygwin: DLL creation program.
15637 # Used on cygwin: object dumper.
15640 # Used on cygwin: assembler.
15643 # The name of the directory that contains temporary libtool files.
15646 # How to create reloadable object files.
15647 reload_flag=$lt_reload_flag
15648 reload_cmds=$lt_reload_cmds
15650 # How to pass a linker flag through the compiler.
15651 wl=$lt_lt_prog_compiler_wl_F77
15653 # Object file suffix (normally "o").
15654 objext="$ac_objext"
15656 # Old archive suffix (normally "a").
15659 # Shared library suffix (normally ".so").
15660 shrext_cmds='$shrext_cmds'
15662 # Executable file suffix (normally "").
15665 # Additional compiler flags for building library objects.
15666 pic_flag=$lt_lt_prog_compiler_pic_F77
15669 # What is the maximum length of a command?
15670 max_cmd_len=$lt_cv_sys_max_cmd_len
15672 # Does compiler simultaneously support -c and -o options?
15673 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15675 # Must we lock files when doing compilation?
15676 need_locks=$lt_need_locks
15678 # Do we need the lib prefix for modules?
15679 need_lib_prefix=$need_lib_prefix
15681 # Do we need a version for libraries?
15682 need_version=$need_version
15684 # Whether dlopen is supported.
15685 dlopen_support=$enable_dlopen
15687 # Whether dlopen of programs is supported.
15688 dlopen_self=$enable_dlopen_self
15690 # Whether dlopen of statically linked programs is supported.
15691 dlopen_self_static=$enable_dlopen_self_static
15693 # Compiler flag to prevent dynamic linking.
15694 link_static_flag=$lt_lt_prog_compiler_static_F77
15696 # Compiler flag to turn off builtin functions.
15697 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15699 # Compiler flag to allow reflexive dlopens.
15700 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15702 # Compiler flag to generate shared objects directly from archives.
15703 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15705 # Compiler flag to generate thread-safe objects.
15706 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15708 # Library versioning type.
15709 version_type=$version_type
15711 # Format of library name prefix.
15712 libname_spec=$lt_libname_spec
15714 # List of archive names. First name is the real one, the rest are links.
15715 # The last name is the one that the linker finds with -lNAME.
15716 library_names_spec=$lt_library_names_spec
15718 # The coded name of the library, if different from the real name.
15719 soname_spec=$lt_soname_spec
15721 # Commands used to build and install an old-style archive.
15723 old_archive_cmds=$lt_old_archive_cmds_F77
15724 old_postinstall_cmds=$lt_old_postinstall_cmds
15725 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15727 # Create an old-style archive from a shared archive.
15728 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15730 # Create a temporary old-style archive to link instead of a shared archive.
15731 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15733 # Commands used to build and install a shared archive.
15734 archive_cmds=$lt_archive_cmds_F77
15735 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15736 postinstall_cmds=$lt_postinstall_cmds
15737 postuninstall_cmds=$lt_postuninstall_cmds
15739 # Commands used to build a loadable module (assumed same as above if empty)
15740 module_cmds=$lt_module_cmds_F77
15741 module_expsym_cmds=$lt_module_expsym_cmds_F77
15743 # Commands to strip libraries.
15744 old_striplib=$lt_old_striplib
15745 striplib=$lt_striplib
15747 # Dependencies to place before the objects being linked to create a
15749 predep_objects=$lt_predep_objects_F77
15751 # Dependencies to place after the objects being linked to create a
15753 postdep_objects=$lt_postdep_objects_F77
15755 # Dependencies to place before the objects being linked to create a
15757 predeps=$lt_predeps_F77
15759 # Dependencies to place after the objects being linked to create a
15761 postdeps=$lt_postdeps_F77
15763 # The library search path used internally by the compiler when linking
15764 # a shared library.
15765 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15767 # Method to check whether dependent libraries are shared objects.
15768 deplibs_check_method=$lt_deplibs_check_method
15770 # Command to use when deplibs_check_method == file_magic.
15771 file_magic_cmd=$lt_file_magic_cmd
15773 # Flag that allows shared libraries with undefined symbols to be built.
15774 allow_undefined_flag=$lt_allow_undefined_flag_F77
15776 # Flag that forces no undefined symbols.
15777 no_undefined_flag=$lt_no_undefined_flag_F77
15779 # Commands used to finish a libtool library installation in a directory.
15780 finish_cmds=$lt_finish_cmds
15782 # Same as above, but a single script fragment to be evaled but not shown.
15783 finish_eval=$lt_finish_eval
15785 # Take the output of nm and produce a listing of raw symbols and C names.
15786 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15788 # Transform the output of nm in a proper C declaration
15789 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15791 # Transform the output of nm in a C name address pair
15792 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15794 # This is the shared library runtime path variable.
15795 runpath_var=$runpath_var
15797 # This is the shared library path variable.
15798 shlibpath_var=$shlibpath_var
15800 # Is shlibpath searched before the hard-coded library search path?
15801 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15803 # How to hardcode a shared library path into an executable.
15804 hardcode_action=$hardcode_action_F77
15806 # Whether we should hardcode library paths into libraries.
15807 hardcode_into_libs=$hardcode_into_libs
15809 # Flag to hardcode \$libdir into a binary during linking.
15810 # This must work even if \$libdir does not exist.
15811 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15813 # If ld is used when linking, flag to hardcode \$libdir into
15814 # a binary during linking. This must work even if \$libdir does
15816 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15818 # Whether we need a single -rpath flag with a separated argument.
15819 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15821 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15822 # resulting binary.
15823 hardcode_direct=$hardcode_direct_F77
15825 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15826 # resulting binary.
15827 hardcode_minus_L=$hardcode_minus_L_F77
15829 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15830 # the resulting binary.
15831 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15833 # Set to yes if building a shared library automatically hardcodes DIR into the library
15834 # and all subsequent libraries and executables linked against it.
15835 hardcode_automatic=$hardcode_automatic_F77
15837 # Variables whose values should be saved in libtool wrapper scripts and
15838 # restored at relink time.
15839 variables_saved_for_relink="$variables_saved_for_relink"
15841 # Whether libtool must link a program against all its dependency libraries.
15842 link_all_deplibs=$link_all_deplibs_F77
15844 # Compile-time system search path for libraries
15845 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15847 # Run-time system search path for libraries
15848 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15850 # Fix the shell variable \$srcfile for the compiler.
15851 fix_srcfile_path="$fix_srcfile_path_F77"
15853 # Set to yes if exported symbols are required.
15854 always_export_symbols=$always_export_symbols_F77
15856 # The commands to list exported symbols.
15857 export_symbols_cmds=$lt_export_symbols_cmds_F77
15859 # The commands to extract the exported symbol list from a shared archive.
15860 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15862 # Symbols that should not be listed in the preloaded symbols.
15863 exclude_expsyms=$lt_exclude_expsyms_F77
15865 # Symbols that must always be exported.
15866 include_expsyms=$lt_include_expsyms_F77
15868 # ### END LIBTOOL TAG CONFIG: $tagname
15874 # If there is no Makefile yet, we rely on a make rule to execute
15875 # `config.status --recheck' to rerun these tests and create the
15876 # libtool script then.
15877 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15878 if test -f "$ltmain_in"; then
15879 test -f Makefile
&& make "$ltmain"
15885 ac_cpp
='$CPP $CPPFLAGS'
15886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15898 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15902 # Source file extension for Java test sources.
15905 # Object file extension for compiled Java test sources.
15909 # Code to be used in simple compile tests
15910 lt_simple_compile_test_code
="class foo {}\n"
15912 # Code to be used in simple link tests
15913 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15915 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15917 # If no C compiler was specified, use CC.
15920 # Allow CC to be a program name with arguments.
15924 # save warnings/boilerplate of simple test code
15925 ac_outfile
=conftest.
$ac_objext
15926 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15927 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
15928 _lt_compiler_boilerplate
=`cat conftest.err`
15931 ac_outfile
=conftest.
$ac_objext
15932 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15933 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
15934 _lt_linker_boilerplate
=`cat conftest.err`
15938 # Allow CC to be a program name with arguments.
15943 for cc_temp
in $compiler""; do
15945 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15946 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15951 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15954 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15955 archive_cmds_need_lc_GCJ
=no
15957 old_archive_cmds_GCJ
=$old_archive_cmds
15960 lt_prog_compiler_no_builtin_flag_GCJ
=
15962 if test "$GCC" = yes; then
15963 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15966 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15967 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15968 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 lt_cv_prog_compiler_rtti_exceptions
=no
15972 ac_outfile
=conftest.
$ac_objext
15973 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15974 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15975 # Insert the option either (1) after the last *FLAGS variable, or
15976 # (2) before a word containing "conftest.", or (3) at the end.
15977 # Note that $ac_compile itself does not contain backslashes and begins
15978 # with a dollar sign (not a hyphen), so the echo should work correctly.
15979 # The option is referenced via a variable to avoid confusing sed.
15980 lt_compile
=`echo "$ac_compile" | $SED \
15981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15983 -e 's:$: $lt_compiler_flag:'`
15984 (eval echo "\"\$as_me:15984: $lt_compile\"" >&5)
15985 (eval "$lt_compile" 2>conftest.err
)
15987 cat conftest.err
>&5
15988 echo "$as_me:15988: \$? = $ac_status" >&5
15989 if (exit $ac_status) && test -s "$ac_outfile"; then
15990 # The compiler can only warn and ignore the option if not recognized
15991 # So say no if there are warnings other than the usual output.
15992 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
15993 $SED '/^$/d' conftest.err
>conftest.er2
15994 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15995 lt_cv_prog_compiler_rtti_exceptions
=yes
16001 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16002 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16004 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16005 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16012 lt_prog_compiler_wl_GCJ
=
16013 lt_prog_compiler_pic_GCJ
=
16014 lt_prog_compiler_static_GCJ
=
16016 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16017 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16019 if test "$GCC" = yes; then
16020 lt_prog_compiler_wl_GCJ
='-Wl,'
16021 lt_prog_compiler_static_GCJ
='-static'
16025 # All AIX code is PIC.
16026 if test "$host_cpu" = ia64
; then
16027 # AIX 5 now supports IA64 processor
16028 lt_prog_compiler_static_GCJ
='-Bstatic'
16033 # FIXME: we need at least 68020 code to build shared libraries, but
16034 # adding the `-m68020' flag to GCC prevents building anything better,
16036 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16039 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16040 # PIC is the default for these OSes.
16043 mingw
* | pw32
* | os2
*)
16044 # This hack is so that the source file can tell whether it is being
16045 # built for inclusion in a dll (and should export symbols for example).
16046 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16049 darwin
* | rhapsody
*)
16050 # PIC is the default on this platform
16051 # Common symbols not allowed in MH_DYLIB files
16052 lt_prog_compiler_pic_GCJ
='-fno-common'
16056 # Just because we use GCC doesn't mean we suddenly get shared libraries
16057 # on systems that don't support them.
16058 lt_prog_compiler_can_build_shared_GCJ
=no
16063 if test -d /usr
/nec
; then
16064 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16069 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16070 # not for PA HP-UX.
16076 lt_prog_compiler_pic_GCJ
='-fPIC'
16082 lt_prog_compiler_pic_GCJ
='-fPIC'
16086 # PORTME Check for flag to pass linker flags through the system compiler.
16089 lt_prog_compiler_wl_GCJ
='-Wl,'
16090 if test "$host_cpu" = ia64
; then
16091 # AIX 5 now supports IA64 processor
16092 lt_prog_compiler_static_GCJ
='-Bstatic'
16094 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16098 # PIC is the default on this platform
16099 # Common symbols not allowed in MH_DYLIB files
16100 case $cc_basename in
16102 lt_prog_compiler_pic_GCJ
='-qnocommon'
16103 lt_prog_compiler_wl_GCJ
='-Wl,'
16108 mingw
* | pw32
* | os2
*)
16109 # This hack is so that the source file can tell whether it is being
16110 # built for inclusion in a dll (and should export symbols for example).
16111 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16114 hpux9
* | hpux10
* | hpux11
*)
16115 lt_prog_compiler_wl_GCJ
='-Wl,'
16116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16117 # not for PA HP-UX.
16123 lt_prog_compiler_pic_GCJ
='+Z'
16126 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16127 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16130 irix5
* | irix6
* | nonstopux
*)
16131 lt_prog_compiler_wl_GCJ
='-Wl,'
16132 # PIC (with -KPIC) is the default.
16133 lt_prog_compiler_static_GCJ
='-non_shared'
16137 lt_prog_compiler_pic_GCJ
='-KPIC'
16138 lt_prog_compiler_static_GCJ
='-Bstatic'
16142 case $cc_basename in
16144 lt_prog_compiler_wl_GCJ
='-Wl,'
16145 lt_prog_compiler_pic_GCJ
='-KPIC'
16146 lt_prog_compiler_static_GCJ
='-static'
16148 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16149 # Portland Group compilers (*not* the Pentium gcc compiler,
16150 # which looks to be a dead project)
16151 lt_prog_compiler_wl_GCJ
='-Wl,'
16152 lt_prog_compiler_pic_GCJ
='-fpic'
16153 lt_prog_compiler_static_GCJ
='-Bstatic'
16156 lt_prog_compiler_wl_GCJ
='-Wl,'
16157 # All Alpha code is PIC.
16158 lt_prog_compiler_static_GCJ
='-non_shared'
16163 osf3
* | osf4
* | osf5
*)
16164 lt_prog_compiler_wl_GCJ
='-Wl,'
16165 # All OSF/1 code is PIC.
16166 lt_prog_compiler_static_GCJ
='-non_shared'
16170 lt_prog_compiler_pic_GCJ
='-Kpic'
16171 lt_prog_compiler_static_GCJ
='-dn'
16175 lt_prog_compiler_pic_GCJ
='-KPIC'
16176 lt_prog_compiler_static_GCJ
='-Bstatic'
16177 case $cc_basename in
16178 f77
* | f90
* | f95
*)
16179 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16181 lt_prog_compiler_wl_GCJ
='-Wl,';;
16186 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16187 lt_prog_compiler_pic_GCJ
='-PIC'
16188 lt_prog_compiler_static_GCJ
='-Bstatic'
16191 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16192 lt_prog_compiler_wl_GCJ
='-Wl,'
16193 lt_prog_compiler_pic_GCJ
='-KPIC'
16194 lt_prog_compiler_static_GCJ
='-Bstatic'
16198 if test -d /usr
/nec
;then
16199 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16200 lt_prog_compiler_static_GCJ
='-Bstatic'
16205 lt_prog_compiler_wl_GCJ
='-Wl,'
16206 lt_prog_compiler_can_build_shared_GCJ
=no
16210 lt_prog_compiler_pic_GCJ
='-pic'
16211 lt_prog_compiler_static_GCJ
='-Bstatic'
16215 lt_prog_compiler_can_build_shared_GCJ
=no
16220 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16221 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16224 # Check to make sure the PIC flag actually works.
16226 if test -n "$lt_prog_compiler_pic_GCJ"; then
16228 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16229 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16230 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 lt_prog_compiler_pic_works_GCJ
=no
16234 ac_outfile
=conftest.
$ac_objext
16235 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16236 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16237 # Insert the option either (1) after the last *FLAGS variable, or
16238 # (2) before a word containing "conftest.", or (3) at the end.
16239 # Note that $ac_compile itself does not contain backslashes and begins
16240 # with a dollar sign (not a hyphen), so the echo should work correctly.
16241 # The option is referenced via a variable to avoid confusing sed.
16242 lt_compile
=`echo "$ac_compile" | $SED \
16243 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16244 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16245 -e 's:$: $lt_compiler_flag:'`
16246 (eval echo "\"\$as_me:16246: $lt_compile\"" >&5)
16247 (eval "$lt_compile" 2>conftest.err
)
16249 cat conftest.err
>&5
16250 echo "$as_me:16250: \$? = $ac_status" >&5
16251 if (exit $ac_status) && test -s "$ac_outfile"; then
16252 # The compiler can only warn and ignore the option if not recognized
16253 # So say no if there are warnings other than the usual output.
16254 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16255 $SED '/^$/d' conftest.err
>conftest.er2
16256 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16257 lt_prog_compiler_pic_works_GCJ
=yes
16263 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16264 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16266 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16267 case $lt_prog_compiler_pic_GCJ in
16269 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16272 lt_prog_compiler_pic_GCJ
=
16273 lt_prog_compiler_can_build_shared_GCJ
=no
16278 # For platforms which do not support PIC, -DPIC is meaningless:
16280 lt_prog_compiler_pic_GCJ
=
16283 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16287 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16288 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16289 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 lt_cv_prog_compiler_c_o_GCJ
=no
16293 $rm -r conftest
2>/dev
/null
16297 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16299 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16300 # Insert the option either (1) after the last *FLAGS variable, or
16301 # (2) before a word containing "conftest.", or (3) at the end.
16302 # Note that $ac_compile itself does not contain backslashes and begins
16303 # with a dollar sign (not a hyphen), so the echo should work correctly.
16304 lt_compile
=`echo "$ac_compile" | $SED \
16305 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16306 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16307 -e 's:$: $lt_compiler_flag:'`
16308 (eval echo "\"\$as_me:16308: $lt_compile\"" >&5)
16309 (eval "$lt_compile" 2>out
/conftest.err
)
16311 cat out
/conftest.err
>&5
16312 echo "$as_me:16312: \$? = $ac_status" >&5
16313 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16315 # The compiler can only warn and ignore the option if not recognized
16316 # So say no if there are warnings
16317 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
16318 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
16319 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16320 lt_cv_prog_compiler_c_o_GCJ
=yes
16325 # SGI C++ compiler will create directory out/ii_files/ for
16326 # template instantiation
16327 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16328 $rm out
/* && rmdir out
16334 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16335 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16338 hard_links
="nottested"
16339 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16340 # do not overwrite the value of need_locks provided by the user
16341 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16342 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16345 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16347 ln conftest.a conftest.b
2>&5 || hard_links
=no
16348 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16349 echo "$as_me:$LINENO: result: $hard_links" >&5
16350 echo "${ECHO_T}$hard_links" >&6
16351 if test "$hard_links" = no
; then
16352 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16353 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16360 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16361 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16364 allow_undefined_flag_GCJ
=
16365 enable_shared_with_static_runtimes_GCJ
=no
16367 archive_expsym_cmds_GCJ
=
16368 old_archive_From_new_cmds_GCJ
=
16369 old_archive_from_expsyms_cmds_GCJ
=
16370 export_dynamic_flag_spec_GCJ
=
16371 whole_archive_flag_spec_GCJ
=
16372 thread_safe_flag_spec_GCJ
=
16373 hardcode_libdir_flag_spec_GCJ
=
16374 hardcode_libdir_flag_spec_ld_GCJ
=
16375 hardcode_libdir_separator_GCJ
=
16376 hardcode_direct_GCJ
=no
16377 hardcode_minus_L_GCJ
=no
16378 hardcode_shlibpath_var_GCJ
=unsupported
16379 link_all_deplibs_GCJ
=unknown
16380 hardcode_automatic_GCJ
=no
16382 module_expsym_cmds_GCJ
=
16383 always_export_symbols_GCJ
=no
16384 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16385 # include_expsyms should be a list of space-separated symbols to be *always*
16386 # included in the symbol list
16387 include_expsyms_GCJ
=
16388 # exclude_expsyms can be an extended regexp of symbols to exclude
16389 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16390 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16391 # as well as any symbol that contains `d'.
16392 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16393 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16394 # platforms (ab)use it in PIC code, but their linkers get confused if
16395 # the symbol is explicitly referenced. Since portable code cannot
16396 # rely on this symbol name, it's probably fine to never include it in
16397 # preloaded symbol tables.
16398 extract_expsyms_cmds
=
16399 # Just being paranoid about ensuring that cc_basename is set.
16400 for cc_temp
in $compiler""; do
16402 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16403 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16408 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16411 cygwin
* | mingw
* | pw32
*)
16412 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16413 # When not using gcc, we currently assume that we are using
16414 # Microsoft Visual C++.
16415 if test "$GCC" != yes; then
16425 if test "$with_gnu_ld" = yes; then
16426 # If archive_cmds runs LD, not CC, wlarc should be empty
16429 # Set some defaults for GNU ld with shared library support. These
16430 # are reset later if shared libraries are not supported. Putting them
16431 # here allows them to be overridden if necessary.
16432 runpath_var
=LD_RUN_PATH
16433 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16434 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16435 # ancient GNU ld didn't support --whole-archive et. al.
16436 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16437 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16439 whole_archive_flag_spec_GCJ
=
16441 supports_anon_versioning
=no
16442 case `$LD -v 2>/dev/null` in
16443 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16444 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16445 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16446 *\
2.11.
*) ;; # other 2.11 versions
16447 *) supports_anon_versioning
=yes ;;
16450 # See if GNU ld supports shared libraries.
16452 aix3
* | aix4
* | aix5
*)
16453 # On AIX/PPC, the GNU linker is very broken
16454 if test "$host_cpu" != ia64
; then
16458 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16459 *** to be unable to reliably create shared libraries on AIX.
16460 *** Therefore, libtool is disabling shared libraries support. If you
16461 *** really care for shared libraries, you may want to modify your PATH
16462 *** so that a non-GNU linker is found, and then restart.
16469 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)'
16470 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16471 hardcode_minus_L_GCJ
=yes
16473 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16474 # that the semantics of dynamic libraries on AmigaOS, at least up
16475 # to version 4, is to share data among multiple programs linked
16476 # with the same dynamic library. Since this doesn't match the
16477 # behavior of shared libraries on other platforms, we can't use
16483 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16484 allow_undefined_flag_GCJ
=unsupported
16485 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16486 # support --undefined. This deserves some investigation. FIXME
16487 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16493 cygwin
* | mingw
* | pw32
*)
16494 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16495 # as there is no search path for DLLs.
16496 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16497 allow_undefined_flag_GCJ
=unsupported
16498 always_export_symbols_GCJ
=no
16499 enable_shared_with_static_runtimes_GCJ
=yes
16500 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16502 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16503 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16504 # If the export-symbols file already is a .def file (1st line
16505 # is EXPORTS), use it as is; otherwise, prepend...
16506 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16507 cp $export_symbols $output_objdir/$soname.def;
16509 echo EXPORTS > $output_objdir/$soname.def;
16510 cat $export_symbols >> $output_objdir/$soname.def;
16512 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16519 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16521 case $cc_basename,$host_cpu in
16522 pgcc
*) # Portland Group C compiler
16523 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16524 tmp_addflag
=' $pic_flag'
16526 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16527 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16528 tmp_addflag
=' $pic_flag -Mnomain' ;;
16529 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16530 tmp_addflag
=' -i_dynamic' ;;
16531 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16532 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16533 ifc
* | ifort
*) # Intel Fortran compiler
16534 tmp_addflag
=' -nofor_main' ;;
16536 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16538 if test $supports_anon_versioning = yes; then
16539 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16540 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16541 $echo "local: *; };" >> $output_objdir/$libname.ver~
16542 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16550 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16551 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16554 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16555 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16560 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16564 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16565 *** create shared libraries on Solaris systems. Therefore, libtool
16566 *** is disabling shared libraries support. We urge you to upgrade GNU
16567 *** binutils to release 2.9.1 or newer. Another option is to modify
16568 *** your PATH or compiler configuration so that the native linker is
16569 *** used, and then restart.
16572 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16573 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16574 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16581 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16583 hardcode_direct_GCJ
=yes
16584 hardcode_shlibpath_var_GCJ
=no
16588 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16589 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16590 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16597 if test "$ld_shlibs_GCJ" = no
; then
16599 hardcode_libdir_flag_spec_GCJ
=
16600 export_dynamic_flag_spec_GCJ
=
16601 whole_archive_flag_spec_GCJ
=
16604 # PORTME fill in a description of your system's linker (not GNU ld)
16607 allow_undefined_flag_GCJ
=unsupported
16608 always_export_symbols_GCJ
=yes
16609 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'
16610 # Note: this linker hardcodes the directories in LIBPATH if there
16611 # are no directories specified by -L.
16612 hardcode_minus_L_GCJ
=yes
16613 if test "$GCC" = yes && test -z "$link_static_flag"; then
16614 # Neither direct hardcoding nor static linking is supported with a
16616 hardcode_direct_GCJ
=unsupported
16621 if test "$host_cpu" = ia64
; then
16622 # On IA64, the linker does run time linking by default, so we don't
16623 # have to do anything special.
16624 aix_use_runtimelinking
=no
16625 exp_sym_flag
='-Bexport'
16628 # If we're using GNU nm, then we don't want the "-C" option.
16629 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16630 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16631 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'
16633 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'
16635 aix_use_runtimelinking
=no
16637 # Test if we are trying to use run time linking or normal
16638 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16639 # need to do runtime linking.
16640 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16641 for ld_flag
in $LDFLAGS; do
16642 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16643 aix_use_runtimelinking
=yes
16649 exp_sym_flag
='-bexport'
16650 no_entry_flag
='-bnoentry'
16653 # When large executables or shared objects are built, AIX ld can
16654 # have problems creating the table of contents. If linking a library
16655 # or program results in "error TOC overflow" add -mminimal-toc to
16656 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16657 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16659 archive_cmds_GCJ
=''
16660 hardcode_direct_GCJ
=yes
16661 hardcode_libdir_separator_GCJ
=':'
16662 link_all_deplibs_GCJ
=yes
16664 if test "$GCC" = yes; then
16665 case $host_os in aix4.
[012]|aix4.
[012].
*)
16666 # We only want to do this on AIX 4.2 and lower, the check
16667 # below for broken collect2 doesn't work under 4.3+
16668 collect2name
=`${CC} -print-prog-name=collect2`
16669 if test -f "$collect2name" && \
16670 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16672 # We have reworked collect2
16673 hardcode_direct_GCJ
=yes
16675 # We have old collect2
16676 hardcode_direct_GCJ
=unsupported
16677 # It fails to find uninstalled libraries when the uninstalled
16678 # path is not listed in the libpath. Setting hardcode_minus_L
16679 # to unsupported forces relinking
16680 hardcode_minus_L_GCJ
=yes
16681 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16682 hardcode_libdir_separator_GCJ
=
16685 shared_flag
='-shared'
16686 if test "$aix_use_runtimelinking" = yes; then
16687 shared_flag
="$shared_flag "'${wl}-G'
16691 if test "$host_cpu" = ia64
; then
16692 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16693 # chokes on -Wl,-G. The following line is correct:
16696 if test "$aix_use_runtimelinking" = yes; then
16697 shared_flag
='${wl}-G'
16699 shared_flag
='${wl}-bM:SRE'
16704 # It seems that -bexpall does not export symbols beginning with
16705 # underscore (_), so it is better to generate a list of symbols to export.
16706 always_export_symbols_GCJ
=yes
16707 if test "$aix_use_runtimelinking" = yes; then
16708 # Warning - without using the other runtime loading flags (-brtl),
16709 # -berok will link without error, but may produce a broken library.
16710 allow_undefined_flag_GCJ
='-berok'
16711 # Determine the default libpath from the value encoded in an empty executable.
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16727 rm -f conftest.
$ac_objext conftest
$ac_exeext
16728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16729 (eval $ac_link) 2>conftest.er1
16731 grep -v '^ *+' conftest.er1
>conftest.err
16733 cat conftest.err
>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } &&
16736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try
='test -s conftest$ac_exeext'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; }; then
16749 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16751 # Check for a 64-bit object if we didn't find anything.
16752 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; }
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16759 rm -f conftest.err conftest.
$ac_objext \
16760 conftest
$ac_exeext conftest.
$ac_ext
16761 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16763 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16764 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16766 if test "$host_cpu" = ia64; then
16767 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16768 allow_undefined_flag_GCJ="-z nodefs"
16769 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
16771 # Determine the default libpath from the value encoded in an empty executable.
16772 cat >conftest.$ac_ext <<_ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16787 rm -f conftest.$ac_objext conftest$ac_exeext
16788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16789 (eval $ac_link) 2>conftest.er1
16791 grep -v '^ *+' conftest.er1 >conftest.err
16793 cat conftest.err >&5
16794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16795 (exit $ac_status); } &&
16796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try='test -s conftest$ac_exeext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16807 (exit $ac_status); }; }; then
16809 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16811 # Check for a 64-bit object if we didn't find anything.
16812 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; }
16815 echo "$as_me: failed program was
:" >&5
16816 sed 's/^/| /' conftest.$ac_ext >&5
16819 rm -f conftest.err conftest.$ac_objext \
16820 conftest$ac_exeext conftest.$ac_ext
16821 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16823 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16824 # Warning - without using the other run time loading flags,
16825 # -berok will link without error, but may produce a broken library.
16826 no_undefined_flag_GCJ=' ${wl}-bernotok'
16827 allow_undefined_flag_GCJ=' ${wl}-berok'
16828 # -bexpall does not export symbols beginning with underscore (_)
16829 always_export_symbols_GCJ=yes
16830 # Exported symbols can be pulled into shared objects from archives
16831 whole_archive_flag_spec_GCJ=' '
16832 archive_cmds_need_lc_GCJ=yes
16833 # This is similar to how AIX traditionally builds its shared libraries.
16834 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16840 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)'
16841 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16842 hardcode_minus_L_GCJ
=yes
16843 # see comment about different semantics on the GNU ld section
16848 export_dynamic_flag_spec_GCJ
=-rdynamic
16851 cygwin
* | mingw
* | pw32
*)
16852 # When not using gcc, we currently assume that we are using
16853 # Microsoft Visual C++.
16854 # hardcode_libdir_flag_spec is actually meaningless, as there is
16855 # no search path for DLLs.
16856 hardcode_libdir_flag_spec_GCJ
=' '
16857 allow_undefined_flag_GCJ
=unsupported
16858 # Tell ltmain to make .lib files, not .a files.
16860 # Tell ltmain to make .dll files, not .so files.
16862 # FIXME: Setting linknames here is a bad hack.
16863 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16864 # The linker will automatically build a .lib file if we build a DLL.
16865 old_archive_From_new_cmds_GCJ
='true'
16866 # FIXME: Should let the user specify the lib program.
16867 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16868 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16869 enable_shared_with_static_runtimes_GCJ
=yes
16872 darwin
* | rhapsody
*)
16874 rhapsody
* | darwin1.
[012])
16875 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16878 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16879 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16881 case ${MACOSX_DEPLOYMENT_TARGET} in
16883 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16886 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16892 archive_cmds_need_lc_GCJ
=no
16893 hardcode_direct_GCJ
=no
16894 hardcode_automatic_GCJ
=yes
16895 hardcode_shlibpath_var_GCJ
=unsupported
16896 whole_archive_flag_spec_GCJ
=''
16897 link_all_deplibs_GCJ
=yes
16898 if test "$GCC" = yes ; then
16899 output_verbose_link_cmd
='echo'
16900 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16901 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16902 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16903 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16904 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16906 case $cc_basename in
16908 output_verbose_link_cmd
='echo'
16909 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16910 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16911 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16912 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16913 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16923 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16924 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16925 hardcode_shlibpath_var_GCJ
=no
16932 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16933 # support. Future versions do this automatically, but an explicit c++rt0.o
16934 # does not break anything, and helps significantly (at the cost of a little
16937 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16938 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16939 hardcode_direct_GCJ
=yes
16940 hardcode_shlibpath_var_GCJ
=no
16943 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16945 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16946 hardcode_direct_GCJ
=yes
16947 hardcode_minus_L_GCJ
=yes
16948 hardcode_shlibpath_var_GCJ
=no
16951 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16952 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16953 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16954 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16955 hardcode_direct_GCJ
=yes
16956 hardcode_shlibpath_var_GCJ
=no
16960 if test "$GCC" = yes; then
16961 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16963 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'
16965 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16966 hardcode_libdir_separator_GCJ
=:
16967 hardcode_direct_GCJ
=yes
16969 # hardcode_minus_L: Not really in the search PATH,
16970 # but as the default location of the library.
16971 hardcode_minus_L_GCJ
=yes
16972 export_dynamic_flag_spec_GCJ
='${wl}-E'
16976 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16979 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16982 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16988 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16991 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16995 if test "$with_gnu_ld" = no
; then
16998 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16999 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17000 hardcode_libdir_separator_GCJ
=:
17001 hardcode_direct_GCJ
=no
17002 hardcode_shlibpath_var_GCJ
=no
17005 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17006 hardcode_direct_GCJ
=no
17007 hardcode_shlibpath_var_GCJ
=no
17009 # hardcode_minus_L: Not really in the search PATH,
17010 # but as the default location of the library.
17011 hardcode_minus_L_GCJ
=yes
17014 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17015 hardcode_libdir_separator_GCJ
=:
17016 hardcode_direct_GCJ
=yes
17017 export_dynamic_flag_spec_GCJ
='${wl}-E'
17019 # hardcode_minus_L: Not really in the search PATH,
17020 # but as the default location of the library.
17021 hardcode_minus_L_GCJ
=yes
17027 irix5
* | irix6
* | nonstopux
*)
17028 if test "$GCC" = yes; then
17029 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17031 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'
17032 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17034 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17035 hardcode_libdir_separator_GCJ
=:
17036 link_all_deplibs_GCJ
=yes
17040 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17041 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17043 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17045 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17046 hardcode_direct_GCJ
=yes
17047 hardcode_shlibpath_var_GCJ
=no
17051 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17052 hardcode_direct_GCJ
=yes
17053 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17054 hardcode_libdir_separator_GCJ
=:
17055 hardcode_shlibpath_var_GCJ
=no
17059 hardcode_direct_GCJ
=yes
17060 hardcode_shlibpath_var_GCJ
=no
17061 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17062 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17063 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17064 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17065 export_dynamic_flag_spec_GCJ
='${wl}-E'
17068 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17069 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17070 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17073 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17074 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17081 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17082 hardcode_minus_L_GCJ
=yes
17083 allow_undefined_flag_GCJ
=unsupported
17084 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17085 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17089 if test "$GCC" = yes; then
17090 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17091 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17093 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17094 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'
17096 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17097 hardcode_libdir_separator_GCJ
=:
17100 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17101 if test "$GCC" = yes; then
17102 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17103 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17104 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17106 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17107 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'
17108 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~
17109 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17111 # Both c and cxx compiler support -rpath directly
17112 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17114 hardcode_libdir_separator_GCJ
=:
17118 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17119 hardcode_shlibpath_var_GCJ
=no
17120 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17121 runpath_var
=LD_RUN_PATH
17122 hardcode_runpath_var
=yes
17126 no_undefined_flag_GCJ
=' -z text'
17127 if test "$GCC" = yes; then
17129 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17130 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17131 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17134 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17135 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17136 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17138 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17139 hardcode_shlibpath_var_GCJ
=no
17141 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17143 # The compiler driver will combine linker options so we
17144 # cannot just pass the convience library names through
17145 # without $wl, iff we do not link with $LD.
17146 # Luckily, gcc supports the same syntax we need for Sun Studio.
17147 # Supported since Solaris 2.6 (maybe 2.5.1?)
17150 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17152 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17155 link_all_deplibs_GCJ
=yes
17159 if test "x$host_vendor" = xsequent
; then
17160 # Use $CC to link under sequent, because it throws in some extra .o
17161 # files that make .init and .fini sections work.
17162 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17164 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17166 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17167 hardcode_direct_GCJ
=yes
17168 hardcode_minus_L_GCJ
=yes
17169 hardcode_shlibpath_var_GCJ
=no
17173 case $host_vendor in
17175 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17176 hardcode_direct_GCJ
=yes # is this really true???
17179 ## LD is ld it makes a PLAMLIB
17180 ## CC just makes a GrossModule.
17181 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17182 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17183 hardcode_direct_GCJ
=no
17186 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17187 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17190 runpath_var
='LD_RUN_PATH'
17191 hardcode_shlibpath_var_GCJ
=no
17195 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17196 hardcode_shlibpath_var_GCJ
=no
17197 export_dynamic_flag_spec_GCJ
='-Bexport'
17201 if test -d /usr
/nec
; then
17202 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17203 hardcode_shlibpath_var_GCJ
=no
17204 runpath_var
=LD_RUN_PATH
17205 hardcode_runpath_var
=yes
17211 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17212 hardcode_direct_GCJ
=yes
17213 hardcode_minus_L_GCJ
=no
17214 hardcode_shlibpath_var_GCJ
=no
17215 hardcode_runpath_var
=yes
17216 runpath_var
=LD_RUN_PATH
17219 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17220 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17221 if test "$GCC" = yes; then
17222 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17224 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17226 runpath_var
='LD_RUN_PATH'
17227 hardcode_shlibpath_var_GCJ
=no
17231 no_undefined_flag_GCJ
=' -z text'
17232 # $CC -shared without GNU ld will not create a library from C++
17233 # object files and a static libstdc++, better avoid it by now
17234 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17235 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17236 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17237 hardcode_libdir_flag_spec_GCJ
=
17238 hardcode_shlibpath_var_GCJ
=no
17239 runpath_var
='LD_RUN_PATH'
17243 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17244 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17245 hardcode_shlibpath_var_GCJ
=no
17254 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17255 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17256 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17258 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17259 if test "$GCC" = yes; then
17260 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17264 # Do we need to explicitly link libc?
17266 case "x$archive_cmds_need_lc_GCJ" in
17268 # Assume -lc should be added
17269 archive_cmds_need_lc_GCJ
=yes
17271 if test "$enable_shared" = yes && test "$GCC" = yes; then
17272 case $archive_cmds_GCJ in
17274 # FIXME: we may have to deal with multi-command sequences.
17277 # Test whether the compiler implicitly links with -lc since on some
17278 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17279 # to ld, don't add -lc before -lgcc.
17280 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17281 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17283 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17286 (eval $ac_compile) 2>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } 2>conftest.err
; then
17292 libobjs
=conftest.
$ac_objext
17294 wl
=$lt_prog_compiler_wl_GCJ
17300 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17301 allow_undefined_flag_GCJ
=
17302 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17303 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }
17308 archive_cmds_need_lc_GCJ
=no
17310 archive_cmds_need_lc_GCJ
=yes
17312 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17314 cat conftest.err
1>&5
17317 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17318 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17325 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17326 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17327 library_names_spec
=
17328 libname_spec
='lib$name'
17332 postuninstall_cmds
=
17336 shlibpath_overrides_runpath
=unknown
17338 dynamic_linker
="$host_os ld.so"
17339 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17340 if test "$GCC" = yes; then
17341 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17342 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17343 # if the path contains ";" then we assume it to be the separator
17344 # otherwise default to the standard path separator (i.e. ":") - it is
17345 # assumed that no part of a normal pathname contains ";" but that should
17346 # okay in the real world where ";" in dirpaths is itself problematic.
17347 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17349 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17352 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17354 need_lib_prefix
=unknown
17355 hardcode_into_libs
=no
17357 # when you set need_version to no, make sure it does not cause -set_version
17358 # flags to be left without arguments
17359 need_version
=unknown
17364 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17365 shlibpath_var
=LIBPATH
17367 # AIX 3 has no versioning support, so we append a major version to the name.
17368 soname_spec
='${libname}${release}${shared_ext}$major'
17375 hardcode_into_libs
=yes
17376 if test "$host_cpu" = ia64
; then
17377 # AIX 5 supports IA64
17378 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17379 shlibpath_var
=LD_LIBRARY_PATH
17381 # With GCC up to 2.95.x, collect2 would create an import file
17382 # for dependence libraries. The import file would start with
17383 # the line `#! .'. This would cause the generated library to
17384 # depend on `.', always an invalid library. This was fixed in
17385 # development snapshots of GCC prior to 3.0.
17387 aix4 | aix4.
[01] | aix4.
[01].
*)
17388 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17390 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17393 can_build_shared
=no
17397 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17398 # soname into executable. Probably we can add versioning support to
17399 # collect2, so additional links can be useful in future.
17400 if test "$aix_use_runtimelinking" = yes; then
17401 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17402 # instead of lib<name>.a to let people know that these are not
17403 # typical AIX shared libraries.
17404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17406 # We preserve .a as extension for shared libraries through AIX4.2
17407 # and later when we are not doing run time linking.
17408 library_names_spec
='${libname}${release}.a $libname.a'
17409 soname_spec
='${libname}${release}${shared_ext}$major'
17411 shlibpath_var
=LIBPATH
17416 library_names_spec
='$libname.ixlibrary $libname.a'
17417 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17418 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'
17422 library_names_spec
='${libname}${shared_ext}'
17423 dynamic_linker
="$host_os ld.so"
17424 shlibpath_var
=LIBRARY_PATH
17430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17431 soname_spec
='${libname}${release}${shared_ext}$major'
17432 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17433 shlibpath_var
=LD_LIBRARY_PATH
17434 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17435 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17436 # the default ld.so.conf also contains /usr/contrib/lib and
17437 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17438 # libtool to hard-code these into programs
17441 cygwin
* | mingw
* | pw32
*)
17442 version_type
=windows
17447 case $GCC,$host_os in
17448 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17449 library_names_spec
='$libname.dll.a'
17450 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17451 postinstall_cmds
='base_file=`basename \${file}`~
17452 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17453 dldir=$destdir/`dirname \$dlpath`~
17454 test -d \$dldir || mkdir -p \$dldir~
17455 $install_prog $dir/$dlname \$dldir/$dlname~
17456 chmod a+x \$dldir/$dlname'
17457 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17458 dlpath=$dir/\$dldll~
17460 shlibpath_overrides_runpath
=yes
17464 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17465 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17466 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17469 # MinGW DLLs use traditional 'lib' prefix
17470 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17471 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17472 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17473 # It is most probably a Windows format PATH printed by
17474 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17475 # path with ; separators, and with drive letters. We can handle the
17476 # drive letters (cygwin fileutils understands them), so leave them,
17477 # especially as we might pass files found there to a mingw objdump,
17478 # which wouldn't understand a cygwinified path. Ahh.
17479 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17481 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17485 # pw32 DLLs use 'pw' prefix rather than 'lib'
17486 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17492 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17495 dynamic_linker
='Win32 ld.exe'
17496 # FIXME: first we should search . and the directory the executable is in
17500 darwin
* | rhapsody
*)
17501 dynamic_linker
="$host_os dyld"
17502 version_type
=darwin
17505 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17506 soname_spec
='${libname}${release}${major}$shared_ext'
17507 shlibpath_overrides_runpath
=yes
17508 shlibpath_var
=DYLD_LIBRARY_PATH
17509 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17510 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17511 if test "$GCC" = yes; then
17512 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"`
17514 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17516 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17524 soname_spec
='${libname}${release}${shared_ext}$major'
17525 shlibpath_var
=LD_LIBRARY_PATH
17536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17537 soname_spec
='${libname}${release}${shared_ext}$major'
17538 shlibpath_var
=LD_LIBRARY_PATH
17539 shlibpath_overrides_runpath
=no
17540 hardcode_into_libs
=yes
17541 dynamic_linker
='GNU ld.so'
17544 freebsd
* | dragonfly
*)
17545 # DragonFly does not have aout. When/if they implement a new
17546 # versioning mechanism, adjust this.
17547 if test -x /usr
/bin
/objformat
; then
17548 objformat
=`/usr/bin/objformat`
17551 freebsd
[123]*) objformat
=aout
;;
17552 *) objformat
=elf
;;
17555 version_type
=freebsd-
$objformat
17556 case $version_type in
17558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17563 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17567 shlibpath_var
=LD_LIBRARY_PATH
17570 shlibpath_overrides_runpath
=yes
17572 freebsd3.
[01]* | freebsdelf3.
[01]*)
17573 shlibpath_overrides_runpath
=yes
17574 hardcode_into_libs
=yes
17577 shlibpath_overrides_runpath
=no
17578 hardcode_into_libs
=yes
17587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17588 soname_spec
='${libname}${release}${shared_ext}$major'
17589 shlibpath_var
=LD_LIBRARY_PATH
17590 hardcode_into_libs
=yes
17593 hpux9
* | hpux10
* | hpux11
*)
17594 # Give a soname corresponding to the major version so that dld.sl refuses to
17595 # link against other versions.
17602 hardcode_into_libs
=yes
17603 dynamic_linker
="$host_os dld.so"
17604 shlibpath_var
=LD_LIBRARY_PATH
17605 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17607 soname_spec
='${libname}${release}${shared_ext}$major'
17608 if test "X$HPUX_IA64_MODE" = X32
; then
17609 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17611 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17613 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17617 hardcode_into_libs
=yes
17618 dynamic_linker
="$host_os dld.sl"
17619 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17620 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17622 soname_spec
='${libname}${release}${shared_ext}$major'
17623 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17624 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17628 dynamic_linker
="$host_os dld.sl"
17629 shlibpath_var
=SHLIB_PATH
17630 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17632 soname_spec
='${libname}${release}${shared_ext}$major'
17635 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17636 postinstall_cmds
='chmod 555 $lib'
17639 irix5
* | irix6
* | nonstopux
*)
17641 nonstopux
*) version_type
=nonstopux
;;
17643 if test "$lt_cv_prog_gnu_ld" = yes; then
17651 soname_spec
='${libname}${release}${shared_ext}$major'
17652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17654 irix5
* | nonstopux
*)
17655 libsuff
= shlibsuff
=
17658 case $LD in # libtool.m4 will add one of these switches to LD
17659 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17660 libsuff
= shlibsuff
= libmagic
=32-bit;;
17661 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17662 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17663 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17664 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17665 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17669 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17670 shlibpath_overrides_runpath
=no
17671 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17672 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17673 hardcode_into_libs
=yes
17676 # No shared lib support for Linux oldld, aout, or coff.
17677 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17681 # This must be Linux ELF.
17686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17687 soname_spec
='${libname}${release}${shared_ext}$major'
17688 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17689 shlibpath_var
=LD_LIBRARY_PATH
17690 shlibpath_overrides_runpath
=no
17691 # This implies no fast_install, which is unacceptable.
17692 # Some rework will be needed to allow for fast_install
17693 # before this can be enabled.
17694 hardcode_into_libs
=yes
17696 # Append ld.so.conf contents to the search path
17697 if test -f /etc
/ld.so.conf
; then
17698 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17699 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17702 # We used to test for /lib/ld.so.1 and disable shared libraries on
17703 # powerpc, because MkLinux only supported shared libraries with the
17704 # GNU dynamic linker. Since this was broken with cross compilers,
17705 # most powerpc-linux boxes support dynamic linking these days and
17706 # people can always --disable-shared, the test was removed, and we
17707 # assume the GNU/Linux dynamic linker is in use.
17708 dynamic_linker
='GNU/Linux ld.so'
17715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17716 soname_spec
='${libname}${release}${shared_ext}$major'
17717 shlibpath_var
=LD_LIBRARY_PATH
17718 shlibpath_overrides_runpath
=no
17719 hardcode_into_libs
=yes
17720 dynamic_linker
='GNU ld.so'
17727 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17729 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17730 dynamic_linker
='NetBSD (a.out) ld.so'
17732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17733 soname_spec
='${libname}${release}${shared_ext}$major'
17734 dynamic_linker
='NetBSD ld.elf_so'
17736 shlibpath_var
=LD_LIBRARY_PATH
17737 shlibpath_overrides_runpath
=yes
17738 hardcode_into_libs
=yes
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17744 shlibpath_var
=LD_LIBRARY_PATH
17745 shlibpath_overrides_runpath
=yes
17752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17753 soname_spec
='${libname}${release}${shared_ext}$major'
17754 shlibpath_var
=LD_LIBRARY_PATH
17755 shlibpath_overrides_runpath
=yes
17761 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17763 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17764 *) need_version
=no
;;
17766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17767 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17768 shlibpath_var
=LD_LIBRARY_PATH
17769 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17771 openbsd2.
[89] | openbsd2.
[89].
*)
17772 shlibpath_overrides_runpath
=no
17775 shlibpath_overrides_runpath
=yes
17779 shlibpath_overrides_runpath
=yes
17784 libname_spec
='$name'
17787 library_names_spec
='$libname${shared_ext} $libname.a'
17788 dynamic_linker
='OS/2 ld.exe'
17789 shlibpath_var
=LIBPATH
17792 osf3
* | osf4
* | osf5
*)
17796 soname_spec
='${libname}${release}${shared_ext}$major'
17797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17798 shlibpath_var
=LD_LIBRARY_PATH
17799 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17800 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17805 soname_spec
='${libname}${release}${shared_ext}$major'
17806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17807 shlibpath_var
=LD_LIBRARY_PATH
17814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17815 soname_spec
='${libname}${release}${shared_ext}$major'
17816 shlibpath_var
=LD_LIBRARY_PATH
17817 shlibpath_overrides_runpath
=yes
17818 hardcode_into_libs
=yes
17819 # ldd complains unless libraries are executable
17820 postinstall_cmds
='chmod +x $lib'
17825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17826 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17827 shlibpath_var
=LD_LIBRARY_PATH
17828 shlibpath_overrides_runpath
=yes
17829 if test "$with_gnu_ld" = yes; then
17835 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17838 soname_spec
='${libname}${release}${shared_ext}$major'
17839 shlibpath_var
=LD_LIBRARY_PATH
17840 case $host_vendor in
17842 shlibpath_overrides_runpath
=no
17844 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17845 runpath_var
=LD_RUN_PATH
17853 shlibpath_overrides_runpath
=no
17854 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17860 if test -d /usr
/nec
;then
17862 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17863 soname_spec
='$libname${shared_ext}.$major'
17864 shlibpath_var
=LD_LIBRARY_PATH
17870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17871 soname_spec
='${libname}${release}${shared_ext}$major'
17872 shlibpath_var
=LD_LIBRARY_PATH
17879 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17880 echo "${ECHO_T}$dynamic_linker" >&6
17881 test "$dynamic_linker" = no
&& can_build_shared
=no
17883 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17884 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17885 hardcode_action_GCJ
=
17886 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17887 test -n "$runpath_var_GCJ" || \
17888 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17890 # We can hardcode non-existant directories.
17891 if test "$hardcode_direct_GCJ" != no
&&
17892 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17893 # have to relink, otherwise we might link with an installed library
17894 # when we should be linking with a yet-to-be-installed one
17895 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17896 test "$hardcode_minus_L_GCJ" != no
; then
17897 # Linking always hardcodes the temporary library directory.
17898 hardcode_action_GCJ
=relink
17900 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17901 hardcode_action_GCJ
=immediate
17904 # We cannot hardcode anything, or else we can only hardcode existing
17906 hardcode_action_GCJ
=unsupported
17908 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17909 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17911 if test "$hardcode_action_GCJ" = relink
; then
17912 # Fast installation is not supported
17913 enable_fast_install
=no
17914 elif test "$shlibpath_overrides_runpath" = yes ||
17915 test "$enable_shared" = no
; then
17916 # Fast installation is not necessary
17917 enable_fast_install
=needless
17922 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17923 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17924 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17925 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17926 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17927 echo "$as_me:$LINENO: result: yes" >&5
17928 echo "${ECHO_T}yes" >&6
17930 # FIXME - insert some real tests, host_os isn't really good enough
17933 if test -n "$STRIP" ; then
17934 striplib
="$STRIP -x"
17935 echo "$as_me:$LINENO: result: yes" >&5
17936 echo "${ECHO_T}yes" >&6
17938 echo "$as_me:$LINENO: result: no" >&5
17939 echo "${ECHO_T}no" >&6
17943 echo "$as_me:$LINENO: result: no" >&5
17944 echo "${ECHO_T}no" >&6
17949 if test "x$enable_dlopen" != xyes
; then
17950 enable_dlopen
=unknown
17951 enable_dlopen_self
=unknown
17952 enable_dlopen_self_static
=unknown
17959 lt_cv_dlopen
="load_add_on"
17961 lt_cv_dlopen_self
=yes
17965 lt_cv_dlopen
="LoadLibrary"
17970 lt_cv_dlopen
="dlopen"
17975 # if libdl is installed we need to link against it
17976 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17977 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17978 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 ac_check_lib_save_LIBS
=$LIBS
17983 cat >conftest.
$ac_ext <<_ACEOF
17986 cat confdefs.h
>>conftest.
$ac_ext
17987 cat >>conftest.
$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17990 /* Override any gcc2 internal prototype to avoid an error. */
17994 /* We use char because int might match the return type of a gcc2
17995 builtin and then its argument prototype would still apply. */
18005 rm -f conftest.
$ac_objext conftest
$ac_exeext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18007 (eval $ac_link) 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } &&
18014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; } &&
18020 { ac_try
='test -s conftest$ac_exeext'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; }; then
18026 ac_cv_lib_dl_dlopen
=yes
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.
$ac_ext >&5
18031 ac_cv_lib_dl_dlopen
=no
18033 rm -f conftest.err conftest.
$ac_objext \
18034 conftest
$ac_exeext conftest.
$ac_ext
18035 LIBS
=$ac_check_lib_save_LIBS
18037 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18038 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18039 if test $ac_cv_lib_dl_dlopen = yes; then
18040 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18043 lt_cv_dlopen
="dyld"
18045 lt_cv_dlopen_self
=yes
18052 echo "$as_me:$LINENO: checking for shl_load" >&5
18053 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18054 if test "${ac_cv_func_shl_load+set}" = set; then
18055 echo $ECHO_N "(cached) $ECHO_C" >&6
18057 cat >conftest.
$ac_ext <<_ACEOF
18060 cat confdefs.h
>>conftest.
$ac_ext
18061 cat >>conftest.
$ac_ext <<_ACEOF
18062 /* end confdefs.h. */
18063 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18065 #define shl_load innocuous_shl_load
18067 /* System header to define __stub macros and hopefully few prototypes,
18068 which can conflict with char shl_load (); below.
18069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18070 <limits.h> exists even on freestanding compilers. */
18073 # include <limits.h>
18075 # include <assert.h>
18080 /* Override any gcc2 internal prototype to avoid an error. */
18085 /* We use char because int might match the return type of a gcc2
18086 builtin and then its argument prototype would still apply. */
18088 /* The GNU C library defines this for functions which it implements
18089 to always fail with ENOSYS. Some functions are actually named
18090 something starting with __ and the normal name is an alias. */
18091 #if defined (__stub_shl_load) || defined (__stub___shl_load)
18094 char (*f) () = shl_load;
18103 return f != shl_load;
18108 rm -f conftest.
$ac_objext conftest
$ac_exeext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18110 (eval $ac_link) 2>conftest.er1
18112 grep -v '^ *+' conftest.er1
>conftest.err
18114 cat conftest.err
>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } &&
18117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try
='test -s conftest$ac_exeext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18129 ac_cv_func_shl_load
=yes
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 ac_cv_func_shl_load
=no
18136 rm -f conftest.err conftest.
$ac_objext \
18137 conftest
$ac_exeext conftest.
$ac_ext
18139 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18140 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18141 if test $ac_cv_func_shl_load = yes; then
18142 lt_cv_dlopen
="shl_load"
18144 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18145 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18146 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 ac_check_lib_save_LIBS
=$LIBS
18151 cat >conftest.
$ac_ext <<_ACEOF
18154 cat confdefs.h
>>conftest.
$ac_ext
18155 cat >>conftest.
$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18158 /* Override any gcc2 internal prototype to avoid an error. */
18162 /* We use char because int might match the return type of a gcc2
18163 builtin and then its argument prototype would still apply. */
18173 rm -f conftest.
$ac_objext conftest
$ac_exeext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18175 (eval $ac_link) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; } &&
18188 { ac_try
='test -s conftest$ac_exeext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 ac_cv_lib_dld_shl_load
=yes
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.
$ac_ext >&5
18199 ac_cv_lib_dld_shl_load
=no
18201 rm -f conftest.err conftest.
$ac_objext \
18202 conftest
$ac_exeext conftest.
$ac_ext
18203 LIBS
=$ac_check_lib_save_LIBS
18205 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18206 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18207 if test $ac_cv_lib_dld_shl_load = yes; then
18208 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18210 echo "$as_me:$LINENO: checking for dlopen" >&5
18211 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18212 if test "${ac_cv_func_dlopen+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 cat >conftest.
$ac_ext <<_ACEOF
18218 cat confdefs.h
>>conftest.
$ac_ext
18219 cat >>conftest.
$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18221 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18223 #define dlopen innocuous_dlopen
18225 /* System header to define __stub macros and hopefully few prototypes,
18226 which can conflict with char dlopen (); below.
18227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18228 <limits.h> exists even on freestanding compilers. */
18231 # include <limits.h>
18233 # include <assert.h>
18238 /* Override any gcc2 internal prototype to avoid an error. */
18243 /* We use char because int might match the return type of a gcc2
18244 builtin and then its argument prototype would still apply. */
18246 /* The GNU C library defines this for functions which it implements
18247 to always fail with ENOSYS. Some functions are actually named
18248 something starting with __ and the normal name is an alias. */
18249 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18252 char (*f) () = dlopen;
18261 return f != dlopen;
18266 rm -f conftest.
$ac_objext conftest
$ac_exeext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18268 (eval $ac_link) 2>conftest.er1
18270 grep -v '^ *+' conftest.er1
>conftest.err
18272 cat conftest.err
>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; } &&
18281 { ac_try
='test -s conftest$ac_exeext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 ac_cv_func_dlopen
=yes
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.
$ac_ext >&5
18292 ac_cv_func_dlopen
=no
18294 rm -f conftest.err conftest.
$ac_objext \
18295 conftest
$ac_exeext conftest.
$ac_ext
18297 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18298 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18299 if test $ac_cv_func_dlopen = yes; then
18300 lt_cv_dlopen
="dlopen"
18302 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18303 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18304 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 ac_check_lib_save_LIBS
=$LIBS
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18316 /* Override any gcc2 internal prototype to avoid an error. */
18320 /* We use char because int might match the return type of a gcc2
18321 builtin and then its argument prototype would still apply. */
18331 rm -f conftest.
$ac_objext conftest
$ac_exeext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18333 (eval $ac_link) 2>conftest.er1
18335 grep -v '^ *+' conftest.er1
>conftest.err
18337 cat conftest.err
>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; } &&
18346 { ac_try
='test -s conftest$ac_exeext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 ac_cv_lib_dl_dlopen
=yes
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 ac_cv_lib_dl_dlopen
=no
18359 rm -f conftest.err conftest.
$ac_objext \
18360 conftest
$ac_exeext conftest.
$ac_ext
18361 LIBS
=$ac_check_lib_save_LIBS
18363 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18364 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18365 if test $ac_cv_lib_dl_dlopen = yes; then
18366 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18368 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18369 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18370 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18371 echo $ECHO_N "(cached) $ECHO_C" >&6
18373 ac_check_lib_save_LIBS
=$LIBS
18374 LIBS
="-lsvld $LIBS"
18375 cat >conftest.
$ac_ext <<_ACEOF
18378 cat confdefs.h
>>conftest.
$ac_ext
18379 cat >>conftest.
$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18382 /* Override any gcc2 internal prototype to avoid an error. */
18386 /* We use char because int might match the return type of a gcc2
18387 builtin and then its argument prototype would still apply. */
18397 rm -f conftest.
$ac_objext conftest
$ac_exeext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399 (eval $ac_link) 2>conftest.er1
18401 grep -v '^ *+' conftest.er1
>conftest.err
18403 cat conftest.err
>&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); } &&
18406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try
='test -s conftest$ac_exeext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_cv_lib_svld_dlopen
=yes
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.
$ac_ext >&5
18423 ac_cv_lib_svld_dlopen
=no
18425 rm -f conftest.err conftest.
$ac_objext \
18426 conftest
$ac_exeext conftest.
$ac_ext
18427 LIBS
=$ac_check_lib_save_LIBS
18429 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18430 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18431 if test $ac_cv_lib_svld_dlopen = yes; then
18432 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18434 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18435 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18436 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 ac_check_lib_save_LIBS
=$LIBS
18441 cat >conftest.
$ac_ext <<_ACEOF
18444 cat confdefs.h
>>conftest.
$ac_ext
18445 cat >>conftest.
$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18448 /* Override any gcc2 internal prototype to avoid an error. */
18452 /* We use char because int might match the return type of a gcc2
18453 builtin and then its argument prototype would still apply. */
18463 rm -f conftest.
$ac_objext conftest
$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>conftest.er1
18467 grep -v '^ *+' conftest.er1
>conftest.err
18469 cat conftest.err
>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); } &&
18472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try
='test -s conftest$ac_exeext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_cv_lib_dld_dld_link
=yes
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.
$ac_ext >&5
18489 ac_cv_lib_dld_dld_link
=no
18491 rm -f conftest.err conftest.
$ac_objext \
18492 conftest
$ac_exeext conftest.
$ac_ext
18493 LIBS
=$ac_check_lib_save_LIBS
18495 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18496 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18497 if test $ac_cv_lib_dld_dld_link = yes; then
18498 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18519 if test "x$lt_cv_dlopen" != xno
; then
18525 case $lt_cv_dlopen in
18527 save_CPPFLAGS
="$CPPFLAGS"
18528 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18530 save_LDFLAGS
="$LDFLAGS"
18531 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18534 LIBS
="$lt_cv_dlopen_libs $LIBS"
18536 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18537 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18538 if test "${lt_cv_dlopen_self+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 if test "$cross_compiling" = yes; then :
18542 lt_cv_dlopen_self
=cross
18544 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18545 lt_status
=$lt_dlunknown
18546 cat > conftest.
$ac_ext <<EOF
18547 #line 18547 "configure"
18548 #include "confdefs.h"
18557 # define LT_DLGLOBAL RTLD_GLOBAL
18560 # define LT_DLGLOBAL DL_GLOBAL
18562 # define LT_DLGLOBAL 0
18566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18567 find out it does not work in some platform. */
18568 #ifndef LT_DLLAZY_OR_NOW
18570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18573 # define LT_DLLAZY_OR_NOW DL_LAZY
18576 # define LT_DLLAZY_OR_NOW RTLD_NOW
18579 # define LT_DLLAZY_OR_NOW DL_NOW
18581 # define LT_DLLAZY_OR_NOW 0
18589 extern "C" void exit (int);
18592 void fnord() { int i=42;}
18595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18596 int status = $lt_dlunknown;
18600 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18601 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18602 /* dlclose (self); */
18608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18609 (eval $ac_link) 2>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18613 (.
/conftest
; exit; ) >&5 2>/dev
/null
18615 case x
$lt_status in
18616 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18617 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18618 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18621 # compilation failed
18622 lt_cv_dlopen_self
=no
18629 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18630 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18632 if test "x$lt_cv_dlopen_self" = xyes
; then
18633 LDFLAGS
="$LDFLAGS $link_static_flag"
18634 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18635 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18636 if test "${lt_cv_dlopen_self_static+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 if test "$cross_compiling" = yes; then :
18640 lt_cv_dlopen_self_static
=cross
18642 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18643 lt_status
=$lt_dlunknown
18644 cat > conftest.
$ac_ext <<EOF
18645 #line 18645 "configure"
18646 #include "confdefs.h"
18655 # define LT_DLGLOBAL RTLD_GLOBAL
18658 # define LT_DLGLOBAL DL_GLOBAL
18660 # define LT_DLGLOBAL 0
18664 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18665 find out it does not work in some platform. */
18666 #ifndef LT_DLLAZY_OR_NOW
18668 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18671 # define LT_DLLAZY_OR_NOW DL_LAZY
18674 # define LT_DLLAZY_OR_NOW RTLD_NOW
18677 # define LT_DLLAZY_OR_NOW DL_NOW
18679 # define LT_DLLAZY_OR_NOW 0
18687 extern "C" void exit (int);
18690 void fnord() { int i=42;}
18693 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18694 int status = $lt_dlunknown;
18698 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18699 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18700 /* dlclose (self); */
18706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18707 (eval $ac_link) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18711 (.
/conftest
; exit; ) >&5 2>/dev
/null
18713 case x
$lt_status in
18714 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18715 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18716 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18719 # compilation failed
18720 lt_cv_dlopen_self_static
=no
18727 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18728 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18731 CPPFLAGS
="$save_CPPFLAGS"
18732 LDFLAGS
="$save_LDFLAGS"
18737 case $lt_cv_dlopen_self in
18738 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18739 *) enable_dlopen_self
=unknown
;;
18742 case $lt_cv_dlopen_self_static in
18743 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18744 *) enable_dlopen_self_static
=unknown
;;
18749 # The else clause should only fire when bootstrapping the
18750 # libtool distribution, otherwise you forgot to ship ltmain.sh
18751 # with your package, and you will get complaints that there are
18752 # no rules to generate ltmain.sh.
18753 if test -f "$ltmain"; then
18754 # See if we are running on zsh, and set the options which allow our commands through
18755 # without removal of \ escapes.
18756 if test -n "${ZSH_VERSION+set}" ; then
18757 setopt NO_GLOB_SUBST
18759 # Now quote all the things that may contain metacharacters while being
18760 # careful not to overquote the AC_SUBSTed values. We take copies of the
18761 # variables and quote the copies for generation of the libtool script.
18762 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18764 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18765 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18766 deplibs_check_method reload_flag reload_cmds need_locks \
18767 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18768 lt_cv_sys_global_symbol_to_c_name_address \
18769 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18770 old_postinstall_cmds old_postuninstall_cmds \
18774 lt_prog_compiler_wl_GCJ \
18775 lt_prog_compiler_pic_GCJ \
18776 lt_prog_compiler_static_GCJ \
18777 lt_prog_compiler_no_builtin_flag_GCJ \
18778 export_dynamic_flag_spec_GCJ \
18779 thread_safe_flag_spec_GCJ \
18780 whole_archive_flag_spec_GCJ \
18781 enable_shared_with_static_runtimes_GCJ \
18782 old_archive_cmds_GCJ \
18783 old_archive_from_new_cmds_GCJ \
18784 predep_objects_GCJ \
18785 postdep_objects_GCJ \
18788 compiler_lib_search_path_GCJ \
18790 archive_expsym_cmds_GCJ \
18791 postinstall_cmds_GCJ \
18792 postuninstall_cmds_GCJ \
18793 old_archive_from_expsyms_cmds_GCJ \
18794 allow_undefined_flag_GCJ \
18795 no_undefined_flag_GCJ \
18796 export_symbols_cmds_GCJ \
18797 hardcode_libdir_flag_spec_GCJ \
18798 hardcode_libdir_flag_spec_ld_GCJ \
18799 hardcode_libdir_separator_GCJ \
18800 hardcode_automatic_GCJ \
18802 module_expsym_cmds_GCJ \
18803 lt_cv_prog_compiler_c_o_GCJ \
18804 exclude_expsyms_GCJ \
18805 include_expsyms_GCJ
; do
18808 old_archive_cmds_GCJ | \
18809 old_archive_from_new_cmds_GCJ | \
18810 archive_cmds_GCJ | \
18811 archive_expsym_cmds_GCJ | \
18812 module_cmds_GCJ | \
18813 module_expsym_cmds_GCJ | \
18814 old_archive_from_expsyms_cmds_GCJ | \
18815 export_symbols_cmds_GCJ | \
18816 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18817 postinstall_cmds | postuninstall_cmds | \
18818 old_postinstall_cmds | old_postuninstall_cmds | \
18819 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18820 # Double-quote double-evaled strings.
18821 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18824 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18830 *'\$0 --fallback-echo"')
18831 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18837 cat <<__EOF__ >> "$cfgfile"
18838 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18840 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18842 # Shell to use when invoking shell scripts.
18845 # Whether or not to build shared libraries.
18846 build_libtool_libs=$enable_shared
18848 # Whether or not to build static libraries.
18849 build_old_libs=$enable_static
18851 # Whether or not to add -lc for building shared libraries.
18852 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18854 # Whether or not to disallow shared libs when runtime libs are static
18855 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18857 # Whether or not to optimize for fast installation.
18858 fast_install=$enable_fast_install
18861 host_alias=$host_alias
18865 # The build system.
18866 build_alias=$build_alias
18870 # An echo program that does not interpret backslashes.
18875 AR_FLAGS=$lt_AR_FLAGS
18880 # A language-specific compiler.
18881 CC=$lt_compiler_GCJ
18883 # Is the compiler the GNU C compiler?
18889 # The linker used to build libraries.
18892 # Whether we need hard or soft links.
18895 # A BSD-compatible nm program.
18898 # A symbol stripping program
18901 # Used to examine libraries when file_magic_cmd begins "file"
18902 MAGIC_CMD=$MAGIC_CMD
18904 # Used on cygwin: DLL creation program.
18907 # Used on cygwin: object dumper.
18910 # Used on cygwin: assembler.
18913 # The name of the directory that contains temporary libtool files.
18916 # How to create reloadable object files.
18917 reload_flag=$lt_reload_flag
18918 reload_cmds=$lt_reload_cmds
18920 # How to pass a linker flag through the compiler.
18921 wl=$lt_lt_prog_compiler_wl_GCJ
18923 # Object file suffix (normally "o").
18924 objext="$ac_objext"
18926 # Old archive suffix (normally "a").
18929 # Shared library suffix (normally ".so").
18930 shrext_cmds='$shrext_cmds'
18932 # Executable file suffix (normally "").
18935 # Additional compiler flags for building library objects.
18936 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18939 # What is the maximum length of a command?
18940 max_cmd_len=$lt_cv_sys_max_cmd_len
18942 # Does compiler simultaneously support -c and -o options?
18943 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18945 # Must we lock files when doing compilation?
18946 need_locks=$lt_need_locks
18948 # Do we need the lib prefix for modules?
18949 need_lib_prefix=$need_lib_prefix
18951 # Do we need a version for libraries?
18952 need_version=$need_version
18954 # Whether dlopen is supported.
18955 dlopen_support=$enable_dlopen
18957 # Whether dlopen of programs is supported.
18958 dlopen_self=$enable_dlopen_self
18960 # Whether dlopen of statically linked programs is supported.
18961 dlopen_self_static=$enable_dlopen_self_static
18963 # Compiler flag to prevent dynamic linking.
18964 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18966 # Compiler flag to turn off builtin functions.
18967 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18969 # Compiler flag to allow reflexive dlopens.
18970 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18972 # Compiler flag to generate shared objects directly from archives.
18973 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18975 # Compiler flag to generate thread-safe objects.
18976 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18978 # Library versioning type.
18979 version_type=$version_type
18981 # Format of library name prefix.
18982 libname_spec=$lt_libname_spec
18984 # List of archive names. First name is the real one, the rest are links.
18985 # The last name is the one that the linker finds with -lNAME.
18986 library_names_spec=$lt_library_names_spec
18988 # The coded name of the library, if different from the real name.
18989 soname_spec=$lt_soname_spec
18991 # Commands used to build and install an old-style archive.
18993 old_archive_cmds=$lt_old_archive_cmds_GCJ
18994 old_postinstall_cmds=$lt_old_postinstall_cmds
18995 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18997 # Create an old-style archive from a shared archive.
18998 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19000 # Create a temporary old-style archive to link instead of a shared archive.
19001 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19003 # Commands used to build and install a shared archive.
19004 archive_cmds=$lt_archive_cmds_GCJ
19005 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19006 postinstall_cmds=$lt_postinstall_cmds
19007 postuninstall_cmds=$lt_postuninstall_cmds
19009 # Commands used to build a loadable module (assumed same as above if empty)
19010 module_cmds=$lt_module_cmds_GCJ
19011 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19013 # Commands to strip libraries.
19014 old_striplib=$lt_old_striplib
19015 striplib=$lt_striplib
19017 # Dependencies to place before the objects being linked to create a
19019 predep_objects=$lt_predep_objects_GCJ
19021 # Dependencies to place after the objects being linked to create a
19023 postdep_objects=$lt_postdep_objects_GCJ
19025 # Dependencies to place before the objects being linked to create a
19027 predeps=$lt_predeps_GCJ
19029 # Dependencies to place after the objects being linked to create a
19031 postdeps=$lt_postdeps_GCJ
19033 # The library search path used internally by the compiler when linking
19034 # a shared library.
19035 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19037 # Method to check whether dependent libraries are shared objects.
19038 deplibs_check_method=$lt_deplibs_check_method
19040 # Command to use when deplibs_check_method == file_magic.
19041 file_magic_cmd=$lt_file_magic_cmd
19043 # Flag that allows shared libraries with undefined symbols to be built.
19044 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19046 # Flag that forces no undefined symbols.
19047 no_undefined_flag=$lt_no_undefined_flag_GCJ
19049 # Commands used to finish a libtool library installation in a directory.
19050 finish_cmds=$lt_finish_cmds
19052 # Same as above, but a single script fragment to be evaled but not shown.
19053 finish_eval=$lt_finish_eval
19055 # Take the output of nm and produce a listing of raw symbols and C names.
19056 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19058 # Transform the output of nm in a proper C declaration
19059 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19061 # Transform the output of nm in a C name address pair
19062 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19064 # This is the shared library runtime path variable.
19065 runpath_var=$runpath_var
19067 # This is the shared library path variable.
19068 shlibpath_var=$shlibpath_var
19070 # Is shlibpath searched before the hard-coded library search path?
19071 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19073 # How to hardcode a shared library path into an executable.
19074 hardcode_action=$hardcode_action_GCJ
19076 # Whether we should hardcode library paths into libraries.
19077 hardcode_into_libs=$hardcode_into_libs
19079 # Flag to hardcode \$libdir into a binary during linking.
19080 # This must work even if \$libdir does not exist.
19081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19083 # If ld is used when linking, flag to hardcode \$libdir into
19084 # a binary during linking. This must work even if \$libdir does
19086 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19088 # Whether we need a single -rpath flag with a separated argument.
19089 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19091 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19092 # resulting binary.
19093 hardcode_direct=$hardcode_direct_GCJ
19095 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19096 # resulting binary.
19097 hardcode_minus_L=$hardcode_minus_L_GCJ
19099 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19100 # the resulting binary.
19101 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19103 # Set to yes if building a shared library automatically hardcodes DIR into the library
19104 # and all subsequent libraries and executables linked against it.
19105 hardcode_automatic=$hardcode_automatic_GCJ
19107 # Variables whose values should be saved in libtool wrapper scripts and
19108 # restored at relink time.
19109 variables_saved_for_relink="$variables_saved_for_relink"
19111 # Whether libtool must link a program against all its dependency libraries.
19112 link_all_deplibs=$link_all_deplibs_GCJ
19114 # Compile-time system search path for libraries
19115 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19117 # Run-time system search path for libraries
19118 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19120 # Fix the shell variable \$srcfile for the compiler.
19121 fix_srcfile_path="$fix_srcfile_path_GCJ"
19123 # Set to yes if exported symbols are required.
19124 always_export_symbols=$always_export_symbols_GCJ
19126 # The commands to list exported symbols.
19127 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19129 # The commands to extract the exported symbol list from a shared archive.
19130 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19132 # Symbols that should not be listed in the preloaded symbols.
19133 exclude_expsyms=$lt_exclude_expsyms_GCJ
19135 # Symbols that must always be exported.
19136 include_expsyms=$lt_include_expsyms_GCJ
19138 # ### END LIBTOOL TAG CONFIG: $tagname
19144 # If there is no Makefile yet, we rely on a make rule to execute
19145 # `config.status --recheck' to rerun these tests and create the
19146 # libtool script then.
19147 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19148 if test -f "$ltmain_in"; then
19149 test -f Makefile
&& make "$ltmain"
19155 ac_cpp
='$CPP $CPPFLAGS'
19156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19171 # Source file extension for RC test sources.
19174 # Object file extension for compiled RC test sources.
19178 # Code to be used in simple compile tests
19179 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19181 # Code to be used in simple link tests
19182 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19184 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19186 # If no C compiler was specified, use CC.
19189 # Allow CC to be a program name with arguments.
19193 # save warnings/boilerplate of simple test code
19194 ac_outfile
=conftest.
$ac_objext
19195 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19196 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19197 _lt_compiler_boilerplate
=`cat conftest.err`
19200 ac_outfile
=conftest.
$ac_objext
19201 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19202 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19203 _lt_linker_boilerplate
=`cat conftest.err`
19207 # Allow CC to be a program name with arguments.
19212 for cc_temp
in $compiler""; do
19214 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19215 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19220 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19222 lt_cv_prog_compiler_c_o_RC
=yes
19224 # The else clause should only fire when bootstrapping the
19225 # libtool distribution, otherwise you forgot to ship ltmain.sh
19226 # with your package, and you will get complaints that there are
19227 # no rules to generate ltmain.sh.
19228 if test -f "$ltmain"; then
19229 # See if we are running on zsh, and set the options which allow our commands through
19230 # without removal of \ escapes.
19231 if test -n "${ZSH_VERSION+set}" ; then
19232 setopt NO_GLOB_SUBST
19234 # Now quote all the things that may contain metacharacters while being
19235 # careful not to overquote the AC_SUBSTed values. We take copies of the
19236 # variables and quote the copies for generation of the libtool script.
19237 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19239 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19240 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19241 deplibs_check_method reload_flag reload_cmds need_locks \
19242 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19243 lt_cv_sys_global_symbol_to_c_name_address \
19244 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19245 old_postinstall_cmds old_postuninstall_cmds \
19249 lt_prog_compiler_wl_RC \
19250 lt_prog_compiler_pic_RC \
19251 lt_prog_compiler_static_RC \
19252 lt_prog_compiler_no_builtin_flag_RC \
19253 export_dynamic_flag_spec_RC \
19254 thread_safe_flag_spec_RC \
19255 whole_archive_flag_spec_RC \
19256 enable_shared_with_static_runtimes_RC \
19257 old_archive_cmds_RC \
19258 old_archive_from_new_cmds_RC \
19259 predep_objects_RC \
19260 postdep_objects_RC \
19263 compiler_lib_search_path_RC \
19265 archive_expsym_cmds_RC \
19266 postinstall_cmds_RC \
19267 postuninstall_cmds_RC \
19268 old_archive_from_expsyms_cmds_RC \
19269 allow_undefined_flag_RC \
19270 no_undefined_flag_RC \
19271 export_symbols_cmds_RC \
19272 hardcode_libdir_flag_spec_RC \
19273 hardcode_libdir_flag_spec_ld_RC \
19274 hardcode_libdir_separator_RC \
19275 hardcode_automatic_RC \
19277 module_expsym_cmds_RC \
19278 lt_cv_prog_compiler_c_o_RC \
19279 exclude_expsyms_RC \
19280 include_expsyms_RC
; do
19283 old_archive_cmds_RC | \
19284 old_archive_from_new_cmds_RC | \
19285 archive_cmds_RC | \
19286 archive_expsym_cmds_RC | \
19288 module_expsym_cmds_RC | \
19289 old_archive_from_expsyms_cmds_RC | \
19290 export_symbols_cmds_RC | \
19291 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19292 postinstall_cmds | postuninstall_cmds | \
19293 old_postinstall_cmds | old_postuninstall_cmds | \
19294 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19295 # Double-quote double-evaled strings.
19296 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19299 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19305 *'\$0 --fallback-echo"')
19306 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19312 cat <<__EOF__ >> "$cfgfile"
19313 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19315 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19317 # Shell to use when invoking shell scripts.
19320 # Whether or not to build shared libraries.
19321 build_libtool_libs=$enable_shared
19323 # Whether or not to build static libraries.
19324 build_old_libs=$enable_static
19326 # Whether or not to add -lc for building shared libraries.
19327 build_libtool_need_lc=$archive_cmds_need_lc_RC
19329 # Whether or not to disallow shared libs when runtime libs are static
19330 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19332 # Whether or not to optimize for fast installation.
19333 fast_install=$enable_fast_install
19336 host_alias=$host_alias
19340 # The build system.
19341 build_alias=$build_alias
19345 # An echo program that does not interpret backslashes.
19350 AR_FLAGS=$lt_AR_FLAGS
19355 # A language-specific compiler.
19358 # Is the compiler the GNU C compiler?
19364 # The linker used to build libraries.
19367 # Whether we need hard or soft links.
19370 # A BSD-compatible nm program.
19373 # A symbol stripping program
19376 # Used to examine libraries when file_magic_cmd begins "file"
19377 MAGIC_CMD=$MAGIC_CMD
19379 # Used on cygwin: DLL creation program.
19382 # Used on cygwin: object dumper.
19385 # Used on cygwin: assembler.
19388 # The name of the directory that contains temporary libtool files.
19391 # How to create reloadable object files.
19392 reload_flag=$lt_reload_flag
19393 reload_cmds=$lt_reload_cmds
19395 # How to pass a linker flag through the compiler.
19396 wl=$lt_lt_prog_compiler_wl_RC
19398 # Object file suffix (normally "o").
19399 objext="$ac_objext"
19401 # Old archive suffix (normally "a").
19404 # Shared library suffix (normally ".so").
19405 shrext_cmds='$shrext_cmds'
19407 # Executable file suffix (normally "").
19410 # Additional compiler flags for building library objects.
19411 pic_flag=$lt_lt_prog_compiler_pic_RC
19414 # What is the maximum length of a command?
19415 max_cmd_len=$lt_cv_sys_max_cmd_len
19417 # Does compiler simultaneously support -c and -o options?
19418 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19420 # Must we lock files when doing compilation?
19421 need_locks=$lt_need_locks
19423 # Do we need the lib prefix for modules?
19424 need_lib_prefix=$need_lib_prefix
19426 # Do we need a version for libraries?
19427 need_version=$need_version
19429 # Whether dlopen is supported.
19430 dlopen_support=$enable_dlopen
19432 # Whether dlopen of programs is supported.
19433 dlopen_self=$enable_dlopen_self
19435 # Whether dlopen of statically linked programs is supported.
19436 dlopen_self_static=$enable_dlopen_self_static
19438 # Compiler flag to prevent dynamic linking.
19439 link_static_flag=$lt_lt_prog_compiler_static_RC
19441 # Compiler flag to turn off builtin functions.
19442 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19444 # Compiler flag to allow reflexive dlopens.
19445 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19447 # Compiler flag to generate shared objects directly from archives.
19448 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19450 # Compiler flag to generate thread-safe objects.
19451 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19453 # Library versioning type.
19454 version_type=$version_type
19456 # Format of library name prefix.
19457 libname_spec=$lt_libname_spec
19459 # List of archive names. First name is the real one, the rest are links.
19460 # The last name is the one that the linker finds with -lNAME.
19461 library_names_spec=$lt_library_names_spec
19463 # The coded name of the library, if different from the real name.
19464 soname_spec=$lt_soname_spec
19466 # Commands used to build and install an old-style archive.
19468 old_archive_cmds=$lt_old_archive_cmds_RC
19469 old_postinstall_cmds=$lt_old_postinstall_cmds
19470 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19472 # Create an old-style archive from a shared archive.
19473 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19475 # Create a temporary old-style archive to link instead of a shared archive.
19476 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19478 # Commands used to build and install a shared archive.
19479 archive_cmds=$lt_archive_cmds_RC
19480 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19481 postinstall_cmds=$lt_postinstall_cmds
19482 postuninstall_cmds=$lt_postuninstall_cmds
19484 # Commands used to build a loadable module (assumed same as above if empty)
19485 module_cmds=$lt_module_cmds_RC
19486 module_expsym_cmds=$lt_module_expsym_cmds_RC
19488 # Commands to strip libraries.
19489 old_striplib=$lt_old_striplib
19490 striplib=$lt_striplib
19492 # Dependencies to place before the objects being linked to create a
19494 predep_objects=$lt_predep_objects_RC
19496 # Dependencies to place after the objects being linked to create a
19498 postdep_objects=$lt_postdep_objects_RC
19500 # Dependencies to place before the objects being linked to create a
19502 predeps=$lt_predeps_RC
19504 # Dependencies to place after the objects being linked to create a
19506 postdeps=$lt_postdeps_RC
19508 # The library search path used internally by the compiler when linking
19509 # a shared library.
19510 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19512 # Method to check whether dependent libraries are shared objects.
19513 deplibs_check_method=$lt_deplibs_check_method
19515 # Command to use when deplibs_check_method == file_magic.
19516 file_magic_cmd=$lt_file_magic_cmd
19518 # Flag that allows shared libraries with undefined symbols to be built.
19519 allow_undefined_flag=$lt_allow_undefined_flag_RC
19521 # Flag that forces no undefined symbols.
19522 no_undefined_flag=$lt_no_undefined_flag_RC
19524 # Commands used to finish a libtool library installation in a directory.
19525 finish_cmds=$lt_finish_cmds
19527 # Same as above, but a single script fragment to be evaled but not shown.
19528 finish_eval=$lt_finish_eval
19530 # Take the output of nm and produce a listing of raw symbols and C names.
19531 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19533 # Transform the output of nm in a proper C declaration
19534 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19536 # Transform the output of nm in a C name address pair
19537 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19539 # This is the shared library runtime path variable.
19540 runpath_var=$runpath_var
19542 # This is the shared library path variable.
19543 shlibpath_var=$shlibpath_var
19545 # Is shlibpath searched before the hard-coded library search path?
19546 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19548 # How to hardcode a shared library path into an executable.
19549 hardcode_action=$hardcode_action_RC
19551 # Whether we should hardcode library paths into libraries.
19552 hardcode_into_libs=$hardcode_into_libs
19554 # Flag to hardcode \$libdir into a binary during linking.
19555 # This must work even if \$libdir does not exist.
19556 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19558 # If ld is used when linking, flag to hardcode \$libdir into
19559 # a binary during linking. This must work even if \$libdir does
19561 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19563 # Whether we need a single -rpath flag with a separated argument.
19564 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19566 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19567 # resulting binary.
19568 hardcode_direct=$hardcode_direct_RC
19570 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19571 # resulting binary.
19572 hardcode_minus_L=$hardcode_minus_L_RC
19574 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19575 # the resulting binary.
19576 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19578 # Set to yes if building a shared library automatically hardcodes DIR into the library
19579 # and all subsequent libraries and executables linked against it.
19580 hardcode_automatic=$hardcode_automatic_RC
19582 # Variables whose values should be saved in libtool wrapper scripts and
19583 # restored at relink time.
19584 variables_saved_for_relink="$variables_saved_for_relink"
19586 # Whether libtool must link a program against all its dependency libraries.
19587 link_all_deplibs=$link_all_deplibs_RC
19589 # Compile-time system search path for libraries
19590 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19592 # Run-time system search path for libraries
19593 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19595 # Fix the shell variable \$srcfile for the compiler.
19596 fix_srcfile_path="$fix_srcfile_path_RC"
19598 # Set to yes if exported symbols are required.
19599 always_export_symbols=$always_export_symbols_RC
19601 # The commands to list exported symbols.
19602 export_symbols_cmds=$lt_export_symbols_cmds_RC
19604 # The commands to extract the exported symbol list from a shared archive.
19605 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19607 # Symbols that should not be listed in the preloaded symbols.
19608 exclude_expsyms=$lt_exclude_expsyms_RC
19610 # Symbols that must always be exported.
19611 include_expsyms=$lt_include_expsyms_RC
19613 # ### END LIBTOOL TAG CONFIG: $tagname
19619 # If there is no Makefile yet, we rely on a make rule to execute
19620 # `config.status --recheck' to rerun these tests and create the
19621 # libtool script then.
19622 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19623 if test -f "$ltmain_in"; then
19624 test -f Makefile
&& make "$ltmain"
19630 ac_cpp
='$CPP $CPPFLAGS'
19631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19640 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19641 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19642 { (exit 1); exit 1; }; }
19646 # Append the new tag name to the list of available tags.
19647 if test -n "$tagname" ; then
19648 available_tags
="$available_tags $tagname"
19654 # Now substitute the updated list of available tags.
19655 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19656 mv "${ofile}T" "$ofile"
19660 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19661 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19662 { (exit 1); exit 1; }; }
19668 # This can be used to rebuild libtool when needed
19669 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19671 # Always use our own libtool.
19672 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19674 # Prevent multiple expansion
19696 case "$am__api_version" in
19698 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
19699 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
19700 { (exit 1); exit 1; }; }
19706 if test -n "0.23"; then
19707 echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
19708 echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6
19710 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19711 INTLTOOL_APPLIED_VERSION
=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
19712 INTLTOOL_APPLIED_VERSION_AS_INT
=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
19714 echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19715 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
19716 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19717 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.23 or later." >&5
19718 echo "$as_me: error: Your intltool is too old. You need intltool 0.23 or later." >&2;}
19719 { (exit 1); exit 1; }; }
19722 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19723 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19724 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19725 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19726 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
19727 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19728 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19729 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19730 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19731 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19732 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19733 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
19734 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19735 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19736 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19737 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19738 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19739 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19760 # Use the tools built into the package, not the ones that are installed.
19761 INTLTOOL_EXTRACT
='$(top_builddir)/intltool-extract'
19763 INTLTOOL_MERGE
='$(top_builddir)/intltool-merge'
19765 INTLTOOL_UPDATE
='$(top_builddir)/intltool-update'
19768 # Extract the first word of "perl", so it can be a program name with args.
19769 set dummy perl
; ac_word
=$2
19770 echo "$as_me:$LINENO: checking for $ac_word" >&5
19771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19772 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 case $INTLTOOL_PERL in
19777 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
19780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19781 for as_dir
in $PATH
19784 test -z "$as_dir" && as_dir
=.
19785 for ac_exec_ext
in '' $ac_executable_extensions; do
19786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19787 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
19788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19797 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
19799 if test -n "$INTLTOOL_PERL"; then
19800 echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
19801 echo "${ECHO_T}$INTLTOOL_PERL" >&6
19803 echo "$as_me:$LINENO: result: no" >&5
19804 echo "${ECHO_T}no" >&6
19807 if test -z "$INTLTOOL_PERL"; then
19808 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
19809 echo "$as_me: error: perl not found; required for intltool" >&2;}
19810 { (exit 1); exit 1; }; }
19812 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
19813 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
19814 echo "$as_me: error: perl 5.x required for intltool" >&2;}
19815 { (exit 1); exit 1; }; }
19817 if test "x" != "xno-xml"; then
19818 echo "$as_me:$LINENO: checking for XML::Parser" >&5
19819 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
19820 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19821 echo "$as_me:$LINENO: result: ok" >&5
19822 echo "${ECHO_T}ok" >&6
19824 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
19825 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
19826 { (exit 1); exit 1; }; }
19830 # Extract the first word of "iconv", so it can be a program name with args.
19831 set dummy
iconv; ac_word
=$2
19832 echo "$as_me:$LINENO: checking for $ac_word" >&5
19833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19834 if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
19835 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 case $INTLTOOL_ICONV in
19839 ac_cv_path_INTLTOOL_ICONV
="$INTLTOOL_ICONV" # Let the user override the test with a path.
19842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19843 for as_dir
in $PATH
19846 test -z "$as_dir" && as_dir
=.
19847 for ac_exec_ext
in '' $ac_executable_extensions; do
19848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19849 ac_cv_path_INTLTOOL_ICONV
="$as_dir/$ac_word$ac_exec_ext"
19850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19856 test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV
="iconv"
19860 INTLTOOL_ICONV
=$ac_cv_path_INTLTOOL_ICONV
19862 if test -n "$INTLTOOL_ICONV"; then
19863 echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
19864 echo "${ECHO_T}$INTLTOOL_ICONV" >&6
19866 echo "$as_me:$LINENO: result: no" >&5
19867 echo "${ECHO_T}no" >&6
19870 # Extract the first word of "msgfmt", so it can be a program name with args.
19871 set dummy msgfmt
; ac_word
=$2
19872 echo "$as_me:$LINENO: checking for $ac_word" >&5
19873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19874 if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 case $INTLTOOL_MSGFMT in
19879 ac_cv_path_INTLTOOL_MSGFMT
="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
19882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19883 for as_dir
in $PATH
19886 test -z "$as_dir" && as_dir
=.
19887 for ac_exec_ext
in '' $ac_executable_extensions; do
19888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19889 ac_cv_path_INTLTOOL_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
19890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19896 test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT
="msgfmt"
19900 INTLTOOL_MSGFMT
=$ac_cv_path_INTLTOOL_MSGFMT
19902 if test -n "$INTLTOOL_MSGFMT"; then
19903 echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
19904 echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
19906 echo "$as_me:$LINENO: result: no" >&5
19907 echo "${ECHO_T}no" >&6
19910 # Extract the first word of "msgmerge", so it can be a program name with args.
19911 set dummy msgmerge
; ac_word
=$2
19912 echo "$as_me:$LINENO: checking for $ac_word" >&5
19913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19914 if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 case $INTLTOOL_MSGMERGE in
19919 ac_cv_path_INTLTOOL_MSGMERGE
="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
19922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19923 for as_dir
in $PATH
19926 test -z "$as_dir" && as_dir
=.
19927 for ac_exec_ext
in '' $ac_executable_extensions; do
19928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19929 ac_cv_path_INTLTOOL_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
19930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19936 test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE
="msgmerge"
19940 INTLTOOL_MSGMERGE
=$ac_cv_path_INTLTOOL_MSGMERGE
19942 if test -n "$INTLTOOL_MSGMERGE"; then
19943 echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
19944 echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
19946 echo "$as_me:$LINENO: result: no" >&5
19947 echo "${ECHO_T}no" >&6
19950 # Extract the first word of "xgettext", so it can be a program name with args.
19951 set dummy xgettext
; ac_word
=$2
19952 echo "$as_me:$LINENO: checking for $ac_word" >&5
19953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19954 if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 case $INTLTOOL_XGETTEXT in
19959 ac_cv_path_INTLTOOL_XGETTEXT
="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
19962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19963 for as_dir
in $PATH
19966 test -z "$as_dir" && as_dir
=.
19967 for ac_exec_ext
in '' $ac_executable_extensions; do
19968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19969 ac_cv_path_INTLTOOL_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
19970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19976 test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT
="xgettext"
19980 INTLTOOL_XGETTEXT
=$ac_cv_path_INTLTOOL_XGETTEXT
19982 if test -n "$INTLTOOL_XGETTEXT"; then
19983 echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
19984 echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
19986 echo "$as_me:$LINENO: result: no" >&5
19987 echo "${ECHO_T}no" >&6
19991 # Substitute ALL_LINGUAS so we can use it in po/Makefile
19994 # Set DATADIRNAME correctly if it is not set yet
19995 # (copied from glib-gettext.m4)
19996 if test -z "$DATADIRNAME"; then
19997 cat >conftest.
$ac_ext <<_ACEOF
20000 cat confdefs.h
>>conftest.
$ac_ext
20001 cat >>conftest.
$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20007 extern int _nl_msg_cat_cntr;
20008 return _nl_msg_cat_cntr
20013 rm -f conftest.
$ac_objext conftest
$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015 (eval $ac_link) 2>conftest.er1
20017 grep -v '^ *+' conftest.er1
>conftest.err
20019 cat conftest.err
>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try
='test -s conftest$ac_exeext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.
$ac_ext >&5
20041 echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20042 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
20043 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 cat >conftest.
$ac_ext <<_ACEOF
20049 cat confdefs.h
>>conftest.
$ac_ext
20050 cat >>conftest.
$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20054 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20056 /* System header to define __stub macros and hopefully few prototypes,
20057 which can conflict with char bind_textdomain_codeset (); below.
20058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20059 <limits.h> exists even on freestanding compilers. */
20062 # include <limits.h>
20064 # include <assert.h>
20067 #undef bind_textdomain_codeset
20069 /* Override any gcc2 internal prototype to avoid an error. */
20074 /* We use char because int might match the return type of a gcc2
20075 builtin and then its argument prototype would still apply. */
20076 char bind_textdomain_codeset ();
20077 /* The GNU C library defines this for functions which it implements
20078 to always fail with ENOSYS. Some functions are actually named
20079 something starting with __ and the normal name is an alias. */
20080 #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
20083 char (*f) () = bind_textdomain_codeset;
20092 return f != bind_textdomain_codeset;
20097 rm -f conftest.
$ac_objext conftest
$ac_exeext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20099 (eval $ac_link) 2>conftest.er1
20101 grep -v '^ *+' conftest.er1
>conftest.err
20103 cat conftest.err
>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; } &&
20112 { ac_try
='test -s conftest$ac_exeext'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; }; then
20118 ac_cv_func_bind_textdomain_codeset
=yes
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.
$ac_ext >&5
20123 ac_cv_func_bind_textdomain_codeset
=no
20125 rm -f conftest.err conftest.
$ac_objext \
20126 conftest
$ac_exeext conftest.
$ac_ext
20128 echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20129 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
20130 if test $ac_cv_func_bind_textdomain_codeset = yes; then
20142 rm -f conftest.err conftest.
$ac_objext \
20143 conftest
$ac_exeext conftest.
$ac_ext
20150 ac_config_commands
="$ac_config_commands intltool"
20154 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20155 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20156 if test "${ac_cv_header_stdc+set}" = set; then
20157 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 cat >conftest.
$ac_ext <<_ACEOF
20162 cat confdefs.h
>>conftest.
$ac_ext
20163 cat >>conftest.
$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 #include <stdlib.h>
20166 #include <stdarg.h>
20167 #include <string.h>
20178 rm -f conftest.
$ac_objext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20180 (eval $ac_compile) 2>conftest.er1
20182 grep -v '^ *+' conftest.er1
>conftest.err
20184 cat conftest.err
>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } &&
20187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189 (eval $ac_try) 2>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; } &&
20193 { ac_try
='test -s conftest.$ac_objext'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; }; then
20199 ac_cv_header_stdc
=yes
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.
$ac_ext >&5
20204 ac_cv_header_stdc
=no
20206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20208 if test $ac_cv_header_stdc = yes; then
20209 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20210 cat >conftest.
$ac_ext <<_ACEOF
20213 cat confdefs.h
>>conftest.
$ac_ext
20214 cat >>conftest.
$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 #include <string.h>
20219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20220 $EGREP "memchr" >/dev
/null
2>&1; then
20223 ac_cv_header_stdc
=no
20229 if test $ac_cv_header_stdc = yes; then
20230 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20231 cat >conftest.
$ac_ext <<_ACEOF
20234 cat confdefs.h
>>conftest.
$ac_ext
20235 cat >>conftest.
$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 #include <stdlib.h>
20240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20241 $EGREP "free" >/dev
/null
2>&1; then
20244 ac_cv_header_stdc
=no
20250 if test $ac_cv_header_stdc = yes; then
20251 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20252 if test "$cross_compiling" = yes; then
20255 cat >conftest.
$ac_ext <<_ACEOF
20258 cat confdefs.h
>>conftest.
$ac_ext
20259 cat >>conftest.
$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20262 #if ((' ' & 0x0FF) == 0x020)
20263 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20264 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20266 # define ISLOWER(c) \
20267 (('a' <= (c) && (c) <= 'i') \
20268 || ('j' <= (c) && (c) <= 'r') \
20269 || ('s' <= (c) && (c) <= 'z'))
20270 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20273 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20278 for (i = 0; i < 256; i++)
20279 if (XOR (islower (i), ISLOWER (i))
20280 || toupper (i) != TOUPPER (i))
20285 rm -f conftest
$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20298 echo "$as_me: program exited with status $ac_status" >&5
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ( exit $ac_status )
20303 ac_cv_header_stdc
=no
20305 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20309 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20310 echo "${ECHO_T}$ac_cv_header_stdc" >&6
20311 if test $ac_cv_header_stdc = yes; then
20313 cat >>confdefs.h
<<\_ACEOF
20314 #define STDC_HEADERS 1
20320 # Option to enable debugging
20321 # Check whether --enable-debug or --disable-debug was given.
20322 if test "${enable_debug+set}" = set; then
20323 enableval
="$enable_debug"
20329 if test "x$with_debug" == "xyes" ; then
20330 CFLAGS
="$CFLAGS -ggdb -O0 -DDEBUG -Wall -ansi -pedantic"
20332 # CFLAGS="$CFLAGS -O2 -Wall -ansi -pedantic"
20333 CFLAGS
="$CFLAGS -O2 -Wall -ansi"
20336 # Hildon library dependencies
20339 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20340 if test -n "$ac_tool_prefix"; then
20341 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20342 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20343 echo "$as_me:$LINENO: checking for $ac_word" >&5
20344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20345 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 case $PKG_CONFIG in
20350 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20354 for as_dir
in $PATH
20357 test -z "$as_dir" && as_dir
=.
20358 for ac_exec_ext
in '' $ac_executable_extensions; do
20359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20360 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20370 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20372 if test -n "$PKG_CONFIG"; then
20373 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20374 echo "${ECHO_T}$PKG_CONFIG" >&6
20376 echo "$as_me:$LINENO: result: no" >&5
20377 echo "${ECHO_T}no" >&6
20381 if test -z "$ac_cv_path_PKG_CONFIG"; then
20382 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20383 # Extract the first word of "pkg-config", so it can be a program name with args.
20384 set dummy pkg-config
; ac_word
=$2
20385 echo "$as_me:$LINENO: checking for $ac_word" >&5
20386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20387 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20390 case $ac_pt_PKG_CONFIG in
20392 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20396 for as_dir
in $PATH
20399 test -z "$as_dir" && as_dir
=.
20400 for ac_exec_ext
in '' $ac_executable_extensions; do
20401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20402 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20412 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20414 if test -n "$ac_pt_PKG_CONFIG"; then
20415 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20416 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
20418 echo "$as_me:$LINENO: result: no" >&5
20419 echo "${ECHO_T}no" >&6
20422 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20424 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20428 if test -n "$PKG_CONFIG"; then
20429 _pkg_min_version
=0.9.0
20430 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20431 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
20432 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20433 echo "$as_me:$LINENO: result: yes" >&5
20434 echo "${ECHO_T}yes" >&6
20436 echo "$as_me:$LINENO: result: no" >&5
20437 echo "${ECHO_T}no" >&6
20444 echo "$as_me:$LINENO: checking for HILDON" >&5
20445 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
20447 if test -n "$PKG_CONFIG"; then
20448 if test -n "$HILDON_CFLAGS"; then
20449 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
20451 if test -n "$PKG_CONFIG" && \
20452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9 hildon-fm-2 wpeditor\"") >&5
20453 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor") 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; then
20457 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor" 2>/dev/null`
20465 if test -n "$PKG_CONFIG"; then
20466 if test -n "$HILDON_LIBS"; then
20467 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
20469 if test -n "$PKG_CONFIG" && \
20470 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9 hildon-fm-2 wpeditor\"") >&5
20471 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor") 2>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); }; then
20475 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor" 2>/dev/null`
20486 if test $pkg_failed = yes; then
20488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20489 _pkg_short_errors_supported
=yes
20491 _pkg_short_errors_supported
=no
20493 if test $_pkg_short_errors_supported = yes; then
20494 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor"`
20496 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor"`
20498 # Put the nasty error message in config.log where it belongs
20499 echo "$HILDON_PKG_ERRORS" >&5
20501 { { echo "$as_me:$LINENO: error: Package requirements (hildon-1 >= 0.9.9 hildon-fm-2 wpeditor) were not met:
20505 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20506 installed software in a non-standard prefix.
20508 Alternatively, you may set the environment variables HILDON_CFLAGS
20509 and HILDON_LIBS to avoid the need to call pkg-config.
20510 See the pkg-config man page for more details.
20512 echo "$as_me: error: Package requirements (hildon-1 >= 0.9.9 hildon-fm-2 wpeditor) were not met:
20516 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20517 installed software in a non-standard prefix.
20519 Alternatively, you may set the environment variables HILDON_CFLAGS
20520 and HILDON_LIBS to avoid the need to call pkg-config.
20521 See the pkg-config man page for more details.
20523 { (exit 1); exit 1; }; }
20524 elif test $pkg_failed = untried
; then
20525 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20526 is in your PATH or set the PKG_CONFIG environment variable to the full
20527 path to pkg-config.
20529 Alternatively, you may set the environment variables HILDON_CFLAGS
20530 and HILDON_LIBS to avoid the need to call pkg-config.
20531 See the pkg-config man page for more details.
20533 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20534 See \`config.log' for more details." >&5
20535 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20536 is in your PATH or set the PKG_CONFIG environment variable to the full
20537 path to pkg-config.
20539 Alternatively, you may set the environment variables HILDON_CFLAGS
20540 and HILDON_LIBS to avoid the need to call pkg-config.
20541 See the pkg-config man page for more details.
20543 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20544 See \`config.log' for more details." >&2;}
20545 { (exit 1); exit 1; }; }
20547 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
20548 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
20549 echo "$as_me:$LINENO: result: yes" >&5
20550 echo "${ECHO_T}yes" >&6
20556 # Only used for the .service file path
20559 echo "$as_me:$LINENO: checking for DBUS" >&5
20560 echo $ECHO_N "checking for DBUS... $ECHO_C" >&6
20562 if test -n "$PKG_CONFIG"; then
20563 if test -n "$DBUS_CFLAGS"; then
20564 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
20566 if test -n "$PKG_CONFIG" && \
20567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.23.4\"") >&5
20568 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.23.4") 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; then
20572 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.23.4" 2>/dev/null`
20580 if test -n "$PKG_CONFIG"; then
20581 if test -n "$DBUS_LIBS"; then
20582 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
20584 if test -n "$PKG_CONFIG" && \
20585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.23.4\"") >&5
20586 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.23.4") 2>&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); }; then
20590 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.23.4" 2>/dev/null`
20601 if test $pkg_failed = yes; then
20603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20604 _pkg_short_errors_supported
=yes
20606 _pkg_short_errors_supported
=no
20608 if test $_pkg_short_errors_supported = yes; then
20609 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.23.4"`
20611 DBUS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.23.4"`
20613 # Put the nasty error message in config.log where it belongs
20614 echo "$DBUS_PKG_ERRORS" >&5
20616 { { echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= 0.23.4) were not met:
20620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20621 installed software in a non-standard prefix.
20623 Alternatively, you may set the environment variables DBUS_CFLAGS
20624 and DBUS_LIBS to avoid the need to call pkg-config.
20625 See the pkg-config man page for more details.
20627 echo "$as_me: error: Package requirements (dbus-glib-1 >= 0.23.4) were not met:
20631 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20632 installed software in a non-standard prefix.
20634 Alternatively, you may set the environment variables DBUS_CFLAGS
20635 and DBUS_LIBS to avoid the need to call pkg-config.
20636 See the pkg-config man page for more details.
20638 { (exit 1); exit 1; }; }
20639 elif test $pkg_failed = untried
; then
20640 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20641 is in your PATH or set the PKG_CONFIG environment variable to the full
20642 path to pkg-config.
20644 Alternatively, you may set the environment variables DBUS_CFLAGS
20645 and DBUS_LIBS to avoid the need to call pkg-config.
20646 See the pkg-config man page for more details.
20648 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20649 See \`config.log' for more details." >&5
20650 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20651 is in your PATH or set the PKG_CONFIG environment variable to the full
20652 path to pkg-config.
20654 Alternatively, you may set the environment variables DBUS_CFLAGS
20655 and DBUS_LIBS to avoid the need to call pkg-config.
20656 See the pkg-config man page for more details.
20658 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20659 See \`config.log' for more details." >&2;}
20660 { (exit 1); exit 1; }; }
20662 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
20663 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
20664 echo "$as_me:$LINENO: result: yes" >&5
20665 echo "${ECHO_T}yes" >&6
20669 # OSSO application framework dependencies
20672 echo "$as_me:$LINENO: checking for OSSO" >&5
20673 echo $ECHO_N "checking for OSSO... $ECHO_C" >&6
20675 if test -n "$PKG_CONFIG"; then
20676 if test -n "$OSSO_CFLAGS"; then
20677 pkg_cv_OSSO_CFLAGS
="$OSSO_CFLAGS"
20679 if test -n "$PKG_CONFIG" && \
20680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11\"") >&5
20681 ($PKG_CONFIG --exists --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11") 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; then
20685 pkg_cv_OSSO_CFLAGS
=`$PKG_CONFIG --cflags "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11" 2>/dev/null`
20693 if test -n "$PKG_CONFIG"; then
20694 if test -n "$OSSO_LIBS"; then
20695 pkg_cv_OSSO_LIBS
="$OSSO_LIBS"
20697 if test -n "$PKG_CONFIG" && \
20698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11\"") >&5
20699 ($PKG_CONFIG --exists --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11") 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; then
20703 pkg_cv_OSSO_LIBS
=`$PKG_CONFIG --libs "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11" 2>/dev/null`
20714 if test $pkg_failed = yes; then
20716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20717 _pkg_short_errors_supported
=yes
20719 _pkg_short_errors_supported
=no
20721 if test $_pkg_short_errors_supported = yes; then
20722 OSSO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11"`
20724 OSSO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11"`
20726 # Put the nasty error message in config.log where it belongs
20727 echo "$OSSO_PKG_ERRORS" >&5
20729 { { echo "$as_me:$LINENO: error: Package requirements (libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11) were not met:
20733 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20734 installed software in a non-standard prefix.
20736 Alternatively, you may set the environment variables OSSO_CFLAGS
20737 and OSSO_LIBS to avoid the need to call pkg-config.
20738 See the pkg-config man page for more details.
20740 echo "$as_me: error: Package requirements (libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11) were not met:
20744 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20745 installed software in a non-standard prefix.
20747 Alternatively, you may set the environment variables OSSO_CFLAGS
20748 and OSSO_LIBS to avoid the need to call pkg-config.
20749 See the pkg-config man page for more details.
20751 { (exit 1); exit 1; }; }
20752 elif test $pkg_failed = untried
; then
20753 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20754 is in your PATH or set the PKG_CONFIG environment variable to the full
20755 path to pkg-config.
20757 Alternatively, you may set the environment variables OSSO_CFLAGS
20758 and OSSO_LIBS to avoid the need to call pkg-config.
20759 See the pkg-config man page for more details.
20761 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20762 See \`config.log' for more details." >&5
20763 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20764 is in your PATH or set the PKG_CONFIG environment variable to the full
20765 path to pkg-config.
20767 Alternatively, you may set the environment variables OSSO_CFLAGS
20768 and OSSO_LIBS to avoid the need to call pkg-config.
20769 See the pkg-config man page for more details.
20771 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20772 See \`config.log' for more details." >&2;}
20773 { (exit 1); exit 1; }; }
20775 OSSO_CFLAGS
=$pkg_cv_OSSO_CFLAGS
20776 OSSO_LIBS
=$pkg_cv_OSSO_LIBS
20777 echo "$as_me:$LINENO: result: yes" >&5
20778 echo "${ECHO_T}yes" >&6
20785 #PKG_CHECK_MODULES(XML2, libxml-2.0 >= 2.6.0)
20786 #AC_SUBST(XML2_LIBS)
20787 #AC_SUBST(XML2_CFLAGS)
20792 echo "$as_me:$LINENO: checking for SQL3" >&5
20793 echo $ECHO_N "checking for SQL3... $ECHO_C" >&6
20795 if test -n "$PKG_CONFIG"; then
20796 if test -n "$SQL3_CFLAGS"; then
20797 pkg_cv_SQL3_CFLAGS
="$SQL3_CFLAGS"
20799 if test -n "$PKG_CONFIG" && \
20800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.0\"") >&5
20801 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.0") 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; then
20805 pkg_cv_SQL3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 >= 3.0" 2>/dev/null`
20813 if test -n "$PKG_CONFIG"; then
20814 if test -n "$SQL3_LIBS"; then
20815 pkg_cv_SQL3_LIBS
="$SQL3_LIBS"
20817 if test -n "$PKG_CONFIG" && \
20818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.0\"") >&5
20819 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.0") 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; then
20823 pkg_cv_SQL3_LIBS
=`$PKG_CONFIG --libs "sqlite3 >= 3.0" 2>/dev/null`
20834 if test $pkg_failed = yes; then
20836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20837 _pkg_short_errors_supported
=yes
20839 _pkg_short_errors_supported
=no
20841 if test $_pkg_short_errors_supported = yes; then
20842 SQL3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3 >= 3.0"`
20844 SQL3_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3 >= 3.0"`
20846 # Put the nasty error message in config.log where it belongs
20847 echo "$SQL3_PKG_ERRORS" >&5
20849 { { echo "$as_me:$LINENO: error: Package requirements (sqlite3 >= 3.0) were not met:
20853 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20854 installed software in a non-standard prefix.
20856 Alternatively, you may set the environment variables SQL3_CFLAGS
20857 and SQL3_LIBS to avoid the need to call pkg-config.
20858 See the pkg-config man page for more details.
20860 echo "$as_me: error: Package requirements (sqlite3 >= 3.0) were not met:
20864 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20865 installed software in a non-standard prefix.
20867 Alternatively, you may set the environment variables SQL3_CFLAGS
20868 and SQL3_LIBS to avoid the need to call pkg-config.
20869 See the pkg-config man page for more details.
20871 { (exit 1); exit 1; }; }
20872 elif test $pkg_failed = untried
; then
20873 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20874 is in your PATH or set the PKG_CONFIG environment variable to the full
20875 path to pkg-config.
20877 Alternatively, you may set the environment variables SQL3_CFLAGS
20878 and SQL3_LIBS to avoid the need to call pkg-config.
20879 See the pkg-config man page for more details.
20881 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20882 See \`config.log' for more details." >&5
20883 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20884 is in your PATH or set the PKG_CONFIG environment variable to the full
20885 path to pkg-config.
20887 Alternatively, you may set the environment variables SQL3_CFLAGS
20888 and SQL3_LIBS to avoid the need to call pkg-config.
20889 See the pkg-config man page for more details.
20891 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20892 See \`config.log' for more details." >&2;}
20893 { (exit 1); exit 1; }; }
20895 SQL3_CFLAGS
=$pkg_cv_SQL3_CFLAGS
20896 SQL3_LIBS
=$pkg_cv_SQL3_LIBS
20897 echo "$as_me:$LINENO: result: yes" >&5
20898 echo "${ECHO_T}yes" >&6
20905 GETTEXT_PACKAGE
=$PACKAGE
20908 cat >>confdefs.h
<<_ACEOF
20909 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
20912 ALL_LINGUAS
="en_GB fi_FI de_DE"
20915 for ac_header
in locale.h
20917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20919 echo "$as_me:$LINENO: checking for $ac_header" >&5
20920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20927 # Is the header compilable?
20928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20930 cat >conftest.
$ac_ext <<_ACEOF
20933 cat confdefs.h
>>conftest.
$ac_ext
20934 cat >>conftest.
$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 $ac_includes_default
20937 #include <$ac_header>
20939 rm -f conftest.
$ac_objext
20940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20941 (eval $ac_compile) 2>conftest.er1
20943 grep -v '^ *+' conftest.er1
>conftest.err
20945 cat conftest.err
>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } &&
20948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; } &&
20954 { ac_try
='test -s conftest.$ac_objext'
20955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20956 (eval $ac_try) 2>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); }; }; then
20960 ac_header_compiler
=yes
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.
$ac_ext >&5
20965 ac_header_compiler
=no
20967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20969 echo "${ECHO_T}$ac_header_compiler" >&6
20971 # Is the header present?
20972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20974 cat >conftest.
$ac_ext <<_ACEOF
20977 cat confdefs.h
>>conftest.
$ac_ext
20978 cat >>conftest.
$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 #include <$ac_header>
20982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20985 grep -v '^ *+' conftest.er1
>conftest.err
20987 cat conftest.err
>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); } >/dev
/null
; then
20990 if test -s conftest.err
; then
20991 ac_cpp_err
=$ac_c_preproc_warn_flag
20992 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20999 if test -z "$ac_cpp_err"; then
21000 ac_header_preproc
=yes
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.
$ac_ext >&5
21005 ac_header_preproc
=no
21007 rm -f conftest.err conftest.
$ac_ext
21008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21009 echo "${ECHO_T}$ac_header_preproc" >&6
21011 # So? What about this header?
21012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21018 ac_header_preproc
=yes
21021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21035 ## ------------------------------------------ ##
21036 ## Report this to the AC_PACKAGE_NAME lists. ##
21037 ## ------------------------------------------ ##
21040 sed "s/^/$as_me: WARNING: /" >&2
21043 echo "$as_me:$LINENO: checking for $ac_header" >&5
21044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21046 echo $ECHO_N "(cached) $ECHO_C" >&6
21048 eval "$as_ac_Header=\$ac_header_preproc"
21050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21055 cat >>confdefs.h
<<_ACEOF
21056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21063 if test $ac_cv_header_locale_h = yes; then
21064 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21065 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
21066 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21067 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 cat >conftest.
$ac_ext <<_ACEOF
21072 cat confdefs.h
>>conftest.
$ac_ext
21073 cat >>conftest.
$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 #include <locale.h>
21084 rm -f conftest.
$ac_objext conftest
$ac_exeext
21085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21086 (eval $ac_link) 2>conftest.er1
21088 grep -v '^ *+' conftest.er1
>conftest.err
21090 cat conftest.err
>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; } &&
21099 { ac_try
='test -s conftest$ac_exeext'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 am_cv_val_LC_MESSAGES
=yes
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.
$ac_ext >&5
21110 am_cv_val_LC_MESSAGES
=no
21112 rm -f conftest.err conftest.
$ac_objext \
21113 conftest
$ac_exeext conftest.
$ac_ext
21115 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21116 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
21117 if test $am_cv_val_LC_MESSAGES = yes; then
21119 cat >>confdefs.h
<<\_ACEOF
21120 #define HAVE_LC_MESSAGES 1
21128 gt_cv_have_gettext
=no
21134 if test "${ac_cv_header_libintl_h+set}" = set; then
21135 echo "$as_me:$LINENO: checking for libintl.h" >&5
21136 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
21137 if test "${ac_cv_header_libintl_h+set}" = set; then
21138 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21141 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
21143 # Is the header compilable?
21144 echo "$as_me:$LINENO: checking libintl.h usability" >&5
21145 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
21146 cat >conftest.
$ac_ext <<_ACEOF
21149 cat confdefs.h
>>conftest.
$ac_ext
21150 cat >>conftest.
$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 $ac_includes_default
21153 #include <libintl.h>
21155 rm -f conftest.
$ac_objext
21156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21157 (eval $ac_compile) 2>conftest.er1
21159 grep -v '^ *+' conftest.er1
>conftest.err
21161 cat conftest.err
>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } &&
21164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; } &&
21170 { ac_try
='test -s conftest.$ac_objext'
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172 (eval $ac_try) 2>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; }; then
21176 ac_header_compiler
=yes
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.
$ac_ext >&5
21181 ac_header_compiler
=no
21183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21185 echo "${ECHO_T}$ac_header_compiler" >&6
21187 # Is the header present?
21188 echo "$as_me:$LINENO: checking libintl.h presence" >&5
21189 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
21190 cat >conftest.
$ac_ext <<_ACEOF
21193 cat confdefs.h
>>conftest.
$ac_ext
21194 cat >>conftest.
$ac_ext <<_ACEOF
21195 /* end confdefs.h. */
21196 #include <libintl.h>
21198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21201 grep -v '^ *+' conftest.er1
>conftest.err
21203 cat conftest.err
>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } >/dev
/null
; then
21206 if test -s conftest.err
; then
21207 ac_cpp_err
=$ac_c_preproc_warn_flag
21208 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21215 if test -z "$ac_cpp_err"; then
21216 ac_header_preproc
=yes
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.
$ac_ext >&5
21221 ac_header_preproc
=no
21223 rm -f conftest.err conftest.
$ac_ext
21224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21225 echo "${ECHO_T}$ac_header_preproc" >&6
21227 # So? What about this header?
21228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21230 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21231 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21232 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21233 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21234 ac_header_preproc
=yes
21237 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21238 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21239 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
21240 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
21241 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21242 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21243 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
21244 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
21245 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21246 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21247 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21248 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21251 ## ------------------------------------------ ##
21252 ## Report this to the AC_PACKAGE_NAME lists. ##
21253 ## ------------------------------------------ ##
21256 sed "s/^/$as_me: WARNING: /" >&2
21259 echo "$as_me:$LINENO: checking for libintl.h" >&5
21260 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
21261 if test "${ac_cv_header_libintl_h+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 ac_cv_header_libintl_h
=$ac_header_preproc
21266 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21267 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
21270 if test $ac_cv_header_libintl_h = yes; then
21271 gt_cv_func_dgettext_libintl
="no"
21272 libintl_extra_libs
=""
21275 # First check in libc
21277 echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21278 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
21279 if test "${gt_cv_func_ngettext_libc+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 cat >conftest.
$ac_ext <<_ACEOF
21285 cat confdefs.h
>>conftest.
$ac_ext
21286 cat >>conftest.
$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21289 #include <libintl.h>
21294 return !ngettext ("","", 1)
21299 rm -f conftest.
$ac_objext conftest
$ac_exeext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21301 (eval $ac_link) 2>conftest.er1
21303 grep -v '^ *+' conftest.er1
>conftest.err
21305 cat conftest.err
>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try
='test -s conftest$ac_exeext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21320 gt_cv_func_ngettext_libc
=yes
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.
$ac_ext >&5
21325 gt_cv_func_ngettext_libc
=no
21327 rm -f conftest.err conftest.
$ac_objext \
21328 conftest
$ac_exeext conftest.
$ac_ext
21331 echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21332 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
21334 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21335 echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21336 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
21337 if test "${gt_cv_func_dgettext_libc+set}" = set; then
21338 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 cat >conftest.
$ac_ext <<_ACEOF
21343 cat confdefs.h
>>conftest.
$ac_ext
21344 cat >>conftest.
$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21347 #include <libintl.h>
21352 return !dgettext ("","")
21357 rm -f conftest.
$ac_objext conftest
$ac_exeext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359 (eval $ac_link) 2>conftest.er1
21361 grep -v '^ *+' conftest.er1
>conftest.err
21363 cat conftest.err
>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try
='test -s conftest$ac_exeext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 gt_cv_func_dgettext_libc
=yes
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.
$ac_ext >&5
21383 gt_cv_func_dgettext_libc
=no
21385 rm -f conftest.err conftest.
$ac_objext \
21386 conftest
$ac_exeext conftest.
$ac_ext
21389 echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21390 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
21393 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21395 for ac_func
in bind_textdomain_codeset
21397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21398 echo "$as_me:$LINENO: checking for $ac_func" >&5
21399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21400 if eval "test \"\${$as_ac_var+set}\" = set"; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 cat >conftest.
$ac_ext <<_ACEOF
21406 cat confdefs.h
>>conftest.
$ac_ext
21407 cat >>conftest.
$ac_ext <<_ACEOF
21408 /* end confdefs.h. */
21409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21411 #define $ac_func innocuous_$ac_func
21413 /* System header to define __stub macros and hopefully few prototypes,
21414 which can conflict with char $ac_func (); below.
21415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21416 <limits.h> exists even on freestanding compilers. */
21419 # include <limits.h>
21421 # include <assert.h>
21426 /* Override any gcc2 internal prototype to avoid an error. */
21431 /* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21434 /* The GNU C library defines this for functions which it implements
21435 to always fail with ENOSYS. Some functions are actually named
21436 something starting with __ and the normal name is an alias. */
21437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21440 char (*f) () = $ac_func;
21449 return f != $ac_func;
21454 rm -f conftest.
$ac_objext conftest
$ac_exeext
21455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21456 (eval $ac_link) 2>conftest.er1
21458 grep -v '^ *+' conftest.er1
>conftest.err
21460 cat conftest.err
>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } &&
21463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; } &&
21469 { ac_try
='test -s conftest$ac_exeext'
21470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471 (eval $ac_try) 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; }; then
21475 eval "$as_ac_var=yes"
21477 echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.
$ac_ext >&5
21480 eval "$as_ac_var=no"
21482 rm -f conftest.err conftest.
$ac_objext \
21483 conftest
$ac_exeext conftest.
$ac_ext
21485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21487 if test `eval echo '${'$as_ac_var'}'` = yes; then
21488 cat >>confdefs.h
<<_ACEOF
21489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21498 # If we don't have everything we want, check in libintl
21500 if test "$gt_cv_func_dgettext_libc" != "yes" \
21501 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
21502 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21504 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21505 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
21506 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21507 echo $ECHO_N "(cached) $ECHO_C" >&6
21509 ac_check_lib_save_LIBS
=$LIBS
21510 LIBS
="-lintl $LIBS"
21511 cat >conftest.
$ac_ext <<_ACEOF
21514 cat confdefs.h
>>conftest.
$ac_ext
21515 cat >>conftest.
$ac_ext <<_ACEOF
21516 /* end confdefs.h. */
21518 /* Override any gcc2 internal prototype to avoid an error. */
21522 /* We use char because int might match the return type of a gcc2
21523 builtin and then its argument prototype would still apply. */
21524 char bindtextdomain ();
21533 rm -f conftest.
$ac_objext conftest
$ac_exeext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21535 (eval $ac_link) 2>conftest.er1
21537 grep -v '^ *+' conftest.er1
>conftest.err
21539 cat conftest.err
>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; } &&
21548 { ac_try
='test -s conftest$ac_exeext'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 ac_cv_lib_intl_bindtextdomain
=yes
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.
$ac_ext >&5
21559 ac_cv_lib_intl_bindtextdomain
=no
21561 rm -f conftest.err conftest.
$ac_objext \
21562 conftest
$ac_exeext conftest.
$ac_ext
21563 LIBS
=$ac_check_lib_save_LIBS
21565 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21566 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
21567 if test $ac_cv_lib_intl_bindtextdomain = yes; then
21568 echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21569 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
21570 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21571 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 ac_check_lib_save_LIBS
=$LIBS
21574 LIBS
="-lintl $LIBS"
21575 cat >conftest.
$ac_ext <<_ACEOF
21578 cat confdefs.h
>>conftest.
$ac_ext
21579 cat >>conftest.
$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21582 /* Override any gcc2 internal prototype to avoid an error. */
21586 /* We use char because int might match the return type of a gcc2
21587 builtin and then its argument prototype would still apply. */
21597 rm -f conftest.
$ac_objext conftest
$ac_exeext
21598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21599 (eval $ac_link) 2>conftest.er1
21601 grep -v '^ *+' conftest.er1
>conftest.err
21603 cat conftest.err
>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } &&
21606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try
='test -s conftest$ac_exeext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_lib_intl_ngettext
=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 ac_cv_lib_intl_ngettext
=no
21625 rm -f conftest.err conftest.
$ac_objext \
21626 conftest
$ac_exeext conftest.
$ac_ext
21627 LIBS
=$ac_check_lib_save_LIBS
21629 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21630 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
21631 if test $ac_cv_lib_intl_ngettext = yes; then
21632 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21633 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
21634 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 ac_check_lib_save_LIBS
=$LIBS
21638 LIBS
="-lintl $LIBS"
21639 cat >conftest.
$ac_ext <<_ACEOF
21642 cat confdefs.h
>>conftest.
$ac_ext
21643 cat >>conftest.
$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21646 /* Override any gcc2 internal prototype to avoid an error. */
21650 /* We use char because int might match the return type of a gcc2
21651 builtin and then its argument prototype would still apply. */
21661 rm -f conftest.
$ac_objext conftest
$ac_exeext
21662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21663 (eval $ac_link) 2>conftest.er1
21665 grep -v '^ *+' conftest.er1
>conftest.err
21667 cat conftest.err
>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } &&
21670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; } &&
21676 { ac_try
='test -s conftest$ac_exeext'
21677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21678 (eval $ac_try) 2>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; }; then
21682 ac_cv_lib_intl_dgettext
=yes
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.
$ac_ext >&5
21687 ac_cv_lib_intl_dgettext
=no
21689 rm -f conftest.err conftest.
$ac_objext \
21690 conftest
$ac_exeext conftest.
$ac_ext
21691 LIBS
=$ac_check_lib_save_LIBS
21693 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21694 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
21695 if test $ac_cv_lib_intl_dgettext = yes; then
21696 gt_cv_func_dgettext_libintl
=yes
21704 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21705 echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
21706 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
21707 echo "$as_me:$LINENO: result: " >&5
21708 echo "${ECHO_T}" >&6
21709 echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21710 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
21711 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21714 ac_check_lib_save_LIBS
=$LIBS
21715 LIBS
="-lintl -liconv $LIBS"
21716 cat >conftest.
$ac_ext <<_ACEOF
21719 cat confdefs.h
>>conftest.
$ac_ext
21720 cat >>conftest.
$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21723 /* Override any gcc2 internal prototype to avoid an error. */
21727 /* We use char because int might match the return type of a gcc2
21728 builtin and then its argument prototype would still apply. */
21738 rm -f conftest.
$ac_objext conftest
$ac_exeext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21740 (eval $ac_link) 2>conftest.er1
21742 grep -v '^ *+' conftest.er1
>conftest.err
21744 cat conftest.err
>&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } &&
21747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; } &&
21753 { ac_try
='test -s conftest$ac_exeext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 ac_cv_lib_intl_ngettext
=yes
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 ac_cv_lib_intl_ngettext
=no
21766 rm -f conftest.err conftest.
$ac_objext \
21767 conftest
$ac_exeext conftest.
$ac_ext
21768 LIBS
=$ac_check_lib_save_LIBS
21770 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21771 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
21772 if test $ac_cv_lib_intl_ngettext = yes; then
21773 echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
21774 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
21775 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21778 ac_check_lib_save_LIBS
=$LIBS
21779 LIBS
="-lintl -liconv $LIBS"
21780 cat >conftest.
$ac_ext <<_ACEOF
21783 cat confdefs.h
>>conftest.
$ac_ext
21784 cat >>conftest.
$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21787 /* Override any gcc2 internal prototype to avoid an error. */
21791 /* We use char because int might match the return type of a gcc2
21792 builtin and then its argument prototype would still apply. */
21802 rm -f conftest.
$ac_objext conftest
$ac_exeext
21803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21804 (eval $ac_link) 2>conftest.er1
21806 grep -v '^ *+' conftest.er1
>conftest.err
21808 cat conftest.err
>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; } &&
21817 { ac_try
='test -s conftest$ac_exeext'
21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819 (eval $ac_try) 2>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; }; then
21823 ac_cv_lib_intl_dcgettext
=yes
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.
$ac_ext >&5
21828 ac_cv_lib_intl_dcgettext
=no
21830 rm -f conftest.err conftest.
$ac_objext \
21831 conftest
$ac_exeext conftest.
$ac_ext
21832 LIBS
=$ac_check_lib_save_LIBS
21834 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
21835 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
21836 if test $ac_cv_lib_intl_dcgettext = yes; then
21837 gt_cv_func_dgettext_libintl
=yes
21838 libintl_extra_libs
=-liconv
21850 # If we found libintl, then check in it for bind_textdomain_codeset();
21851 # we'll prefer libc if neither have bind_textdomain_codeset(),
21852 # and both have dgettext and ngettext
21854 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
21855 glib_save_LIBS
="$LIBS"
21856 LIBS
="$LIBS -lintl $libintl_extra_libs"
21857 unset ac_cv_func_bind_textdomain_codeset
21859 for ac_func
in bind_textdomain_codeset
21861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21862 echo "$as_me:$LINENO: checking for $ac_func" >&5
21863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21864 if eval "test \"\${$as_ac_var+set}\" = set"; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21867 cat >conftest.
$ac_ext <<_ACEOF
21870 cat confdefs.h
>>conftest.
$ac_ext
21871 cat >>conftest.
$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21875 #define $ac_func innocuous_$ac_func
21877 /* System header to define __stub macros and hopefully few prototypes,
21878 which can conflict with char $ac_func (); below.
21879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21880 <limits.h> exists even on freestanding compilers. */
21883 # include <limits.h>
21885 # include <assert.h>
21890 /* Override any gcc2 internal prototype to avoid an error. */
21895 /* We use char because int might match the return type of a gcc2
21896 builtin and then its argument prototype would still apply. */
21898 /* The GNU C library defines this for functions which it implements
21899 to always fail with ENOSYS. Some functions are actually named
21900 something starting with __ and the normal name is an alias. */
21901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21904 char (*f) () = $ac_func;
21913 return f != $ac_func;
21918 rm -f conftest.
$ac_objext conftest
$ac_exeext
21919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21920 (eval $ac_link) 2>conftest.er1
21922 grep -v '^ *+' conftest.er1
>conftest.err
21924 cat conftest.err
>&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } &&
21927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21929 (eval $ac_try) 2>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); }; } &&
21933 { ac_try
='test -s conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 eval "$as_ac_var=yes"
21941 echo "$as_me: failed program was:" >&5
21942 sed 's/^/| /' conftest.
$ac_ext >&5
21944 eval "$as_ac_var=no"
21946 rm -f conftest.err conftest.
$ac_objext \
21947 conftest
$ac_exeext conftest.
$ac_ext
21949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21951 if test `eval echo '${'$as_ac_var'}'` = yes; then
21952 cat >>confdefs.h
<<_ACEOF
21953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21959 LIBS
="$glib_save_LIBS"
21961 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
21962 gt_cv_func_dgettext_libc
=no
21964 if test "$gt_cv_func_dgettext_libc" = "yes" \
21965 && test "$gt_cv_func_ngettext_libc" = "yes"; then
21966 gt_cv_func_dgettext_libintl
=no
21972 if test "$gt_cv_func_dgettext_libc" = "yes" \
21973 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
21974 gt_cv_have_gettext
=yes
21977 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
21978 INTLLIBS
="-lintl $libintl_extra_libs"
21981 if test "$gt_cv_have_gettext" = "yes"; then
21983 cat >>confdefs.h
<<\_ACEOF
21984 #define HAVE_GETTEXT 1
21987 # Extract the first word of "msgfmt", so it can be a program name with args.
21988 set dummy msgfmt
; ac_word
=$2
21989 echo "$as_me:$LINENO: checking for $ac_word" >&5
21990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21991 if test "${ac_cv_path_MSGFMT+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
21999 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
22000 for ac_dir
in $PATH; do
22001 test -z "$ac_dir" && ac_dir
=.
22002 if test -f $ac_dir/$ac_word; then
22003 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22004 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
22010 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
22014 MSGFMT
="$ac_cv_path_MSGFMT"
22015 if test "$MSGFMT" != "no"; then
22016 echo "$as_me:$LINENO: result: $MSGFMT" >&5
22017 echo "${ECHO_T}$MSGFMT" >&6
22019 echo "$as_me:$LINENO: result: no" >&5
22020 echo "${ECHO_T}no" >&6
22022 if test "$MSGFMT" != "no"; then
22023 glib_save_LIBS
="$LIBS"
22024 LIBS
="$LIBS $INTLLIBS"
22026 for ac_func
in dcgettext
22028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22029 echo "$as_me:$LINENO: checking for $ac_func" >&5
22030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22031 if eval "test \"\${$as_ac_var+set}\" = set"; then
22032 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 cat >conftest.
$ac_ext <<_ACEOF
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22042 #define $ac_func innocuous_$ac_func
22044 /* System header to define __stub macros and hopefully few prototypes,
22045 which can conflict with char $ac_func (); below.
22046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22047 <limits.h> exists even on freestanding compilers. */
22050 # include <limits.h>
22052 # include <assert.h>
22057 /* Override any gcc2 internal prototype to avoid an error. */
22062 /* We use char because int might match the return type of a gcc2
22063 builtin and then its argument prototype would still apply. */
22065 /* The GNU C library defines this for functions which it implements
22066 to always fail with ENOSYS. Some functions are actually named
22067 something starting with __ and the normal name is an alias. */
22068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22071 char (*f) () = $ac_func;
22080 return f != $ac_func;
22085 rm -f conftest.
$ac_objext conftest
$ac_exeext
22086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22087 (eval $ac_link) 2>conftest.er1
22089 grep -v '^ *+' conftest.er1
>conftest.err
22091 cat conftest.err
>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } &&
22094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22096 (eval $ac_try) 2>&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); }; } &&
22100 { ac_try
='test -s conftest$ac_exeext'
22101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22102 (eval $ac_try) 2>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); }; }; then
22106 eval "$as_ac_var=yes"
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.
$ac_ext >&5
22111 eval "$as_ac_var=no"
22113 rm -f conftest.err conftest.
$ac_objext \
22114 conftest
$ac_exeext conftest.
$ac_ext
22116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22118 if test `eval echo '${'$as_ac_var'}'` = yes; then
22119 cat >>confdefs.h
<<_ACEOF
22120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22127 echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22128 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6
22129 cat >conftest.foo
<<_ACEOF
22133 "Content-Type: text/plain; charset=UTF-8\n"
22134 "Project-Id-Version: test 1.0\n"
22135 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
22136 "Last-Translator: test <foo@bar.xx>\n"
22137 "Language-Team: C <LL@li.org>\n"
22138 "MIME-Version: 1.0\n"
22139 "Content-Transfer-Encoding: 8bit\n"
22142 if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
22143 (msgfmt
-c -o /dev
/null conftest.foo
) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; then
22147 MSGFMT_OPTS
=-c; echo "$as_me:$LINENO: result: yes" >&5
22148 echo "${ECHO_T}yes" >&6
22149 else echo "$as_me:$LINENO: result: no" >&5
22150 echo "${ECHO_T}no" >&6
22151 echo "$as_me: failed input was:" >&5
22152 sed 's/^/| /' conftest.foo
>&5
22155 # Extract the first word of "gmsgfmt", so it can be a program name with args.
22156 set dummy gmsgfmt
; ac_word
=$2
22157 echo "$as_me:$LINENO: checking for $ac_word" >&5
22158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22159 if test "${ac_cv_path_GMSGFMT+set}" = set; then
22160 echo $ECHO_N "(cached) $ECHO_C" >&6
22164 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
22167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22168 for as_dir
in $PATH
22171 test -z "$as_dir" && as_dir
=.
22172 for ac_exec_ext
in '' $ac_executable_extensions; do
22173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22174 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
22175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22181 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
22185 GMSGFMT
=$ac_cv_path_GMSGFMT
22187 if test -n "$GMSGFMT"; then
22188 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22189 echo "${ECHO_T}$GMSGFMT" >&6
22191 echo "$as_me:$LINENO: result: no" >&5
22192 echo "${ECHO_T}no" >&6
22195 # Extract the first word of "xgettext", so it can be a program name with args.
22196 set dummy xgettext
; ac_word
=$2
22197 echo "$as_me:$LINENO: checking for $ac_word" >&5
22198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22199 if test "${ac_cv_path_XGETTEXT+set}" = set; then
22200 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 case "$XGETTEXT" in
22204 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
22207 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
22208 for ac_dir
in $PATH; do
22209 test -z "$ac_dir" && ac_dir
=.
22210 if test -f $ac_dir/$ac_word; then
22211 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22212 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
22218 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
22222 XGETTEXT
="$ac_cv_path_XGETTEXT"
22223 if test "$XGETTEXT" != ":"; then
22224 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22225 echo "${ECHO_T}$XGETTEXT" >&6
22227 echo "$as_me:$LINENO: result: no" >&5
22228 echo "${ECHO_T}no" >&6
22231 cat >conftest.
$ac_ext <<_ACEOF
22234 cat confdefs.h
>>conftest.
$ac_ext
22235 cat >>conftest.
$ac_ext <<_ACEOF
22236 /* end confdefs.h. */
22241 extern int _nl_msg_cat_cntr;
22242 return _nl_msg_cat_cntr
22247 rm -f conftest.
$ac_objext conftest
$ac_exeext
22248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22249 (eval $ac_link) 2>conftest.er1
22251 grep -v '^ *+' conftest.er1
>conftest.err
22253 cat conftest.err
>&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } &&
22256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; } &&
22262 { ac_try
='test -s conftest$ac_exeext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.
$ac_ext >&5
22276 echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22277 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
22278 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22279 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 cat >conftest.
$ac_ext <<_ACEOF
22284 cat confdefs.h
>>conftest.
$ac_ext
22285 cat >>conftest.
$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22287 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22289 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22291 /* System header to define __stub macros and hopefully few prototypes,
22292 which can conflict with char bind_textdomain_codeset (); below.
22293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22294 <limits.h> exists even on freestanding compilers. */
22297 # include <limits.h>
22299 # include <assert.h>
22302 #undef bind_textdomain_codeset
22304 /* Override any gcc2 internal prototype to avoid an error. */
22309 /* We use char because int might match the return type of a gcc2
22310 builtin and then its argument prototype would still apply. */
22311 char bind_textdomain_codeset ();
22312 /* The GNU C library defines this for functions which it implements
22313 to always fail with ENOSYS. Some functions are actually named
22314 something starting with __ and the normal name is an alias. */
22315 #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
22318 char (*f) () = bind_textdomain_codeset;
22327 return f != bind_textdomain_codeset;
22332 rm -f conftest.
$ac_objext conftest
$ac_exeext
22333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22334 (eval $ac_link) 2>conftest.er1
22336 grep -v '^ *+' conftest.er1
>conftest.err
22338 cat conftest.err
>&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } &&
22341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; } &&
22347 { ac_try
='test -s conftest$ac_exeext'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 ac_cv_func_bind_textdomain_codeset
=yes
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.
$ac_ext >&5
22358 ac_cv_func_bind_textdomain_codeset
=no
22360 rm -f conftest.err conftest.
$ac_objext \
22361 conftest
$ac_exeext conftest.
$ac_ext
22363 echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22364 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
22365 if test $ac_cv_func_bind_textdomain_codeset = yes; then
22380 rm -f conftest.err conftest.
$ac_objext \
22381 conftest
$ac_exeext conftest.
$ac_ext
22382 LIBS
="$glib_save_LIBS"
22385 gt_cv_have_gettext
=no
22393 if test "$gt_cv_have_gettext" = "yes" ; then
22395 cat >>confdefs.h
<<\_ACEOF
22396 #define ENABLE_NLS 1
22401 if test "$XGETTEXT" != ":"; then
22402 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
22405 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22406 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
22411 # We need to process the po/ directory.
22414 ac_config_commands
="$ac_config_commands default-1"
22417 for lang
in $ALL_LINGUAS; do
22418 GMOFILES
="$GMOFILES $lang.gmo"
22419 POFILES
="$POFILES $lang.po"
22434 if test "$gt_cv_have_gettext" = "yes"; then
22435 if test "x$ALL_LINGUAS" = "x"; then
22438 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22439 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
22441 for presentlang
in $ALL_LINGUAS; do
22443 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22444 desiredlanguages
="$LINGUAS"
22446 desiredlanguages
="$ALL_LINGUAS"
22448 for desiredlang
in $desiredlanguages; do
22449 # Use the presentlang catalog if desiredlang is
22450 # a. equal to presentlang, or
22451 # b. a variant of presentlang (because in this case,
22452 # presentlang can be used as a fallback for messages
22453 # which are not translated in the desiredlang catalog).
22454 case "$desiredlang" in
22455 "$presentlang"*) useit
=yes;;
22458 if test $useit = yes; then
22459 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
22462 LINGUAS
=$NEW_LINGUAS
22463 echo "$as_me:$LINENO: result: $LINGUAS" >&5
22464 echo "${ECHO_T}$LINGUAS" >&6
22467 if test -n "$LINGUAS"; then
22468 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
22473 if test -n "$ac_aux_dir"; then
22474 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
22476 if test -z "$MKINSTALLDIRS"; then
22477 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
22481 test -d po || mkdir po
22482 if test "x$srcdir" != "x."; then
22483 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
22484 posrcprefix
="$srcdir/"
22486 posrcprefix
="../$srcdir/"
22492 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22493 < $srcdir/po
/POTFILES.
in > po
/POTFILES
22496 # To make application visible in maemo Task Navigator it needs a Desktop
22497 # file for the application.
22498 # D-BUS service file is needed to be able to launch the maemo application
22499 # and connect it to D-BUS services.
22500 # The following line defines install directories for these files.
22501 desktopentrydir
=/usr
/share
/applications
/hildon
22502 serviceentrydir
=/usr
/share
/dbus-
1/services
22504 # Application locale install directory
22505 localedir
=/usr
/share
/locale
22507 # Application pixmaps install directory
22508 pixmapdir
=/usr
/share
/pixmaps
/$PACKAGE
22510 # Application icon install directories
22511 icon_26x26dir
=$datadir/icons
/hicolor
/26x26
/hildon
22512 icon_34x34dir
=$datadir/icons
/hicolor
/34x34
/hildon
22513 icon_40x40dir
=$datadir/icons
/hicolor
/40x40
/hildon
22514 icon_50x50dir
=$datadir/icons
/hicolor
/50x50
/hildon
22515 icon_scalabledir
=$datadir/icons
/hicolor
/scalable
/hildon
22517 # Hildon control panel plugin install directories
22518 pluginlibdir
=`$PKG_CONFIG hildon-control-panel --variable=plugindir`
22519 plugindesktopentrydir
=`$PKG_CONFIG hildon-control-panel --variable=plugindesktopentrydir`
22521 # Define as variables in Makefiles
22534 # Application Installer uses alternative root prefix /var/lib/install
22535 # where packages are installed. Build time and run time are different.
22536 # Define runtime paths to applications in config.h.
22537 #runtime_root=/var/lib/install
22538 #runtime_localedir=$runtime_root$localedir
22539 #runtime_pixmapdir=$runtime_root$pixmapdir
22542 cat >>confdefs.h
<<_ACEOF
22543 #define LOCALEDIR "${localedir}"
22547 cat >>confdefs.h
<<_ACEOF
22548 #define PIXMAPDIR "${pixmapdir}"
22552 # Produce output files
22553 ac_config_files
="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in po/Makefile"
22554 cat >confcache
<<\_ACEOF
22555 # This file is a shell script that caches the results of configure
22556 # tests run on this system so they can be shared between configure
22557 # scripts and configure runs, see configure's option --config-cache.
22558 # It is not useful on other systems. If it contains results you don't
22559 # want to keep, you may remove or edit it.
22561 # config.status only pays attention to the cache file if you give it
22562 # the --recheck option to rerun configure.
22564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22566 # following values.
22570 # The following way of writing the cache mishandles newlines in values,
22571 # but we know of no workaround that is simple, portable, and efficient.
22572 # So, don't put newlines in cache variables' values.
22573 # Ultrix sh set writes to stderr and can't be redirected directly,
22574 # and sets the high bit in the cache file unless we assign to the vars.
22577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22579 # `set' does not quote correctly, so add quotes (double-quote
22580 # substitution turns \\\\ into \\, and sed turns \\ into \).
22583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22586 # `set' quotes correctly as required by POSIX, so do not add quotes.
22588 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22597 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22599 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22600 if test -w $cache_file; then
22601 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22602 cat confcache
>$cache_file
22604 echo "not updating unwritable cache $cache_file"
22609 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22610 # Let make expand exec_prefix.
22611 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22615 # trailing colons and then remove the whole line if VPATH becomes empty
22616 # (actually we leave an empty line to preserve line numbers).
22617 if test "x$srcdir" = x.
; then
22618 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22619 s/:*\$(srcdir):*/:/;
22620 s/:*\${srcdir}:*/:/;
22622 s/^\([^=]*=[ ]*\):*/\1/;
22628 DEFS
=-DHAVE_CONFIG_H
22632 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22633 # 1. Remove the extension, and $U if already installed.
22634 ac_i
=`echo "$ac_i" |
22635 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22637 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22638 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22640 LIBOBJS
=$ac_libobjs
22642 LTLIBOBJS
=$ac_ltlibobjs
22645 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22646 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22647 Usually this means the macro was only invoked conditionally." >&5
22648 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22649 Usually this means the macro was only invoked conditionally." >&2;}
22650 { (exit 1); exit 1; }; }
22652 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22653 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22654 Usually this means the macro was only invoked conditionally." >&5
22655 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22656 Usually this means the macro was only invoked conditionally." >&2;}
22657 { (exit 1); exit 1; }; }
22659 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22660 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22661 Usually this means the macro was only invoked conditionally." >&5
22662 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22663 Usually this means the macro was only invoked conditionally." >&2;}
22664 { (exit 1); exit 1; }; }
22667 ac_config_commands
="$ac_config_commands po/stamp-it"
22671 : ${CONFIG_STATUS=./config.status}
22672 ac_clean_files_save
=$ac_clean_files
22673 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22674 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22675 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22676 cat >$CONFIG_STATUS <<_ACEOF
22678 # Generated by $as_me.
22679 # Run this file to recreate the current configuration.
22680 # Compiler output produced by configure, useful for debugging
22681 # configure, is in config.log if it exists.
22684 ac_cs_recheck=false
22686 SHELL=\${CONFIG_SHELL-$SHELL}
22689 cat >>$CONFIG_STATUS <<\_ACEOF
22690 ## --------------------- ##
22691 ## M4sh Initialization. ##
22692 ## --------------------- ##
22694 # Be Bourne compatible
22695 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22698 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22699 # is contrary to our usage. Disable this feature.
22700 alias -g '${1+"$@"}'='"$@"'
22701 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22704 DUALCASE
=1; export DUALCASE
# for MKS sh
22706 # Support unset when possible.
22707 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22714 # Work around bugs in pre-3.0 UWIN ksh.
22715 $as_unset ENV MAIL MAILPATH
22722 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22723 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22724 LC_TELEPHONE LC_TIME
22726 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22727 eval $as_var=C
; export $as_var
22733 # Required to use basename.
22734 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22740 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22741 as_basename
=basename
22747 # Name of the executable.
22748 as_me
=`$as_basename "$0" ||
22749 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22750 X"$0" : 'X\(//\)$' \| \
22751 X"$0" : 'X\(/\)$' \| \
22752 . : '\(.\)' 2>/dev/null ||
22754 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22755 /^X\/\(\/\/\)$/{ s//\1/; q; }
22756 /^X\/\(\/\).*/{ s//\1/; q; }
22760 # PATH needs CR, and LINENO needs CR and PATH.
22761 # Avoid depending upon Character Ranges.
22762 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22763 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22764 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22765 as_cr_digits
='0123456789'
22766 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22768 # The user is always right.
22769 if test "${PATH_SEPARATOR+set}" != set; then
22770 echo "#! /bin/sh" >conf$$.sh
22771 echo "exit 0" >>conf$$.sh
22773 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22782 as_lineno_1
=$LINENO
22783 as_lineno_2
=$LINENO
22784 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22785 test "x$as_lineno_1" != "x$as_lineno_2" &&
22786 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22787 # Find who we are. Look in the path if we contain no path at all
22790 *[\\/]* ) as_myself
=$0 ;;
22791 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22792 for as_dir
in $PATH
22795 test -z "$as_dir" && as_dir
=.
22796 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22801 # We did not find ourselves, most probably we were run as `sh COMMAND'
22802 # in which case we are not to be found in the path.
22803 if test "x$as_myself" = x
; then
22806 if test ! -f "$as_myself"; then
22807 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22808 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22809 { (exit 1); exit 1; }; }
22811 case $CONFIG_SHELL in
22813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22814 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22817 test -z "$as_dir" && as_dir
=.
22818 for as_base
in sh bash ksh sh5
; do
22821 if ("$as_dir/$as_base" -c '
22822 as_lineno_1=$LINENO
22823 as_lineno_2=$LINENO
22824 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22825 test "x$as_lineno_1" != "x$as_lineno_2" &&
22826 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22827 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22828 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22829 CONFIG_SHELL
=$as_dir/$as_base
22830 export CONFIG_SHELL
22831 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22839 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22840 # uniformly replaced by the line number. The first 'sed' inserts a
22841 # line-number line before each line; the second 'sed' does the real
22842 # work. The second script uses 'N' to pair each line-number line
22843 # with the numbered line, and appends trailing '-' during
22844 # substitution so that $LINENO is not a special case at line end.
22845 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22846 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22847 sed '=' <$as_myself |
22852 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22855 s,^['$as_cr_digits']*\n,,
22856 ' >$as_me.lineno
&&
22857 chmod +x
$as_me.lineno ||
22858 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22859 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22860 { (exit 1); exit 1; }; }
22862 # Don't try to exec as it changes $[0], causing all sort of problems
22863 # (the dirname of $[0] is not the place where we might find the
22864 # original and so on. Autoconf is especially sensible to this).
22866 # Exit status is that of the last command.
22871 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22872 *c
*,-n*) ECHO_N
= ECHO_C
='
22874 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22875 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22878 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22884 rm -f conf$$ conf$$.exe conf$$.
file
22886 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22887 # We could just check for DJGPP; but this test a) works b) is more generic
22888 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22889 if test -f conf$$.exe
; then
22890 # Don't use ln at all; we don't have any links
22895 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22900 rm -f conf$$ conf$$.exe conf$$.
file
22902 if mkdir
-p .
2>/dev
/null
; then
22905 test -d .
/-p && rmdir .
/-p
22909 as_executable_p
="test -f"
22911 # Sed expression to map a string onto a valid CPP name.
22912 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22914 # Sed expression to map a string onto a valid variable name.
22915 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22919 # We need space, tab and new line, in precisely that order.
22929 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22930 # report actual input values of CONFIG_FILES etc. instead of their
22931 # values after options handling. Logging --version etc. is OK.
22935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22936 ## Running $as_me. ##
22941 This file was extended by $as_me, which was
22942 generated by GNU Autoconf 2.59. Invocation command line was
22944 CONFIG_FILES = $CONFIG_FILES
22945 CONFIG_HEADERS = $CONFIG_HEADERS
22946 CONFIG_LINKS = $CONFIG_LINKS
22947 CONFIG_COMMANDS = $CONFIG_COMMANDS
22951 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22955 # Files that config.status was made for.
22956 if test -n "$ac_config_files"; then
22957 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22960 if test -n "$ac_config_headers"; then
22961 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22964 if test -n "$ac_config_links"; then
22965 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22968 if test -n "$ac_config_commands"; then
22969 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22972 cat >>$CONFIG_STATUS <<\_ACEOF
22975 \`$as_me' instantiates files from templates according to the
22976 current configuration.
22978 Usage: $0 [OPTIONS] [FILE]...
22980 -h, --help print this help, then exit
22981 -V, --version print version number, then exit
22982 -q, --quiet do not print progress messages
22983 -d, --debug don't remove temporary files
22984 --recheck update $as_me by reconfiguring in the same conditions
22985 --file=FILE[:TEMPLATE]
22986 instantiate the configuration file FILE
22987 --header=FILE[:TEMPLATE]
22988 instantiate the configuration header FILE
22990 Configuration files:
22993 Configuration headers:
22996 Configuration commands:
22999 Report bugs to <bug-autoconf@gnu.org>."
23002 cat >>$CONFIG_STATUS <<_ACEOF
23005 configured by $0, generated by GNU Autoconf 2.59,
23006 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23008 Copyright (C) 2003 Free Software Foundation, Inc.
23009 This config.status script is free software; the Free Software Foundation
23010 gives unlimited permission to copy, distribute and modify it."
23015 cat >>$CONFIG_STATUS <<\_ACEOF
23016 # If no file are specified by the user, then we need to provide default
23017 # value. By we need to know if files were specified by the user.
23023 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23024 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23032 *) # This is not an option, so the user has probably given explicit
23035 ac_need_defaults
=false
;;
23039 # Handling of the options.
23041 cat >>$CONFIG_STATUS <<\_ACEOF
23042 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23044 --version |
--vers* |
-V )
23045 echo "$ac_cs_version"; exit 0 ;;
23047 # Conflict between --help and --header
23048 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23049 Try \`$0 --help' for more information." >&5
23050 echo "$as_me: error: ambiguous option: $1
23051 Try \`$0 --help' for more information." >&2;}
23052 { (exit 1); exit 1; }; };;
23053 --help |
--hel |
-h )
23054 echo "$ac_cs_usage"; exit 0 ;;
23055 --debug |
--d* |
-d )
23057 --file |
--fil |
--fi |
--f )
23059 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23060 ac_need_defaults
=false
;;
23061 --header |
--heade |
--head |
--hea )
23063 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23064 ac_need_defaults
=false
;;
23065 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23066 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23069 # This is an error.
23070 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23071 Try \`$0 --help' for more information." >&5
23072 echo "$as_me: error: unrecognized option: $1
23073 Try \`$0 --help' for more information." >&2;}
23074 { (exit 1); exit 1; }; } ;;
23076 *) ac_config_targets
="$ac_config_targets $1" ;;
23082 ac_configure_extra_args
=
23084 if $ac_cs_silent; then
23086 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23090 cat >>$CONFIG_STATUS <<_ACEOF
23091 if \$ac_cs_recheck; then
23092 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23093 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23098 cat >>$CONFIG_STATUS <<_ACEOF
23100 # INIT-COMMANDS section.
23103 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23104 INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
23105 prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
23106 INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
23107 INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
23108 INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
23115 cat >>$CONFIG_STATUS <<\_ACEOF
23116 for ac_config_target
in $ac_config_targets
23118 case "$ac_config_target" in
23119 # Handling of arguments.
23120 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23121 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23122 "data/Makefile" ) CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
23123 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23124 "po/Makefile" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
23125 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23126 "intltool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS intltool" ;;
23127 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23128 "po/stamp-it" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
23129 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23130 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23131 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23132 { (exit 1); exit 1; }; };;
23136 # If the user did not use the arguments to specify the items to instantiate,
23137 # then the envvar interface is used. Set only those that are not.
23138 # We use the long form for the default assignment because of an extremely
23139 # bizarre bug on SunOS 4.1.3.
23140 if $ac_need_defaults; then
23141 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23142 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23143 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23146 # Have a temporary directory for convenience. Make it in the build tree
23147 # simply because there is no reason to put it here, and in addition,
23148 # creating and moving files from /tmp can sometimes cause problems.
23149 # Create a temporary directory, and hook for its removal unless debugging.
23152 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23153 trap '{ (exit 1); exit 1; }' 1 2 13 15
23156 # Create a (secure) tmp directory for tmp files.
23159 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23160 test -n "$tmp" && test -d "$tmp"
23163 tmp
=.
/confstat$$
-$RANDOM
23164 (umask 077 && mkdir
$tmp)
23167 echo "$me: cannot create a temporary directory in ." >&2
23168 { (exit 1); exit 1; }
23173 cat >>$CONFIG_STATUS <<_ACEOF
23176 # CONFIG_FILES section.
23179 # No need to generate the scripts if there are no CONFIG_FILES.
23180 # This happens for instance when ./config.status config.h
23181 if test -n "\$CONFIG_FILES"; then
23182 # Protect against being on the right side of a sed subst in config.status.
23183 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23184 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23185 s,@SHELL@,$SHELL,;t t
23186 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23187 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23188 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23189 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23190 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23191 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23192 s,@exec_prefix@,$exec_prefix,;t t
23193 s,@prefix@,$prefix,;t t
23194 s,@program_transform_name@,$program_transform_name,;t t
23195 s,@bindir@,$bindir,;t t
23196 s,@sbindir@,$sbindir,;t t
23197 s,@libexecdir@,$libexecdir,;t t
23198 s,@datadir@,$datadir,;t t
23199 s,@sysconfdir@,$sysconfdir,;t t
23200 s,@sharedstatedir@,$sharedstatedir,;t t
23201 s,@localstatedir@,$localstatedir,;t t
23202 s,@libdir@,$libdir,;t t
23203 s,@includedir@,$includedir,;t t
23204 s,@oldincludedir@,$oldincludedir,;t t
23205 s,@infodir@,$infodir,;t t
23206 s,@mandir@,$mandir,;t t
23207 s,@build_alias@,$build_alias,;t t
23208 s,@host_alias@,$host_alias,;t t
23209 s,@target_alias@,$target_alias,;t t
23210 s,@DEFS@,$DEFS,;t t
23211 s,@ECHO_C@,$ECHO_C,;t t
23212 s,@ECHO_N@,$ECHO_N,;t t
23213 s,@ECHO_T@,$ECHO_T,;t t
23214 s,@LIBS@,$LIBS,;t t
23215 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23216 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23217 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23218 s,@CYGPATH_W@,$CYGPATH_W,;t t
23219 s,@PACKAGE@,$PACKAGE,;t t
23220 s,@VERSION@,$VERSION,;t t
23221 s,@ACLOCAL@,$ACLOCAL,;t t
23222 s,@AUTOCONF@,$AUTOCONF,;t t
23223 s,@AUTOMAKE@,$AUTOMAKE,;t t
23224 s,@AUTOHEADER@,$AUTOHEADER,;t t
23225 s,@MAKEINFO@,$MAKEINFO,;t t
23226 s,@AMTAR@,$AMTAR,;t t
23227 s,@install_sh@,$install_sh,;t t
23228 s,@STRIP@,$STRIP,;t t
23229 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23230 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23232 s,@SET_MAKE@,$SET_MAKE,;t t
23233 s,@am__leading_dot@,$am__leading_dot,;t t
23234 s,@build@,$build,;t t
23235 s,@build_cpu@,$build_cpu,;t t
23236 s,@build_vendor@,$build_vendor,;t t
23237 s,@build_os@,$build_os,;t t
23238 s,@host@,$host,;t t
23239 s,@host_cpu@,$host_cpu,;t t
23240 s,@host_vendor@,$host_vendor,;t t
23241 s,@host_os@,$host_os,;t t
23243 s,@CFLAGS@,$CFLAGS,;t t
23244 s,@LDFLAGS@,$LDFLAGS,;t t
23245 s,@CPPFLAGS@,$CPPFLAGS,;t t
23246 s,@ac_ct_CC@,$ac_ct_CC,;t t
23247 s,@EXEEXT@,$EXEEXT,;t t
23248 s,@OBJEXT@,$OBJEXT,;t t
23249 s,@DEPDIR@,$DEPDIR,;t t
23250 s,@am__include@,$am__include,;t t
23251 s,@am__quote@,$am__quote,;t t
23252 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23253 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23254 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23255 s,@CCDEPMODE@,$CCDEPMODE,;t t
23256 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23257 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23259 s,@RANLIB@,$RANLIB,;t t
23260 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23261 s,@EGREP@,$EGREP,;t t
23262 s,@LN_S@,$LN_S,;t t
23263 s,@ECHO@,$ECHO,;t t
23265 s,@ac_ct_AR@,$ac_ct_AR,;t t
23267 s,@CXXFLAGS@,$CXXFLAGS,;t t
23268 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23269 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23270 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23271 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23272 s,@CXXCPP@,$CXXCPP,;t t
23274 s,@FFLAGS@,$FFLAGS,;t t
23275 s,@ac_ct_F77@,$ac_ct_F77,;t t
23276 s,@LIBTOOL@,$LIBTOOL,;t t
23277 s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
23278 s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
23279 s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
23280 s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
23281 s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
23282 s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
23283 s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
23284 s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
23285 s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
23286 s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
23287 s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
23288 s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
23289 s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
23290 s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
23291 s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
23292 s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
23293 s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
23294 s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
23295 s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
23296 s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
23297 s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
23298 s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
23299 s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
23300 s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
23301 s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
23302 s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
23303 s,@ALL_LINGUAS@,$ALL_LINGUAS,;t t
23304 s,@DATADIRNAME@,$DATADIRNAME,;t t
23305 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23306 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
23307 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
23308 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
23309 s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
23310 s,@DBUS_LIBS@,$DBUS_LIBS,;t t
23311 s,@OSSO_CFLAGS@,$OSSO_CFLAGS,;t t
23312 s,@OSSO_LIBS@,$OSSO_LIBS,;t t
23313 s,@SQL3_CFLAGS@,$SQL3_CFLAGS,;t t
23314 s,@SQL3_LIBS@,$SQL3_LIBS,;t t
23315 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
23316 s,@USE_NLS@,$USE_NLS,;t t
23317 s,@MSGFMT@,$MSGFMT,;t t
23318 s,@MSGFMT_OPTS@,$MSGFMT_OPTS,;t t
23319 s,@GMSGFMT@,$GMSGFMT,;t t
23320 s,@XGETTEXT@,$XGETTEXT,;t t
23321 s,@CATALOGS@,$CATALOGS,;t t
23322 s,@CATOBJEXT@,$CATOBJEXT,;t t
23323 s,@GMOFILES@,$GMOFILES,;t t
23324 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23325 s,@INTLLIBS@,$INTLLIBS,;t t
23326 s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
23327 s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
23328 s,@POFILES@,$POFILES,;t t
23329 s,@POSUB@,$POSUB,;t t
23330 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
23331 s,@desktopentrydir@,$desktopentrydir,;t t
23332 s,@serviceentrydir@,$serviceentrydir,;t t
23333 s,@localedir@,$localedir,;t t
23334 s,@pixmapdir@,$pixmapdir,;t t
23335 s,@icon_26x26dir@,$icon_26x26dir,;t t
23336 s,@icon_34x34dir@,$icon_34x34dir,;t t
23337 s,@icon_40x40dir@,$icon_40x40dir,;t t
23338 s,@icon_50x50dir@,$icon_50x50dir,;t t
23339 s,@icon_scalabledir@,$icon_scalabledir,;t t
23340 s,@pluginlibdir@,$pluginlibdir,;t t
23341 s,@plugindesktopentrydir@,$plugindesktopentrydir,;t t
23342 s,@LIBOBJS@,$LIBOBJS,;t t
23343 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23348 cat >>$CONFIG_STATUS <<\_ACEOF
23349 # Split the substitutions into bite-sized pieces for seds with
23350 # small command number limits, like on Digital OSF/1 and HP-UX.
23351 ac_max_sed_lines
=48
23352 ac_sed_frag
=1 # Number of current file.
23353 ac_beg
=1 # First line for current file.
23354 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23357 while $ac_more_lines; do
23358 if test $ac_beg -gt 1; then
23359 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23361 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23363 if test ! -s $tmp/subs.frag
; then
23364 ac_more_lines
=false
23366 # The purpose of the label and of the branching condition is to
23367 # speed up the sed processing (if there are no `@' at all, there
23368 # is no need to browse any of the substitutions).
23369 # These are the two extra sed commands mentioned above.
23371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23372 if test -z "$ac_sed_cmds"; then
23373 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23375 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23377 ac_sed_frag
=`expr $ac_sed_frag + 1`
23379 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23382 if test -z "$ac_sed_cmds"; then
23385 fi # test -n "$CONFIG_FILES"
23388 cat >>$CONFIG_STATUS <<\_ACEOF
23389 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23390 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23392 - |
*:- |
*:-:* ) # input from stdin
23394 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23395 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23396 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23397 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23398 * ) ac_file_in
=$ac_file.
in ;;
23401 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23402 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23403 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23404 X"$ac_file" : 'X\(//\)[^/]' \| \
23405 X"$ac_file" : 'X\(//\)$' \| \
23406 X"$ac_file" : 'X\(/\)' \| \
23407 . : '\(.\)' 2>/dev/null ||
23409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23410 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23411 /^X\(\/\/\)$/{ s//\1/; q; }
23412 /^X\(\/\).*/{ s//\1/; q; }
23414 { if $as_mkdir_p; then
23419 while test ! -d "$as_dir"; do
23420 as_dirs
="$as_dir $as_dirs"
23421 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23422 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23423 X"$as_dir" : 'X\(//\)[^/]' \| \
23424 X"$as_dir" : 'X\(//\)$' \| \
23425 X"$as_dir" : 'X\(/\)' \| \
23426 . : '\(.\)' 2>/dev/null ||
23428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23429 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23430 /^X\(\/\/\)$/{ s//\1/; q; }
23431 /^X\(\/\).*/{ s//\1/; q; }
23434 test ! -n "$as_dirs" || mkdir
$as_dirs
23435 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23436 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23437 { (exit 1); exit 1; }; }; }
23441 if test "$ac_dir" != .
; then
23442 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23443 # A "../" for each directory in $ac_dir_suffix.
23444 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23446 ac_dir_suffix
= ac_top_builddir
=
23450 .
) # No --srcdir option. We are building in place.
23452 if test -z "$ac_top_builddir"; then
23455 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23457 [\\/]* | ?
:[\\/]* ) # Absolute path.
23458 ac_srcdir
=$srcdir$ac_dir_suffix;
23459 ac_top_srcdir
=$srcdir ;;
23460 *) # Relative path.
23461 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23462 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23465 # Do not use `cd foo && pwd` to compute absolute paths, because
23466 # the directories may not exist.
23468 .
) ac_abs_builddir
="$ac_dir";;
23471 .
) ac_abs_builddir
=`pwd`;;
23472 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23473 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23476 case $ac_abs_builddir in
23477 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23479 case ${ac_top_builddir}.
in
23480 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23481 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23482 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23485 case $ac_abs_builddir in
23486 .
) ac_abs_srcdir
=$ac_srcdir;;
23489 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23490 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23491 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23494 case $ac_abs_builddir in
23495 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23497 case $ac_top_srcdir in
23498 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23499 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23500 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23506 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23507 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23510 # Let's still pretend it is `configure' which instantiates (i.e., don't
23511 # use $as_me), people would be surprised to read:
23512 # /* config.h. Generated by config.status. */
23513 if test x
"$ac_file" = x-
; then
23516 configure_input
="$ac_file. "
23518 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23519 sed 's,.*/,,'` by configure."
23521 # First look for the input files in the build tree, otherwise in the
23523 ac_file_inputs
=`IFS=:
23524 for f in $ac_file_in; do
23526 -) echo $tmp/stdin ;;
23528 # Absolute (can't be DOS-style, as IFS=:)
23529 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23530 echo "$as_me: error: cannot find input file: $f" >&2;}
23531 { (exit 1); exit 1; }; }
23534 if test -f "$f"; then
23537 elif test -f "$srcdir/$f"; then
23542 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23543 echo "$as_me: error: cannot find input file: $f" >&2;}
23544 { (exit 1); exit 1; }; }
23547 done` ||
{ (exit 1); exit 1; }
23549 if test x
"$ac_file" != x-
; then
23550 { echo "$as_me:$LINENO: creating $ac_file" >&5
23551 echo "$as_me: creating $ac_file" >&6;}
23555 cat >>$CONFIG_STATUS <<_ACEOF
23559 cat >>$CONFIG_STATUS <<\_ACEOF
23561 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23562 s
,@configure_input@
,$configure_input,;t t
23563 s
,@srcdir@
,$ac_srcdir,;t t
23564 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23565 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23566 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23567 s
,@builddir@
,$ac_builddir,;t t
23568 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23569 s
,@top_builddir@
,$ac_top_builddir,;t t
23570 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23571 s
,@INSTALL@
,$ac_INSTALL,;t t
23572 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23574 if test x"$ac_file" != x-; then
23575 mv $tmp/out $ac_file
23583 cat >>$CONFIG_STATUS <<\_ACEOF
23586 # CONFIG_HEADER section.
23589 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23590 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23592 # ac_d sets the value in "#define NAME VALUE" lines.
23593 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23594 ac_dB
='[ ].*$,\1#\2'
23597 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23598 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23599 ac_uB
='$,\1#\2define\3'
23603 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23606 - |
*:- |
*:-:* ) # input from stdin
23608 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23609 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23610 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23611 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23612 * ) ac_file_in
=$ac_file.
in ;;
23615 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23616 echo "$as_me: creating $ac_file" >&6;}
23618 # First look for the input files in the build tree, otherwise in the
23620 ac_file_inputs
=`IFS=:
23621 for f in $ac_file_in; do
23623 -) echo $tmp/stdin ;;
23625 # Absolute (can't be DOS-style, as IFS=:)
23626 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23627 echo "$as_me: error: cannot find input file: $f" >&2;}
23628 { (exit 1); exit 1; }; }
23629 # Do quote $f, to prevent DOS paths from being IFS'd.
23632 if test -f "$f"; then
23635 elif test -f "$srcdir/$f"; then
23640 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23641 echo "$as_me: error: cannot find input file: $f" >&2;}
23642 { (exit 1); exit 1; }; }
23645 done` ||
{ (exit 1); exit 1; }
23646 # Remove the trailing spaces.
23647 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23651 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23652 # `conftest.undefs', that substitutes the proper values into
23653 # config.h.in to produce config.h. The first handles `#define'
23654 # templates, and the second `#undef' templates.
23655 # And first: Protect against being on the right side of a sed subst in
23656 # config.status. Protect against being in an unquoted here document
23657 # in config.status.
23658 rm -f conftest.defines conftest.undefs
23659 # Using a here document instead of a string reduces the quoting nightmare.
23660 # Putting comments in sed scripts is not portable.
23662 # `end' is used to avoid that the second main sed command (meant for
23663 # 0-ary CPP macros) applies to n-ary macro definitions.
23664 # See the Autoconf documentation for `clear'.
23665 cat >confdef2sed.
sed <<\_ACEOF
23670 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23672 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23675 # If some macros were called several times there might be several times
23676 # the same #defines, which is useless. Nevertheless, we may not want to
23677 # sort them, since we want the *last* AC-DEFINE to be honored.
23678 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23679 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23680 rm -f confdef2sed.sed
23682 # This sed command replaces #undef with comments. This is necessary, for
23683 # example, in the case of _POSIX_SOURCE, which is predefined and required
23684 # on some systems where configure will not decide to define it.
23685 cat >>conftest.undefs <<\_ACEOF
23686 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23689 # Break up conftest.defines because some shells have a limit on the size
23690 # of here documents, and old seds have small limits too (100 cmds).
23691 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23692 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23693 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23694 echo ' :' >>$CONFIG_STATUS
23695 rm -f conftest.tail
23696 while grep . conftest.defines >/dev/null
23698 # Write a limited-size here document to $tmp/defines.sed.
23699 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23700 # Speed up: don't consider the non `#define' lines.
23701 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23702 # Work around the forget-to-reset-the-flag bug.
23703 echo 't clr' >>$CONFIG_STATUS
23704 echo ': clr' >>$CONFIG_STATUS
23705 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23707 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23709 mv $tmp/out $tmp/in
23711 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23712 rm -f conftest.defines
23713 mv conftest.
tail conftest.defines
23715 rm -f conftest.defines
23716 echo ' fi # grep' >>$CONFIG_STATUS
23717 echo >>$CONFIG_STATUS
23719 # Break up conftest.undefs because some shells have a limit on the size
23720 # of here documents, and old seds have small limits too (100 cmds).
23721 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23722 rm -f conftest.
tail
23723 while grep . conftest.undefs
>/dev
/null
23725 # Write a limited-size here document to $tmp/undefs.sed.
23726 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23727 # Speed up: don't consider the non
`#undef'
23728 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23729 # Work around the forget-to-reset-the-flag bug.
23730 echo 't clr' >>$CONFIG_STATUS
23731 echo ': clr' >>$CONFIG_STATUS
23732 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23734 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23736 mv $tmp/out $tmp/in
23738 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23739 rm -f conftest.undefs
23740 mv conftest.tail conftest.undefs
23742 rm -f conftest.undefs
23744 cat >>$CONFIG_STATUS <<\_ACEOF
23745 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23746 # use $as_me), people would be surprised to read:
23747 # /* config.h. Generated by config.status. */
23748 if test x
"$ac_file" = x-
; then
23749 echo "/* Generated by configure. */" >$tmp/config.h
23751 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23753 cat $tmp/in >>$tmp/config.h
23755 if test x
"$ac_file" != x-
; then
23756 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23757 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23758 echo "$as_me: $ac_file is unchanged" >&6;}
23760 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23762 X"$ac_file" : 'X\(//\)[^/]' \| \
23763 X"$ac_file" : 'X\(//\)$' \| \
23764 X"$ac_file" : 'X\(/\)' \| \
23765 . : '\(.\)' 2>/dev/null ||
23767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23769 /^X\(\/\/\)$/{ s//\1/; q; }
23770 /^X\(\/\).*/{ s//\1/; q; }
23772 { if $as_mkdir_p; then
23777 while test ! -d "$as_dir"; do
23778 as_dirs
="$as_dir $as_dirs"
23779 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23781 X"$as_dir" : 'X\(//\)[^/]' \| \
23782 X"$as_dir" : 'X\(//\)$' \| \
23783 X"$as_dir" : 'X\(/\)' \| \
23784 . : '\(.\)' 2>/dev/null ||
23786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23787 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23788 /^X\(\/\/\)$/{ s//\1/; q; }
23789 /^X\(\/\).*/{ s//\1/; q; }
23792 test ! -n "$as_dirs" || mkdir
$as_dirs
23793 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23794 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23795 { (exit 1); exit 1; }; }; }
23798 mv $tmp/config.h
$ac_file
23802 rm -f $tmp/config.h
23804 # Compute $ac_file's index in $config_headers.
23806 for _am_header
in $config_headers :; do
23807 case $_am_header in
23808 $ac_file |
$ac_file:* )
23811 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23814 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23815 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23816 X$ac_file : 'X\(//\)[^/]' \| \
23817 X$ac_file : 'X\(//\)$' \| \
23818 X$ac_file : 'X\(/\)' \| \
23819 . : '\(.\)' 2>/dev/null ||
23821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23823 /^X\(\/\/\)$/{ s//\1/; q; }
23824 /^X\(\/\).*/{ s//\1/; q; }
23825 s/.*/./; q'`/stamp-h
$_am_stamp_count
23828 cat >>$CONFIG_STATUS <<\_ACEOF
23831 # CONFIG_COMMANDS section.
23833 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23834 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23835 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23836 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23837 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23838 X"$ac_dest" : 'X\(//\)[^/]' \| \
23839 X"$ac_dest" : 'X\(//\)$' \| \
23840 X"$ac_dest" : 'X\(/\)' \| \
23841 . : '\(.\)' 2>/dev/null ||
23843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23845 /^X\(\/\/\)$/{ s//\1/; q; }
23846 /^X\(\/\).*/{ s//\1/; q; }
23848 { if $as_mkdir_p; then
23853 while test ! -d "$as_dir"; do
23854 as_dirs
="$as_dir $as_dirs"
23855 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23857 X"$as_dir" : 'X\(//\)[^/]' \| \
23858 X"$as_dir" : 'X\(//\)$' \| \
23859 X"$as_dir" : 'X\(/\)' \| \
23860 . : '\(.\)' 2>/dev/null ||
23862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23864 /^X\(\/\/\)$/{ s//\1/; q; }
23865 /^X\(\/\).*/{ s//\1/; q; }
23868 test ! -n "$as_dirs" || mkdir
$as_dirs
23869 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23871 { (exit 1); exit 1; }; }; }
23875 if test "$ac_dir" != .
; then
23876 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23877 # A "../" for each directory in $ac_dir_suffix.
23878 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23880 ac_dir_suffix
= ac_top_builddir
=
23884 .
) # No --srcdir option. We are building in place.
23886 if test -z "$ac_top_builddir"; then
23889 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23891 [\\/]* | ?
:[\\/]* ) # Absolute path.
23892 ac_srcdir
=$srcdir$ac_dir_suffix;
23893 ac_top_srcdir
=$srcdir ;;
23894 *) # Relative path.
23895 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23896 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23899 # Do not use `cd foo && pwd` to compute absolute paths, because
23900 # the directories may not exist.
23902 .
) ac_abs_builddir
="$ac_dir";;
23905 .
) ac_abs_builddir
=`pwd`;;
23906 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23907 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23910 case $ac_abs_builddir in
23911 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23913 case ${ac_top_builddir}.
in
23914 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23915 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23916 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23919 case $ac_abs_builddir in
23920 .
) ac_abs_srcdir
=$ac_srcdir;;
23923 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23924 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23925 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23928 case $ac_abs_builddir in
23929 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23931 case $ac_top_srcdir in
23932 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23933 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23934 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23939 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23940 echo "$as_me: executing $ac_dest commands" >&6;}
23942 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23943 # Strip MF so we end up with the name of the file.
23944 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23945 # Check whether this is an Automake generated Makefile or not.
23946 # We used to match only the files named `Makefile.in', but
23947 # some people rename them; so instead we look at the file content.
23948 # Grep'ing the first line is not enough: some people post-process
23949 # each Makefile.in and add a new line on top of each file to say so.
23950 # So let's grep whole file.
23951 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23952 dirpart
=`(dirname "$mf") 2>/dev/null ||
23953 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23954 X"$mf" : 'X\(//\)[^/]' \| \
23955 X"$mf" : 'X\(//\)$' \| \
23956 X"$mf" : 'X\(/\)' \| \
23957 . : '\(.\)' 2>/dev/null ||
23959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23960 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23961 /^X\(\/\/\)$/{ s//\1/; q; }
23962 /^X\(\/\).*/{ s//\1/; q; }
23967 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
23968 # Extract the definition of DEP_FILES from the Makefile without
23970 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
23971 test -z "$DEPDIR" && continue
23972 # When using ansi2knr, U may be empty or an underscore; expand it
23973 U
=`sed -n -e '/^U = / s///p' < "$mf"`
23974 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
23975 # We invoke sed twice because it is the simplest approach to
23976 # changing $(DEPDIR) to its actual value in the expansion.
23977 for file in `sed -n -e '
23978 /^DEP_FILES = .*\\\\$/ {
23987 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
23988 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23989 # Make sure the directory exists.
23990 test -f "$dirpart/$file" && continue
23991 fdir
=`(dirname "$file") 2>/dev/null ||
23992 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23993 X"$file" : 'X\(//\)[^/]' \| \
23994 X"$file" : 'X\(//\)$' \| \
23995 X"$file" : 'X\(/\)' \| \
23996 . : '\(.\)' 2>/dev/null ||
23998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24000 /^X\(\/\/\)$/{ s//\1/; q; }
24001 /^X\(\/\).*/{ s//\1/; q; }
24003 { if $as_mkdir_p; then
24004 mkdir
-p $dirpart/$fdir
24006 as_dir
=$dirpart/$fdir
24008 while test ! -d "$as_dir"; do
24009 as_dirs
="$as_dir $as_dirs"
24010 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24012 X"$as_dir" : 'X\(//\)[^/]' \| \
24013 X"$as_dir" : 'X\(//\)$' \| \
24014 X"$as_dir" : 'X\(/\)' \| \
24015 . : '\(.\)' 2>/dev/null ||
24017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24019 /^X\(\/\/\)$/{ s//\1/; q; }
24020 /^X\(\/\).*/{ s//\1/; q; }
24023 test ! -n "$as_dirs" || mkdir
$as_dirs
24024 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24025 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24026 { (exit 1); exit 1; }; }; }
24028 # echo "creating $dirpart/$file"
24029 echo '# dummy' > "$dirpart/$file"
24035 for file in intltool-extract intltool-merge intltool-update
; do
24036 sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24037 -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24038 -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
24039 -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
24040 -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
24041 -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
24042 -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
24043 < ${ac_aux_dir}/${file}.in > ${file}.out
24044 if cmp -s ${file} ${file}.out
2>/dev
/null
; then
24047 mv -f ${file}.out
${file}
24049 chmod ugo
+x
${file}
24054 default-1
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
24055 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
24058 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24063 '"s|^| $ac_top_srcdir/|" \
24064 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
24066 if test ! -f "po/Makefile"; then
24067 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
24068 echo "$as_me: error: po/Makefile is not ready." >&2;}
24069 { (exit 1); exit 1; }; }
24071 mv "po/Makefile" "po/Makefile.tmp"
24072 sed '/^POTFILES =/,/[^\\]$/ {
24076 ' "po/Makefile.tmp" >"po/Makefile"
24077 rm -f "po/Makefile.tmp"
24078 mv "po/stamp-it.tmp" "po/stamp-it"
24084 cat >>$CONFIG_STATUS <<\_ACEOF
24086 { (exit 0); exit 0; }
24088 chmod +x
$CONFIG_STATUS
24089 ac_clean_files
=$ac_clean_files_save
24092 # configure is writing to config.log, and then calls config.status.
24093 # config.status does its own redirection, appending to config.log.
24094 # Unfortunately, on DOS this fails, as config.log is still kept open
24095 # by configure, so config.status won't be able to write to it; its
24096 # output is simply discarded. So we exec the FD to /dev/null,
24097 # effectively closing config.log, so it can be properly (re)opened and
24098 # appended to by config.status. When coming back to configure, we
24099 # need to make the FD available again.
24100 if test "$no_create" != yes; then
24102 ac_config_status_args
=
24103 test "$silent" = yes &&
24104 ac_config_status_args
="$ac_config_status_args --quiet"
24106 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24108 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24109 # would make configure fail if this is the last instruction.
24110 $ac_cs_success ||
{ (exit 1); exit 1; }