2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for xmltooling 1.3.3.
5 # Report bugs to <mace-opensaml-users@internet2.edu>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
291 echo_test_string="`eval $cmd`" &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
311 for dir in $PATH /usr/ucb; do
313 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X/bin/ksh; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL=/bin/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
352 SHELL="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames=${tagnames+${tagnames},}CXX
398 tagnames=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix=/usr/local
411 ac_config_libobj_dir=.
416 SHELL=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME='xmltooling'
425 PACKAGE_TARNAME='xmltooling'
426 PACKAGE_VERSION='1.3.3'
427 PACKAGE_STRING='xmltooling 1.3.3'
428 PACKAGE_BUGREPORT='mace-opensaml-users@internet2.edu'
430 # Factoring default headers for most tests.
431 ac_includes_default="\
434 # include <sys/types.h>
437 # include <sys/stat.h>
448 # if !STDC_HEADERS && HAVE_MEMORY_H
454 # include <strings.h>
457 # include <inttypes.h>
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DX_PROJECT DX_CONFIG DX_DOCDIR DX_ENV DX_FLAG_doc DX_DOXYGEN ac_pt_DX_DOXYGEN DX_PERL ac_pt_DX_PERL DX_COND_doc_TRUE DX_COND_doc_FALSE DX_FLAG_dot DX_DOT ac_pt_DX_DOT DX_COND_dot_TRUE DX_COND_dot_FALSE DX_FLAG_man DX_COND_man_TRUE DX_COND_man_FALSE DX_FLAG_rtf DX_COND_rtf_TRUE DX_COND_rtf_FALSE DX_FLAG_xml DX_COND_xml_TRUE DX_COND_xml_FALSE DX_FLAG_chm DX_HHC ac_pt_DX_HHC DX_COND_chm_TRUE DX_COND_chm_FALSE DX_FLAG_chi DX_COND_chi_TRUE DX_COND_chi_FALSE DX_FLAG_html DX_COND_html_TRUE DX_COND_html_FALSE DX_FLAG_ps DX_LATEX ac_pt_DX_LATEX DX_MAKEINDEX ac_pt_DX_MAKEINDEX DX_DVIPS ac_pt_DX_DVIPS DX_EGREP ac_pt_DX_EGREP DX_COND_ps_TRUE DX_COND_ps_FALSE DX_FLAG_pdf DX_PDFLATEX ac_pt_DX_PDFLATEX DX_COND_pdf_TRUE DX_COND_pdf_FALSE DX_COND_latex_TRUE DX_COND_latex_FALSE DOXYGEN_PAPER_SIZE 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS BUILD_PTHREAD_TRUE BUILD_PTHREAD_FALSE LOG4SHIB_CONFIG LOG4CPP_CONFIG PKG_CONFIG CURL_CONFIG XMLSEC_LIBS BUILD_XMLSEC_TRUE BUILD_XMLSEC_FALSE CXXTEST CXXTESTFLAGS BUILD_UNITTEST_TRUE BUILD_UNITTEST_FALSE LIBOBJS LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_DOXYGEN_PAPER_SIZE_set=${DOXYGEN_PAPER_SIZE+set}
909 ac_env_DOXYGEN_PAPER_SIZE_value=$DOXYGEN_PAPER_SIZE
910 ac_cv_env_DOXYGEN_PAPER_SIZE_set=${DOXYGEN_PAPER_SIZE+set}
911 ac_cv_env_DOXYGEN_PAPER_SIZE_value=$DOXYGEN_PAPER_SIZE
912 ac_env_CC_set=${CC+set}
914 ac_cv_env_CC_set=${CC+set}
915 ac_cv_env_CC_value=$CC
916 ac_env_CFLAGS_set=${CFLAGS+set}
917 ac_env_CFLAGS_value=$CFLAGS
918 ac_cv_env_CFLAGS_set=${CFLAGS+set}
919 ac_cv_env_CFLAGS_value=$CFLAGS
920 ac_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_env_LDFLAGS_value=$LDFLAGS
922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
923 ac_cv_env_LDFLAGS_value=$LDFLAGS
924 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_env_CPPFLAGS_value=$CPPFLAGS
926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
928 ac_env_CXX_set=${CXX+set}
929 ac_env_CXX_value=$CXX
930 ac_cv_env_CXX_set=${CXX+set}
931 ac_cv_env_CXX_value=$CXX
932 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_env_CXXFLAGS_value=$CXXFLAGS
934 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936 ac_env_CPP_set=${CPP+set}
937 ac_env_CPP_value=$CPP
938 ac_cv_env_CPP_set=${CPP+set}
939 ac_cv_env_CPP_value=$CPP
940 ac_env_CXXCPP_set=${CXXCPP+set}
941 ac_env_CXXCPP_value=$CXXCPP
942 ac_cv_env_CXXCPP_set=${CXXCPP+set}
943 ac_cv_env_CXXCPP_value=$CXXCPP
944 ac_env_F77_set=${F77+set}
945 ac_env_F77_value=$F77
946 ac_cv_env_F77_set=${F77+set}
947 ac_cv_env_F77_value=$F77
948 ac_env_FFLAGS_set=${FFLAGS+set}
949 ac_env_FFLAGS_value=$FFLAGS
950 ac_cv_env_FFLAGS_set=${FFLAGS+set}
951 ac_cv_env_FFLAGS_value=$FFLAGS
954 # Report the --help message.
956 if test "$ac_init_help" = "long"; then
957 # Omit some internal or obsolete options to make the list less imposing.
958 # This message is too long to be a string in the A/UX 3.1 sh.
960 \`configure' configures xmltooling 1.3.3 to adapt to many kinds of systems.
962 Usage: $0 [OPTION]... [VAR=VALUE]...
964 To assign environment variables (e.g., CC, CFLAGS...), specify them as
965 VAR=VALUE. See below for descriptions of some of the useful variables.
967 Defaults for the options are specified in brackets.
970 -h, --help display this help and exit
971 --help=short display options specific to this package
972 --help=recursive display the short help of all the included packages
973 -V, --version display version information and exit
974 -q, --quiet, --silent do not print \`checking...' messages
975 --cache-file=FILE cache test results in FILE [disabled]
976 -C, --config-cache alias for \`--cache-file=config.cache'
977 -n, --no-create do not create output files
978 --srcdir=DIR find the sources in DIR [configure dir or \`..']
983 Installation directories:
984 --prefix=PREFIX install architecture-independent files in PREFIX
986 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
989 By default, \`make install' will install all the files in
990 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
991 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
992 for instance \`--prefix=\$HOME'.
994 For better control, use the options below.
996 Fine tuning of the installation directories:
997 --bindir=DIR user executables [EPREFIX/bin]
998 --sbindir=DIR system admin executables [EPREFIX/sbin]
999 --libexecdir=DIR program executables [EPREFIX/libexec]
1000 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1001 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1002 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1003 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1004 --libdir=DIR object code libraries [EPREFIX/lib]
1005 --includedir=DIR C header files [PREFIX/include]
1006 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1007 --infodir=DIR info documentation [PREFIX/info]
1008 --mandir=DIR man documentation [PREFIX/man]
1014 --program-prefix=PREFIX prepend PREFIX to installed program names
1015 --program-suffix=SUFFIX append SUFFIX to installed program names
1016 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1019 --build=BUILD configure for building on BUILD [guessed]
1020 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1024 if test -n "$ac_init_help"; then
1025 case $ac_init_help in
1026 short | recursive ) echo "Configuration of xmltooling 1.3.3:";;
1031 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1032 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1033 --disable-doxygen-doc don't generate any doxygen documentation
1034 --disable-doxygen-dot don't generate graphics for doxygen documentation
1035 --enable-doxygen-man generate doxygen manual pages
1036 --enable-doxygen-rtf generate doxygen RTF documentation
1037 --enable-doxygen-xml generate doxygen XML documentation
1038 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1039 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1041 --disable-doxygen-html don't generate doxygen plain HTML documentation
1042 --enable-doxygen-ps generate doxygen PostScript documentation
1043 --enable-doxygen-pdf generate doxygen PDF documentation
1044 --enable-debug Have GCC compile with symbols (Default = no)
1045 --disable-dependency-tracking speeds up one-time build
1046 --enable-dependency-tracking do not reject slow dependency extractors
1047 --enable-static[=PKGS]
1048 build static libraries [default=no]
1049 --enable-shared[=PKGS]
1050 build shared libraries [default=yes]
1051 --enable-fast-install[=PKGS]
1052 optimize for fast installation [default=yes]
1053 --disable-libtool-lock avoid locking (might break parallel builds)
1056 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1057 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1058 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1059 --with-pic try to use only PIC/non-PIC objects [default=use
1062 include additional configurations [automatic]
1063 --with-log4shib=PATH where log4shib-config is installed
1064 --with-log4cpp=PATH where log4cpp-config is installed
1065 --with-xerces=PATH where xerces-c is installed
1066 --with-xmlsec=PATH where xmlsec is installed
1067 --with-openssl=PATH where openssl is installed
1068 --with-curl=PATH where curl-config is installed
1069 --with-cxxtest=PATH where cxxtest is installed
1071 Some influential environment variables:
1073 a4wide (default), a4, letter, legal or executive
1074 CC C compiler command
1075 CFLAGS C compiler flags
1076 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1077 nonstandard directory <lib dir>
1078 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1079 headers in a nonstandard directory <include dir>
1080 CXX C++ compiler command
1081 CXXFLAGS C++ compiler flags
1083 CXXCPP C++ preprocessor
1084 F77 Fortran 77 compiler command
1085 FFLAGS Fortran 77 compiler flags
1087 Use these variables to override the choices made by `configure' or to help
1088 it to find libraries and programs with nonstandard names/locations.
1090 Report bugs to <mace-opensaml-users@internet2.edu>.
1094 if test "$ac_init_help" = "recursive"; then
1095 # If there are subdirs, report their specific --help.
1097 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1098 test -d $ac_dir || continue
1101 if test "$ac_dir" != .; then
1102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1103 # A "../" for each directory in $ac_dir_suffix.
1104 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 ac_dir_suffix= ac_top_builddir=
1110 .) # No --srcdir option. We are building in place.
1112 if test -z "$ac_top_builddir"; then
1115 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1117 [\\/]* | ?:[\\/]* ) # Absolute path.
1118 ac_srcdir=$srcdir$ac_dir_suffix;
1119 ac_top_srcdir=$srcdir ;;
1121 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1122 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1125 # Do not use `cd foo && pwd` to compute absolute paths, because
1126 # the directories may not exist.
1128 .) ac_abs_builddir="$ac_dir";;
1131 .) ac_abs_builddir=`pwd`;;
1132 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1133 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1136 case $ac_abs_builddir in
1137 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1139 case ${ac_top_builddir}. in
1140 .) ac_abs_top_builddir=$ac_abs_builddir;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1142 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1145 case $ac_abs_builddir in
1146 .) ac_abs_srcdir=$ac_srcdir;;
1149 .) ac_abs_srcdir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1151 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1154 case $ac_abs_builddir in
1155 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1157 case $ac_top_srcdir in
1158 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1160 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1165 # Check for guested configure; otherwise get Cygnus style configure.
1166 if test -f $ac_srcdir/configure.gnu; then
1168 $SHELL $ac_srcdir/configure.gnu --help=recursive
1169 elif test -f $ac_srcdir/configure; then
1171 $SHELL $ac_srcdir/configure --help=recursive
1172 elif test -f $ac_srcdir/configure.ac ||
1173 test -f $ac_srcdir/configure.in; then
1175 $ac_configure --help
1177 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 test -n "$ac_init_help" && exit 0
1184 if $ac_init_version; then
1186 xmltooling configure 1.3.3
1187 generated by GNU Autoconf 2.59
1189 Copyright (C) 2003 Free Software Foundation, Inc.
1190 This configure script is free software; the Free Software Foundation
1191 gives unlimited permission to copy, distribute and modify it.
1197 This file contains any messages produced by compilers while
1198 running configure, to aid debugging if configure makes a mistake.
1200 It was created by xmltooling $as_me 1.3.3, which was
1201 generated by GNU Autoconf 2.59. Invocation command line was
1212 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235 test -z "$as_dir" && as_dir=.
1236 echo "PATH: $as_dir"
1251 # Keep a trace of the command line.
1252 # Strip out --no-create and --no-recursion so they do not pile up.
1253 # Strip out --silent because we don't want to record it for future runs.
1254 # Also quote any args containing shell meta-characters.
1255 # Make two passes to allow for proper duplicate-argument suppression.
1260 ac_must_keep_next=false
1266 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1276 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true; then
1278 ac_must_keep_next=false # Got value, back to normal.
1281 *=* | --config-cache | -C | -disable-* | --disable-* \
1282 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284 | -with-* | --with-* | -without-* | --without-* | --x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1289 -* ) ac_must_keep_next=true ;;
1292 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1299 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1300 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1302 # When interrupted or exit'd, cleanup temporary files, and complete
1303 # config.log. We remove comments because anyway the quotes in there
1304 # would cause problems or look ugly.
1305 # WARNING: Be sure not to use single quotes in there, as some shells,
1306 # such as our DU 5.0 friend, will then `close' the trap.
1307 trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1313 ## ---------------- ##
1314 ## Cache variables. ##
1315 ## ---------------- ##
1318 # The following way of writing the cache mishandles newlines in values,
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 ## ----------------- ##
1337 ## Output variables. ##
1338 ## ----------------- ##
1341 for ac_var in $ac_subst_vars
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1348 if test -n "$ac_subst_files"; then
1355 for ac_var in $ac_subst_files
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -s confdefs.h; then
1370 sed "/^$/d" confdefs.h | sort
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1377 rm -f core *.core &&
1378 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1381 for ac_signal in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1387 rm -rf conftest* confdefs.h
1388 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1391 # Predefined preprocessor variables.
1393 cat >>confdefs.h <<_ACEOF
1394 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 # Let the site file select an alternate cache file if it wants to.
1419 # Prefer explicitly selected file to automatically selected ones.
1420 if test -z "$CONFIG_SITE"; then
1421 if test "x$prefix" != xNONE; then
1422 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1424 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1427 for ac_site_file in $CONFIG_SITE; do
1428 if test -r "$ac_site_file"; then
1429 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430 echo "$as_me: loading site script $ac_site_file" >&6;}
1431 sed 's/^/| /' "$ac_site_file" >&5
1436 if test -r "$cache_file"; then
1437 # Some versions of bash will fail to source /dev/null (special
1438 # files actually), so we avoid doing that.
1439 if test -f "$cache_file"; then
1440 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441 echo "$as_me: loading cache $cache_file" >&6;}
1443 [\\/]* | ?:[\\/]* ) . $cache_file;;
1444 *) . ./$cache_file;;
1448 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449 echo "$as_me: creating cache $cache_file" >&6;}
1453 # Check that the precious variables saved in the cache have kept the same
1455 ac_cache_corrupted=false
1456 for ac_var in `(set) 2>&1 |
1457 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1459 eval ac_new_set=\$ac_env_${ac_var}_set
1460 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1461 eval ac_new_val="\$ac_env_${ac_var}_value"
1462 case $ac_old_set,$ac_new_set in
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466 ac_cache_corrupted=: ;;
1468 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470 ac_cache_corrupted=: ;;
1473 if test "x$ac_old_val" != "x$ac_new_val"; then
1474 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1475 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1476 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1477 echo "$as_me: former value: $ac_old_val" >&2;}
1478 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1479 echo "$as_me: current value: $ac_new_val" >&2;}
1480 ac_cache_corrupted=:
1483 # Pass precious variables to config.status.
1484 if test "$ac_new_set" = set; then
1486 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 *) ac_arg=$ac_var=$ac_new_val ;;
1490 case " $ac_configure_args " in
1491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1492 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496 if $ac_cache_corrupted; then
1497 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1498 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1499 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1500 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1501 { (exit 1); exit 1; }; }
1505 ac_cpp='$CPP $CPPFLAGS'
1506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1536 ac_config_headers="$ac_config_headers config.h"
1538 ac_config_headers="$ac_config_headers xmltooling/config_pub.h"
1540 am__api_version="1.9"
1542 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1543 if test -f $ac_dir/install-sh; then
1545 ac_install_sh="$ac_aux_dir/install-sh -c"
1547 elif test -f $ac_dir/install.sh; then
1549 ac_install_sh="$ac_aux_dir/install.sh -c"
1551 elif test -f $ac_dir/shtool; then
1553 ac_install_sh="$ac_aux_dir/shtool install -c"
1557 if test -z "$ac_aux_dir"; then
1558 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1559 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1560 { (exit 1); exit 1; }; }
1562 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1563 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1564 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1566 # Find a good install program. We prefer a C program (faster),
1567 # so one script is as good as another. But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # OS/2's system install, which has a completely different semantic
1578 # ./install, which can be erroneously created by make from ./install.sh.
1579 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1580 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1581 if test -z "$INSTALL"; then
1582 if test "${ac_cv_path_install+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1589 test -z "$as_dir" && as_dir=.
1590 # Account for people who put trailing slashes in PATH elements.
1592 ./ | .// | /cC/* | \
1593 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1594 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1600 for ac_prog in ginstall scoinst install; do
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1607 elif test $ac_prog = install &&
1608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL=$ac_cv_path_install
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL=$ac_install_sh
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1656 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1659 set X `ls -t $srcdir/configure conftest.file`
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1676 test "$2" = conftest.file
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1703 # expand $ac_aux_dir to an absolute path
1704 am_aux_dir=`cd $ac_aux_dir && pwd`
1706 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1707 # Use eval to expand $SHELL
1708 if eval "$MISSING --run true"; then
1709 am_missing_run="$MISSING --run "
1712 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1713 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1716 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1717 # We used to keeping the `.' as first argument, in order to
1718 # allow $(mkdir_p) to be used without argument. As in
1719 # $(mkdir_p) $(somedir)
1720 # where $(somedir) is conditionally defined. However this is wrong
1722 # 1. if the package is installed by a user who cannot write `.'
1723 # make install will fail,
1724 # 2. the above comment should most certainly read
1725 # $(mkdir_p) $(DESTDIR)$(somedir)
1726 # so it does not work when $(somedir) is undefined and
1727 # $(DESTDIR) is not.
1728 # To support the latter case, we have to write
1729 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1730 # so the `.' trick is pointless.
1731 mkdir_p='mkdir -p --'
1733 # On NextStep and OpenStep, the `mkdir' command does not
1734 # recognize any option. It will interpret all options as
1735 # directories to create, and then abort because `.' already
1737 for d in ./-p ./--version;
1739 test -d $d && rmdir $d
1741 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1742 if test -f "$ac_aux_dir/mkinstalldirs"; then
1743 mkdir_p='$(mkinstalldirs)'
1745 mkdir_p='$(install_sh) -d'
1749 for ac_prog in gawk mawk nawk awk
1751 # Extract the first word of "$ac_prog", so it can be a program name with args.
1752 set dummy $ac_prog; ac_word=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_AWK+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$AWK"; then
1759 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir=.
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_AWK="$ac_prog"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test -n "$AWK"; then
1779 echo "$as_me:$LINENO: result: $AWK" >&5
1780 echo "${ECHO_T}$AWK" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1786 test -n "$AWK" && break
1789 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1791 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1792 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 cat >conftest.make <<\_ACEOF
1797 @echo 'ac_maketemp="$(MAKE)"'
1799 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1800 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1801 if test -n "$ac_maketemp"; then
1802 eval ac_cv_prog_make_${ac_make}_set=yes
1804 eval ac_cv_prog_make_${ac_make}_set=no
1808 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1809 echo "$as_me:$LINENO: result: yes" >&5
1810 echo "${ECHO_T}yes" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1815 SET_MAKE="MAKE=${MAKE-make}"
1818 rm -rf .tst 2>/dev/null
1819 mkdir .tst 2>/dev/null
1820 if test -d .tst; then
1825 rmdir .tst 2>/dev/null
1827 # test to see if srcdir already configured
1828 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1829 test -f $srcdir/config.status; then
1830 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1831 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1832 { (exit 1); exit 1; }; }
1835 # test whether we have cygpath
1836 if test -z "$CYGPATH_W"; then
1837 if (cygpath --version) >/dev/null 2>/dev/null; then
1838 CYGPATH_W='cygpath -w'
1845 # Define the identity of the package.
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE "$PACKAGE"
1855 cat >>confdefs.h <<_ACEOF
1856 #define VERSION "$VERSION"
1859 # Some tools Automake needs.
1861 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1864 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1867 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1870 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1873 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1875 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1877 # Installed binaries are usually stripped using `strip' when the user
1878 # run `make install-strip'. However `strip' might not be the right
1879 # tool to use in cross-compilation environments, therefore Automake
1880 # will honor the `STRIP' environment variable to overrule this program.
1881 if test "$cross_compiling" != no; then
1882 if test -n "$ac_tool_prefix"; then
1883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1884 set dummy ${ac_tool_prefix}strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$STRIP"; then
1891 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 STRIP=$ac_cv_prog_STRIP
1910 if test -n "$STRIP"; then
1911 echo "$as_me:$LINENO: result: $STRIP" >&5
1912 echo "${ECHO_T}$STRIP" >&6
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1919 if test -z "$ac_cv_prog_STRIP"; then
1921 # Extract the first word of "strip", so it can be a program name with args.
1922 set dummy strip; ac_word=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$ac_ct_STRIP"; then
1929 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_ac_ct_STRIP="strip"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1949 if test -n "$ac_ct_STRIP"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1951 echo "${ECHO_T}$ac_ct_STRIP" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1959 STRIP="$ac_cv_prog_STRIP"
1963 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1965 # We need awk for the "check" target. The system "awk" is bad on
1967 # Always define AMTAR for backward compatibility.
1969 AMTAR=${AMTAR-"${am_missing_run}tar"}
1971 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1978 # This file is part of Autoconf. -*- Autoconf -*-
1980 # Copyright (C) 2004 Oren Ben-Kiki
1981 # This file is distributed under the same terms as the Autoconf macro files.
1983 # Generate automatic documentation using Doxygen. Works in concert with the
1984 # aminclude.m4 file and a compatible doxygen configuration file. Defines the
1985 # following public macros:
1987 # DX_???_FEATURE(ON|OFF) - control the default setting fo a Doxygen feature.
1988 # Supported features are 'DOXYGEN' itself, 'DOT' for generating graphics,
1989 # 'HTML' for plain HTML, 'CHM' for compressed HTML help (for MS users), 'CHI'
1990 # for generating a seperate .chi file by the .chm file, and 'MAN', 'RTF',
1991 # 'XML', 'PDF' and 'PS' for the appropriate output formats. The environment
1992 # variable DOXYGEN_PAPER_SIZE may be specified to override the default 'a4wide'
1995 # By default, HTML, PDF and PS documentation is generated as this seems to be
1996 # the most popular and portable combination. MAN pages created by Doxygen are
1997 # usually problematic, though by picking an appropriate subset and doing some
1998 # massaging they might be better than nothing. CHM and RTF are specific for MS
1999 # (note that you can't generate both HTML and CHM at the same time). The XML is
2000 # rather useless unless you apply specialized post-processing to it.
2002 # The macro mainly controls the default state of the feature. The use can
2003 # override the default by specifying --enable or --disable. The macros ensure
2004 # that contradictory flags are not given (e.g., --enable-doxygen-html and
2005 # --enable-doxygen-chm, --enable-doxygen-anything with --disable-doxygen, etc.)
2006 # Finally, each feature will be automatically disabled (with a warning) if the
2007 # required programs are missing.
2009 # Once all the feature defaults have been specified, call DX_INIT_DOXYGEN with
2010 # the following parameters: a one-word name for the project for use as a
2011 # filename base etc., an optional configuration file name (the default is
2012 # 'Doxyfile', the same as Doxygen's default), and an optional output directory
2013 # name (the default is 'doxygen-doc').
2031 # Compatibility with older autoconf versions.
2034 ## --------------- ##
2035 ## Private macros. ##
2036 ## --------------- ##
2038 # DX_ENV_APPEND(VARIABLE, VALUE)
2039 # ------------------------------
2040 # Append VARIABLE="VALUE" to DX_ENV for invoking doxygen.
2045 # Expand into a shell expression prints the directory part of a path.
2048 # DX_IF_FEATURE(FEATURE, IF-ON, IF-OFF)
2049 # -------------------------------------
2050 # Expands according to the M4 (static) status of the feature.
2053 # DX_REQUIRE_PROG(VARIABLE, PROGRAM)
2054 # ----------------------------------
2055 # Require the specified program to be found for the DX_CURRENT_FEATURE to work.
2058 # DX_TEST_FEATURE(FEATURE)
2059 # ------------------------
2060 # Expand to a shell expression testing whether the feature is active.
2063 # DX_CHECK_DEPEND(REQUIRED_FEATURE, REQUIRED_STATE)
2064 # -------------------------------------------------
2065 # Verify that a required features has the right state before trying to turn on
2066 # the DX_CURRENT_FEATURE.
2069 # DX_CLEAR_DEPEND(FEATURE, REQUIRED_FEATURE, REQUIRED_STATE)
2070 # ----------------------------------------------------------
2071 # Turn off the DX_CURRENT_FEATURE if the required feature is off.
2074 # DX_FEATURE_ARG(FEATURE, DESCRIPTION,
2075 # CHECK_DEPEND, CLEAR_DEPEND,
2076 # REQUIRE, DO-IF-ON, DO-IF-OFF)
2077 # --------------------------------------------
2078 # Parse the command-line option controlling a feature. CHECK_DEPEND is called
2079 # if the user explicitly turns the feature on (and invokes DX_CHECK_DEPEND),
2080 # otherwise CLEAR_DEPEND is called to turn off the default state if a required
2081 # feature is disabled (using DX_CLEAR_DEPEND). REQUIRE performs additional
2082 # requirement tests (DX_REQUIRE_PROG). Finally, an automake flag is set and
2083 # DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.
2086 ## -------------- ##
2087 ## Public macros. ##
2088 ## -------------- ##
2090 # DX_XXX_FEATURE(DEFAULT_STATE)
2091 # -----------------------------
2103 # DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR])
2104 # ---------------------------------------------------------
2105 # PROJECT also serves as the base name for the documentation files.
2106 # The default CONFIG-FILE is "Doxyfile" and OUTPUT-DOC-DIR is "doxygen-doc".
2109 ##### http://autoconf-archive.cryp.to/acx_pthread.html
2113 # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
2117 # This macro figures out how to build C programs using POSIX threads.
2118 # It sets the PTHREAD_LIBS output variable to the threads library and
2119 # linker flags, and the PTHREAD_CFLAGS output variable to any special
2120 # C compiler flags that are needed. (The user can also force certain
2121 # compiler flags/libs to be tested by setting these environment
2124 # Also sets PTHREAD_CC to any special C compiler that is needed for
2125 # multi-threaded programs (defaults to the value of CC otherwise).
2126 # (This is necessary on AIX to use the special cc_r compiler alias.)
2128 # NOTE: You are assumed to not only compile your program with these
2129 # flags, but also link it with them as well. e.g. you should link
2130 # with $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS
2133 # If you are only building threads programs, you may wish to use
2134 # these variables in your default LIBS, CFLAGS, and CC:
2136 # LIBS="$PTHREAD_LIBS $LIBS"
2137 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2140 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
2141 # constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to
2142 # that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
2144 # ACTION-IF-FOUND is a list of shell commands to run if a threads
2145 # library is found, and ACTION-IF-NOT-FOUND is a list of commands to
2146 # run it if it is not found. If ACTION-IF-FOUND is not specified, the
2147 # default action will define HAVE_PTHREAD.
2149 # Please let the authors know if this macro fails on any platform, or
2150 # if you have any other suggestions or comments. This macro was based
2151 # on work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/)
2152 # (with help from M. Frigo), as well as ac_pthread and hb_pthread
2153 # macros posted by Alejandro Forero Cuervo to the autoconf macro
2154 # repository. We are also grateful for the helpful feedback of
2163 # Copyright (c) 2006 Steven G. Johnson <stevenj@alum.mit.edu>
2165 # This program is free software; you can redistribute it and/or
2166 # modify it under the terms of the GNU General Public License as
2167 # published by the Free Software Foundation; either version 2 of the
2168 # License, or (at your option) any later version.
2170 # This program is distributed in the hope that it will be useful, but
2171 # WITHOUT ANY WARRANTY; without even the implied warranty of
2172 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2173 # General Public License for more details.
2175 # You should have received a copy of the GNU General Public License
2176 # along with this program; if not, write to the Free Software
2177 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2180 # As a special exception, the respective Autoconf Macro's copyright
2181 # owner gives unlimited permission to copy, distribute and modify the
2182 # configure scripts that are the output of Autoconf when processing
2183 # the Macro. You need not follow the terms of the GNU General Public
2184 # License when using or distributing such scripts, even though
2185 # portions of the text of the Macro appear in them. The GNU General
2186 # Public License (GPL) does govern all other use of the material that
2187 # constitutes the Autoconf Macro.
2189 # This special exception to the GPL applies to versions of the
2190 # Autoconf Macro released by the Autoconf Macro Archive. When you
2191 # make and distribute a modified version of the Autoconf Macro, you
2192 # may extend this special exception to the GPL to apply to your
2193 # modified version as well.
2209 DX_PROJECT=xmltooling
2211 DX_CONFIG=doxygen.cfg
2216 # Environment variables used inside doxygen.cfg:
2217 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
2219 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
2221 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
2223 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
2230 # Check whether --enable-doxygen-doc or --disable-doxygen-doc was given.
2231 if test "${enable_doxygen_doc+set}" = set; then
2232 enableval="$enable_doxygen_doc"
2234 case "$enableval" in
2246 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-doc" >&5
2247 echo "$as_me: error: invalid value '$enableval' given to doxygen-doc" >&2;}
2248 { (exit 1); exit 1; }; }
2259 if test "$DX_FLAG_doc" = 1; then
2261 if test -n "$ac_tool_prefix"; then
2262 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
2263 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2281 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
2293 if test -n "$DX_DOXYGEN"; then
2294 echo "$as_me:$LINENO: result: $DX_DOXYGEN" >&5
2295 echo "${ECHO_T}$DX_DOXYGEN" >&6
2297 echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6
2302 if test -z "$ac_cv_path_DX_DOXYGEN"; then
2303 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
2304 # Extract the first word of "doxygen", so it can be a program name with args.
2305 set dummy doxygen; ac_word=$2
2306 echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 case $ac_pt_DX_DOXYGEN in
2313 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
2335 if test -n "$ac_pt_DX_DOXYGEN"; then
2336 echo "$as_me:$LINENO: result: $ac_pt_DX_DOXYGEN" >&5
2337 echo "${ECHO_T}$ac_pt_DX_DOXYGEN" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2343 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
2345 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
2348 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
2349 { echo "$as_me:$LINENO: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
2350 echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
2356 if test -n "$ac_tool_prefix"; then
2357 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
2358 set dummy ${ac_tool_prefix}perl; ac_word=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_path_DX_PERL+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 DX_PERL=$ac_cv_path_DX_PERL
2388 if test -n "$DX_PERL"; then
2389 echo "$as_me:$LINENO: result: $DX_PERL" >&5
2390 echo "${ECHO_T}$DX_PERL" >&6
2392 echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6
2397 if test -z "$ac_cv_path_DX_PERL"; then
2398 ac_pt_DX_PERL=$DX_PERL
2399 # Extract the first word of "perl", so it can be a program name with args.
2400 set dummy perl; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 case $ac_pt_DX_PERL in
2408 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2418 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
2430 if test -n "$ac_pt_DX_PERL"; then
2431 echo "$as_me:$LINENO: result: $ac_pt_DX_PERL" >&5
2432 echo "${ECHO_T}$ac_pt_DX_PERL" >&6
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2438 DX_PERL=$ac_pt_DX_PERL
2440 DX_PERL="$ac_cv_path_DX_PERL"
2443 if test "$DX_FLAG_doc$DX_PERL" = 1; then
2444 { echo "$as_me:$LINENO: WARNING: perl not found - will not generate any doxygen documentation" >&5
2445 echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
2452 if test "$DX_FLAG_doc" = 1; then
2457 DX_COND_doc_FALSE='#'
2459 DX_COND_doc_TRUE='#'
2463 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
2471 DX_COND_doc_FALSE='#'
2473 DX_COND_doc_TRUE='#'
2486 # Check whether --enable-doxygen-dot or --disable-doxygen-dot was given.
2487 if test "${enable_doxygen_dot+set}" = set; then
2488 enableval="$enable_doxygen_dot"
2490 case "$enableval" in
2496 test "$DX_FLAG_doc" = "1" \
2497 || { { echo "$as_me:$LINENO: error: doxygen-dot requires doxygen-dot" >&5
2498 echo "$as_me: error: doxygen-dot requires doxygen-dot" >&2;}
2499 { (exit 1); exit 1; }; }
2507 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-dot" >&5
2508 echo "$as_me: error: invalid value '$enableval' given to doxygen-dot" >&2;}
2509 { (exit 1); exit 1; }; }
2518 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
2523 if test "$DX_FLAG_dot" = 1; then
2525 if test -n "$ac_tool_prefix"; then
2526 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
2527 set dummy ${ac_tool_prefix}dot; ac_word=$2
2528 echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_path_DX_DOT+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 DX_DOT=$ac_cv_path_DX_DOT
2557 if test -n "$DX_DOT"; then
2558 echo "$as_me:$LINENO: result: $DX_DOT" >&5
2559 echo "${ECHO_T}$DX_DOT" >&6
2561 echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6
2566 if test -z "$ac_cv_path_DX_DOT"; then
2567 ac_pt_DX_DOT=$DX_DOT
2568 # Extract the first word of "dot", so it can be a program name with args.
2569 set dummy dot; ac_word=$2
2570 echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 case $ac_pt_DX_DOT in
2577 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
2588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
2599 if test -n "$ac_pt_DX_DOT"; then
2600 echo "$as_me:$LINENO: result: $ac_pt_DX_DOT" >&5
2601 echo "${ECHO_T}$ac_pt_DX_DOT" >&6
2603 echo "$as_me:$LINENO: result: no" >&5
2604 echo "${ECHO_T}no" >&6
2607 DX_DOT=$ac_pt_DX_DOT
2609 DX_DOT="$ac_cv_path_DX_DOT"
2612 if test "$DX_FLAG_dot$DX_DOT" = 1; then
2613 { echo "$as_me:$LINENO: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
2614 echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
2621 if test "$DX_FLAG_dot" = 1; then
2626 DX_COND_dot_FALSE='#'
2628 DX_COND_dot_TRUE='#'
2632 DX_ENV="$DX_ENV HAVE_DOT='YES'"
2634 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
2642 DX_COND_dot_FALSE='#'
2644 DX_COND_dot_TRUE='#'
2648 DX_ENV="$DX_ENV HAVE_DOT='NO'"
2654 # Man pages generation:
2658 # Check whether --enable-doxygen-man or --disable-doxygen-man was given.
2659 if test "${enable_doxygen_man+set}" = set; then
2660 enableval="$enable_doxygen_man"
2662 case "$enableval" in
2668 test "$DX_FLAG_doc" = "1" \
2669 || { { echo "$as_me:$LINENO: error: doxygen-man requires doxygen-man" >&5
2670 echo "$as_me: error: doxygen-man requires doxygen-man" >&2;}
2671 { (exit 1); exit 1; }; }
2679 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-man" >&5
2680 echo "$as_me: error: invalid value '$enableval' given to doxygen-man" >&2;}
2681 { (exit 1); exit 1; }; }
2690 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
2695 if test "$DX_FLAG_man" = 1; then
2699 if test "$DX_FLAG_man" = 1; then
2704 DX_COND_man_FALSE='#'
2706 DX_COND_man_TRUE='#'
2710 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
2718 DX_COND_man_FALSE='#'
2720 DX_COND_man_TRUE='#'
2724 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
2730 # RTF file generation:
2734 # Check whether --enable-doxygen-rtf or --disable-doxygen-rtf was given.
2735 if test "${enable_doxygen_rtf+set}" = set; then
2736 enableval="$enable_doxygen_rtf"
2738 case "$enableval" in
2744 test "$DX_FLAG_doc" = "1" \
2745 || { { echo "$as_me:$LINENO: error: doxygen-rtf requires doxygen-rtf" >&5
2746 echo "$as_me: error: doxygen-rtf requires doxygen-rtf" >&2;}
2747 { (exit 1); exit 1; }; }
2755 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-rtf" >&5
2756 echo "$as_me: error: invalid value '$enableval' given to doxygen-rtf" >&2;}
2757 { (exit 1); exit 1; }; }
2766 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
2771 if test "$DX_FLAG_rtf" = 1; then
2775 if test "$DX_FLAG_rtf" = 1; then
2780 DX_COND_rtf_FALSE='#'
2782 DX_COND_rtf_TRUE='#'
2786 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
2794 DX_COND_rtf_FALSE='#'
2796 DX_COND_rtf_TRUE='#'
2800 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
2806 # XML file generation:
2810 # Check whether --enable-doxygen-xml or --disable-doxygen-xml was given.
2811 if test "${enable_doxygen_xml+set}" = set; then
2812 enableval="$enable_doxygen_xml"
2814 case "$enableval" in
2820 test "$DX_FLAG_doc" = "1" \
2821 || { { echo "$as_me:$LINENO: error: doxygen-xml requires doxygen-xml" >&5
2822 echo "$as_me: error: doxygen-xml requires doxygen-xml" >&2;}
2823 { (exit 1); exit 1; }; }
2831 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-xml" >&5
2832 echo "$as_me: error: invalid value '$enableval' given to doxygen-xml" >&2;}
2833 { (exit 1); exit 1; }; }
2842 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
2847 if test "$DX_FLAG_xml" = 1; then
2851 if test "$DX_FLAG_xml" = 1; then
2856 DX_COND_xml_FALSE='#'
2858 DX_COND_xml_TRUE='#'
2862 DX_ENV="$DX_ENV GENERATE_XML='YES'"
2870 DX_COND_xml_FALSE='#'
2872 DX_COND_xml_TRUE='#'
2876 DX_ENV="$DX_ENV GENERATE_XML='NO'"
2882 # (Compressed) HTML help generation:
2886 # Check whether --enable-doxygen-chm or --disable-doxygen-chm was given.
2887 if test "${enable_doxygen_chm+set}" = set; then
2888 enableval="$enable_doxygen_chm"
2890 case "$enableval" in
2896 test "$DX_FLAG_doc" = "1" \
2897 || { { echo "$as_me:$LINENO: error: doxygen-chm requires doxygen-chm" >&5
2898 echo "$as_me: error: doxygen-chm requires doxygen-chm" >&2;}
2899 { (exit 1); exit 1; }; }
2907 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chm" >&5
2908 echo "$as_me: error: invalid value '$enableval' given to doxygen-chm" >&2;}
2909 { (exit 1); exit 1; }; }
2918 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
2923 if test "$DX_FLAG_chm" = 1; then
2925 if test -n "$ac_tool_prefix"; then
2926 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
2927 set dummy ${ac_tool_prefix}hhc; ac_word=$2
2928 echo "$as_me:$LINENO: checking for $ac_word" >&5
2929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2930 if test "${ac_cv_path_DX_HHC+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 DX_HHC=$ac_cv_path_DX_HHC
2957 if test -n "$DX_HHC"; then
2958 echo "$as_me:$LINENO: result: $DX_HHC" >&5
2959 echo "${ECHO_T}$DX_HHC" >&6
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2966 if test -z "$ac_cv_path_DX_HHC"; then
2967 ac_pt_DX_HHC=$DX_HHC
2968 # Extract the first word of "hhc", so it can be a program name with args.
2969 set dummy hhc; ac_word=$2
2970 echo "$as_me:$LINENO: checking for $ac_word" >&5
2971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2972 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 case $ac_pt_DX_HHC in
2977 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
2999 if test -n "$ac_pt_DX_HHC"; then
3000 echo "$as_me:$LINENO: result: $ac_pt_DX_HHC" >&5
3001 echo "${ECHO_T}$ac_pt_DX_HHC" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3007 DX_HHC=$ac_pt_DX_HHC
3009 DX_HHC="$ac_cv_path_DX_HHC"
3012 if test "$DX_FLAG_chm$DX_HHC" = 1; then
3013 { echo "$as_me:$LINENO: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
3014 echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
3021 if test "$DX_FLAG_chm" = 1; then
3026 DX_COND_chm_FALSE='#'
3028 DX_COND_chm_TRUE='#'
3032 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
3034 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
3036 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
3044 DX_COND_chm_FALSE='#'
3046 DX_COND_chm_TRUE='#'
3050 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
3056 # Seperate CHI file generation.
3060 # Check whether --enable-doxygen-chi or --disable-doxygen-chi was given.
3061 if test "${enable_doxygen_chi+set}" = set; then
3062 enableval="$enable_doxygen_chi"
3064 case "$enableval" in
3070 test "$DX_FLAG_chm" = "1" \
3071 || { { echo "$as_me:$LINENO: error: doxygen-chi requires doxygen-chi" >&5
3072 echo "$as_me: error: doxygen-chi requires doxygen-chi" >&2;}
3073 { (exit 1); exit 1; }; }
3081 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chi" >&5
3082 echo "$as_me: error: invalid value '$enableval' given to doxygen-chi" >&2;}
3083 { (exit 1); exit 1; }; }
3092 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
3097 if test "$DX_FLAG_chi" = 1; then
3101 if test "$DX_FLAG_chi" = 1; then
3106 DX_COND_chi_FALSE='#'
3108 DX_COND_chi_TRUE='#'
3112 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
3120 DX_COND_chi_FALSE='#'
3122 DX_COND_chi_TRUE='#'
3126 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
3132 # Plain HTML pages generation:
3136 # Check whether --enable-doxygen-html or --disable-doxygen-html was given.
3137 if test "${enable_doxygen_html+set}" = set; then
3138 enableval="$enable_doxygen_html"
3140 case "$enableval" in
3146 test "$DX_FLAG_doc" = "1" \
3147 || { { echo "$as_me:$LINENO: error: doxygen-html requires doxygen-html" >&5
3148 echo "$as_me: error: doxygen-html requires doxygen-html" >&2;}
3149 { (exit 1); exit 1; }; }
3151 test "$DX_FLAG_chm" = "0" \
3152 || { { echo "$as_me:$LINENO: error: doxygen-html contradicts doxygen-html" >&5
3153 echo "$as_me: error: doxygen-html contradicts doxygen-html" >&2;}
3154 { (exit 1); exit 1; }; }
3162 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-html" >&5
3163 echo "$as_me: error: invalid value '$enableval' given to doxygen-html" >&2;}
3164 { (exit 1); exit 1; }; }
3173 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
3176 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
3181 if test "$DX_FLAG_html" = 1; then
3185 if test "$DX_FLAG_html" = 1; then
3190 DX_COND_html_FALSE='#'
3192 DX_COND_html_TRUE='#'
3196 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
3204 DX_COND_html_FALSE='#'
3206 DX_COND_html_TRUE='#'
3210 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
3216 # PostScript file generation:
3220 # Check whether --enable-doxygen-ps or --disable-doxygen-ps was given.
3221 if test "${enable_doxygen_ps+set}" = set; then
3222 enableval="$enable_doxygen_ps"
3224 case "$enableval" in
3230 test "$DX_FLAG_doc" = "1" \
3231 || { { echo "$as_me:$LINENO: error: doxygen-ps requires doxygen-ps" >&5
3232 echo "$as_me: error: doxygen-ps requires doxygen-ps" >&2;}
3233 { (exit 1); exit 1; }; }
3241 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-ps" >&5
3242 echo "$as_me: error: invalid value '$enableval' given to doxygen-ps" >&2;}
3243 { (exit 1); exit 1; }; }
3252 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
3257 if test "$DX_FLAG_ps" = 1; then
3259 if test -n "$ac_tool_prefix"; then
3260 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
3261 set dummy ${ac_tool_prefix}latex; ac_word=$2
3262 echo "$as_me:$LINENO: checking for $ac_word" >&5
3263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3264 if test "${ac_cv_path_DX_LATEX+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
3280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 DX_LATEX=$ac_cv_path_DX_LATEX
3291 if test -n "$DX_LATEX"; then
3292 echo "$as_me:$LINENO: result: $DX_LATEX" >&5
3293 echo "${ECHO_T}$DX_LATEX" >&6
3295 echo "$as_me:$LINENO: result: no" >&5
3296 echo "${ECHO_T}no" >&6
3300 if test -z "$ac_cv_path_DX_LATEX"; then
3301 ac_pt_DX_LATEX=$DX_LATEX
3302 # Extract the first word of "latex", so it can be a program name with args.
3303 set dummy latex; ac_word=$2
3304 echo "$as_me:$LINENO: checking for $ac_word" >&5
3305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3306 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 case $ac_pt_DX_LATEX in
3311 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
3322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
3333 if test -n "$ac_pt_DX_LATEX"; then
3334 echo "$as_me:$LINENO: result: $ac_pt_DX_LATEX" >&5
3335 echo "${ECHO_T}$ac_pt_DX_LATEX" >&6
3337 echo "$as_me:$LINENO: result: no" >&5
3338 echo "${ECHO_T}no" >&6
3341 DX_LATEX=$ac_pt_DX_LATEX
3343 DX_LATEX="$ac_cv_path_DX_LATEX"
3346 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
3347 { echo "$as_me:$LINENO: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
3348 echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
3356 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
3357 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 case $DX_MAKEINDEX in
3364 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
3386 if test -n "$DX_MAKEINDEX"; then
3387 echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
3388 echo "${ECHO_T}$DX_MAKEINDEX" >&6
3390 echo "$as_me:$LINENO: result: no" >&5
3391 echo "${ECHO_T}no" >&6
3395 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
3396 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
3397 # Extract the first word of "makeindex", so it can be a program name with args.
3398 set dummy makeindex; ac_word=$2
3399 echo "$as_me:$LINENO: checking for $ac_word" >&5
3400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3401 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 case $ac_pt_DX_MAKEINDEX in
3406 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir=.
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
3428 if test -n "$ac_pt_DX_MAKEINDEX"; then
3429 echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
3430 echo "${ECHO_T}$ac_pt_DX_MAKEINDEX" >&6
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3436 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
3438 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
3441 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
3442 { echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
3443 echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
3449 if test -n "$ac_tool_prefix"; then
3450 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
3451 set dummy ${ac_tool_prefix}dvips; ac_word=$2
3452 echo "$as_me:$LINENO: checking for $ac_word" >&5
3453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3454 if test "${ac_cv_path_DX_DVIPS+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 test -z "$as_dir" && as_dir=.
3467 for ac_exec_ext in '' $ac_executable_extensions; do
3468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3469 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 DX_DVIPS=$ac_cv_path_DX_DVIPS
3481 if test -n "$DX_DVIPS"; then
3482 echo "$as_me:$LINENO: result: $DX_DVIPS" >&5
3483 echo "${ECHO_T}$DX_DVIPS" >&6
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3490 if test -z "$ac_cv_path_DX_DVIPS"; then
3491 ac_pt_DX_DVIPS=$DX_DVIPS
3492 # Extract the first word of "dvips", so it can be a program name with args.
3493 set dummy dvips; ac_word=$2
3494 echo "$as_me:$LINENO: checking for $ac_word" >&5
3495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3496 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 case $ac_pt_DX_DVIPS in
3501 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir=.
3509 for ac_exec_ext in '' $ac_executable_extensions; do
3510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3511 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
3523 if test -n "$ac_pt_DX_DVIPS"; then
3524 echo "$as_me:$LINENO: result: $ac_pt_DX_DVIPS" >&5
3525 echo "${ECHO_T}$ac_pt_DX_DVIPS" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 DX_DVIPS=$ac_pt_DX_DVIPS
3533 DX_DVIPS="$ac_cv_path_DX_DVIPS"
3536 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
3537 { echo "$as_me:$LINENO: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
3538 echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}egrep; ac_word=$2
3547 echo "$as_me:$LINENO: checking for $ac_word" >&5
3548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3549 if test "${ac_cv_path_DX_EGREP+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3564 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 DX_EGREP=$ac_cv_path_DX_EGREP
3576 if test -n "$DX_EGREP"; then
3577 echo "$as_me:$LINENO: result: $DX_EGREP" >&5
3578 echo "${ECHO_T}$DX_EGREP" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3585 if test -z "$ac_cv_path_DX_EGREP"; then
3586 ac_pt_DX_EGREP=$DX_EGREP
3587 # Extract the first word of "egrep", so it can be a program name with args.
3588 set dummy egrep; ac_word=$2
3589 echo "$as_me:$LINENO: checking for $ac_word" >&5
3590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3591 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 case $ac_pt_DX_EGREP in
3596 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
3618 if test -n "$ac_pt_DX_EGREP"; then
3619 echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
3620 echo "${ECHO_T}$ac_pt_DX_EGREP" >&6
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3626 DX_EGREP=$ac_pt_DX_EGREP
3628 DX_EGREP="$ac_cv_path_DX_EGREP"
3631 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
3632 { echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
3633 echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
3640 if test "$DX_FLAG_ps" = 1; then
3645 DX_COND_ps_FALSE='#'
3658 DX_COND_ps_FALSE='#'
3669 # PDF file generation:
3673 # Check whether --enable-doxygen-pdf or --disable-doxygen-pdf was given.
3674 if test "${enable_doxygen_pdf+set}" = set; then
3675 enableval="$enable_doxygen_pdf"
3677 case "$enableval" in
3683 test "$DX_FLAG_doc" = "1" \
3684 || { { echo "$as_me:$LINENO: error: doxygen-pdf requires doxygen-pdf" >&5
3685 echo "$as_me: error: doxygen-pdf requires doxygen-pdf" >&2;}
3686 { (exit 1); exit 1; }; }
3694 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-pdf" >&5
3695 echo "$as_me: error: invalid value '$enableval' given to doxygen-pdf" >&2;}
3696 { (exit 1); exit 1; }; }
3705 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
3710 if test "$DX_FLAG_pdf" = 1; then
3712 if test -n "$ac_tool_prefix"; then
3713 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
3714 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
3715 echo "$as_me:$LINENO: checking for $ac_word" >&5
3716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3717 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 case $DX_PDFLATEX in
3722 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
3744 if test -n "$DX_PDFLATEX"; then
3745 echo "$as_me:$LINENO: result: $DX_PDFLATEX" >&5
3746 echo "${ECHO_T}$DX_PDFLATEX" >&6
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3753 if test -z "$ac_cv_path_DX_PDFLATEX"; then
3754 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
3755 # Extract the first word of "pdflatex", so it can be a program name with args.
3756 set dummy pdflatex; ac_word=$2
3757 echo "$as_me:$LINENO: checking for $ac_word" >&5
3758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3759 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 case $ac_pt_DX_PDFLATEX in
3764 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
3786 if test -n "$ac_pt_DX_PDFLATEX"; then
3787 echo "$as_me:$LINENO: result: $ac_pt_DX_PDFLATEX" >&5
3788 echo "${ECHO_T}$ac_pt_DX_PDFLATEX" >&6
3790 echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6
3794 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
3796 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
3799 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
3800 { echo "$as_me:$LINENO: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
3801 echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
3807 if test -n "$ac_tool_prefix"; then
3808 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
3809 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
3810 echo "$as_me:$LINENO: checking for $ac_word" >&5
3811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3812 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3815 case $DX_MAKEINDEX in
3817 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
3839 if test -n "$DX_MAKEINDEX"; then
3840 echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
3841 echo "${ECHO_T}$DX_MAKEINDEX" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3848 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
3849 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
3850 # Extract the first word of "makeindex", so it can be a program name with args.
3851 set dummy makeindex; ac_word=$2
3852 echo "$as_me:$LINENO: checking for $ac_word" >&5
3853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3854 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 case $ac_pt_DX_MAKEINDEX in
3859 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
3881 if test -n "$ac_pt_DX_MAKEINDEX"; then
3882 echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
3883 echo "${ECHO_T}$ac_pt_DX_MAKEINDEX" >&6
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3889 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
3891 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
3894 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
3895 { echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
3896 echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
3902 if test -n "$ac_tool_prefix"; then
3903 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
3904 set dummy ${ac_tool_prefix}egrep; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_path_DX_EGREP+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 DX_EGREP=$ac_cv_path_DX_EGREP
3934 if test -n "$DX_EGREP"; then
3935 echo "$as_me:$LINENO: result: $DX_EGREP" >&5
3936 echo "${ECHO_T}$DX_EGREP" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3943 if test -z "$ac_cv_path_DX_EGREP"; then
3944 ac_pt_DX_EGREP=$DX_EGREP
3945 # Extract the first word of "egrep", so it can be a program name with args.
3946 set dummy egrep; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 case $ac_pt_DX_EGREP in
3954 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
3976 if test -n "$ac_pt_DX_EGREP"; then
3977 echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
3978 echo "${ECHO_T}$ac_pt_DX_EGREP" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3984 DX_EGREP=$ac_pt_DX_EGREP
3986 DX_EGREP="$ac_cv_path_DX_EGREP"
3989 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
3990 { echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
3991 echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
3998 if test "$DX_FLAG_pdf" = 1; then
4003 DX_COND_pdf_FALSE='#'
4005 DX_COND_pdf_TRUE='#'
4016 DX_COND_pdf_FALSE='#'
4018 DX_COND_pdf_TRUE='#'
4027 # LaTeX generation for PS and/or PDF:
4028 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
4033 DX_COND_latex_FALSE='#'
4035 DX_COND_latex_TRUE='#'
4036 DX_COND_latex_FALSE=
4039 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
4046 DX_COND_latex_FALSE='#'
4048 DX_COND_latex_TRUE='#'
4049 DX_COND_latex_FALSE=
4052 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
4056 # Paper size for PS and/or PDF:
4058 case "$DOXYGEN_PAPER_SIZE" in
4061 DOXYGEN_PAPER_SIZE=""
4064 a4wide|a4|letter|legal|executive)
4065 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
4069 { { echo "$as_me:$LINENO: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&5
4070 echo "$as_me: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&2;}
4071 { (exit 1); exit 1; }; }
4076 #echo DX_FLAG_doc=$DX_FLAG_doc
4077 #echo DX_FLAG_dot=$DX_FLAG_dot
4078 #echo DX_FLAG_man=$DX_FLAG_man
4079 #echo DX_FLAG_html=$DX_FLAG_html
4080 #echo DX_FLAG_chm=$DX_FLAG_chm
4081 #echo DX_FLAG_chi=$DX_FLAG_chi
4082 #echo DX_FLAG_rtf=$DX_FLAG_rtf
4083 #echo DX_FLAG_xml=$DX_FLAG_xml
4084 #echo DX_FLAG_pdf=$DX_FLAG_pdf
4085 #echo DX_FLAG_ps=$DX_FLAG_ps
4086 #echo DX_ENV=$DX_ENV
4089 # Check whether --enable-debug or --disable-debug was given.
4090 if test "${enable_debug+set}" = set; then
4091 enableval="$enable_debug"
4092 enable_debug=$enableval
4097 if test "$enable_debug" = "yes" ; then
4098 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
4099 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
4101 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
4102 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
4106 ac_cpp='$CPP $CPPFLAGS'
4107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4110 if test -n "$ac_tool_prefix"; then
4111 for ac_prog in gcc gcc3 cc
4113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4115 echo "$as_me:$LINENO: checking for $ac_word" >&5
4116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4117 if test "${ac_cv_prog_CC+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 if test -n "$CC"; then
4121 ac_cv_prog_CC="$CC" # Let the user override the test.
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir=.
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4130 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 if test -n "$CC"; then
4141 echo "$as_me:$LINENO: result: $CC" >&5
4142 echo "${ECHO_T}$CC" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4148 test -n "$CC" && break
4151 if test -z "$CC"; then
4153 for ac_prog in gcc gcc3 cc
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 echo "$as_me:$LINENO: checking for $ac_word" >&5
4158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4182 if test -n "$ac_ct_CC"; then
4183 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4184 echo "${ECHO_T}$ac_ct_CC" >&6
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4190 test -n "$ac_ct_CC" && break
4197 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4198 See \`config.log' for more details." >&5
4199 echo "$as_me: error: no acceptable C compiler found in \$PATH
4200 See \`config.log' for more details." >&2;}
4201 { (exit 1); exit 1; }; }
4203 # Provide some information about the compiler.
4204 echo "$as_me:$LINENO:" \
4205 "checking for C compiler version" >&5
4206 ac_compiler=`set X $ac_compile; echo $2`
4207 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4208 (eval $ac_compiler --version </dev/null >&5) 2>&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); }
4212 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4213 (eval $ac_compiler -v </dev/null >&5) 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }
4217 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4218 (eval $ac_compiler -V </dev/null >&5) 2>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }
4223 cat >conftest.$ac_ext <<_ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4238 ac_clean_files_save=$ac_clean_files
4239 ac_clean_files="$ac_clean_files a.out a.exe b.out"
4240 # Try to create an executable without -o first, disregard a.out.
4241 # It will help us diagnose broken compilers, and finding out an intuition
4243 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4244 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4245 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4246 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4247 (eval $ac_link_default) 2>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; then
4251 # Find the output, starting from the most likely. This scheme is
4252 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4255 # Be careful to initialize this variable, since it used to be cached.
4256 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4258 # b.out is created by i960 compilers.
4259 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
4261 test -f "$ac_file" || continue
4263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
4266 # This is the source file.
4269 # We found the default executable, but exeext='' is most
4273 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4274 # FIXME: I believe we export ac_cv_exeext for Libtool,
4275 # but it would be cool to find out if it's true. Does anybody
4276 # maintain Libtool? --akim.
4284 echo "$as_me: failed program was:" >&5
4285 sed 's/^/| /' conftest.$ac_ext >&5
4287 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4288 See \`config.log' for more details." >&5
4289 echo "$as_me: error: C compiler cannot create executables
4290 See \`config.log' for more details." >&2;}
4291 { (exit 77); exit 77; }; }
4294 ac_exeext=$ac_cv_exeext
4295 echo "$as_me:$LINENO: result: $ac_file" >&5
4296 echo "${ECHO_T}$ac_file" >&6
4298 # Check the compiler produces executables we can run. If not, either
4299 # the compiler is broken, or we cross compile.
4300 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4301 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4302 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4303 # If not cross compiling, check that we can run a simple program.
4304 if test "$cross_compiling" != yes; then
4305 if { ac_try='./$ac_file'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; }; then
4313 if test "$cross_compiling" = maybe; then
4316 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4317 If you meant to cross compile, use \`--host'.
4318 See \`config.log' for more details." >&5
4319 echo "$as_me: error: cannot run C compiled programs.
4320 If you meant to cross compile, use \`--host'.
4321 See \`config.log' for more details." >&2;}
4322 { (exit 1); exit 1; }; }
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4329 rm -f a.out a.exe conftest$ac_cv_exeext b.out
4330 ac_clean_files=$ac_clean_files_save
4331 # Check the compiler produces executables we can run. If not, either
4332 # the compiler is broken, or we cross compile.
4333 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4334 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4335 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4336 echo "${ECHO_T}$cross_compiling" >&6
4338 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4339 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; then
4345 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4346 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4347 # work properly (i.e., refer to `conftest.exe'), while it won't with
4349 for ac_file in conftest.exe conftest conftest.*; do
4350 test -f "$ac_file" || continue
4352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4353 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4360 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4361 See \`config.log' for more details." >&5
4362 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4363 See \`config.log' for more details." >&2;}
4364 { (exit 1); exit 1; }; }
4367 rm -f conftest$ac_cv_exeext
4368 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4369 echo "${ECHO_T}$ac_cv_exeext" >&6
4371 rm -f conftest.$ac_ext
4372 EXEEXT=$ac_cv_exeext
4374 echo "$as_me:$LINENO: checking for suffix of object files" >&5
4375 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4376 if test "${ac_cv_objext+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 cat >conftest.$ac_ext <<_ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4394 rm -f conftest.o conftest.obj
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; then
4400 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4403 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4408 echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.$ac_ext >&5
4411 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4412 See \`config.log' for more details." >&5
4413 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4414 See \`config.log' for more details." >&2;}
4415 { (exit 1); exit 1; }; }
4418 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4420 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4421 echo "${ECHO_T}$ac_cv_objext" >&6
4422 OBJEXT=$ac_cv_objext
4424 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4425 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4426 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 cat >conftest.$ac_ext <<_ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4447 rm -f conftest.$ac_objext
4448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4449 (eval $ac_compile) 2>conftest.er1
4451 grep -v '^ *+' conftest.er1 >conftest.err
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } &&
4456 { ac_try='test -z "$ac_c_werror_flag"
4457 || test ! -s conftest.err'
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; } &&
4463 { ac_try='test -s conftest.$ac_objext'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4477 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4480 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4481 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4482 GCC=`test $ac_compiler_gnu = yes && echo yes`
4483 ac_test_CFLAGS=${CFLAGS+set}
4484 ac_save_CFLAGS=$CFLAGS
4486 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4487 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4488 if test "${ac_cv_prog_cc_g+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 cat >conftest.$ac_ext <<_ACEOF
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4506 rm -f conftest.$ac_objext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4508 (eval $ac_compile) 2>conftest.er1
4510 grep -v '^ *+' conftest.er1 >conftest.err
4512 cat conftest.err >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try='test -z "$ac_c_werror_flag"
4516 || test ! -s conftest.err'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; } &&
4522 { ac_try='test -s conftest.$ac_objext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.$ac_ext >&5
4535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4537 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4538 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4539 if test "$ac_test_CFLAGS" = set; then
4540 CFLAGS=$ac_save_CFLAGS
4541 elif test $ac_cv_prog_cc_g = yes; then
4542 if test "$GCC" = yes; then
4548 if test "$GCC" = yes; then
4554 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4555 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4556 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_cv_prog_cc_stdc=no
4561 cat >conftest.$ac_ext <<_ACEOF
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4569 #include <sys/types.h>
4570 #include <sys/stat.h>
4571 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4572 struct buf { int x; };
4573 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4574 static char *e (p, i)
4580 static char *f (char * (*g) (char **, int), char **p, ...)
4585 s = g (p, va_arg (v,int));
4590 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4591 function prototypes and stuff, but not '\xHH' hex character constants.
4592 These don't provoke an error unfortunately, instead are silently treated
4593 as 'x'. The following induces an error, until -std1 is added to get
4594 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4595 array size at least. It's necessary to write '\x00'==0 to get something
4596 that's true only with -std1. */
4597 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4599 int test (int i, double x);
4600 struct s1 {int (*f) (int a);};
4601 struct s2 {int (*f) (double a);};
4602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4608 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4613 # Don't try gcc -ansi; that turns off useful extensions and
4614 # breaks some systems' header files.
4615 # AIX -qlanglvl=ansi
4616 # Ultrix and OSF/1 -std1
4617 # HP-UX 10.20 and later -Ae
4618 # HP-UX older versions -Aa -D_HPUX_SOURCE
4619 # SVR4 -Xc -D__EXTENSIONS__
4620 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4622 CC="$ac_save_CC $ac_arg"
4623 rm -f conftest.$ac_objext
4624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625 (eval $ac_compile) 2>conftest.er1
4627 grep -v '^ *+' conftest.er1 >conftest.err
4629 cat conftest.err >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } &&
4632 { ac_try='test -z "$ac_c_werror_flag"
4633 || test ! -s conftest.err'
4634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; } &&
4639 { ac_try='test -s conftest.$ac_objext'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; }; then
4645 ac_cv_prog_cc_stdc=$ac_arg
4648 echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.$ac_ext >&5
4652 rm -f conftest.err conftest.$ac_objext
4654 rm -f conftest.$ac_ext conftest.$ac_objext
4659 case "x$ac_cv_prog_cc_stdc" in
4661 echo "$as_me:$LINENO: result: none needed" >&5
4662 echo "${ECHO_T}none needed" >&6 ;;
4664 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4665 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4666 CC="$CC $ac_cv_prog_cc_stdc" ;;
4669 # Some people use a C++ compiler to compile C. Since we use `exit',
4670 # in C++ we need to declare it. In case someone uses the same compiler
4671 # for both compiling C and C++ we need to have the C++ compiler decide
4672 # the declaration of exit, since it's the most demanding environment.
4673 cat >conftest.$ac_ext <<_ACEOF
4678 rm -f conftest.$ac_objext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4680 (eval $ac_compile) 2>conftest.er1
4682 grep -v '^ *+' conftest.er1 >conftest.err
4684 cat conftest.err >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } &&
4687 { ac_try='test -z "$ac_c_werror_flag"
4688 || test ! -s conftest.err'
4689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); }; } &&
4694 { ac_try='test -s conftest.$ac_objext'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; }; then
4700 for ac_declaration in \
4702 'extern "C" void std::exit (int) throw (); using std::exit;' \
4703 'extern "C" void std::exit (int); using std::exit;' \
4704 'extern "C" void exit (int) throw ();' \
4705 'extern "C" void exit (int);' \
4708 cat >conftest.$ac_ext <<_ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4724 rm -f conftest.$ac_objext
4725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4726 (eval $ac_compile) 2>conftest.er1
4728 grep -v '^ *+' conftest.er1 >conftest.err
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try='test -z "$ac_c_werror_flag"
4734 || test ! -s conftest.err'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; } &&
4740 { ac_try='test -s conftest.$ac_objext'
4741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4754 cat >conftest.$ac_ext <<_ACEOF
4757 cat confdefs.h >>conftest.$ac_ext
4758 cat >>conftest.$ac_ext <<_ACEOF
4759 /* end confdefs.h. */
4769 rm -f conftest.$ac_objext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771 (eval $ac_compile) 2>conftest.er1
4773 grep -v '^ *+' conftest.er1 >conftest.err
4775 cat conftest.err >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } &&
4778 { ac_try='test -z "$ac_c_werror_flag"
4779 || test ! -s conftest.err'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; } &&
4785 { ac_try='test -s conftest.$ac_objext'
4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; }; then
4793 echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.$ac_ext >&5
4797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4800 if test -n "$ac_declaration"; then
4801 echo '#ifdef __cplusplus' >>confdefs.h
4802 echo $ac_declaration >>confdefs.h
4803 echo '#endif' >>confdefs.h
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4813 ac_cpp='$CPP $CPPFLAGS'
4814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4817 DEPDIR="${am__leading_dot}deps"
4819 ac_config_commands="$ac_config_commands depfiles"
4822 am_make=${MAKE-make}
4823 cat > confinc << 'END'
4828 # If we don't find an include directive, just comment out the code.
4829 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4830 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
4834 # First try GNU make style include.
4835 echo "include confinc" > confmf
4836 # We grep out `Entering directory' and `Leaving directory'
4837 # messages which can occur if `w' ends up in MAKEFLAGS.
4838 # In particular we don't look at `^make:' because GNU make might
4839 # be invoked under some other name (usually "gmake"), in which
4840 # case it prints its new name instead of `make'.
4841 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4846 # Now try BSD make style include.
4847 if test "$am__include" = "#"; then
4848 echo '.include "confinc"' > confmf
4849 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4850 am__include=.include
4857 echo "$as_me:$LINENO: result: $_am_result" >&5
4858 echo "${ECHO_T}$_am_result" >&6
4859 rm -f confinc confmf
4861 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
4862 if test "${enable_dependency_tracking+set}" = set; then
4863 enableval="$enable_dependency_tracking"
4866 if test "x$enable_dependency_tracking" != xno; then
4867 am_depcomp="$ac_aux_dir/depcomp"
4872 if test "x$enable_dependency_tracking" != xno; then
4883 depcc="$CC" am_compiler_list=
4885 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4886 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4887 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4891 # We make a subdir and do the tests there. Otherwise we can end up
4892 # making bogus files that we don't know about and never remove. For
4893 # instance it was reported that on HP-UX the gcc test will end up
4894 # making a dummy file named `D' -- because `-MD' means `put the output
4897 # Copy depcomp to subdir because otherwise we won't find it if we're
4898 # using a relative directory.
4899 cp "$am_depcomp" conftest.dir
4901 # We will build objects and dependencies in a subdirectory because
4902 # it helps to detect inapplicable dependency modes. For instance
4903 # both Tru64's cc and ICC support -MD to output dependencies as a
4904 # side effect of compilation, but ICC will put the dependencies in
4905 # the current directory while Tru64 will put them in the object
4909 am_cv_CC_dependencies_compiler_type=none
4910 if test "$am_compiler_list" = ""; then
4911 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4913 for depmode in $am_compiler_list; do
4914 # Setup a source with many dependencies, because some compilers
4915 # like to wrap large dependency lists on column 80 (with \), and
4916 # we should not choose a depcomp mode which is confused by this.
4918 # We need to recreate these files for each test, as the compiler may
4919 # overwrite some of them when testing with obscure command lines.
4920 # This happens at least with the AIX C compiler.
4922 for i in 1 2 3 4 5 6; do
4923 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4924 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4925 # Solaris 8's {/usr,}/bin/sh.
4926 touch sub/conftst$i.h
4928 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4932 # after this tag, mechanisms are not by side-effect, so they'll
4933 # only be used when explicitly requested
4934 if test "x$enable_dependency_tracking" = xyes; then
4942 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4943 # mode. It turns out that the SunPro C++ compiler does not properly
4944 # handle `-M -o', and we need to detect this.
4945 if depmode=$depmode \
4946 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4947 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4948 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4949 >/dev/null 2>conftest.err &&
4950 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4951 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4952 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4953 # icc doesn't choke on unknown options, it will just issue warnings
4954 # or remarks (even with -Werror). So we grep stderr for any message
4955 # that says an option was ignored or not supported.
4956 # When given -MP, icc 7.0 and 7.1 complain thusly:
4957 # icc: Command line warning: ignoring option '-M'; no argument required
4958 # The diagnosis changed in icc 8.0:
4959 # icc: Command line remark: option '-MP' not supported
4960 if (grep 'ignoring option' conftest.err ||
4961 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4962 am_cv_CC_dependencies_compiler_type=$depmode
4971 am_cv_CC_dependencies_compiler_type=none
4975 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4976 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4977 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4982 test "x$enable_dependency_tracking" != xno \
4983 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4985 am__fastdepCC_FALSE='#'
4987 am__fastdepCC_TRUE='#'
4988 am__fastdepCC_FALSE=
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4997 if test -n "$ac_tool_prefix"; then
4998 for ac_prog in $CCC g++ g++3 c++ CC
5000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5002 echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5004 if test "${ac_cv_prog_CXX+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 if test -n "$CXX"; then
5008 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 if test -n "$CXX"; then
5028 echo "$as_me:$LINENO: result: $CXX" >&5
5029 echo "${ECHO_T}$CXX" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5035 test -n "$CXX" && break
5038 if test -z "$CXX"; then
5040 for ac_prog in $CCC g++ g++3 c++ CC
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy $ac_prog; ac_word=$2
5044 echo "$as_me:$LINENO: checking for $ac_word" >&5
5045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5046 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 if test -n "$ac_ct_CXX"; then
5050 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_CXX="$ac_prog"
5060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5069 if test -n "$ac_ct_CXX"; then
5070 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5071 echo "${ECHO_T}$ac_ct_CXX" >&6
5073 echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6
5077 test -n "$ac_ct_CXX" && break
5079 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5085 # Provide some information about the compiler.
5086 echo "$as_me:$LINENO:" \
5087 "checking for C++ compiler version" >&5
5088 ac_compiler=`set X $ac_compile; echo $2`
5089 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5090 (eval $ac_compiler --version </dev/null >&5) 2>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }
5094 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5095 (eval $ac_compiler -v </dev/null >&5) 2>&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }
5099 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5100 (eval $ac_compiler -V </dev/null >&5) 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }
5105 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5106 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5107 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 cat >conftest.$ac_ext <<_ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5128 rm -f conftest.$ac_objext
5129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5130 (eval $ac_compile) 2>conftest.er1
5132 grep -v '^ *+' conftest.er1 >conftest.err
5134 cat conftest.err >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } &&
5137 { ac_try='test -z "$ac_cxx_werror_flag"
5138 || test ! -s conftest.err'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } &&
5144 { ac_try='test -s conftest.$ac_objext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5163 GXX=`test $ac_compiler_gnu = yes && echo yes`
5164 ac_test_CXXFLAGS=${CXXFLAGS+set}
5165 ac_save_CXXFLAGS=$CXXFLAGS
5167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5169 if test "${ac_cv_prog_cxx_g+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 cat >conftest.$ac_ext <<_ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5187 rm -f conftest.$ac_objext
5188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5189 (eval $ac_compile) 2>conftest.er1
5191 grep -v '^ *+' conftest.er1 >conftest.err
5193 cat conftest.err >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); } &&
5196 { ac_try='test -z "$ac_cxx_werror_flag"
5197 || test ! -s conftest.err'
5198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); }; } &&
5203 { ac_try='test -s conftest.$ac_objext'
5204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; }; then
5209 ac_cv_prog_cxx_g=yes
5211 echo "$as_me: failed program was:" >&5
5212 sed 's/^/| /' conftest.$ac_ext >&5
5216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5218 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5219 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5220 if test "$ac_test_CXXFLAGS" = set; then
5221 CXXFLAGS=$ac_save_CXXFLAGS
5222 elif test $ac_cv_prog_cxx_g = yes; then
5223 if test "$GXX" = yes; then
5229 if test "$GXX" = yes; then
5235 for ac_declaration in \
5237 'extern "C" void std::exit (int) throw (); using std::exit;' \
5238 'extern "C" void std::exit (int); using std::exit;' \
5239 'extern "C" void exit (int) throw ();' \
5240 'extern "C" void exit (int);' \
5243 cat >conftest.$ac_ext <<_ACEOF
5246 cat confdefs.h >>conftest.$ac_ext
5247 cat >>conftest.$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5259 rm -f conftest.$ac_objext
5260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5261 (eval $ac_compile) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1 >conftest.err
5265 cat conftest.err >&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try='test -z "$ac_cxx_werror_flag"
5269 || test ! -s conftest.err'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try='test -s conftest.$ac_objext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.$ac_ext >&5
5288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5289 cat >conftest.$ac_ext <<_ACEOF
5292 cat confdefs.h >>conftest.$ac_ext
5293 cat >>conftest.$ac_ext <<_ACEOF
5294 /* end confdefs.h. */
5304 rm -f conftest.$ac_objext
5305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306 (eval $ac_compile) 2>conftest.er1
5308 grep -v '^ *+' conftest.er1 >conftest.err
5310 cat conftest.err >&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } &&
5313 { ac_try='test -z "$ac_cxx_werror_flag"
5314 || test ! -s conftest.err'
5315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }; } &&
5320 { ac_try='test -s conftest.$ac_objext'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; }; then
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5335 if test -n "$ac_declaration"; then
5336 echo '#ifdef __cplusplus' >>confdefs.h
5337 echo $ac_declaration >>confdefs.h
5338 echo '#endif' >>confdefs.h
5342 ac_cpp='$CPP $CPPFLAGS'
5343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5347 depcc="$CXX" am_compiler_list=
5349 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5350 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5351 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5352 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5355 # We make a subdir and do the tests there. Otherwise we can end up
5356 # making bogus files that we don't know about and never remove. For
5357 # instance it was reported that on HP-UX the gcc test will end up
5358 # making a dummy file named `D' -- because `-MD' means `put the output
5361 # Copy depcomp to subdir because otherwise we won't find it if we're
5362 # using a relative directory.
5363 cp "$am_depcomp" conftest.dir
5365 # We will build objects and dependencies in a subdirectory because
5366 # it helps to detect inapplicable dependency modes. For instance
5367 # both Tru64's cc and ICC support -MD to output dependencies as a
5368 # side effect of compilation, but ICC will put the dependencies in
5369 # the current directory while Tru64 will put them in the object
5373 am_cv_CXX_dependencies_compiler_type=none
5374 if test "$am_compiler_list" = ""; then
5375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5377 for depmode in $am_compiler_list; do
5378 # Setup a source with many dependencies, because some compilers
5379 # like to wrap large dependency lists on column 80 (with \), and
5380 # we should not choose a depcomp mode which is confused by this.
5382 # We need to recreate these files for each test, as the compiler may
5383 # overwrite some of them when testing with obscure command lines.
5384 # This happens at least with the AIX C compiler.
5386 for i in 1 2 3 4 5 6; do
5387 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5388 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5389 # Solaris 8's {/usr,}/bin/sh.
5390 touch sub/conftst$i.h
5392 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5396 # after this tag, mechanisms are not by side-effect, so they'll
5397 # only be used when explicitly requested
5398 if test "x$enable_dependency_tracking" = xyes; then
5406 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5407 # mode. It turns out that the SunPro C++ compiler does not properly
5408 # handle `-M -o', and we need to detect this.
5409 if depmode=$depmode \
5410 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5411 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5412 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5413 >/dev/null 2>conftest.err &&
5414 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5415 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5416 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5417 # icc doesn't choke on unknown options, it will just issue warnings
5418 # or remarks (even with -Werror). So we grep stderr for any message
5419 # that says an option was ignored or not supported.
5420 # When given -MP, icc 7.0 and 7.1 complain thusly:
5421 # icc: Command line warning: ignoring option '-M'; no argument required
5422 # The diagnosis changed in icc 8.0:
5423 # icc: Command line remark: option '-MP' not supported
5424 if (grep 'ignoring option' conftest.err ||
5425 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5426 am_cv_CXX_dependencies_compiler_type=$depmode
5435 am_cv_CXX_dependencies_compiler_type=none
5439 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5440 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5441 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5446 test "x$enable_dependency_tracking" != xno \
5447 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5448 am__fastdepCXX_TRUE=
5449 am__fastdepCXX_FALSE='#'
5451 am__fastdepCXX_TRUE='#'
5452 am__fastdepCXX_FALSE=
5456 # Make sure we can run config.sub.
5457 $ac_config_sub sun4 >/dev/null 2>&1 ||
5458 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5459 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5460 { (exit 1); exit 1; }; }
5462 echo "$as_me:$LINENO: checking build system type" >&5
5463 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5464 if test "${ac_cv_build+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 ac_cv_build_alias=$build_alias
5468 test -z "$ac_cv_build_alias" &&
5469 ac_cv_build_alias=`$ac_config_guess`
5470 test -z "$ac_cv_build_alias" &&
5471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5473 { (exit 1); exit 1; }; }
5474 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5475 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5476 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5477 { (exit 1); exit 1; }; }
5480 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5481 echo "${ECHO_T}$ac_cv_build" >&6
5483 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5484 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5485 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5488 echo "$as_me:$LINENO: checking host system type" >&5
5489 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5490 if test "${ac_cv_host+set}" = set; then
5491 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 ac_cv_host_alias=$host_alias
5494 test -z "$ac_cv_host_alias" &&
5495 ac_cv_host_alias=$ac_cv_build_alias
5496 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5497 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5498 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5499 { (exit 1); exit 1; }; }
5502 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5503 echo "${ECHO_T}$ac_cv_host" >&6
5505 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5506 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5507 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5511 if test "$GCC" = "yes" ; then
5512 # AC_HAVE_GCC_VERSION(4,0,0,0,
5514 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
5515 # [Define to enable class visibility control in gcc.])
5516 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5517 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5519 CFLAGS="-Wall $GCC_CFLAGS"
5520 CXXFLAGS="-Wall $GCC_CXXFLAGS"
5522 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
5523 case "${host_cpu}-${host_os}" in
5525 if test "$CXX" = "CC" ; then
5526 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
5532 # Check whether --enable-static or --disable-static was given.
5533 if test "${enable_static+set}" = set; then
5534 enableval="$enable_static"
5535 p=${PACKAGE-default}
5537 yes) enable_static=yes ;;
5538 no) enable_static=no ;;
5541 # Look at the argument we got. We use all the common list separators.
5542 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5543 for pkg in $enableval; do
5545 if test "X$pkg" = "X$p"; then
5557 # Check whether --enable-shared or --disable-shared was given.
5558 if test "${enable_shared+set}" = set; then
5559 enableval="$enable_shared"
5560 p=${PACKAGE-default}
5562 yes) enable_shared=yes ;;
5563 no) enable_shared=no ;;
5566 # Look at the argument we got. We use all the common list separators.
5567 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5568 for pkg in $enableval; do
5570 if test "X$pkg" = "X$p"; then
5581 # Check whether --enable-fast-install or --disable-fast-install was given.
5582 if test "${enable_fast_install+set}" = set; then
5583 enableval="$enable_fast_install"
5584 p=${PACKAGE-default}
5586 yes) enable_fast_install=yes ;;
5587 no) enable_fast_install=no ;;
5589 enable_fast_install=no
5590 # Look at the argument we got. We use all the common list separators.
5591 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5592 for pkg in $enableval; do
5594 if test "X$pkg" = "X$p"; then
5595 enable_fast_install=yes
5602 enable_fast_install=yes
5605 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5606 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5607 if test "${lt_cv_path_SED+set}" = set; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 # Loop through the user's path and test for sed and gsed.
5611 # Then use that list of sed's as ones to test for truncation.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir=.
5617 for lt_ac_prog in sed gsed; do
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5620 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5627 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5628 # along with /bin/sed that truncates output.
5629 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5630 test ! -f $lt_ac_sed && break
5631 cat /dev/null > conftest.in
5633 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5634 # Check for GNU sed and select it if it is found.
5635 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5636 lt_cv_path_SED=$lt_ac_sed
5640 cat conftest.in conftest.in >conftest.tmp
5641 mv conftest.tmp conftest.in
5642 cp conftest.in conftest.nl
5644 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5645 cmp -s conftest.out conftest.nl || break
5646 # 10000 chars as input seems more than enough
5647 test $lt_ac_count -gt 10 && break
5648 lt_ac_count=`expr $lt_ac_count + 1`
5649 if test $lt_ac_count -gt $lt_ac_max; then
5650 lt_ac_max=$lt_ac_count
5651 lt_cv_path_SED=$lt_ac_sed
5659 echo "$as_me:$LINENO: result: $SED" >&5
5660 echo "${ECHO_T}$SED" >&6
5662 echo "$as_me:$LINENO: checking for egrep" >&5
5663 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5664 if test "${ac_cv_prog_egrep+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5668 then ac_cv_prog_egrep='grep -E'
5669 else ac_cv_prog_egrep='egrep'
5672 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5673 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5674 EGREP=$ac_cv_prog_egrep
5678 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5679 if test "${with_gnu_ld+set}" = set; then
5680 withval="$with_gnu_ld"
5681 test "$withval" = no || with_gnu_ld=yes
5686 if test "$GCC" = yes; then
5687 # Check if gcc -print-prog-name=ld gives a path.
5688 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5689 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5692 # gcc leaves a trailing carriage return which upsets mingw
5693 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5695 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5698 # Accept absolute paths.
5700 re_direlt='/[^/][^/]*/\.\./'
5701 # Canonicalize the pathname of ld
5702 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5703 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5704 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5706 test -z "$LD" && LD="$ac_prog"
5709 # If it fails, then pretend we aren't using GCC.
5713 # If it is relative, then search for the first ld in PATH.
5717 elif test "$with_gnu_ld" = yes; then
5718 echo "$as_me:$LINENO: checking for GNU ld" >&5
5719 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5721 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5722 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5724 if test "${lt_cv_path_LD+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 if test -z "$LD"; then
5728 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5729 for ac_dir in $PATH; do
5731 test -z "$ac_dir" && ac_dir=.
5732 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5733 lt_cv_path_LD="$ac_dir/$ac_prog"
5734 # Check to see if the program is GNU ld. I'd rather use --version,
5735 # but apparently some GNU ld's only accept -v.
5736 # Break only if it was the GNU/non-GNU ld that we prefer.
5737 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5738 *GNU* | *'with BFD'*)
5739 test "$with_gnu_ld" != no && break
5742 test "$with_gnu_ld" != yes && break
5749 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5754 if test -n "$LD"; then
5755 echo "$as_me:$LINENO: result: $LD" >&5
5756 echo "${ECHO_T}$LD" >&6
5758 echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6
5761 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5762 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5763 { (exit 1); exit 1; }; }
5764 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5765 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5766 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5770 case `$LD -v 2>&1 </dev/null` in
5771 *GNU* | *'with BFD'*)
5772 lt_cv_prog_gnu_ld=yes
5775 lt_cv_prog_gnu_ld=no
5779 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5780 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5781 with_gnu_ld=$lt_cv_prog_gnu_ld
5784 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5785 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5786 if test "${lt_cv_ld_reload_flag+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 lt_cv_ld_reload_flag='-r'
5791 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5792 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5793 reload_flag=$lt_cv_ld_reload_flag
5794 case $reload_flag in
5796 *) reload_flag=" $reload_flag" ;;
5798 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5800 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5801 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5802 if test "${lt_cv_path_NM+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 if test -n "$NM"; then
5806 # Let the user override the test.
5809 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5810 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5812 test -z "$ac_dir" && ac_dir=.
5813 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
5814 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5815 # Check to see if the nm accepts a BSD-compat flag.
5816 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5817 # nm: unknown option "B" ignored
5818 # Tru64's nm complains that /dev/null is an invalid object file
5819 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5820 */dev/null* | *'Invalid file or object type'*)
5821 lt_cv_path_NM="$tmp_nm -B"
5825 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5827 lt_cv_path_NM="$tmp_nm -p"
5831 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5832 continue # so that we can try to find one that supports BSD flags
5839 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5842 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5843 echo "${ECHO_T}$lt_cv_path_NM" >&6
5846 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5847 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5849 if test "$LN_S" = "ln -s"; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5854 echo "${ECHO_T}no, using $LN_S" >&6
5857 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5858 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5859 if test "${lt_cv_deplibs_check_method+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5862 lt_cv_file_magic_cmd='$MAGIC_CMD'
5863 lt_cv_file_magic_test_file=
5864 lt_cv_deplibs_check_method='unknown'
5865 # Need to set the preceding variable on all platforms that support
5866 # interlibrary dependencies.
5867 # 'none' -- dependencies not supported.
5868 # `unknown' -- same as none, but documents that we really don't know.
5869 # 'pass_all' -- all dependencies passed with no checks.
5870 # 'test_compile' -- check by making test program.
5871 # 'file_magic [[regex]]' -- check by looking for files in library path
5872 # which responds to the $file_magic_cmd with a given extended regex.
5873 # If you have `file' or equivalent on your system and you're not sure
5874 # whether `pass_all' will *always* work, you probably want this one.
5878 lt_cv_deplibs_check_method=pass_all
5882 lt_cv_deplibs_check_method=pass_all
5886 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5887 lt_cv_file_magic_cmd='/usr/bin/file -L'
5888 lt_cv_file_magic_test_file=/shlib/libc.so
5892 # func_win32_libid is a shell function defined in ltmain.sh
5893 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5894 lt_cv_file_magic_cmd='func_win32_libid'
5898 # Base MSYS/MinGW do not provide the 'file' command needed by
5899 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5900 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5901 lt_cv_file_magic_cmd='$OBJDUMP -f'
5904 darwin* | rhapsody*)
5905 lt_cv_deplibs_check_method=pass_all
5908 freebsd* | kfreebsd*-gnu)
5909 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5912 # Not sure whether the presence of OpenBSD here was a mistake.
5913 # Let's accept both of them until this is cleared up.
5914 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5915 lt_cv_file_magic_cmd=/usr/bin/file
5916 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5920 lt_cv_deplibs_check_method=pass_all
5925 lt_cv_deplibs_check_method=pass_all
5928 hpux10.20* | hpux11*)
5929 lt_cv_file_magic_cmd=/usr/bin/file
5932 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5933 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5936 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]'
5937 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5940 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5941 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5946 irix5* | irix6* | nonstopux*)
5948 *-32|*"-32 ") libmagic=32-bit;;
5949 *-n32|*"-n32 ") libmagic=N32;;
5950 *-64|*"-64 ") libmagic=64-bit;;
5951 *) libmagic=never-match;;
5953 lt_cv_deplibs_check_method=pass_all
5956 # This must be Linux ELF.
5959 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
5960 lt_cv_deplibs_check_method=pass_all ;;
5962 # glibc up to 2.1.1 does not perform some relocations on ARM
5963 # this will be overridden with pass_all, but let us keep it just in case
5964 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5966 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5967 lt_cv_deplibs_check_method=pass_all
5971 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5972 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5974 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5979 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5980 lt_cv_file_magic_cmd=/usr/bin/file
5981 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5985 lt_cv_deplibs_check_method=unknown
5989 lt_cv_file_magic_cmd=/usr/bin/file
5990 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5991 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5992 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
5994 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
5998 osf3* | osf4* | osf5*)
5999 lt_cv_deplibs_check_method=pass_all
6003 lt_cv_deplibs_check_method=pass_all
6007 lt_cv_deplibs_check_method=pass_all
6010 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6011 case $host_vendor in
6013 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]'
6014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6017 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_file_magic_cmd='/bin/file'
6021 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6024 lt_cv_file_magic_cmd='/bin/file'
6025 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6026 lt_cv_file_magic_test_file=/lib/libc.so
6029 lt_cv_deplibs_check_method=pass_all
6034 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
6035 lt_cv_deplibs_check_method=pass_all
6040 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6041 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6042 file_magic_cmd=$lt_cv_file_magic_cmd
6043 deplibs_check_method=$lt_cv_deplibs_check_method
6044 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6049 # If no C compiler was specified, use CC.
6052 # Allow CC to be a program name with arguments.
6056 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6057 if test "${enable_libtool_lock+set}" = set; then
6058 enableval="$enable_libtool_lock"
6061 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6063 # Some flags need to be propagated to the compiler or linker for good
6067 # Find out which ABI we are using.
6068 echo 'int i;' > conftest.$ac_ext
6069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6070 (eval $ac_compile) 2>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }; then
6074 case `/usr/bin/file conftest.$ac_objext` in
6086 # Find out which ABI we are using.
6087 echo '#line 6087 "configure"' > conftest.$ac_ext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); }; then
6093 if test "$lt_cv_prog_gnu_ld" = yes; then
6094 case `/usr/bin/file conftest.$ac_objext` in
6096 LD="${LD-ld} -melf32bsmip"
6099 LD="${LD-ld} -melf32bmipn32"
6102 LD="${LD-ld} -melf64bmip"
6106 case `/usr/bin/file conftest.$ac_objext` in
6122 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6123 # Find out which ABI we are using.
6124 echo 'int i;' > conftest.$ac_ext
6125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6126 (eval $ac_compile) 2>&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; then
6130 case "`/usr/bin/file conftest.o`" in
6134 LD="${LD-ld} -m elf_i386"
6136 ppc64-*linux*|powerpc64-*linux*)
6137 LD="${LD-ld} -m elf32ppclinux"
6140 LD="${LD-ld} -m elf_s390"
6143 LD="${LD-ld} -m elf32_sparc"
6150 LD="${LD-ld} -m elf_x86_64"
6152 ppc*-*linux*|powerpc*-*linux*)
6153 LD="${LD-ld} -m elf64ppc"
6156 LD="${LD-ld} -m elf64_s390"
6159 LD="${LD-ld} -m elf64_sparc"
6169 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6170 SAVE_CFLAGS="$CFLAGS"
6171 CFLAGS="$CFLAGS -belf"
6172 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6173 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6174 if test "${lt_cv_cc_needs_belf+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 ac_cpp='$CPP $CPPFLAGS'
6179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6183 cat >conftest.$ac_ext <<_ACEOF
6186 cat confdefs.h >>conftest.$ac_ext
6187 cat >>conftest.$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6198 rm -f conftest.$ac_objext conftest$ac_exeext
6199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6200 (eval $ac_link) 2>conftest.er1
6202 grep -v '^ *+' conftest.er1 >conftest.err
6204 cat conftest.err >&5
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); } &&
6207 { ac_try='test -z "$ac_c_werror_flag"
6208 || test ! -s conftest.err'
6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); }; } &&
6214 { ac_try='test -s conftest$ac_exeext'
6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); }; }; then
6220 lt_cv_cc_needs_belf=yes
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.$ac_ext >&5
6225 lt_cv_cc_needs_belf=no
6227 rm -f conftest.err conftest.$ac_objext \
6228 conftest$ac_exeext conftest.$ac_ext
6230 ac_cpp='$CPP $CPPFLAGS'
6231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6236 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6237 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6238 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6239 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6240 CFLAGS="$SAVE_CFLAGS"
6246 need_locks="$enable_libtool_lock"
6250 ac_cpp='$CPP $CPPFLAGS'
6251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6254 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6255 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6256 # On Suns, sometimes $CPP names a directory.
6257 if test -n "$CPP" && test -d "$CPP"; then
6260 if test -z "$CPP"; then
6261 if test "${ac_cv_prog_CPP+set}" = set; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 # Double quotes because CPP needs to be expanded
6265 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6268 for ac_c_preproc_warn_flag in '' yes
6270 # Use a header file that comes with gcc, so configuring glibc
6271 # with a fresh cross-compiler works.
6272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6273 # <limits.h> exists even on freestanding compilers.
6274 # On the NeXT, cc -E runs the code through the compiler's parser,
6275 # not just through cpp. "Syntax error" is here to catch this case.
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 # include <limits.h>
6285 # include <assert.h>
6289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6292 grep -v '^ *+' conftest.er1 >conftest.err
6294 cat conftest.err >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); } >/dev/null; then
6297 if test -s conftest.err; then
6298 ac_cpp_err=$ac_c_preproc_warn_flag
6299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6306 if test -z "$ac_cpp_err"; then
6309 echo "$as_me: failed program was:" >&5
6310 sed 's/^/| /' conftest.$ac_ext >&5
6312 # Broken: fails on valid input.
6315 rm -f conftest.err conftest.$ac_ext
6317 # OK, works on sane cases. Now check whether non-existent headers
6318 # can be detected and how.
6319 cat >conftest.$ac_ext <<_ACEOF
6322 cat confdefs.h >>conftest.$ac_ext
6323 cat >>conftest.$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6325 #include <ac_nonexistent.h>
6327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6330 grep -v '^ *+' conftest.er1 >conftest.err
6332 cat conftest.err >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); } >/dev/null; then
6335 if test -s conftest.err; then
6336 ac_cpp_err=$ac_c_preproc_warn_flag
6337 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6344 if test -z "$ac_cpp_err"; then
6345 # Broken: success on invalid input.
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 # Passes both tests.
6355 rm -f conftest.err conftest.$ac_ext
6358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6359 rm -f conftest.err conftest.$ac_ext
6360 if $ac_preproc_ok; then
6372 echo "$as_me:$LINENO: result: $CPP" >&5
6373 echo "${ECHO_T}$CPP" >&6
6375 for ac_c_preproc_warn_flag in '' yes
6377 # Use a header file that comes with gcc, so configuring glibc
6378 # with a fresh cross-compiler works.
6379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6380 # <limits.h> exists even on freestanding compilers.
6381 # On the NeXT, cc -E runs the code through the compiler's parser,
6382 # not just through cpp. "Syntax error" is here to catch this case.
6383 cat >conftest.$ac_ext <<_ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6390 # include <limits.h>
6392 # include <assert.h>
6396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6399 grep -v '^ *+' conftest.er1 >conftest.err
6401 cat conftest.err >&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } >/dev/null; then
6404 if test -s conftest.err; then
6405 ac_cpp_err=$ac_c_preproc_warn_flag
6406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6413 if test -z "$ac_cpp_err"; then
6416 echo "$as_me: failed program was:" >&5
6417 sed 's/^/| /' conftest.$ac_ext >&5
6419 # Broken: fails on valid input.
6422 rm -f conftest.err conftest.$ac_ext
6424 # OK, works on sane cases. Now check whether non-existent headers
6425 # can be detected and how.
6426 cat >conftest.$ac_ext <<_ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 #include <ac_nonexistent.h>
6434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6437 grep -v '^ *+' conftest.er1 >conftest.err
6439 cat conftest.err >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } >/dev/null; then
6442 if test -s conftest.err; then
6443 ac_cpp_err=$ac_c_preproc_warn_flag
6444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6451 if test -z "$ac_cpp_err"; then
6452 # Broken: success on invalid input.
6455 echo "$as_me: failed program was:" >&5
6456 sed 's/^/| /' conftest.$ac_ext >&5
6458 # Passes both tests.
6462 rm -f conftest.err conftest.$ac_ext
6465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6466 rm -f conftest.err conftest.$ac_ext
6467 if $ac_preproc_ok; then
6470 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6471 See \`config.log' for more details." >&5
6472 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6473 See \`config.log' for more details." >&2;}
6474 { (exit 1); exit 1; }; }
6478 ac_cpp='$CPP $CPPFLAGS'
6479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6484 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6485 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6486 if test "${ac_cv_header_stdc+set}" = set; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 cat >conftest.$ac_ext <<_ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h. */
6508 rm -f conftest.$ac_objext
6509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6510 (eval $ac_compile) 2>conftest.er1
6512 grep -v '^ *+' conftest.er1 >conftest.err
6514 cat conftest.err >&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); } &&
6517 { ac_try='test -z "$ac_c_werror_flag"
6518 || test ! -s conftest.err'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; } &&
6524 { ac_try='test -s conftest.$ac_objext'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; }; then
6530 ac_cv_header_stdc=yes
6532 echo "$as_me: failed program was:" >&5
6533 sed 's/^/| /' conftest.$ac_ext >&5
6535 ac_cv_header_stdc=no
6537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6539 if test $ac_cv_header_stdc = yes; then
6540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6541 cat >conftest.$ac_ext <<_ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6551 $EGREP "memchr" >/dev/null 2>&1; then
6554 ac_cv_header_stdc=no
6560 if test $ac_cv_header_stdc = yes; then
6561 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6562 cat >conftest.$ac_ext <<_ACEOF
6565 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6572 $EGREP "free" >/dev/null 2>&1; then
6575 ac_cv_header_stdc=no
6581 if test $ac_cv_header_stdc = yes; then
6582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6583 if test "$cross_compiling" = yes; then
6586 cat >conftest.$ac_ext <<_ACEOF
6589 cat confdefs.h >>conftest.$ac_ext
6590 cat >>conftest.$ac_ext <<_ACEOF
6591 /* end confdefs.h. */
6593 #if ((' ' & 0x0FF) == 0x020)
6594 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6595 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6597 # define ISLOWER(c) \
6598 (('a' <= (c) && (c) <= 'i') \
6599 || ('j' <= (c) && (c) <= 'r') \
6600 || ('s' <= (c) && (c) <= 'z'))
6601 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6604 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6609 for (i = 0; i < 256; i++)
6610 if (XOR (islower (i), ISLOWER (i))
6611 || toupper (i) != TOUPPER (i))
6616 rm -f conftest$ac_exeext
6617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6618 (eval $ac_link) 2>&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); }; }; then
6629 echo "$as_me: program exited with status $ac_status" >&5
6630 echo "$as_me: failed program was:" >&5
6631 sed 's/^/| /' conftest.$ac_ext >&5
6634 ac_cv_header_stdc=no
6636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6640 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6641 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6642 if test $ac_cv_header_stdc = yes; then
6644 cat >>confdefs.h <<\_ACEOF
6645 #define STDC_HEADERS 1
6650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6660 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6661 inttypes.h stdint.h unistd.h
6663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6664 echo "$as_me:$LINENO: checking for $ac_header" >&5
6665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6669 cat >conftest.$ac_ext <<_ACEOF
6672 cat confdefs.h >>conftest.$ac_ext
6673 cat >>conftest.$ac_ext <<_ACEOF
6674 /* end confdefs.h. */
6675 $ac_includes_default
6677 #include <$ac_header>
6679 rm -f conftest.$ac_objext
6680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6681 (eval $ac_compile) 2>conftest.er1
6683 grep -v '^ *+' conftest.er1 >conftest.err
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } &&
6688 { ac_try='test -z "$ac_c_werror_flag"
6689 || test ! -s conftest.err'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; } &&
6695 { ac_try='test -s conftest.$ac_objext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then
6701 eval "$as_ac_Header=yes"
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 eval "$as_ac_Header=no"
6708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6713 cat >>confdefs.h <<_ACEOF
6714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6723 for ac_header in dlfcn.h
6725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6727 echo "$as_me:$LINENO: checking for $ac_header" >&5
6728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6735 # Is the header compilable?
6736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6738 cat >conftest.$ac_ext <<_ACEOF
6741 cat confdefs.h >>conftest.$ac_ext
6742 cat >>conftest.$ac_ext <<_ACEOF
6743 /* end confdefs.h. */
6744 $ac_includes_default
6745 #include <$ac_header>
6747 rm -f conftest.$ac_objext
6748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6749 (eval $ac_compile) 2>conftest.er1
6751 grep -v '^ *+' conftest.er1 >conftest.err
6753 cat conftest.err >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } &&
6756 { ac_try='test -z "$ac_c_werror_flag"
6757 || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try='test -s conftest.$ac_objext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_header_compiler=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_header_compiler=no
6776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6778 echo "${ECHO_T}$ac_header_compiler" >&6
6780 # Is the header present?
6781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6783 cat >conftest.$ac_ext <<_ACEOF
6786 cat confdefs.h >>conftest.$ac_ext
6787 cat >>conftest.$ac_ext <<_ACEOF
6788 /* end confdefs.h. */
6789 #include <$ac_header>
6791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6794 grep -v '^ *+' conftest.er1 >conftest.err
6796 cat conftest.err >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } >/dev/null; then
6799 if test -s conftest.err; then
6800 ac_cpp_err=$ac_c_preproc_warn_flag
6801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6808 if test -z "$ac_cpp_err"; then
6809 ac_header_preproc=yes
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.$ac_ext >&5
6814 ac_header_preproc=no
6816 rm -f conftest.err conftest.$ac_ext
6817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6818 echo "${ECHO_T}$ac_header_preproc" >&6
6820 # So? What about this header?
6821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6827 ac_header_preproc=yes
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6844 ## ------------------------------------------------ ##
6845 ## Report this to mace-opensaml-users@internet2.edu ##
6846 ## ------------------------------------------------ ##
6849 sed "s/^/$as_me: WARNING: /" >&2
6852 echo "$as_me:$LINENO: checking for $ac_header" >&5
6853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 eval "$as_ac_Header=\$ac_header_preproc"
6859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6864 cat >>confdefs.h <<_ACEOF
6865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 ac_cpp='$CXXCPP $CPPFLAGS'
6874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6877 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6878 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6879 if test -z "$CXXCPP"; then
6880 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 # Double quotes because CXXCPP needs to be expanded
6884 for CXXCPP in "$CXX -E" "/lib/cpp"
6887 for ac_cxx_preproc_warn_flag in '' yes
6889 # Use a header file that comes with gcc, so configuring glibc
6890 # with a fresh cross-compiler works.
6891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6892 # <limits.h> exists even on freestanding compilers.
6893 # On the NeXT, cc -E runs the code through the compiler's parser,
6894 # not just through cpp. "Syntax error" is here to catch this case.
6895 cat >conftest.$ac_ext <<_ACEOF
6898 cat confdefs.h >>conftest.$ac_ext
6899 cat >>conftest.$ac_ext <<_ACEOF
6900 /* end confdefs.h. */
6902 # include <limits.h>
6904 # include <assert.h>
6908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6911 grep -v '^ *+' conftest.er1 >conftest.err
6913 cat conftest.err >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } >/dev/null; then
6916 if test -s conftest.err; then
6917 ac_cpp_err=$ac_cxx_preproc_warn_flag
6918 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6925 if test -z "$ac_cpp_err"; then
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 # Broken: fails on valid input.
6934 rm -f conftest.err conftest.$ac_ext
6936 # OK, works on sane cases. Now check whether non-existent headers
6937 # can be detected and how.
6938 cat >conftest.$ac_ext <<_ACEOF
6941 cat confdefs.h >>conftest.$ac_ext
6942 cat >>conftest.$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6944 #include <ac_nonexistent.h>
6946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6949 grep -v '^ *+' conftest.er1 >conftest.err
6951 cat conftest.err >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } >/dev/null; then
6954 if test -s conftest.err; then
6955 ac_cpp_err=$ac_cxx_preproc_warn_flag
6956 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6963 if test -z "$ac_cpp_err"; then
6964 # Broken: success on invalid input.
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6970 # Passes both tests.
6974 rm -f conftest.err conftest.$ac_ext
6977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6978 rm -f conftest.err conftest.$ac_ext
6979 if $ac_preproc_ok; then
6984 ac_cv_prog_CXXCPP=$CXXCPP
6987 CXXCPP=$ac_cv_prog_CXXCPP
6989 ac_cv_prog_CXXCPP=$CXXCPP
6991 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6992 echo "${ECHO_T}$CXXCPP" >&6
6994 for ac_cxx_preproc_warn_flag in '' yes
6996 # Use a header file that comes with gcc, so configuring glibc
6997 # with a fresh cross-compiler works.
6998 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6999 # <limits.h> exists even on freestanding compilers.
7000 # On the NeXT, cc -E runs the code through the compiler's parser,
7001 # not just through cpp. "Syntax error" is here to catch this case.
7002 cat >conftest.$ac_ext <<_ACEOF
7005 cat confdefs.h >>conftest.$ac_ext
7006 cat >>conftest.$ac_ext <<_ACEOF
7007 /* end confdefs.h. */
7009 # include <limits.h>
7011 # include <assert.h>
7015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7018 grep -v '^ *+' conftest.er1 >conftest.err
7020 cat conftest.err >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } >/dev/null; then
7023 if test -s conftest.err; then
7024 ac_cpp_err=$ac_cxx_preproc_warn_flag
7025 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7032 if test -z "$ac_cpp_err"; then
7035 echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.$ac_ext >&5
7038 # Broken: fails on valid input.
7041 rm -f conftest.err conftest.$ac_ext
7043 # OK, works on sane cases. Now check whether non-existent headers
7044 # can be detected and how.
7045 cat >conftest.$ac_ext <<_ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 #include <ac_nonexistent.h>
7053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7056 grep -v '^ *+' conftest.er1 >conftest.err
7058 cat conftest.err >&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } >/dev/null; then
7061 if test -s conftest.err; then
7062 ac_cpp_err=$ac_cxx_preproc_warn_flag
7063 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7070 if test -z "$ac_cpp_err"; then
7071 # Broken: success on invalid input.
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7077 # Passes both tests.
7081 rm -f conftest.err conftest.$ac_ext
7084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7085 rm -f conftest.err conftest.$ac_ext
7086 if $ac_preproc_ok; then
7089 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7090 See \`config.log' for more details." >&5
7091 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7092 See \`config.log' for more details." >&2;}
7093 { (exit 1); exit 1; }; }
7097 ac_cpp='$CXXCPP $CPPFLAGS'
7098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7104 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7105 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7106 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7107 if test -n "$ac_tool_prefix"; then
7108 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7112 echo "$as_me:$LINENO: checking for $ac_word" >&5
7113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7114 if test "${ac_cv_prog_F77+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 if test -n "$F77"; then
7118 ac_cv_prog_F77="$F77" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 if test -n "$F77"; then
7138 echo "$as_me:$LINENO: result: $F77" >&5
7139 echo "${ECHO_T}$F77" >&6
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7145 test -n "$F77" && break
7148 if test -z "$F77"; then
7150 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7152 # Extract the first word of "$ac_prog", so it can be a program name with args.
7153 set dummy $ac_prog; ac_word=$2
7154 echo "$as_me:$LINENO: checking for $ac_word" >&5
7155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7156 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 if test -n "$ac_ct_F77"; then
7160 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_ac_ct_F77="$ac_prog"
7170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 ac_ct_F77=$ac_cv_prog_ac_ct_F77
7179 if test -n "$ac_ct_F77"; then
7180 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7181 echo "${ECHO_T}$ac_ct_F77" >&6
7183 echo "$as_me:$LINENO: result: no" >&5
7184 echo "${ECHO_T}no" >&6
7187 test -n "$ac_ct_F77" && break
7194 # Provide some information about the compiler.
7195 echo "$as_me:7195:" \
7196 "checking for Fortran 77 compiler version" >&5
7197 ac_compiler=`set X $ac_compile; echo $2`
7198 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7199 (eval $ac_compiler --version </dev/null >&5) 2>&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); }
7203 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7204 (eval $ac_compiler -v </dev/null >&5) 2>&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }
7208 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7209 (eval $ac_compiler -V </dev/null >&5) 2>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); }
7215 # If we don't use `.F' as extension, the preprocessor is not run on the
7216 # input file. (Note that this only needs to work for GNU compilers.)
7219 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7220 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7221 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 cat >conftest.$ac_ext <<_ACEOF
7232 rm -f conftest.$ac_objext
7233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7234 (eval $ac_compile) 2>conftest.er1
7236 grep -v '^ *+' conftest.er1 >conftest.err
7238 cat conftest.err >&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); } &&
7241 { ac_try='test -z "$ac_f77_werror_flag"
7242 || test ! -s conftest.err'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; } &&
7248 { ac_try='test -s conftest.$ac_objext'
7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; }; then
7256 echo "$as_me: failed program was:" >&5
7257 sed 's/^/| /' conftest.$ac_ext >&5
7261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7262 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7265 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7266 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7268 ac_test_FFLAGS=${FFLAGS+set}
7269 ac_save_FFLAGS=$FFLAGS
7271 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7272 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7273 if test "${ac_cv_prog_f77_g+set}" = set; then
7274 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 cat >conftest.$ac_ext <<_ACEOF
7282 rm -f conftest.$ac_objext
7283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7284 (eval $ac_compile) 2>conftest.er1
7286 grep -v '^ *+' conftest.er1 >conftest.err
7288 cat conftest.err >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } &&
7291 { ac_try='test -z "$ac_f77_werror_flag"
7292 || test ! -s conftest.err'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; } &&
7298 { ac_try='test -s conftest.$ac_objext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7304 ac_cv_prog_f77_g=yes
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.$ac_ext >&5
7311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7314 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7315 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7316 if test "$ac_test_FFLAGS" = set; then
7317 FFLAGS=$ac_save_FFLAGS
7318 elif test $ac_cv_prog_f77_g = yes; then
7319 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7325 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7332 G77=`test $ac_compiler_gnu = yes && echo yes`
7334 ac_cpp='$CPP $CPPFLAGS'
7335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7341 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7343 # find the maximum length of command line arguments
7344 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7345 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7346 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 # On DJGPP, this test can blow up pretty badly due to problems in libc
7355 # (any single argument exceeding 2000 bytes causes a buffer overrun
7356 # during glob expansion). Even if it were fixed, the result of this
7357 # check would be larger than it should be.
7358 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7362 # Under GNU Hurd, this test is not required because there is
7363 # no limit to the length of command line arguments.
7364 # Libtool will interpret -1 as no limit whatsoever
7365 lt_cv_sys_max_cmd_len=-1;
7369 # On Win9x/ME, this test blows up -- it succeeds, but takes
7370 # about 5 minutes as the teststring grows exponentially.
7371 # Worse, since 9x/ME are not pre-emptively multitasking,
7372 # you end up with a "frozen" computer, even though with patience
7373 # the test eventually succeeds (with a max line length of 256k).
7374 # Instead, let's just punt: use the minimum linelength reported by
7375 # all of the supported platforms: 8192 (on NT/2K/XP).
7376 lt_cv_sys_max_cmd_len=8192;
7380 # On AmigaOS with pdksh, this test takes hours, literally.
7381 # So we just punt and use a minimum line length of 8192.
7382 lt_cv_sys_max_cmd_len=8192;
7386 # If test is not a shell built-in, we'll probably end up computing a
7387 # maximum length that is only half of the actual maximum length, but
7389 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7390 = "XX$teststring") >/dev/null 2>&1 &&
7391 new_result=`expr "X$teststring" : ".*" 2>&1` &&
7392 lt_cv_sys_max_cmd_len=$new_result &&
7393 test $i != 17 # 1/2 MB should be enough
7396 teststring=$teststring$teststring
7399 # Add a significant safety factor because C++ compilers can tack on massive
7400 # amounts of additional arguments before passing them to the linker.
7401 # It appears as though 1/2 is a usable value.
7402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7408 if test -n $lt_cv_sys_max_cmd_len ; then
7409 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7410 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
7412 echo "$as_me:$LINENO: result: none" >&5
7413 echo "${ECHO_T}none" >&6
7419 # Check for command to grab the raw symbol name followed by C symbol from nm.
7420 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7421 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7422 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7426 # These are sane defaults that work on at least a few old systems.
7427 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7429 # Character class describing NM global symbol codes.
7430 symcode='[BCDEGRST]'
7432 # Regexp to match symbols that can be accessed directly from C.
7433 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7435 # Transform the above into a raw symbol and a C symbol.
7436 symxfrm='\1 \2\3 \3'
7438 # Transform an extracted symbol line into a proper C declaration
7439 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7441 # Transform an extracted symbol line into symbol name and symbol address
7442 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'"
7444 # Define system-specific variables.
7449 cygwin* | mingw* | pw32*)
7450 symcode='[ABCDGISTW]'
7452 hpux*) # Its linker distinguishes data from code symbols
7453 if test "$host_cpu" = ia64; then
7454 symcode='[ABCDEGRST]'
7456 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7457 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'"
7460 symcode='[BCDEGRST]'
7463 symcode='[BCDEGQRST]'
7473 # Handle CRLF in mingw tool chain
7477 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7481 # If we're using GNU nm, then use its standard symbol codes.
7482 case `$NM -V 2>&1` in
7483 *GNU* | *'with BFD'*)
7484 symcode='[ABCDGIRSTW]' ;;
7487 # Try without a prefix undercore, then with it.
7488 for ac_symprfx in "" "_"; do
7490 # Write the raw and C identifiers.
7491 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
7493 # Check to see that the pipe works correctly.
7497 cat > conftest.$ac_ext <<EOF
7502 void nm_test_func(){}
7506 int main(){nm_test_var='a';nm_test_func();return(0);}
7509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7510 (eval $ac_compile) 2>&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; then
7514 # Now try to grab the symbols.
7516 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7517 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } && test -s "$nlist"; then
7521 # Try sorting and uniquifying the output.
7522 if sort "$nlist" | uniq > "$nlist"T; then
7523 mv -f "$nlist"T "$nlist"
7528 # Make sure that we snagged all the symbols we need.
7529 if grep ' nm_test_var$' "$nlist" >/dev/null; then
7530 if grep ' nm_test_func$' "$nlist" >/dev/null; then
7531 cat <<EOF > conftest.$ac_ext
7537 # Now generate the symbol file.
7538 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7540 cat <<EOF >> conftest.$ac_ext
7541 #if defined (__STDC__) && __STDC__
7542 # define lt_ptr_t void *
7544 # define lt_ptr_t char *
7548 /* The mapping between symbol names and symbols. */
7553 lt_preloaded_symbols[] =
7556 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7557 cat <<\EOF >> conftest.$ac_ext
7565 # Now try linking the two files.
7566 mv conftest.$ac_objext conftstm.$ac_objext
7567 lt_save_LIBS="$LIBS"
7568 lt_save_CFLAGS="$CFLAGS"
7569 LIBS="conftstm.$ac_objext"
7570 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7572 (eval $ac_link) 2>&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7578 LIBS="$lt_save_LIBS"
7579 CFLAGS="$lt_save_CFLAGS"
7581 echo "cannot find nm_test_func in $nlist" >&5
7584 echo "cannot find nm_test_var in $nlist" >&5
7587 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7590 echo "$progname: failed program was:" >&5
7591 cat conftest.$ac_ext >&5
7593 rm -f conftest* conftst*
7595 # Do not use the global_symbol_pipe unless it works.
7596 if test "$pipe_works" = yes; then
7599 lt_cv_sys_global_symbol_pipe=
7605 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7606 lt_cv_sys_global_symbol_to_cdecl=
7608 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7609 echo "$as_me:$LINENO: result: failed" >&5
7610 echo "${ECHO_T}failed" >&6
7612 echo "$as_me:$LINENO: result: ok" >&5
7613 echo "${ECHO_T}ok" >&6
7616 echo "$as_me:$LINENO: checking for objdir" >&5
7617 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7618 if test "${lt_cv_objdir+set}" = set; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 rm -f .libs 2>/dev/null
7622 mkdir .libs 2>/dev/null
7623 if test -d .libs; then
7626 # MS-DOS does not allow filenames that begin with a dot.
7629 rmdir .libs 2>/dev/null
7631 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7632 echo "${ECHO_T}$lt_cv_objdir" >&6
7633 objdir=$lt_cv_objdir
7641 # AIX sometimes has problems with the GCC collect2 program. For some
7642 # reason, if we set the COLLECT_NAMES environment variable, the problems
7643 # vanish in a puff of smoke.
7644 if test "X${COLLECT_NAMES+set}" != Xset; then
7646 export COLLECT_NAMES
7651 # Sed substitution that helps us do robust quoting. It backslashifies
7652 # metacharacters that are still active within double-quoted strings.
7653 Xsed='sed -e s/^X//'
7654 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7656 # Same as above, but do not quote variable references.
7657 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7659 # Sed substitution to delay expansion of an escaped shell variable in a
7660 # double_quote_subst'ed string.
7661 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7663 # Sed substitution to avoid accidental globbing in evaled expressions
7664 no_glob_subst='s/\*/\\\*/g'
7670 default_ofile=libtool
7671 can_build_shared=yes
7673 # All known linkers require a `.a' archive for static linking (except M$VC,
7674 # which needs '.lib').
7676 ltmain="$ac_aux_dir/ltmain.sh"
7677 ofile="$default_ofile"
7678 with_gnu_ld="$lt_cv_prog_gnu_ld"
7680 if test -n "$ac_tool_prefix"; then
7681 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7682 set dummy ${ac_tool_prefix}ar; ac_word=$2
7683 echo "$as_me:$LINENO: checking for $ac_word" >&5
7684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7685 if test "${ac_cv_prog_AR+set}" = set; then
7686 echo $ECHO_N "(cached) $ECHO_C" >&6
7688 if test -n "$AR"; then
7689 ac_cv_prog_AR="$AR" # Let the user override the test.
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7698 ac_cv_prog_AR="${ac_tool_prefix}ar"
7699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 if test -n "$AR"; then
7709 echo "$as_me:$LINENO: result: $AR" >&5
7710 echo "${ECHO_T}$AR" >&6
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7717 if test -z "$ac_cv_prog_AR"; then
7719 # Extract the first word of "ar", so it can be a program name with args.
7720 set dummy ar; ac_word=$2
7721 echo "$as_me:$LINENO: checking for $ac_word" >&5
7722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 if test -n "$ac_ct_AR"; then
7727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7736 ac_cv_prog_ac_ct_AR="ar"
7737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7743 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7747 if test -n "$ac_ct_AR"; then
7748 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7749 echo "${ECHO_T}$ac_ct_AR" >&6
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7760 if test -n "$ac_tool_prefix"; then
7761 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7762 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7763 echo "$as_me:$LINENO: checking for $ac_word" >&5
7764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7765 if test "${ac_cv_prog_RANLIB+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 if test -n "$RANLIB"; then
7769 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 RANLIB=$ac_cv_prog_RANLIB
7788 if test -n "$RANLIB"; then
7789 echo "$as_me:$LINENO: result: $RANLIB" >&5
7790 echo "${ECHO_T}$RANLIB" >&6
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7797 if test -z "$ac_cv_prog_RANLIB"; then
7798 ac_ct_RANLIB=$RANLIB
7799 # Extract the first word of "ranlib", so it can be a program name with args.
7800 set dummy ranlib; ac_word=$2
7801 echo "$as_me:$LINENO: checking for $ac_word" >&5
7802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7803 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 if test -n "$ac_ct_RANLIB"; then
7807 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7816 ac_cv_prog_ac_ct_RANLIB="ranlib"
7817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7823 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7826 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7827 if test -n "$ac_ct_RANLIB"; then
7828 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7829 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7835 RANLIB=$ac_ct_RANLIB
7837 RANLIB="$ac_cv_prog_RANLIB"
7840 if test -n "$ac_tool_prefix"; then
7841 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7842 set dummy ${ac_tool_prefix}strip; ac_word=$2
7843 echo "$as_me:$LINENO: checking for $ac_word" >&5
7844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7845 if test "${ac_cv_prog_STRIP+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 if test -n "$STRIP"; then
7849 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 STRIP=$ac_cv_prog_STRIP
7868 if test -n "$STRIP"; then
7869 echo "$as_me:$LINENO: result: $STRIP" >&5
7870 echo "${ECHO_T}$STRIP" >&6
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7877 if test -z "$ac_cv_prog_STRIP"; then
7879 # Extract the first word of "strip", so it can be a program name with args.
7880 set dummy strip; ac_word=$2
7881 echo "$as_me:$LINENO: checking for $ac_word" >&5
7882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7883 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 if test -n "$ac_ct_STRIP"; then
7887 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7893 test -z "$as_dir" && as_dir=.
7894 for ac_exec_ext in '' $ac_executable_extensions; do
7895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7896 ac_cv_prog_ac_ct_STRIP="strip"
7897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7906 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7907 if test -n "$ac_ct_STRIP"; then
7908 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7909 echo "${ECHO_T}$ac_ct_STRIP" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7917 STRIP="$ac_cv_prog_STRIP"
7922 old_CFLAGS="$CFLAGS"
7924 # Set sane defaults for various variables
7925 test -z "$AR" && AR=ar
7926 test -z "$AR_FLAGS" && AR_FLAGS=cru
7927 test -z "$AS" && AS=as
7928 test -z "$CC" && CC=cc
7929 test -z "$LTCC" && LTCC=$CC
7930 test -z "$DLLTOOL" && DLLTOOL=dlltool
7931 test -z "$LD" && LD=ld
7932 test -z "$LN_S" && LN_S="ln -s"
7933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7934 test -z "$NM" && NM=nm
7935 test -z "$SED" && SED=sed
7936 test -z "$OBJDUMP" && OBJDUMP=objdump
7937 test -z "$RANLIB" && RANLIB=:
7938 test -z "$STRIP" && STRIP=:
7939 test -z "$ac_objext" && ac_objext=o
7941 # Determine commands to create old-style static archives.
7942 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7943 old_postinstall_cmds='chmod 644 $oldlib'
7944 old_postuninstall_cmds=
7946 if test -n "$RANLIB"; then
7949 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7952 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
7955 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7958 # Only perform the check for file, if the check method requires it
7959 case $deplibs_check_method in
7961 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7962 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7963 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7964 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7972 lt_save_MAGIC_CMD="$MAGIC_CMD"
7973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7974 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7975 for ac_dir in $ac_dummy; do
7977 test -z "$ac_dir" && ac_dir=.
7978 if test -f $ac_dir/${ac_tool_prefix}file; then
7979 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7980 if test -n "$file_magic_test_file"; then
7981 case $deplibs_check_method in
7983 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7986 $EGREP "$file_magic_regex" > /dev/null; then
7991 *** Warning: the command libtool uses to detect shared libraries,
7992 *** $file_magic_cmd, produces output that libtool cannot recognize.
7993 *** The result is that libtool may fail to recognize shared libraries
7994 *** as such. This will affect the creation of libtool libraries that
7995 *** depend on shared libraries, but programs linked with such libtool
7996 *** libraries will work regardless of this problem. Nevertheless, you
7997 *** may want to report the problem to your system manager and/or to
7998 *** bug-libtool@gnu.org
8008 MAGIC_CMD="$lt_save_MAGIC_CMD"
8013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8014 if test -n "$MAGIC_CMD"; then
8015 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8016 echo "${ECHO_T}$MAGIC_CMD" >&6
8018 echo "$as_me:$LINENO: result: no" >&5
8019 echo "${ECHO_T}no" >&6
8022 if test -z "$lt_cv_path_MAGIC_CMD"; then
8023 if test -n "$ac_tool_prefix"; then
8024 echo "$as_me:$LINENO: checking for file" >&5
8025 echo $ECHO_N "checking for file... $ECHO_C" >&6
8026 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8027 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8034 lt_save_MAGIC_CMD="$MAGIC_CMD"
8035 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8036 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8037 for ac_dir in $ac_dummy; do
8039 test -z "$ac_dir" && ac_dir=.
8040 if test -f $ac_dir/file; then
8041 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8042 if test -n "$file_magic_test_file"; then
8043 case $deplibs_check_method in
8045 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8047 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8048 $EGREP "$file_magic_regex" > /dev/null; then
8053 *** Warning: the command libtool uses to detect shared libraries,
8054 *** $file_magic_cmd, produces output that libtool cannot recognize.
8055 *** The result is that libtool may fail to recognize shared libraries
8056 *** as such. This will affect the creation of libtool libraries that
8057 *** depend on shared libraries, but programs linked with such libtool
8058 *** libraries will work regardless of this problem. Nevertheless, you
8059 *** may want to report the problem to your system manager and/or to
8060 *** bug-libtool@gnu.org
8070 MAGIC_CMD="$lt_save_MAGIC_CMD"
8075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8076 if test -n "$MAGIC_CMD"; then
8077 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8078 echo "${ECHO_T}$MAGIC_CMD" >&6
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8096 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8097 if test "${enable_libtool_lock+set}" = set; then
8098 enableval="$enable_libtool_lock"
8101 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8104 # Check whether --with-pic or --without-pic was given.
8105 if test "${with_pic+set}" = set; then
8111 test -z "$pic_mode" && pic_mode=default
8113 # Use C for the default configuration in the libtool script
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8123 # Source file extension for C test sources.
8126 # Object file extension for compiled C test sources.
8130 # Code to be used in simple compile tests
8131 lt_simple_compile_test_code="int some_variable = 0;\n"
8133 # Code to be used in simple link tests
8134 lt_simple_link_test_code='int main(){return(0);}\n'
8137 # If no C compiler was specified, use CC.
8140 # Allow CC to be a program name with arguments.
8145 # Check for any special shared library compilation flags.
8148 if test "$GCC" = no; then
8151 lt_prog_cc_shlib='-belf'
8155 if test -n "$lt_prog_cc_shlib"; then
8156 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
8157 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
8158 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
8160 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
8161 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
8162 lt_cv_prog_cc_can_build_shared=no
8168 # Check to make sure the static flag actually works.
8170 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8171 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
8172 if test "${lt_prog_compiler_static_works+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 lt_prog_compiler_static_works=no
8176 save_LDFLAGS="$LDFLAGS"
8177 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
8178 printf "$lt_simple_link_test_code" > conftest.$ac_ext
8179 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8180 # The compiler can only warn and ignore the option if not recognized
8181 # So say no if there are warnings
8182 if test -s conftest.err; then
8183 # Append any errors to the config.log.
8184 cat conftest.err 1>&5
8186 lt_prog_compiler_static_works=yes
8190 LDFLAGS="$save_LDFLAGS"
8193 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8194 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8196 if test x"$lt_prog_compiler_static_works" = xyes; then
8199 lt_prog_compiler_static=
8205 ## There is no encapsulation within the following macros, do not change
8206 ## the running order or otherwise move them around unless you know exactly
8207 ## what you are doing...
8209 lt_prog_compiler_no_builtin_flag=
8211 if test "$GCC" = yes; then
8212 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8215 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8216 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8217 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8218 echo $ECHO_N "(cached) $ECHO_C" >&6
8220 lt_cv_prog_compiler_rtti_exceptions=no
8221 ac_outfile=conftest.$ac_objext
8222 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8223 lt_compiler_flag="-fno-rtti -fno-exceptions"
8224 # Insert the option either (1) after the last *FLAGS variable, or
8225 # (2) before a word containing "conftest.", or (3) at the end.
8226 # Note that $ac_compile itself does not contain backslashes and begins
8227 # with a dollar sign (not a hyphen), so the echo should work correctly.
8228 # The option is referenced via a variable to avoid confusing sed.
8229 lt_compile=`echo "$ac_compile" | $SED \
8230 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8231 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8232 -e 's:$: $lt_compiler_flag:'`
8233 (eval echo "\"\$as_me:8233: $lt_compile\"" >&5)
8234 (eval "$lt_compile" 2>conftest.err)
8236 cat conftest.err >&5
8237 echo "$as_me:8237: \$? = $ac_status" >&5
8238 if (exit $ac_status) && test -s "$ac_outfile"; then
8239 # The compiler can only warn and ignore the option if not recognized
8240 # So say no if there are warnings
8241 if test ! -s conftest.err; then
8242 lt_cv_prog_compiler_rtti_exceptions=yes
8248 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8249 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8251 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8252 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8259 lt_prog_compiler_wl=
8260 lt_prog_compiler_pic=
8261 lt_prog_compiler_static=
8263 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8264 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8266 if test "$GCC" = yes; then
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_static='-static'
8272 # All AIX code is PIC.
8273 if test "$host_cpu" = ia64; then
8274 # AIX 5 now supports IA64 processor
8275 lt_prog_compiler_static='-Bstatic'
8280 # FIXME: we need at least 68020 code to build shared libraries, but
8281 # adding the `-m68020' flag to GCC prevents building anything better,
8283 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8286 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8287 # PIC is the default for these OSes.
8290 mingw* | pw32* | os2*)
8291 # This hack is so that the source file can tell whether it is being
8292 # built for inclusion in a dll (and should export symbols for example).
8293 lt_prog_compiler_pic='-DDLL_EXPORT'
8296 darwin* | rhapsody*)
8297 # PIC is the default on this platform
8298 # Common symbols not allowed in MH_DYLIB files
8299 lt_prog_compiler_pic='-fno-common'
8303 # Just because we use GCC doesn't mean we suddenly get shared libraries
8304 # on systems that don't support them.
8305 lt_prog_compiler_can_build_shared=no
8310 if test -d /usr/nec; then
8311 lt_prog_compiler_pic=-Kconform_pic
8316 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8323 lt_prog_compiler_pic='-fPIC'
8329 lt_prog_compiler_pic='-fPIC'
8333 # PORTME Check for flag to pass linker flags through the system compiler.
8336 lt_prog_compiler_wl='-Wl,'
8337 if test "$host_cpu" = ia64; then
8338 # AIX 5 now supports IA64 processor
8339 lt_prog_compiler_static='-Bstatic'
8341 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8345 mingw* | pw32* | os2*)
8346 # This hack is so that the source file can tell whether it is being
8347 # built for inclusion in a dll (and should export symbols for example).
8348 lt_prog_compiler_pic='-DDLL_EXPORT'
8351 hpux9* | hpux10* | hpux11*)
8352 lt_prog_compiler_wl='-Wl,'
8353 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8360 lt_prog_compiler_pic='+Z'
8363 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8364 lt_prog_compiler_static='${wl}-a ${wl}archive'
8367 irix5* | irix6* | nonstopux*)
8368 lt_prog_compiler_wl='-Wl,'
8369 # PIC (with -KPIC) is the default.
8370 lt_prog_compiler_static='-non_shared'
8374 lt_prog_compiler_pic='-KPIC'
8375 lt_prog_compiler_static='-Bstatic'
8381 lt_prog_compiler_wl='-Wl,'
8382 lt_prog_compiler_pic='-KPIC'
8383 lt_prog_compiler_static='-static'
8386 lt_prog_compiler_wl='-Wl,'
8387 # All Alpha code is PIC.
8388 lt_prog_compiler_static='-non_shared'
8393 osf3* | osf4* | osf5*)
8394 lt_prog_compiler_wl='-Wl,'
8395 # All OSF/1 code is PIC.
8396 lt_prog_compiler_static='-non_shared'
8400 lt_prog_compiler_pic='-Kpic'
8401 lt_prog_compiler_static='-dn'
8405 lt_prog_compiler_wl='-Wl,'
8406 lt_prog_compiler_pic='-KPIC'
8407 lt_prog_compiler_static='-Bstatic'
8411 lt_prog_compiler_wl='-Qoption ld '
8412 lt_prog_compiler_pic='-PIC'
8413 lt_prog_compiler_static='-Bstatic'
8416 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8417 lt_prog_compiler_wl='-Wl,'
8418 lt_prog_compiler_pic='-KPIC'
8419 lt_prog_compiler_static='-Bstatic'
8423 if test -d /usr/nec ;then
8424 lt_prog_compiler_pic='-Kconform_pic'
8425 lt_prog_compiler_static='-Bstatic'
8430 lt_prog_compiler_pic='-pic'
8431 lt_prog_compiler_static='-Bstatic'
8435 lt_prog_compiler_can_build_shared=no
8440 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8441 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8444 # Check to make sure the PIC flag actually works.
8446 if test -n "$lt_prog_compiler_pic"; then
8448 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8449 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8450 if test "${lt_prog_compiler_pic_works+set}" = set; then
8451 echo $ECHO_N "(cached) $ECHO_C" >&6
8453 lt_prog_compiler_pic_works=no
8454 ac_outfile=conftest.$ac_objext
8455 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8456 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8457 # Insert the option either (1) after the last *FLAGS variable, or
8458 # (2) before a word containing "conftest.", or (3) at the end.
8459 # Note that $ac_compile itself does not contain backslashes and begins
8460 # with a dollar sign (not a hyphen), so the echo should work correctly.
8461 # The option is referenced via a variable to avoid confusing sed.
8462 lt_compile=`echo "$ac_compile" | $SED \
8463 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8465 -e 's:$: $lt_compiler_flag:'`
8466 (eval echo "\"\$as_me:8466: $lt_compile\"" >&5)
8467 (eval "$lt_compile" 2>conftest.err)
8469 cat conftest.err >&5
8470 echo "$as_me:8470: \$? = $ac_status" >&5
8471 if (exit $ac_status) && test -s "$ac_outfile"; then
8472 # The compiler can only warn and ignore the option if not recognized
8473 # So say no if there are warnings
8474 if test ! -s conftest.err; then
8475 lt_prog_compiler_pic_works=yes
8481 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8482 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
8484 if test x"$lt_prog_compiler_pic_works" = xyes; then
8485 case $lt_prog_compiler_pic in
8487 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8490 lt_prog_compiler_pic=
8491 lt_prog_compiler_can_build_shared=no
8496 # For platforms which do not support PIC, -DPIC is meaningless:
8498 lt_prog_compiler_pic=
8501 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8505 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8506 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8507 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8510 lt_cv_prog_compiler_c_o=no
8511 $rm -r conftest 2>/dev/null
8515 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8517 lt_compiler_flag="-o out/conftest2.$ac_objext"
8518 # Insert the option either (1) after the last *FLAGS variable, or
8519 # (2) before a word containing "conftest.", or (3) at the end.
8520 # Note that $ac_compile itself does not contain backslashes and begins
8521 # with a dollar sign (not a hyphen), so the echo should work correctly.
8522 lt_compile=`echo "$ac_compile" | $SED \
8523 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8525 -e 's:$: $lt_compiler_flag:'`
8526 (eval echo "\"\$as_me:8526: $lt_compile\"" >&5)
8527 (eval "$lt_compile" 2>out/conftest.err)
8529 cat out/conftest.err >&5
8530 echo "$as_me:8530: \$? = $ac_status" >&5
8531 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8533 # The compiler can only warn and ignore the option if not recognized
8534 # So say no if there are warnings
8535 if test ! -s out/conftest.err; then
8536 lt_cv_prog_compiler_c_o=yes
8541 # SGI C++ compiler will create directory out/ii_files/ for
8542 # template instantiation
8543 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8544 $rm out/* && rmdir out
8550 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8551 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8554 hard_links="nottested"
8555 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8556 # do not overwrite the value of need_locks provided by the user
8557 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8558 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8561 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8563 ln conftest.a conftest.b 2>&5 || hard_links=no
8564 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8565 echo "$as_me:$LINENO: result: $hard_links" >&5
8566 echo "${ECHO_T}$hard_links" >&6
8567 if test "$hard_links" = no; then
8568 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8569 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8576 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8577 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8580 allow_undefined_flag=
8581 enable_shared_with_static_runtimes=no
8583 archive_expsym_cmds=
8584 old_archive_From_new_cmds=
8585 old_archive_from_expsyms_cmds=
8586 export_dynamic_flag_spec=
8587 whole_archive_flag_spec=
8588 thread_safe_flag_spec=
8589 hardcode_libdir_flag_spec=
8590 hardcode_libdir_flag_spec_ld=
8591 hardcode_libdir_separator=
8594 hardcode_shlibpath_var=unsupported
8595 link_all_deplibs=unknown
8596 hardcode_automatic=no
8599 always_export_symbols=no
8600 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8601 # include_expsyms should be a list of space-separated symbols to be *always*
8602 # included in the symbol list
8604 # exclude_expsyms can be an extended regexp of symbols to exclude
8605 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8606 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8607 # as well as any symbol that contains `d'.
8608 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8609 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8610 # platforms (ab)use it in PIC code, but their linkers get confused if
8611 # the symbol is explicitly referenced. Since portable code cannot
8612 # rely on this symbol name, it's probably fine to never include it in
8613 # preloaded symbol tables.
8614 extract_expsyms_cmds=
8617 cygwin* | mingw* | pw32*)
8618 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8619 # When not using gcc, we currently assume that we are using
8620 # Microsoft Visual C++.
8621 if test "$GCC" != yes; then
8631 if test "$with_gnu_ld" = yes; then
8632 # If archive_cmds runs LD, not CC, wlarc should be empty
8635 # See if GNU ld supports shared libraries.
8637 aix3* | aix4* | aix5*)
8638 # On AIX/PPC, the GNU linker is very broken
8639 if test "$host_cpu" != ia64; then
8643 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8644 *** to be unable to reliably create shared libraries on AIX.
8645 *** Therefore, libtool is disabling shared libraries support. If you
8646 *** really care for shared libraries, you may want to modify your PATH
8647 *** so that a non-GNU linker is found, and then restart.
8654 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)'
8655 hardcode_libdir_flag_spec='-L$libdir'
8656 hardcode_minus_L=yes
8658 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8659 # that the semantics of dynamic libraries on AmigaOS, at least up
8660 # to version 4, is to share data among multiple programs linked
8661 # with the same dynamic library. Since this doesn't match the
8662 # behavior of shared libraries on other platforms, we can't use
8668 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8669 allow_undefined_flag=unsupported
8670 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8671 # support --undefined. This deserves some investigation. FIXME
8672 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8678 cygwin* | mingw* | pw32*)
8679 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8680 # as there is no search path for DLLs.
8681 hardcode_libdir_flag_spec='-L$libdir'
8682 allow_undefined_flag=unsupported
8683 always_export_symbols=no
8684 enable_shared_with_static_runtimes=yes
8685 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8687 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8688 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8689 # If the export-symbols file already is a .def file (1st line
8690 # is EXPORTS), use it as is; otherwise, prepend...
8691 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8692 cp $export_symbols $output_objdir/$soname.def;
8694 echo EXPORTS > $output_objdir/$soname.def;
8695 cat $export_symbols >> $output_objdir/$soname.def;
8697 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8704 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8705 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8708 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8709 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8714 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8718 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8719 *** create shared libraries on Solaris systems. Therefore, libtool
8720 *** is disabling shared libraries support. We urge you to upgrade GNU
8721 *** binutils to release 2.9.1 or newer. Another option is to modify
8722 *** your PATH or compiler configuration so that the native linker is
8723 *** used, and then restart.
8726 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8728 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8735 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8738 hardcode_shlibpath_var=no
8742 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8743 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8744 archive_cmds="$tmp_archive_cmds"
8745 supports_anon_versioning=no
8746 case `$LD -v 2>/dev/null` in
8747 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8748 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8749 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8750 *\ 2.11.*) ;; # other 2.11 versions
8751 *) supports_anon_versioning=yes ;;
8753 if test $supports_anon_versioning = yes; then
8754 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8756 $echo "local: *; };" >> $output_objdir/$libname.ver~
8757 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8759 archive_expsym_cmds="$tmp_archive_cmds"
8767 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8768 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8769 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8776 if test "$ld_shlibs" = yes; then
8777 runpath_var=LD_RUN_PATH
8778 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8779 export_dynamic_flag_spec='${wl}--export-dynamic'
8780 # ancient GNU ld didn't support --whole-archive et. al.
8781 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8782 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8784 whole_archive_flag_spec=
8788 # PORTME fill in a description of your system's linker (not GNU ld)
8791 allow_undefined_flag=unsupported
8792 always_export_symbols=yes
8793 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'
8794 # Note: this linker hardcodes the directories in LIBPATH if there
8795 # are no directories specified by -L.
8796 hardcode_minus_L=yes
8797 if test "$GCC" = yes && test -z "$link_static_flag"; then
8798 # Neither direct hardcoding nor static linking is supported with a
8800 hardcode_direct=unsupported
8805 if test "$host_cpu" = ia64; then
8806 # On IA64, the linker does run time linking by default, so we don't
8807 # have to do anything special.
8808 aix_use_runtimelinking=no
8809 exp_sym_flag='-Bexport'
8812 # If we're using GNU nm, then we don't want the "-C" option.
8813 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8814 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8815 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'
8817 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'
8819 aix_use_runtimelinking=no
8821 # Test if we are trying to use run time linking or normal
8822 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8823 # need to do runtime linking.
8824 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8825 for ld_flag in $LDFLAGS; do
8826 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8827 aix_use_runtimelinking=yes
8833 exp_sym_flag='-bexport'
8834 no_entry_flag='-bnoentry'
8837 # When large executables or shared objects are built, AIX ld can
8838 # have problems creating the table of contents. If linking a library
8839 # or program results in "error TOC overflow" add -mminimal-toc to
8840 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8841 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8845 hardcode_libdir_separator=':'
8846 link_all_deplibs=yes
8848 if test "$GCC" = yes; then
8849 case $host_os in aix4.012|aix4.012.*)
8850 # We only want to do this on AIX 4.2 and lower, the check
8851 # below for broken collect2 doesn't work under 4.3+
8852 collect2name=`${CC} -print-prog-name=collect2`
8853 if test -f "$collect2name" && \
8854 strings "$collect2name" | grep resolve_lib_name >/dev/null
8856 # We have reworked collect2
8859 # We have old collect2
8860 hardcode_direct=unsupported
8861 # It fails to find uninstalled libraries when the uninstalled
8862 # path is not listed in the libpath. Setting hardcode_minus_L
8863 # to unsupported forces relinking
8864 hardcode_minus_L=yes
8865 hardcode_libdir_flag_spec='-L$libdir'
8866 hardcode_libdir_separator=
8869 shared_flag='-shared'
8872 if test "$host_cpu" = ia64; then
8873 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8874 # chokes on -Wl,-G. The following line is correct:
8877 if test "$aix_use_runtimelinking" = yes; then
8878 shared_flag='${wl}-G'
8880 shared_flag='${wl}-bM:SRE'
8885 # It seems that -bexpall does not export symbols beginning with
8886 # underscore (_), so it is better to generate a list of symbols to export.
8887 always_export_symbols=yes
8888 if test "$aix_use_runtimelinking" = yes; then
8889 # Warning - without using the other runtime loading flags (-brtl),
8890 # -berok will link without error, but may produce a broken library.
8891 allow_undefined_flag='-berok'
8892 # Determine the default libpath from the value encoded in an empty executable.
8893 cat >conftest.$ac_ext <<_ACEOF
8896 cat confdefs.h >>conftest.$ac_ext
8897 cat >>conftest.$ac_ext <<_ACEOF
8898 /* end confdefs.h. */
8908 rm -f conftest.$ac_objext conftest$ac_exeext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8910 (eval $ac_link) 2>conftest.er1
8912 grep -v '^ *+' conftest.er1 >conftest.err
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } &&
8917 { ac_try='test -z "$ac_c_werror_flag"
8918 || test ! -s conftest.err'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try='test -s conftest$ac_exeext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8931 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8933 # Check for a 64-bit object if we didn't find anything.
8934 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; }
8937 echo "$as_me: failed program was:" >&5
8938 sed 's/^/| /' conftest.$ac_ext >&5
8941 rm -f conftest.err conftest.$ac_objext \
8942 conftest$ac_exeext conftest.$ac_ext
8943 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8945 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8946 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"
8948 if test "$host_cpu" = ia64; then
8949 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8950 allow_undefined_flag="-z nodefs"
8951 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"
8953 # Determine the default libpath from the value encoded in an empty executable.
8954 cat >conftest.$ac_ext <<_ACEOF
8957 cat confdefs.h >>conftest.$ac_ext
8958 cat >>conftest.$ac_ext <<_ACEOF
8959 /* end confdefs.h. */
8969 rm -f conftest.$ac_objext conftest$ac_exeext
8970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8971 (eval $ac_link) 2>conftest.er1
8973 grep -v '^ *+' conftest.er1 >conftest.err
8975 cat conftest.err >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); } &&
8978 { ac_try='test -z "$ac_c_werror_flag"
8979 || test ! -s conftest.err'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } &&
8985 { ac_try='test -s conftest$ac_exeext'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; }; then
8992 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8994 # Check for a 64-bit object if we didn't find anything.
8995 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; }
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9002 rm -f conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9006 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9007 # Warning - without using the other run time loading flags,
9008 # -berok will link without error, but may produce a broken library.
9009 no_undefined_flag=' ${wl}-bernotok'
9010 allow_undefined_flag=' ${wl}-berok'
9011 # -bexpall does not export symbols beginning with underscore (_)
9012 always_export_symbols=yes
9013 # Exported symbols can be pulled into shared objects from archives
9014 whole_archive_flag_spec=' '
9015 archive_cmds_need_lc=yes
9016 # This is similar to how AIX traditionally builds it's shared libraries.
9017 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'
9023 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)'
9024 hardcode_libdir_flag_spec='-L$libdir'
9025 hardcode_minus_L=yes
9026 # see comment about different semantics on the GNU ld section
9031 export_dynamic_flag_spec=-rdynamic
9034 cygwin* | mingw* | pw32*)
9035 # When not using gcc, we currently assume that we are using
9036 # Microsoft Visual C++.
9037 # hardcode_libdir_flag_spec is actually meaningless, as there is
9038 # no search path for DLLs.
9039 hardcode_libdir_flag_spec=' '
9040 allow_undefined_flag=unsupported
9041 # Tell ltmain to make .lib files, not .a files.
9043 # Tell ltmain to make .dll files, not .so files.
9045 # FIXME: Setting linknames here is a bad hack.
9046 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9047 # The linker will automatically build a .lib file if we build a DLL.
9048 old_archive_From_new_cmds='true'
9049 # FIXME: Should let the user specify the lib program.
9050 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
9051 fix_srcfile_path='`cygpath -w "$srcfile"`'
9052 enable_shared_with_static_runtimes=yes
9055 darwin* | rhapsody*)
9056 if test "$GXX" = yes ; then
9057 archive_cmds_need_lc=no
9059 rhapsody* | darwin1.[012])
9060 allow_undefined_flag='-undefined suppress'
9063 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9064 allow_undefined_flag='-flat_namespace -undefined suppress'
9066 case ${MACOSX_DEPLOYMENT_TARGET} in
9068 allow_undefined_flag='-flat_namespace -undefined suppress'
9071 allow_undefined_flag='-undefined dynamic_lookup'
9077 lt_int_apple_cc_single_mod=no
9078 output_verbose_link_cmd='echo'
9079 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9080 lt_int_apple_cc_single_mod=yes
9082 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9083 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9085 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9087 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9088 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9089 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9090 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9092 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9094 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}'
9096 hardcode_automatic=yes
9097 hardcode_shlibpath_var=unsupported
9098 whole_archive_flag_spec='-all_load $convenience'
9099 link_all_deplibs=yes
9106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9107 hardcode_libdir_flag_spec='-L$libdir'
9108 hardcode_shlibpath_var=no
9115 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9116 # support. Future versions do this automatically, but an explicit c++rt0.o
9117 # does not break anything, and helps significantly (at the cost of a little
9120 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9121 hardcode_libdir_flag_spec='-R$libdir'
9123 hardcode_shlibpath_var=no
9126 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9128 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9130 hardcode_minus_L=yes
9131 hardcode_shlibpath_var=no
9134 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9135 freebsd* | kfreebsd*-gnu)
9136 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9137 hardcode_libdir_flag_spec='-R$libdir'
9139 hardcode_shlibpath_var=no
9143 if test "$GCC" = yes; then
9144 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'
9146 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'
9148 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9149 hardcode_libdir_separator=:
9152 # hardcode_minus_L: Not really in the search PATH,
9153 # but as the default location of the library.
9154 hardcode_minus_L=yes
9155 export_dynamic_flag_spec='${wl}-E'
9159 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9162 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9171 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
9174 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9178 if test "$with_gnu_ld" = no; then
9181 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9182 hardcode_libdir_flag_spec_ld='+b $libdir'
9183 hardcode_libdir_separator=:
9185 hardcode_shlibpath_var=no
9188 hardcode_libdir_flag_spec='-L$libdir'
9190 hardcode_shlibpath_var=no
9192 # hardcode_minus_L: Not really in the search PATH,
9193 # but as the default location of the library.
9194 hardcode_minus_L=yes
9197 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9198 hardcode_libdir_separator=:
9200 export_dynamic_flag_spec='${wl}-E'
9202 # hardcode_minus_L: Not really in the search PATH,
9203 # but as the default location of the library.
9204 hardcode_minus_L=yes
9210 irix5* | irix6* | nonstopux*)
9211 if test "$GCC" = yes; then
9212 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'
9214 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'
9215 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9217 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9218 hardcode_libdir_separator=:
9219 link_all_deplibs=yes
9223 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9224 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9226 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9228 hardcode_libdir_flag_spec='-R$libdir'
9230 hardcode_shlibpath_var=no
9234 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9236 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9237 hardcode_libdir_separator=:
9238 hardcode_shlibpath_var=no
9243 hardcode_shlibpath_var=no
9244 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9245 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9246 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9247 export_dynamic_flag_spec='${wl}-E'
9250 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9251 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9252 hardcode_libdir_flag_spec='-R$libdir'
9255 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9256 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9263 hardcode_libdir_flag_spec='-L$libdir'
9264 hardcode_minus_L=yes
9265 allow_undefined_flag=unsupported
9266 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'
9267 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9271 if test "$GCC" = yes; then
9272 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9273 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'
9275 allow_undefined_flag=' -expect_unresolved \*'
9276 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'
9278 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9279 hardcode_libdir_separator=:
9282 osf4* | osf5*) # as osf3* with the addition of -msym flag
9283 if test "$GCC" = yes; then
9284 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9285 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'
9286 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9288 allow_undefined_flag=' -expect_unresolved \*'
9289 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'
9290 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9291 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
9293 # Both c and cxx compiler support -rpath directly
9294 hardcode_libdir_flag_spec='-rpath $libdir'
9296 hardcode_libdir_separator=:
9300 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9301 hardcode_shlibpath_var=no
9302 export_dynamic_flag_spec='${wl}-Bexport'
9303 runpath_var=LD_RUN_PATH
9304 hardcode_runpath_var=yes
9308 no_undefined_flag=' -z text'
9309 if test "$GCC" = yes; then
9310 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9311 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9312 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9314 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9315 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9316 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9318 hardcode_libdir_flag_spec='-R$libdir'
9319 hardcode_shlibpath_var=no
9321 solaris2.[0-5] | solaris2.[0-5].*) ;;
9322 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
9323 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9325 link_all_deplibs=yes
9329 if test "x$host_vendor" = xsequent; then
9330 # Use $CC to link under sequent, because it throws in some extra .o
9331 # files that make .init and .fini sections work.
9332 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9334 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9336 hardcode_libdir_flag_spec='-L$libdir'
9338 hardcode_minus_L=yes
9339 hardcode_shlibpath_var=no
9343 case $host_vendor in
9345 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9346 hardcode_direct=yes # is this really true???
9349 ## LD is ld it makes a PLAMLIB
9350 ## CC just makes a GrossModule.
9351 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9352 reload_cmds='$CC -r -o $output$reload_objs'
9356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9357 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9360 runpath_var='LD_RUN_PATH'
9361 hardcode_shlibpath_var=no
9365 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9366 hardcode_shlibpath_var=no
9367 export_dynamic_flag_spec='-Bexport'
9371 if test -d /usr/nec; then
9372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9373 hardcode_shlibpath_var=no
9374 runpath_var=LD_RUN_PATH
9375 hardcode_runpath_var=yes
9381 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9384 hardcode_shlibpath_var=no
9385 hardcode_runpath_var=yes
9386 runpath_var=LD_RUN_PATH
9389 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
9390 no_undefined_flag='${wl}-z ${wl}text'
9391 if test "$GCC" = yes; then
9392 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9396 runpath_var='LD_RUN_PATH'
9397 hardcode_shlibpath_var=no
9401 no_undefined_flag=' -z text'
9402 # $CC -shared without GNU ld will not create a library from C++
9403 # object files and a static libstdc++, better avoid it by now
9404 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9406 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9407 hardcode_libdir_flag_spec=
9408 hardcode_shlibpath_var=no
9409 runpath_var='LD_RUN_PATH'
9413 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_libdir_flag_spec='-L$libdir'
9415 hardcode_shlibpath_var=no
9424 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9425 echo "${ECHO_T}$ld_shlibs" >&6
9426 test "$ld_shlibs" = no && can_build_shared=no
9428 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9429 if test "$GCC" = yes; then
9430 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9434 # Do we need to explicitly link libc?
9436 case "x$archive_cmds_need_lc" in
9438 # Assume -lc should be added
9439 archive_cmds_need_lc=yes
9441 if test "$enable_shared" = yes && test "$GCC" = yes; then
9442 case $archive_cmds in
9444 # FIXME: we may have to deal with multi-command sequences.
9447 # Test whether the compiler implicitly links with -lc since on some
9448 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9449 # to ld, don't add -lc before -lgcc.
9450 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9451 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9453 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9456 (eval $ac_compile) 2>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } 2>conftest.err; then
9462 libobjs=conftest.$ac_objext
9464 wl=$lt_prog_compiler_wl
9470 lt_save_allow_undefined_flag=$allow_undefined_flag
9471 allow_undefined_flag=
9472 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9473 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }
9478 archive_cmds_need_lc=no
9480 archive_cmds_need_lc=yes
9482 allow_undefined_flag=$lt_save_allow_undefined_flag
9484 cat conftest.err 1>&5
9487 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9488 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9495 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9496 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9498 libname_spec='lib$name'
9506 shlibpath_overrides_runpath=unknown
9508 dynamic_linker="$host_os ld.so"
9509 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9510 if test "$GCC" = yes; then
9511 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9512 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9513 # if the path contains ";" then we assume it to be the separator
9514 # otherwise default to the standard path separator (i.e. ":") - it is
9515 # assumed that no part of a normal pathname contains ";" but that should
9516 # okay in the real world where ";" in dirpaths is itself problematic.
9517 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9519 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9522 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9524 need_lib_prefix=unknown
9525 hardcode_into_libs=no
9527 # when you set need_version to no, make sure it does not cause -set_version
9528 # flags to be left without arguments
9529 need_version=unknown
9534 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9535 shlibpath_var=LIBPATH
9537 # AIX 3 has no versioning support, so we append a major version to the name.
9538 soname_spec='${libname}${release}${shared_ext}$major'
9545 hardcode_into_libs=yes
9546 if test "$host_cpu" = ia64; then
9547 # AIX 5 supports IA64
9548 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9549 shlibpath_var=LD_LIBRARY_PATH
9551 # With GCC up to 2.95.x, collect2 would create an import file
9552 # for dependence libraries. The import file would start with
9553 # the line `#! .'. This would cause the generated library to
9554 # depend on `.', always an invalid library. This was fixed in
9555 # development snapshots of GCC prior to 3.0.
9557 aix4 | aix4.[01] | aix4.[01].*)
9558 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9560 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9567 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9568 # soname into executable. Probably we can add versioning support to
9569 # collect2, so additional links can be useful in future.
9570 if test "$aix_use_runtimelinking" = yes; then
9571 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9572 # instead of lib<name>.a to let people know that these are not
9573 # typical AIX shared libraries.
9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576 # We preserve .a as extension for shared libraries through AIX4.2
9577 # and later when we are not doing run time linking.
9578 library_names_spec='${libname}${release}.a $libname.a'
9579 soname_spec='${libname}${release}${shared_ext}$major'
9581 shlibpath_var=LIBPATH
9586 library_names_spec='$libname.ixlibrary $libname.a'
9587 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9588 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'
9592 library_names_spec='${libname}${shared_ext}'
9593 dynamic_linker="$host_os ld.so"
9594 shlibpath_var=LIBRARY_PATH
9600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601 soname_spec='${libname}${release}${shared_ext}$major'
9602 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9603 shlibpath_var=LD_LIBRARY_PATH
9604 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9605 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9606 # the default ld.so.conf also contains /usr/contrib/lib and
9607 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9608 # libtool to hard-code these into programs
9611 cygwin* | mingw* | pw32*)
9612 version_type=windows
9617 case $GCC,$host_os in
9618 yes,cygwin* | yes,mingw* | yes,pw32*)
9619 library_names_spec='$libname.dll.a'
9620 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9621 postinstall_cmds='base_file=`basename \${file}`~
9622 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9623 dldir=$destdir/`dirname \$dlpath`~
9624 test -d \$dldir || mkdir -p \$dldir~
9625 $install_prog $dir/$dlname \$dldir/$dlname'
9626 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9627 dlpath=$dir/\$dldll~
9629 shlibpath_overrides_runpath=yes
9633 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9634 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9635 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9638 # MinGW DLLs use traditional 'lib' prefix
9639 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9640 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9641 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9642 # It is most probably a Windows format PATH printed by
9643 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9644 # path with ; separators, and with drive letters. We can handle the
9645 # drive letters (cygwin fileutils understands them), so leave them,
9646 # especially as we might pass files found there to a mingw objdump,
9647 # which wouldn't understand a cygwinified path. Ahh.
9648 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9650 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9654 # pw32 DLLs use 'pw' prefix rather than 'lib'
9655 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
9661 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9664 dynamic_linker='Win32 ld.exe'
9665 # FIXME: first we should search . and the directory the executable is in
9669 darwin* | rhapsody*)
9670 dynamic_linker="$host_os dyld"
9674 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9675 soname_spec='${libname}${release}${major}$shared_ext'
9676 shlibpath_overrides_runpath=yes
9677 shlibpath_var=DYLD_LIBRARY_PATH
9678 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
9679 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9680 if test "$GCC" = yes; then
9681 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"`
9683 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9685 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9693 soname_spec='${libname}${release}${shared_ext}$major'
9694 shlibpath_var=LD_LIBRARY_PATH
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9708 shlibpath_overrides_runpath=no
9709 hardcode_into_libs=yes
9710 dynamic_linker='GNU ld.so'
9714 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
9715 version_type=freebsd-$objformat
9716 case $version_type in
9718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9723 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9727 shlibpath_var=LD_LIBRARY_PATH
9730 shlibpath_overrides_runpath=yes
9732 freebsd3.01* | freebsdelf3.01*)
9733 shlibpath_overrides_runpath=yes
9734 hardcode_into_libs=yes
9737 shlibpath_overrides_runpath=no
9738 hardcode_into_libs=yes
9747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9748 soname_spec='${libname}${release}${shared_ext}$major'
9749 shlibpath_var=LD_LIBRARY_PATH
9750 hardcode_into_libs=yes
9753 hpux9* | hpux10* | hpux11*)
9754 # Give a soname corresponding to the major version so that dld.sl refuses to
9755 # link against other versions.
9762 hardcode_into_libs=yes
9763 dynamic_linker="$host_os dld.so"
9764 shlibpath_var=LD_LIBRARY_PATH
9765 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9767 soname_spec='${libname}${release}${shared_ext}$major'
9768 if test "X$HPUX_IA64_MODE" = X32; then
9769 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9771 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9773 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9777 hardcode_into_libs=yes
9778 dynamic_linker="$host_os dld.sl"
9779 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9780 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9782 soname_spec='${libname}${release}${shared_ext}$major'
9783 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9784 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9788 dynamic_linker="$host_os dld.sl"
9789 shlibpath_var=SHLIB_PATH
9790 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 soname_spec='${libname}${release}${shared_ext}$major'
9795 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9796 postinstall_cmds='chmod 555 $lib'
9799 irix5* | irix6* | nonstopux*)
9801 nonstopux*) version_type=nonstopux ;;
9803 if test "$lt_cv_prog_gnu_ld" = yes; then
9811 soname_spec='${libname}${release}${shared_ext}$major'
9812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9814 irix5* | nonstopux*)
9818 case $LD in # libtool.m4 will add one of these switches to LD
9819 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9820 libsuff= shlibsuff= libmagic=32-bit;;
9821 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9822 libsuff=32 shlibsuff=N32 libmagic=N32;;
9823 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9824 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9825 *) libsuff= shlibsuff= libmagic=never-match;;
9829 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9830 shlibpath_overrides_runpath=no
9831 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9832 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9833 hardcode_into_libs=yes
9836 # No shared lib support for Linux oldld, aout, or coff.
9837 linux*oldld* | linux*aout* | linux*coff*)
9841 # This must be Linux ELF.
9846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9847 soname_spec='${libname}${release}${shared_ext}$major'
9848 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9849 shlibpath_var=LD_LIBRARY_PATH
9850 shlibpath_overrides_runpath=no
9851 # This implies no fast_install, which is unacceptable.
9852 # Some rework will be needed to allow for fast_install
9853 # before this can be enabled.
9854 hardcode_into_libs=yes
9856 # find out which ABI we are using
9859 x86_64*|s390x*|powerpc64*)
9860 echo '#line 9860 "configure"' > conftest.$ac_ext
9861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9862 (eval $ac_compile) 2>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; then
9866 case `/usr/bin/file conftest.$ac_objext` in
9869 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9877 # Append ld.so.conf contents to the search path
9878 if test -f /etc/ld.so.conf; then
9879 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
9880 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9883 # We used to test for /lib/ld.so.1 and disable shared libraries on
9884 # powerpc, because MkLinux only supported shared libraries with the
9885 # GNU dynamic linker. Since this was broken with cross compilers,
9886 # most powerpc-linux boxes support dynamic linking these days and
9887 # people can always --disable-shared, the test was removed, and we
9888 # assume the GNU/Linux dynamic linker is in use.
9889 dynamic_linker='GNU/Linux ld.so'
9896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9897 soname_spec='${libname}${release}${shared_ext}$major'
9898 shlibpath_var=LD_LIBRARY_PATH
9899 shlibpath_overrides_runpath=no
9900 hardcode_into_libs=yes
9901 dynamic_linker='GNU ld.so'
9908 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9911 dynamic_linker='NetBSD (a.out) ld.so'
9913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9914 soname_spec='${libname}${release}${shared_ext}$major'
9915 dynamic_linker='NetBSD ld.elf_so'
9917 shlibpath_var=LD_LIBRARY_PATH
9918 shlibpath_overrides_runpath=yes
9919 hardcode_into_libs=yes
9924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9925 shlibpath_var=LD_LIBRARY_PATH
9926 shlibpath_overrides_runpath=yes
9933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9934 soname_spec='${libname}${release}${shared_ext}$major'
9935 shlibpath_var=LD_LIBRARY_PATH
9936 shlibpath_overrides_runpath=yes
9943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9944 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9945 shlibpath_var=LD_LIBRARY_PATH
9946 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9948 openbsd2.[89] | openbsd2.[89].*)
9949 shlibpath_overrides_runpath=no
9952 shlibpath_overrides_runpath=yes
9956 shlibpath_overrides_runpath=yes
9961 libname_spec='$name'
9964 library_names_spec='$libname${shared_ext} $libname.a'
9965 dynamic_linker='OS/2 ld.exe'
9966 shlibpath_var=LIBPATH
9969 osf3* | osf4* | osf5*)
9973 soname_spec='${libname}${release}${shared_ext}$major'
9974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9975 shlibpath_var=LD_LIBRARY_PATH
9976 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9977 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9982 soname_spec='${libname}${release}${shared_ext}$major'
9983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 shlibpath_var=LD_LIBRARY_PATH
9991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992 soname_spec='${libname}${release}${shared_ext}$major'
9993 shlibpath_var=LD_LIBRARY_PATH
9994 shlibpath_overrides_runpath=yes
9995 hardcode_into_libs=yes
9996 # ldd complains unless libraries are executable
9997 postinstall_cmds='chmod +x $lib'
10002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10003 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10004 shlibpath_var=LD_LIBRARY_PATH
10005 shlibpath_overrides_runpath=yes
10006 if test "$with_gnu_ld" = yes; then
10012 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 soname_spec='${libname}${release}${shared_ext}$major'
10016 shlibpath_var=LD_LIBRARY_PATH
10017 case $host_vendor in
10019 shlibpath_overrides_runpath=no
10021 export_dynamic_flag_spec='${wl}-Blargedynsym'
10022 runpath_var=LD_RUN_PATH
10030 shlibpath_overrides_runpath=no
10031 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10037 if test -d /usr/nec ;then
10039 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10040 soname_spec='$libname${shared_ext}.$major'
10041 shlibpath_var=LD_LIBRARY_PATH
10047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10048 soname_spec='${libname}${release}${shared_ext}$major'
10049 shlibpath_var=LD_LIBRARY_PATH
10056 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10057 echo "${ECHO_T}$dynamic_linker" >&6
10058 test "$dynamic_linker" = no && can_build_shared=no
10060 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10061 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10063 if test -n "$hardcode_libdir_flag_spec" || \
10064 test -n "$runpath_var " || \
10065 test "X$hardcode_automatic"="Xyes" ; then
10067 # We can hardcode non-existant directories.
10068 if test "$hardcode_direct" != no &&
10069 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10070 # have to relink, otherwise we might link with an installed library
10071 # when we should be linking with a yet-to-be-installed one
10072 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10073 test "$hardcode_minus_L" != no; then
10074 # Linking always hardcodes the temporary library directory.
10075 hardcode_action=relink
10077 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10078 hardcode_action=immediate
10081 # We cannot hardcode anything, or else we can only hardcode existing
10083 hardcode_action=unsupported
10085 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10086 echo "${ECHO_T}$hardcode_action" >&6
10088 if test "$hardcode_action" = relink; then
10089 # Fast installation is not supported
10090 enable_fast_install=no
10091 elif test "$shlibpath_overrides_runpath" = yes ||
10092 test "$enable_shared" = no; then
10093 # Fast installation is not necessary
10094 enable_fast_install=needless
10099 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10100 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10101 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10102 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10103 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10104 echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6
10107 # FIXME - insert some real tests, host_os isn't really good enough
10110 if test -n "$STRIP" ; then
10111 striplib="$STRIP -x"
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10120 echo "$as_me:$LINENO: result: no" >&5
10121 echo "${ECHO_T}no" >&6
10126 if test "x$enable_dlopen" != xyes; then
10127 enable_dlopen=unknown
10128 enable_dlopen_self=unknown
10129 enable_dlopen_self_static=unknown
10136 lt_cv_dlopen="load_add_on"
10138 lt_cv_dlopen_self=yes
10142 lt_cv_dlopen="LoadLibrary"
10147 lt_cv_dlopen="dlopen"
10152 # if libdl is installed we need to link against it
10153 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10154 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10155 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 ac_check_lib_save_LIBS=$LIBS
10160 cat >conftest.$ac_ext <<_ACEOF
10163 cat confdefs.h >>conftest.$ac_ext
10164 cat >>conftest.$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10167 /* Override any gcc2 internal prototype to avoid an error. */
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10182 rm -f conftest.$ac_objext conftest$ac_exeext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10184 (eval $ac_link) 2>conftest.er1
10186 grep -v '^ *+' conftest.er1 >conftest.err
10188 cat conftest.err >&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); } &&
10191 { ac_try='test -z "$ac_c_werror_flag"
10192 || test ! -s conftest.err'
10193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10194 (eval $ac_try) 2>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); }; } &&
10198 { ac_try='test -s conftest$ac_exeext'
10199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200 (eval $ac_try) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); }; }; then
10204 ac_cv_lib_dl_dlopen=yes
10206 echo "$as_me: failed program was:" >&5
10207 sed 's/^/| /' conftest.$ac_ext >&5
10209 ac_cv_lib_dl_dlopen=no
10211 rm -f conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 LIBS=$ac_check_lib_save_LIBS
10215 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10216 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10217 if test $ac_cv_lib_dl_dlopen = yes; then
10218 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10221 lt_cv_dlopen="dyld"
10223 lt_cv_dlopen_self=yes
10230 echo "$as_me:$LINENO: checking for shl_load" >&5
10231 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10232 if test "${ac_cv_func_shl_load+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 cat >conftest.$ac_ext <<_ACEOF
10238 cat confdefs.h >>conftest.$ac_ext
10239 cat >>conftest.$ac_ext <<_ACEOF
10240 /* end confdefs.h. */
10241 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10243 #define shl_load innocuous_shl_load
10245 /* System header to define __stub macros and hopefully few prototypes,
10246 which can conflict with char shl_load (); below.
10247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10248 <limits.h> exists even on freestanding compilers. */
10251 # include <limits.h>
10253 # include <assert.h>
10258 /* Override any gcc2 internal prototype to avoid an error. */
10263 /* We use char because int might match the return type of a gcc2
10264 builtin and then its argument prototype would still apply. */
10266 /* The GNU C library defines this for functions which it implements
10267 to always fail with ENOSYS. Some functions are actually named
10268 something starting with __ and the normal name is an alias. */
10269 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10272 char (*f) () = shl_load;
10281 return f != shl_load;
10286 rm -f conftest.$ac_objext conftest$ac_exeext
10287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10288 (eval $ac_link) 2>conftest.er1
10290 grep -v '^ *+' conftest.er1 >conftest.err
10292 cat conftest.err >&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } &&
10295 { ac_try='test -z "$ac_c_werror_flag"
10296 || test ! -s conftest.err'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; } &&
10302 { ac_try='test -s conftest$ac_exeext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10308 ac_cv_func_shl_load=yes
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.$ac_ext >&5
10313 ac_cv_func_shl_load=no
10315 rm -f conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10318 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10319 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10320 if test $ac_cv_func_shl_load = yes; then
10321 lt_cv_dlopen="shl_load"
10323 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10324 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10325 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10326 echo $ECHO_N "(cached) $ECHO_C" >&6
10328 ac_check_lib_save_LIBS=$LIBS
10330 cat >conftest.$ac_ext <<_ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10337 /* Override any gcc2 internal prototype to avoid an error. */
10341 /* We use char because int might match the return type of a gcc2
10342 builtin and then its argument prototype would still apply. */
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354 (eval $ac_link) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1 >conftest.err
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try='test -s conftest$ac_exeext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_cv_lib_dld_shl_load=yes
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 ac_cv_lib_dld_shl_load=no
10381 rm -f conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 LIBS=$ac_check_lib_save_LIBS
10385 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10386 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10387 if test $ac_cv_lib_dld_shl_load = yes; then
10388 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10390 echo "$as_me:$LINENO: checking for dlopen" >&5
10391 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10392 if test "${ac_cv_func_dlopen+set}" = set; then
10393 echo $ECHO_N "(cached) $ECHO_C" >&6
10395 cat >conftest.$ac_ext <<_ACEOF
10398 cat confdefs.h >>conftest.$ac_ext
10399 cat >>conftest.$ac_ext <<_ACEOF
10400 /* end confdefs.h. */
10401 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10403 #define dlopen innocuous_dlopen
10405 /* System header to define __stub macros and hopefully few prototypes,
10406 which can conflict with char dlopen (); below.
10407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10408 <limits.h> exists even on freestanding compilers. */
10411 # include <limits.h>
10413 # include <assert.h>
10418 /* Override any gcc2 internal prototype to avoid an error. */
10423 /* We use char because int might match the return type of a gcc2
10424 builtin and then its argument prototype would still apply. */
10426 /* The GNU C library defines this for functions which it implements
10427 to always fail with ENOSYS. Some functions are actually named
10428 something starting with __ and the normal name is an alias. */
10429 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10432 char (*f) () = dlopen;
10441 return f != dlopen;
10446 rm -f conftest.$ac_objext conftest$ac_exeext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10448 (eval $ac_link) 2>conftest.er1
10450 grep -v '^ *+' conftest.er1 >conftest.err
10452 cat conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } &&
10455 { ac_try='test -z "$ac_c_werror_flag"
10456 || test ! -s conftest.err'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; } &&
10462 { ac_try='test -s conftest$ac_exeext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10468 ac_cv_func_dlopen=yes
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.$ac_ext >&5
10473 ac_cv_func_dlopen=no
10475 rm -f conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10478 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10479 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10480 if test $ac_cv_func_dlopen = yes; then
10481 lt_cv_dlopen="dlopen"
10483 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10484 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10485 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 ac_check_lib_save_LIBS=$LIBS
10490 cat >conftest.$ac_ext <<_ACEOF
10493 cat confdefs.h >>conftest.$ac_ext
10494 cat >>conftest.$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10497 /* Override any gcc2 internal prototype to avoid an error. */
10501 /* We use char because int might match the return type of a gcc2
10502 builtin and then its argument prototype would still apply. */
10512 rm -f conftest.$ac_objext conftest$ac_exeext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10514 (eval $ac_link) 2>conftest.er1
10516 grep -v '^ *+' conftest.er1 >conftest.err
10518 cat conftest.err >&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -z "$ac_c_werror_flag"
10522 || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } &&
10528 { ac_try='test -s conftest$ac_exeext'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; }; then
10534 ac_cv_lib_dl_dlopen=yes
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.$ac_ext >&5
10539 ac_cv_lib_dl_dlopen=no
10541 rm -f conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10545 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10546 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10547 if test $ac_cv_lib_dl_dlopen = yes; then
10548 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10550 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10551 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10552 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10553 echo $ECHO_N "(cached) $ECHO_C" >&6
10555 ac_check_lib_save_LIBS=$LIBS
10556 LIBS="-lsvld $LIBS"
10557 cat >conftest.$ac_ext <<_ACEOF
10560 cat confdefs.h >>conftest.$ac_ext
10561 cat >>conftest.$ac_ext <<_ACEOF
10562 /* end confdefs.h. */
10564 /* Override any gcc2 internal prototype to avoid an error. */
10568 /* We use char because int might match the return type of a gcc2
10569 builtin and then its argument prototype would still apply. */
10579 rm -f conftest.$ac_objext conftest$ac_exeext
10580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10581 (eval $ac_link) 2>conftest.er1
10583 grep -v '^ *+' conftest.er1 >conftest.err
10585 cat conftest.err >&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } &&
10588 { ac_try='test -z "$ac_c_werror_flag"
10589 || test ! -s conftest.err'
10590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591 (eval $ac_try) 2>&5
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }; } &&
10595 { ac_try='test -s conftest$ac_exeext'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; }; then
10601 ac_cv_lib_svld_dlopen=yes
10603 echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 ac_cv_lib_svld_dlopen=no
10608 rm -f conftest.err conftest.$ac_objext \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_lib_save_LIBS
10612 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10613 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10614 if test $ac_cv_lib_svld_dlopen = yes; then
10615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10617 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10618 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10619 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 ac_check_lib_save_LIBS=$LIBS
10624 cat >conftest.$ac_ext <<_ACEOF
10627 cat confdefs.h >>conftest.$ac_ext
10628 cat >>conftest.$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10631 /* Override any gcc2 internal prototype to avoid an error. */
10635 /* We use char because int might match the return type of a gcc2
10636 builtin and then its argument prototype would still apply. */
10646 rm -f conftest.$ac_objext conftest$ac_exeext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10648 (eval $ac_link) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1 >conftest.err
10652 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } &&
10655 { ac_try='test -z "$ac_c_werror_flag"
10656 || test ! -s conftest.err'
10657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10658 (eval $ac_try) 2>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); }; } &&
10662 { ac_try='test -s conftest$ac_exeext'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; }; then
10668 ac_cv_lib_dld_dld_link=yes
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10673 ac_cv_lib_dld_dld_link=no
10675 rm -f conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LIBS=$ac_check_lib_save_LIBS
10679 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10680 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10681 if test $ac_cv_lib_dld_dld_link = yes; then
10682 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10703 if test "x$lt_cv_dlopen" != xno; then
10709 case $lt_cv_dlopen in
10711 save_CPPFLAGS="$CPPFLAGS"
10712 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10714 save_LDFLAGS="$LDFLAGS"
10715 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10718 LIBS="$lt_cv_dlopen_libs $LIBS"
10720 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10721 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10722 if test "${lt_cv_dlopen_self+set}" = set; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 if test "$cross_compiling" = yes; then :
10726 lt_cv_dlopen_self=cross
10728 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10729 lt_status=$lt_dlunknown
10730 cat > conftest.$ac_ext <<EOF
10731 #line 10731 "configure"
10732 #include "confdefs.h"
10741 # define LT_DLGLOBAL RTLD_GLOBAL
10744 # define LT_DLGLOBAL DL_GLOBAL
10746 # define LT_DLGLOBAL 0
10750 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10751 find out it does not work in some platform. */
10752 #ifndef LT_DLLAZY_OR_NOW
10754 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10757 # define LT_DLLAZY_OR_NOW DL_LAZY
10760 # define LT_DLLAZY_OR_NOW RTLD_NOW
10763 # define LT_DLLAZY_OR_NOW DL_NOW
10765 # define LT_DLLAZY_OR_NOW 0
10773 extern "C" void exit (int);
10776 void fnord() { int i=42;}
10779 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10780 int status = $lt_dlunknown;
10784 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10785 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10786 /* dlclose (self); */
10792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10793 (eval $ac_link) 2>&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10797 (./conftest; exit; ) 2>/dev/null
10799 case x$lt_status in
10800 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10801 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10802 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
10805 # compilation failed
10806 lt_cv_dlopen_self=no
10813 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10814 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10816 if test "x$lt_cv_dlopen_self" = xyes; then
10817 LDFLAGS="$LDFLAGS $link_static_flag"
10818 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10819 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10820 if test "${lt_cv_dlopen_self_static+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 if test "$cross_compiling" = yes; then :
10824 lt_cv_dlopen_self_static=cross
10826 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10827 lt_status=$lt_dlunknown
10828 cat > conftest.$ac_ext <<EOF
10829 #line 10829 "configure"
10830 #include "confdefs.h"
10839 # define LT_DLGLOBAL RTLD_GLOBAL
10842 # define LT_DLGLOBAL DL_GLOBAL
10844 # define LT_DLGLOBAL 0
10848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10849 find out it does not work in some platform. */
10850 #ifndef LT_DLLAZY_OR_NOW
10852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10855 # define LT_DLLAZY_OR_NOW DL_LAZY
10858 # define LT_DLLAZY_OR_NOW RTLD_NOW
10861 # define LT_DLLAZY_OR_NOW DL_NOW
10863 # define LT_DLLAZY_OR_NOW 0
10871 extern "C" void exit (int);
10874 void fnord() { int i=42;}
10877 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10878 int status = $lt_dlunknown;
10882 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10883 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10884 /* dlclose (self); */
10890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10891 (eval $ac_link) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10895 (./conftest; exit; ) 2>/dev/null
10897 case x$lt_status in
10898 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10899 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10900 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
10903 # compilation failed
10904 lt_cv_dlopen_self_static=no
10911 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10912 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10915 CPPFLAGS="$save_CPPFLAGS"
10916 LDFLAGS="$save_LDFLAGS"
10921 case $lt_cv_dlopen_self in
10922 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10923 *) enable_dlopen_self=unknown ;;
10926 case $lt_cv_dlopen_self_static in
10927 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10928 *) enable_dlopen_self_static=unknown ;;
10933 # Report which librarie types wil actually be built
10934 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10935 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10936 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10937 echo "${ECHO_T}$can_build_shared" >&6
10939 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10940 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10941 test "$can_build_shared" = "no" && enable_shared=no
10943 # On AIX, shared libraries and static libraries use the same namespace, and
10944 # are all built from PIC.
10947 test "$enable_shared" = yes && enable_static=no
10948 if test -n "$RANLIB"; then
10949 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10950 postinstall_cmds='$RANLIB $lib'
10955 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10956 test "$enable_shared" = yes && enable_static=no
10959 darwin* | rhapsody*)
10960 if test "$GCC" = yes; then
10961 archive_cmds_need_lc=no
10963 rhapsody* | darwin1.[012])
10964 allow_undefined_flag='-undefined suppress'
10967 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10968 allow_undefined_flag='-flat_namespace -undefined suppress'
10970 case ${MACOSX_DEPLOYMENT_TARGET} in
10972 allow_undefined_flag='-flat_namespace -undefined suppress'
10975 allow_undefined_flag='-undefined dynamic_lookup'
10981 output_verbose_link_cmd='echo'
10982 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
10983 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10984 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10985 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}'
10986 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}'
10988 hardcode_automatic=yes
10989 hardcode_shlibpath_var=unsupported
10990 whole_archive_flag_spec='-all_load $convenience'
10991 link_all_deplibs=yes
10997 echo "$as_me:$LINENO: result: $enable_shared" >&5
10998 echo "${ECHO_T}$enable_shared" >&6
11000 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11001 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11002 # Make sure either enable_shared or enable_static is yes.
11003 test "$enable_shared" = yes || enable_static=yes
11004 echo "$as_me:$LINENO: result: $enable_static" >&5
11005 echo "${ECHO_T}$enable_static" >&6
11007 # The else clause should only fire when bootstrapping the
11008 # libtool distribution, otherwise you forgot to ship ltmain.sh
11009 # with your package, and you will get complaints that there are
11010 # no rules to generate ltmain.sh.
11011 if test -f "$ltmain"; then
11012 # See if we are running on zsh, and set the options which allow our commands through
11013 # without removal of \ escapes.
11014 if test -n "${ZSH_VERSION+set}" ; then
11015 setopt NO_GLOB_SUBST
11017 # Now quote all the things that may contain metacharacters while being
11018 # careful not to overquote the AC_SUBSTed values. We take copies of the
11019 # variables and quote the copies for generation of the libtool script.
11020 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11022 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11023 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11024 deplibs_check_method reload_flag reload_cmds need_locks \
11025 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11026 lt_cv_sys_global_symbol_to_c_name_address \
11027 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11028 old_postinstall_cmds old_postuninstall_cmds \
11032 lt_prog_compiler_wl \
11033 lt_prog_compiler_pic \
11034 lt_prog_compiler_static \
11035 lt_prog_compiler_no_builtin_flag \
11036 export_dynamic_flag_spec \
11037 thread_safe_flag_spec \
11038 whole_archive_flag_spec \
11039 enable_shared_with_static_runtimes \
11041 old_archive_from_new_cmds \
11046 compiler_lib_search_path \
11048 archive_expsym_cmds \
11050 postuninstall_cmds \
11051 old_archive_from_expsyms_cmds \
11052 allow_undefined_flag \
11053 no_undefined_flag \
11054 export_symbols_cmds \
11055 hardcode_libdir_flag_spec \
11056 hardcode_libdir_flag_spec_ld \
11057 hardcode_libdir_separator \
11058 hardcode_automatic \
11060 module_expsym_cmds \
11061 lt_cv_prog_compiler_c_o \
11063 include_expsyms; do
11066 old_archive_cmds | \
11067 old_archive_from_new_cmds | \
11069 archive_expsym_cmds | \
11071 module_expsym_cmds | \
11072 old_archive_from_expsyms_cmds | \
11073 export_symbols_cmds | \
11074 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11075 postinstall_cmds | postuninstall_cmds | \
11076 old_postinstall_cmds | old_postuninstall_cmds | \
11077 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11078 # Double-quote double-evaled strings.
11079 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11082 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11088 *'\$0 --fallback-echo"')
11089 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11093 cfgfile="${ofile}T"
11094 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11096 { echo "$as_me:$LINENO: creating $ofile" >&5
11097 echo "$as_me: creating $ofile" >&6;}
11099 cat <<__EOF__ >> "$cfgfile"
11102 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11103 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11104 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11106 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11107 # Free Software Foundation, Inc.
11109 # This file is part of GNU Libtool:
11110 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11112 # This program is free software; you can redistribute it and/or modify
11113 # it under the terms of the GNU General Public License as published by
11114 # the Free Software Foundation; either version 2 of the License, or
11115 # (at your option) any later version.
11117 # This program is distributed in the hope that it will be useful, but
11118 # WITHOUT ANY WARRANTY; without even the implied warranty of
11119 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11120 # General Public License for more details.
11122 # You should have received a copy of the GNU General Public License
11123 # along with this program; if not, write to the Free Software
11124 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11126 # As a special exception to the GNU General Public License, if you
11127 # distribute this file as part of a program that contains a
11128 # configuration script generated by Autoconf, you may include it under
11129 # the same distribution terms that you use for the rest of that program.
11131 # A sed program that does not truncate output.
11134 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11135 Xsed="$SED -e s/^X//"
11137 # The HP-UX ksh and POSIX shell print the target directory to stdout
11138 # if CDPATH is set.
11139 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
11141 # The names of the tagged configurations supported by this script.
11144 # ### BEGIN LIBTOOL CONFIG
11146 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11148 # Shell to use when invoking shell scripts.
11151 # Whether or not to build shared libraries.
11152 build_libtool_libs=$enable_shared
11154 # Whether or not to build static libraries.
11155 build_old_libs=$enable_static
11157 # Whether or not to add -lc for building shared libraries.
11158 build_libtool_need_lc=$archive_cmds_need_lc
11160 # Whether or not to disallow shared libs when runtime libs are static
11161 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11163 # Whether or not to optimize for fast installation.
11164 fast_install=$enable_fast_install
11167 host_alias=$host_alias
11170 # An echo program that does not interpret backslashes.
11175 AR_FLAGS=$lt_AR_FLAGS
11180 # A language-specific compiler.
11183 # Is the compiler the GNU C compiler?
11189 # The linker used to build libraries.
11192 # Whether we need hard or soft links.
11195 # A BSD-compatible nm program.
11198 # A symbol stripping program
11201 # Used to examine libraries when file_magic_cmd begins "file"
11202 MAGIC_CMD=$MAGIC_CMD
11204 # Used on cygwin: DLL creation program.
11207 # Used on cygwin: object dumper.
11210 # Used on cygwin: assembler.
11213 # The name of the directory that contains temporary libtool files.
11216 # How to create reloadable object files.
11217 reload_flag=$lt_reload_flag
11218 reload_cmds=$lt_reload_cmds
11220 # How to pass a linker flag through the compiler.
11221 wl=$lt_lt_prog_compiler_wl
11223 # Object file suffix (normally "o").
11224 objext="$ac_objext"
11226 # Old archive suffix (normally "a").
11229 # Shared library suffix (normally ".so").
11230 shrext_cmds='$shrext_cmds'
11232 # Executable file suffix (normally "").
11235 # Additional compiler flags for building library objects.
11236 pic_flag=$lt_lt_prog_compiler_pic
11239 # What is the maximum length of a command?
11240 max_cmd_len=$lt_cv_sys_max_cmd_len
11242 # Does compiler simultaneously support -c and -o options?
11243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11245 # Must we lock files when doing compilation ?
11246 need_locks=$lt_need_locks
11248 # Do we need the lib prefix for modules?
11249 need_lib_prefix=$need_lib_prefix
11251 # Do we need a version for libraries?
11252 need_version=$need_version
11254 # Whether dlopen is supported.
11255 dlopen_support=$enable_dlopen
11257 # Whether dlopen of programs is supported.
11258 dlopen_self=$enable_dlopen_self
11260 # Whether dlopen of statically linked programs is supported.
11261 dlopen_self_static=$enable_dlopen_self_static
11263 # Compiler flag to prevent dynamic linking.
11264 link_static_flag=$lt_lt_prog_compiler_static
11266 # Compiler flag to turn off builtin functions.
11267 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11269 # Compiler flag to allow reflexive dlopens.
11270 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11272 # Compiler flag to generate shared objects directly from archives.
11273 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11275 # Compiler flag to generate thread-safe objects.
11276 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11278 # Library versioning type.
11279 version_type=$version_type
11281 # Format of library name prefix.
11282 libname_spec=$lt_libname_spec
11284 # List of archive names. First name is the real one, the rest are links.
11285 # The last name is the one that the linker finds with -lNAME.
11286 library_names_spec=$lt_library_names_spec
11288 # The coded name of the library, if different from the real name.
11289 soname_spec=$lt_soname_spec
11291 # Commands used to build and install an old-style archive.
11293 old_archive_cmds=$lt_old_archive_cmds
11294 old_postinstall_cmds=$lt_old_postinstall_cmds
11295 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11297 # Create an old-style archive from a shared archive.
11298 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11300 # Create a temporary old-style archive to link instead of a shared archive.
11301 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11303 # Commands used to build and install a shared archive.
11304 archive_cmds=$lt_archive_cmds
11305 archive_expsym_cmds=$lt_archive_expsym_cmds
11306 postinstall_cmds=$lt_postinstall_cmds
11307 postuninstall_cmds=$lt_postuninstall_cmds
11309 # Commands used to build a loadable module (assumed same as above if empty)
11310 module_cmds=$lt_module_cmds
11311 module_expsym_cmds=$lt_module_expsym_cmds
11313 # Commands to strip libraries.
11314 old_striplib=$lt_old_striplib
11315 striplib=$lt_striplib
11317 # Dependencies to place before the objects being linked to create a
11319 predep_objects=$lt_predep_objects
11321 # Dependencies to place after the objects being linked to create a
11323 postdep_objects=$lt_postdep_objects
11325 # Dependencies to place before the objects being linked to create a
11327 predeps=$lt_predeps
11329 # Dependencies to place after the objects being linked to create a
11331 postdeps=$lt_postdeps
11333 # The library search path used internally by the compiler when linking
11334 # a shared library.
11335 compiler_lib_search_path=$lt_compiler_lib_search_path
11337 # Method to check whether dependent libraries are shared objects.
11338 deplibs_check_method=$lt_deplibs_check_method
11340 # Command to use when deplibs_check_method == file_magic.
11341 file_magic_cmd=$lt_file_magic_cmd
11343 # Flag that allows shared libraries with undefined symbols to be built.
11344 allow_undefined_flag=$lt_allow_undefined_flag
11346 # Flag that forces no undefined symbols.
11347 no_undefined_flag=$lt_no_undefined_flag
11349 # Commands used to finish a libtool library installation in a directory.
11350 finish_cmds=$lt_finish_cmds
11352 # Same as above, but a single script fragment to be evaled but not shown.
11353 finish_eval=$lt_finish_eval
11355 # Take the output of nm and produce a listing of raw symbols and C names.
11356 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11358 # Transform the output of nm in a proper C declaration
11359 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11361 # Transform the output of nm in a C name address pair
11362 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11364 # This is the shared library runtime path variable.
11365 runpath_var=$runpath_var
11367 # This is the shared library path variable.
11368 shlibpath_var=$shlibpath_var
11370 # Is shlibpath searched before the hard-coded library search path?
11371 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11373 # How to hardcode a shared library path into an executable.
11374 hardcode_action=$hardcode_action
11376 # Whether we should hardcode library paths into libraries.
11377 hardcode_into_libs=$hardcode_into_libs
11379 # Flag to hardcode \$libdir into a binary during linking.
11380 # This must work even if \$libdir does not exist.
11381 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11383 # If ld is used when linking, flag to hardcode \$libdir into
11384 # a binary during linking. This must work even if \$libdir does
11386 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11388 # Whether we need a single -rpath flag with a separated argument.
11389 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11391 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11392 # resulting binary.
11393 hardcode_direct=$hardcode_direct
11395 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11396 # resulting binary.
11397 hardcode_minus_L=$hardcode_minus_L
11399 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11400 # the resulting binary.
11401 hardcode_shlibpath_var=$hardcode_shlibpath_var
11403 # Set to yes if building a shared library automatically hardcodes DIR into the library
11404 # and all subsequent libraries and executables linked against it.
11405 hardcode_automatic=$hardcode_automatic
11407 # Variables whose values should be saved in libtool wrapper scripts and
11408 # restored at relink time.
11409 variables_saved_for_relink="$variables_saved_for_relink"
11411 # Whether libtool must link a program against all its dependency libraries.
11412 link_all_deplibs=$link_all_deplibs
11414 # Compile-time system search path for libraries
11415 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11417 # Run-time system search path for libraries
11418 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11420 # Fix the shell variable \$srcfile for the compiler.
11421 fix_srcfile_path="$fix_srcfile_path"
11423 # Set to yes if exported symbols are required.
11424 always_export_symbols=$always_export_symbols
11426 # The commands to list exported symbols.
11427 export_symbols_cmds=$lt_export_symbols_cmds
11429 # The commands to extract the exported symbol list from a shared archive.
11430 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11432 # Symbols that should not be listed in the preloaded symbols.
11433 exclude_expsyms=$lt_exclude_expsyms
11435 # Symbols that must always be exported.
11436 include_expsyms=$lt_include_expsyms
11438 # ### END LIBTOOL CONFIG
11445 cat <<\EOF >> "$cfgfile"
11447 # AIX sometimes has problems with the GCC collect2 program. For some
11448 # reason, if we set the COLLECT_NAMES environment variable, the problems
11449 # vanish in a puff of smoke.
11450 if test "X${COLLECT_NAMES+set}" != Xset; then
11452 export COLLECT_NAMES
11458 # We use sed instead of cat because bash on DJGPP gets confused if
11459 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11460 # text mode, it properly converts lines to CR/LF. This bash problem
11461 # is reportedly fixed, but why not run on old versions too?
11462 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11464 mv -f "$cfgfile" "$ofile" || \
11465 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11469 # If there is no Makefile yet, we rely on a make rule to execute
11470 # `config.status --recheck' to rerun these tests and create the
11471 # libtool script then.
11472 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11473 if test -f "$ltmain_in"; then
11474 test -f Makefile && make "$ltmain"
11480 ac_cpp='$CPP $CPPFLAGS'
11481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11488 # Check whether --with-tags or --without-tags was given.
11489 if test "${with_tags+set}" = set; then
11490 withval="$with_tags"
11491 tagnames="$withval"
11494 if test -f "$ltmain" && test -n "$tagnames"; then
11495 if test ! -f "${ofile}"; then
11496 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11497 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11500 if test -z "$LTCC"; then
11501 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11502 if test -z "$LTCC"; then
11503 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11504 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11507 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11511 # Extract list of available tagged configurations in $ofile.
11512 # Note that this assumes the entire list is on one line.
11513 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11515 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11516 for tagname in $tagnames; do
11518 # Check whether tagname contains only valid characters
11519 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11521 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11522 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11523 { (exit 1); exit 1; }; }
11527 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11529 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11530 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11531 { (exit 1); exit 1; }; }
11534 # Update the list of available tags.
11535 if test -n "$tagname"; then
11536 echo appending configuration tag \"$tagname\" to $ofile
11540 if test -n "$CXX" && test "X$CXX" != "Xno"; then
11542 ac_cpp='$CXXCPP $CPPFLAGS'
11543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11550 archive_cmds_need_lc_CXX=no
11551 allow_undefined_flag_CXX=
11552 always_export_symbols_CXX=no
11553 archive_expsym_cmds_CXX=
11554 export_dynamic_flag_spec_CXX=
11555 hardcode_direct_CXX=no
11556 hardcode_libdir_flag_spec_CXX=
11557 hardcode_libdir_flag_spec_ld_CXX=
11558 hardcode_libdir_separator_CXX=
11559 hardcode_minus_L_CXX=no
11560 hardcode_automatic_CXX=no
11562 module_expsym_cmds_CXX=
11563 link_all_deplibs_CXX=unknown
11564 old_archive_cmds_CXX=$old_archive_cmds
11565 no_undefined_flag_CXX=
11566 whole_archive_flag_spec_CXX=
11567 enable_shared_with_static_runtimes_CXX=no
11569 # Dependencies to place before and after the object being linked:
11570 predep_objects_CXX=
11571 postdep_objects_CXX=
11574 compiler_lib_search_path_CXX=
11576 # Source file extension for C++ test sources.
11579 # Object file extension for compiled C++ test sources.
11583 # Code to be used in simple compile tests
11584 lt_simple_compile_test_code="int some_variable = 0;\n"
11586 # Code to be used in simple link tests
11587 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
11589 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11591 # If no C compiler was specified, use CC.
11594 # Allow CC to be a program name with arguments.
11598 # Allow CC to be a program name with arguments.
11603 lt_save_with_gnu_ld=$with_gnu_ld
11604 lt_save_path_LD=$lt_cv_path_LD
11605 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11606 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11608 unset lt_cv_prog_gnu_ld
11610 if test -n "${lt_cv_path_LDCXX+set}"; then
11611 lt_cv_path_LD=$lt_cv_path_LDCXX
11613 unset lt_cv_path_LD
11615 test -z "${LDCXX+set}" || LD=$LDCXX
11619 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11621 # We don't want -fno-exception wen compiling C++ code, so set the
11622 # no_builtin_flag separately
11623 if test "$GXX" = yes; then
11624 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11626 lt_prog_compiler_no_builtin_flag_CXX=
11629 if test "$GXX" = yes; then
11630 # Set up default GNU C++ configuration
11633 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11634 if test "${with_gnu_ld+set}" = set; then
11635 withval="$with_gnu_ld"
11636 test "$withval" = no || with_gnu_ld=yes
11641 if test "$GCC" = yes; then
11642 # Check if gcc -print-prog-name=ld gives a path.
11643 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11644 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11647 # gcc leaves a trailing carriage return which upsets mingw
11648 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11650 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11653 # Accept absolute paths.
11655 re_direlt='/[^/][^/]*/\.\./'
11656 # Canonicalize the pathname of ld
11657 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11658 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11659 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11661 test -z "$LD" && LD="$ac_prog"
11664 # If it fails, then pretend we aren't using GCC.
11668 # If it is relative, then search for the first ld in PATH.
11669 with_gnu_ld=unknown
11672 elif test "$with_gnu_ld" = yes; then
11673 echo "$as_me:$LINENO: checking for GNU ld" >&5
11674 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11676 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11677 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11679 if test "${lt_cv_path_LD+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 if test -z "$LD"; then
11683 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11684 for ac_dir in $PATH; do
11686 test -z "$ac_dir" && ac_dir=.
11687 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11688 lt_cv_path_LD="$ac_dir/$ac_prog"
11689 # Check to see if the program is GNU ld. I'd rather use --version,
11690 # but apparently some GNU ld's only accept -v.
11691 # Break only if it was the GNU/non-GNU ld that we prefer.
11692 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11693 *GNU* | *'with BFD'*)
11694 test "$with_gnu_ld" != no && break
11697 test "$with_gnu_ld" != yes && break
11704 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11708 LD="$lt_cv_path_LD"
11709 if test -n "$LD"; then
11710 echo "$as_me:$LINENO: result: $LD" >&5
11711 echo "${ECHO_T}$LD" >&6
11713 echo "$as_me:$LINENO: result: no" >&5
11714 echo "${ECHO_T}no" >&6
11716 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11717 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11718 { (exit 1); exit 1; }; }
11719 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11720 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11721 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11725 case `$LD -v 2>&1 </dev/null` in
11726 *GNU* | *'with BFD'*)
11727 lt_cv_prog_gnu_ld=yes
11730 lt_cv_prog_gnu_ld=no
11734 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11735 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11736 with_gnu_ld=$lt_cv_prog_gnu_ld
11740 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11741 # archiving commands below assume that GNU ld is being used.
11742 if test "$with_gnu_ld" = yes; then
11743 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11744 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'
11746 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11747 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11749 # If archive_cmds runs LD, not CC, wlarc should be empty
11750 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11751 # investigate it a little bit more. (MM)
11754 # ancient GNU ld didn't support --whole-archive et. al.
11755 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11756 grep 'no-whole-archive' > /dev/null; then
11757 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11759 whole_archive_flag_spec_CXX=
11765 # A generic and very simple default shared library creation
11766 # command for GNU C++ for the case where it uses the native
11767 # linker, instead of GNU ld. If possible, this setting should
11768 # overridden to take advantage of the native linker features on
11769 # the platform it is being used on.
11770 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11773 # Commands to make compiler produce verbose output that lists
11774 # what "hidden" libraries, object files and flags are used when
11775 # linking a shared library.
11776 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11784 # PORTME: fill in a description of your system's C++ link characteristics
11785 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11786 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11790 # FIXME: insert proper C++ library support
11794 if test "$host_cpu" = ia64; then
11795 # On IA64, the linker does run time linking by default, so we don't
11796 # have to do anything special.
11797 aix_use_runtimelinking=no
11798 exp_sym_flag='-Bexport'
11801 aix_use_runtimelinking=no
11803 # Test if we are trying to use run time linking or normal
11804 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11805 # need to do runtime linking.
11806 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11807 for ld_flag in $LDFLAGS; do
11810 aix_use_runtimelinking=yes
11817 exp_sym_flag='-bexport'
11818 no_entry_flag='-bnoentry'
11821 # When large executables or shared objects are built, AIX ld can
11822 # have problems creating the table of contents. If linking a library
11823 # or program results in "error TOC overflow" add -mminimal-toc to
11824 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11825 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11827 archive_cmds_CXX=''
11828 hardcode_direct_CXX=yes
11829 hardcode_libdir_separator_CXX=':'
11830 link_all_deplibs_CXX=yes
11832 if test "$GXX" = yes; then
11833 case $host_os in aix4.012|aix4.012.*)
11834 # We only want to do this on AIX 4.2 and lower, the check
11835 # below for broken collect2 doesn't work under 4.3+
11836 collect2name=`${CC} -print-prog-name=collect2`
11837 if test -f "$collect2name" && \
11838 strings "$collect2name" | grep resolve_lib_name >/dev/null
11840 # We have reworked collect2
11841 hardcode_direct_CXX=yes
11843 # We have old collect2
11844 hardcode_direct_CXX=unsupported
11845 # It fails to find uninstalled libraries when the uninstalled
11846 # path is not listed in the libpath. Setting hardcode_minus_L
11847 # to unsupported forces relinking
11848 hardcode_minus_L_CXX=yes
11849 hardcode_libdir_flag_spec_CXX='-L$libdir'
11850 hardcode_libdir_separator_CXX=
11853 shared_flag='-shared'
11856 if test "$host_cpu" = ia64; then
11857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11858 # chokes on -Wl,-G. The following line is correct:
11861 if test "$aix_use_runtimelinking" = yes; then
11862 shared_flag='${wl}-G'
11864 shared_flag='${wl}-bM:SRE'
11869 # It seems that -bexpall does not export symbols beginning with
11870 # underscore (_), so it is better to generate a list of symbols to export.
11871 always_export_symbols_CXX=yes
11872 if test "$aix_use_runtimelinking" = yes; then
11873 # Warning - without using the other runtime loading flags (-brtl),
11874 # -berok will link without error, but may produce a broken library.
11875 allow_undefined_flag_CXX='-berok'
11876 # Determine the default libpath from the value encoded in an empty executable.
11877 cat >conftest.$ac_ext <<_ACEOF
11880 cat confdefs.h >>conftest.$ac_ext
11881 cat >>conftest.$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11892 rm -f conftest.$ac_objext conftest$ac_exeext
11893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11894 (eval $ac_link) 2>conftest.er1
11896 grep -v '^ *+' conftest.er1 >conftest.err
11898 cat conftest.err >&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); } &&
11901 { ac_try='test -z "$ac_cxx_werror_flag"
11902 || test ! -s conftest.err'
11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; } &&
11908 { ac_try='test -s conftest$ac_exeext'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; }; then
11915 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11917 # Check for a 64-bit object if we didn't find anything.
11918 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; }
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11925 rm -f conftest.err conftest.$ac_objext \
11926 conftest$ac_exeext conftest.$ac_ext
11927 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11929 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11931 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"
11933 if test "$host_cpu" = ia64; then
11934 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11935 allow_undefined_flag_CXX="-z nodefs"
11936 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"
11938 # Determine the default libpath from the value encoded in an empty executable.
11939 cat >conftest.$ac_ext <<_ACEOF
11942 cat confdefs.h >>conftest.$ac_ext
11943 cat >>conftest.$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11954 rm -f conftest.$ac_objext conftest$ac_exeext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11956 (eval $ac_link) 2>conftest.er1
11958 grep -v '^ *+' conftest.er1 >conftest.err
11960 cat conftest.err >&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } &&
11963 { ac_try='test -z "$ac_cxx_werror_flag"
11964 || test ! -s conftest.err'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; } &&
11970 { ac_try='test -s conftest$ac_exeext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11977 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11979 # Check for a 64-bit object if we didn't find anything.
11980 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; }
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11987 rm -f conftest.err conftest.$ac_objext \
11988 conftest$ac_exeext conftest.$ac_ext
11989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11991 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11992 # Warning - without using the other run time loading flags,
11993 # -berok will link without error, but may produce a broken library.
11994 no_undefined_flag_CXX=' ${wl}-bernotok'
11995 allow_undefined_flag_CXX=' ${wl}-berok'
11996 # -bexpall does not export symbols beginning with underscore (_)
11997 always_export_symbols_CXX=yes
11998 # Exported symbols can be pulled into shared objects from archives
11999 whole_archive_flag_spec_CXX=' '
12000 archive_cmds_need_lc_CXX=yes
12001 # This is similar to how AIX traditionally builds it's shared libraries.
12002 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'
12007 case $cc_basename in
12009 # FIXME: insert proper C++ library support
12015 cygwin* | mingw* | pw32*)
12016 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12017 # as there is no search path for DLLs.
12018 hardcode_libdir_flag_spec_CXX='-L$libdir'
12019 allow_undefined_flag_CXX=unsupported
12020 always_export_symbols_CXX=no
12021 enable_shared_with_static_runtimes_CXX=yes
12023 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12024 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'
12025 # If the export-symbols file already is a .def file (1st line
12026 # is EXPORTS), use it as is; otherwise, prepend...
12027 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12028 cp $export_symbols $output_objdir/$soname.def;
12030 echo EXPORTS > $output_objdir/$soname.def;
12031 cat $export_symbols >> $output_objdir/$soname.def;
12033 $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'
12039 darwin* | rhapsody*)
12040 if test "$GXX" = yes; then
12041 archive_cmds_need_lc_CXX=no
12043 rhapsody* | darwin1.[012])
12044 allow_undefined_flag_CXX='-undefined suppress'
12047 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12048 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12050 case ${MACOSX_DEPLOYMENT_TARGET} in
12052 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12055 allow_undefined_flag_CXX='-undefined dynamic_lookup'
12061 lt_int_apple_cc_single_mod=no
12062 output_verbose_link_cmd='echo'
12063 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12064 lt_int_apple_cc_single_mod=yes
12066 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12067 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12069 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12071 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12073 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12074 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12075 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}'
12077 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12079 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}'
12080 hardcode_direct_CXX=no
12081 hardcode_automatic_CXX=yes
12082 hardcode_shlibpath_var_CXX=unsupported
12083 whole_archive_flag_spec_CXX='-all_load $convenience'
12084 link_all_deplibs_CXX=yes
12091 case $cc_basename in
12093 # FIXME: insert proper C++ library support
12097 # Green Hills C++ Compiler
12098 # FIXME: insert proper C++ library support
12102 # FIXME: insert proper C++ library support
12108 # C++ shared libraries reported to be fairly broken before switch to ELF
12112 archive_cmds_need_lc_CXX=no
12114 freebsd* | kfreebsd*-gnu)
12115 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12122 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12123 hardcode_libdir_separator_CXX=:
12124 export_dynamic_flag_spec_CXX='${wl}-E'
12125 hardcode_direct_CXX=yes
12126 hardcode_minus_L_CXX=yes # Not in the search PATH,
12127 # but as the default
12128 # location of the library.
12130 case $cc_basename in
12132 # FIXME: insert proper C++ library support
12136 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'
12137 # Commands to make compiler produce verbose output that lists
12138 # what "hidden" libraries, object files and flags are used when
12139 # linking a shared library.
12141 # There doesn't appear to be a way to prevent this compiler from
12142 # explicitly linking system object files so we need to strip them
12143 # from the output so that they don't get included in the library
12145 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'
12148 if test "$GXX" = yes; then
12149 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'
12151 # FIXME: insert proper C++ library support
12158 if test $with_gnu_ld = no; then
12159 case "$host_cpu" in
12161 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12162 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12163 hardcode_libdir_separator_CXX=:
12166 hardcode_libdir_flag_spec_CXX='-L$libdir'
12169 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12170 hardcode_libdir_separator_CXX=:
12171 export_dynamic_flag_spec_CXX='${wl}-E'
12175 case "$host_cpu" in
12177 hardcode_direct_CXX=no
12178 hardcode_shlibpath_var_CXX=no
12181 hardcode_direct_CXX=no
12182 hardcode_shlibpath_var_CXX=no
12183 hardcode_minus_L_CXX=yes # Not in the search PATH,
12184 # but as the default
12185 # location of the library.
12188 hardcode_direct_CXX=yes
12189 hardcode_minus_L_CXX=yes # Not in the search PATH,
12190 # but as the default
12191 # location of the library.
12195 case $cc_basename in
12197 # FIXME: insert proper C++ library support
12201 case "$host_cpu" in
12203 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12206 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12209 # Commands to make compiler produce verbose output that lists
12210 # what "hidden" libraries, object files and flags are used when
12211 # linking a shared library.
12213 # There doesn't appear to be a way to prevent this compiler from
12214 # explicitly linking system object files so we need to strip them
12215 # from the output so that they don't get included in the library
12217 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'
12220 if test "$GXX" = yes; then
12221 if test $with_gnu_ld = no; then
12222 case "$host_cpu" in
12224 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12227 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'
12232 # FIXME: insert proper C++ library support
12239 case $cc_basename in
12242 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12244 # Archives containing C++ object files must be created using
12245 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12246 # necessary to make sure instantiated templates are included
12248 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12251 if test "$GXX" = yes; then
12252 if test "$with_gnu_ld" = no; then
12253 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12255 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'
12258 link_all_deplibs_CXX=yes
12261 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12262 hardcode_libdir_separator_CXX=:
12265 case $cc_basename in
12267 # Kuck and Associates, Inc. (KAI) C++ Compiler
12269 # KCC will only create a shared library if the output file
12270 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12271 # to its proper name (with version) after linking.
12272 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'
12273 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'
12274 # Commands to make compiler produce verbose output that lists
12275 # what "hidden" libraries, object files and flags are used when
12276 # linking a shared library.
12278 # There doesn't appear to be a way to prevent this compiler from
12279 # explicitly linking system object files so we need to strip them
12280 # from the output so that they don't get included in the library
12282 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'
12284 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12285 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12287 # Archives containing C++ object files must be created using
12288 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12289 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12294 archive_cmds_need_lc_CXX=no
12295 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12296 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'
12297 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12298 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12299 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12303 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12304 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'
12306 runpath_var=LD_RUN_PATH
12307 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12308 hardcode_libdir_separator_CXX=:
12310 # Commands to make compiler produce verbose output that lists
12311 # what "hidden" libraries, object files and flags are used when
12312 # linking a shared library.
12314 # There doesn't appear to be a way to prevent this compiler from
12315 # explicitly linking system object files so we need to strip them
12316 # from the output so that they don't get included in the library
12318 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'
12323 # FIXME: insert proper C++ library support
12327 # FIXME: insert proper C++ library support
12331 case $cc_basename in
12333 # FIXME: insert proper C++ library support
12337 # FIXME: insert proper C++ library support
12343 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12344 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12346 hardcode_libdir_flag_spec_CXX='-R$libdir'
12347 hardcode_direct_CXX=yes
12348 hardcode_shlibpath_var_CXX=no
12350 # Workaround some broken pre-1.5 toolchains
12351 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12354 case $cc_basename in
12356 # Kuck and Associates, Inc. (KAI) C++ Compiler
12358 # KCC will only create a shared library if the output file
12359 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12360 # to its proper name (with version) after linking.
12361 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'
12363 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12364 hardcode_libdir_separator_CXX=:
12366 # Archives containing C++ object files must be created using
12367 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12368 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12372 # Rational C++ 2.4.1
12373 # FIXME: insert proper C++ library support
12377 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12378 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12380 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12381 hardcode_libdir_separator_CXX=:
12383 # Commands to make compiler produce verbose output that lists
12384 # what "hidden" libraries, object files and flags are used when
12385 # linking a shared library.
12387 # There doesn't appear to be a way to prevent this compiler from
12388 # explicitly linking system object files so we need to strip them
12389 # from the output so that they don't get included in the library
12391 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'
12394 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12395 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12396 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12398 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12399 hardcode_libdir_separator_CXX=:
12401 # Commands to make compiler produce verbose output that lists
12402 # what "hidden" libraries, object files and flags are used when
12403 # linking a shared library.
12404 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12407 # FIXME: insert proper C++ library support
12414 case $cc_basename in
12416 # Kuck and Associates, Inc. (KAI) C++ Compiler
12418 # KCC will only create a shared library if the output file
12419 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12420 # to its proper name (with version) after linking.
12421 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'
12423 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12424 hardcode_libdir_separator_CXX=:
12426 # Archives containing C++ object files must be created using
12427 # the KAI C++ compiler.
12428 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12431 # Rational C++ 2.4.1
12432 # FIXME: insert proper C++ library support
12436 allow_undefined_flag_CXX=' -expect_unresolved \*'
12437 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12438 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12439 echo "-hidden">> $lib.exp~
12440 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
12443 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12444 hardcode_libdir_separator_CXX=:
12446 # Commands to make compiler produce verbose output that lists
12447 # what "hidden" libraries, object files and flags are used when
12448 # linking a shared library.
12450 # There doesn't appear to be a way to prevent this compiler from
12451 # explicitly linking system object files so we need to strip them
12452 # from the output so that they don't get included in the library
12454 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'
12457 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12458 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12459 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12461 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12462 hardcode_libdir_separator_CXX=:
12464 # Commands to make compiler produce verbose output that lists
12465 # what "hidden" libraries, object files and flags are used when
12466 # linking a shared library.
12467 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12470 # FIXME: insert proper C++ library support
12477 # FIXME: insert proper C++ library support
12481 archive_cmds_need_lc_CXX=no
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12488 # FIXME: insert proper C++ library support
12494 case $cc_basename in
12497 # FIXME: insert proper C++ library support
12502 # FIXME: insert proper C++ library support
12506 # FIXME: insert proper C++ library support
12512 case $cc_basename in
12514 # Sun C++ 4.2, 5.x and Centerline C++
12515 no_undefined_flag_CXX=' -zdefs'
12516 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12517 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12518 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12520 hardcode_libdir_flag_spec_CXX='-R$libdir'
12521 hardcode_shlibpath_var_CXX=no
12523 solaris2.0-5 | solaris2.0-5.*) ;;
12525 # The C++ compiler is used as linker so we must use $wl
12526 # flag to pass the commands to the underlying system
12528 # Supported since Solaris 2.6 (maybe 2.5.1?)
12529 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12532 link_all_deplibs_CXX=yes
12534 # Commands to make compiler produce verbose output that lists
12535 # what "hidden" libraries, object files and flags are used when
12536 # linking a shared library.
12538 # There doesn't appear to be a way to prevent this compiler from
12539 # explicitly linking system object files so we need to strip them
12540 # from the output so that they don't get included in the library
12542 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12544 # Archives containing C++ object files must be created using
12545 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12546 # necessary to make sure instantiated templates are included
12548 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12551 # Green Hills C++ Compiler
12552 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12554 # The C++ compiler must be used to create the archive.
12555 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12558 # GNU C++ compiler with Solaris linker
12559 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12560 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12561 if $CC --version | grep -v '^2\.7' > /dev/null; then
12562 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12563 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12564 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12566 # Commands to make compiler produce verbose output that lists
12567 # what "hidden" libraries, object files and flags are used when
12568 # linking a shared library.
12569 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12571 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12573 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12574 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12575 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12577 # Commands to make compiler produce verbose output that lists
12578 # what "hidden" libraries, object files and flags are used when
12579 # linking a shared library.
12580 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12583 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12588 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12589 archive_cmds_need_lc_CXX=no
12592 case $cc_basename in
12594 # NonStop-UX NCC 3.20
12595 # FIXME: insert proper C++ library support
12599 # FIXME: insert proper C++ library support
12605 # FIXME: insert proper C++ library support
12609 # FIXME: insert proper C++ library support
12613 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12614 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12615 test "$ld_shlibs_CXX" = no && can_build_shared=no
12621 ## There is no encapsulation within the following macros, do not change
12622 ## the running order or otherwise move them around unless you know exactly
12623 ## what you are doing...
12625 cat > conftest.$ac_ext <<EOF
12629 Foo (void) { a = 0; }
12635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12636 (eval $ac_compile) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; then
12640 # Parse the compiler output and extract the necessary
12641 # objects, libraries and library flags.
12643 # Sentinel used to keep track of whether or not we are before
12644 # the conftest object file.
12645 pre_test_object_deps_done=no
12647 # The `*' in the case matches for architectures that use `case' in
12648 # $output_verbose_cmd can trigger glob expansion during the loop
12649 # eval without this substitution.
12650 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
12652 for p in `eval $output_verbose_link_cmd`; do
12656 # Some compilers place space between "-{L,R}" and the path.
12657 # Remove the space.
12658 if test $p = "-L" \
12659 || test $p = "-R"; then
12666 if test "$pre_test_object_deps_done" = no; then
12669 # Internal compiler library paths should come after those
12670 # provided the user. The postdeps already come after the
12671 # user supplied libs so there is no need to process them.
12672 if test -z "$compiler_lib_search_path_CXX"; then
12673 compiler_lib_search_path_CXX="${prev}${p}"
12675 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12678 # The "-l" case would never come before the object being
12679 # linked, so don't bother handling this case.
12682 if test -z "$postdeps_CXX"; then
12683 postdeps_CXX="${prev}${p}"
12685 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12691 # This assumes that the test object file only shows up
12692 # once in the compiler output.
12693 if test "$p" = "conftest.$objext"; then
12694 pre_test_object_deps_done=yes
12698 if test "$pre_test_object_deps_done" = no; then
12699 if test -z "$predep_objects_CXX"; then
12700 predep_objects_CXX="$p"
12702 predep_objects_CXX="$predep_objects_CXX $p"
12705 if test -z "$postdep_objects_CXX"; then
12706 postdep_objects_CXX="$p"
12708 postdep_objects_CXX="$postdep_objects_CXX $p"
12713 *) ;; # Ignore the rest.
12721 echo "libtool.m4: error: problem compiling CXX test program"
12724 $rm -f confest.$objext
12726 case " $postdeps_CXX " in
12727 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12730 lt_prog_compiler_wl_CXX=
12731 lt_prog_compiler_pic_CXX=
12732 lt_prog_compiler_static_CXX=
12734 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12735 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12737 # C++ specific cases for pic, static, wl, etc.
12738 if test "$GXX" = yes; then
12739 lt_prog_compiler_wl_CXX='-Wl,'
12740 lt_prog_compiler_static_CXX='-static'
12744 # All AIX code is PIC.
12745 if test "$host_cpu" = ia64; then
12746 # AIX 5 now supports IA64 processor
12747 lt_prog_compiler_static_CXX='-Bstatic'
12751 # FIXME: we need at least 68020 code to build shared libraries, but
12752 # adding the `-m68020' flag to GCC prevents building anything better,
12754 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12756 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12757 # PIC is the default for these OSes.
12759 mingw* | os2* | pw32*)
12760 # This hack is so that the source file can tell whether it is being
12761 # built for inclusion in a dll (and should export symbols for example).
12762 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12764 darwin* | rhapsody*)
12765 # PIC is the default on this platform
12766 # Common symbols not allowed in MH_DYLIB files
12767 lt_prog_compiler_pic_CXX='-fno-common'
12770 # DJGPP does not support shared libraries at all
12771 lt_prog_compiler_pic_CXX=
12774 if test -d /usr/nec; then
12775 lt_prog_compiler_pic_CXX=-Kconform_pic
12779 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12780 # not for PA HP-UX.
12781 case "$host_cpu" in
12785 lt_prog_compiler_pic_CXX='-fPIC'
12790 lt_prog_compiler_pic_CXX='-fPIC'
12796 # All AIX code is PIC.
12797 if test "$host_cpu" = ia64; then
12798 # AIX 5 now supports IA64 processor
12799 lt_prog_compiler_static_CXX='-Bstatic'
12801 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12805 case $cc_basename in
12807 # Green Hills C++ Compiler
12808 # _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"
12813 case $cc_basename in
12815 lt_prog_compiler_pic_CXX='-KPIC'
12818 # Green Hills C++ Compiler
12819 lt_prog_compiler_pic_CXX='-pic'
12825 freebsd* | kfreebsd*-gnu)
12826 # FreeBSD uses GNU C++
12828 hpux9* | hpux10* | hpux11*)
12829 case $cc_basename in
12831 lt_prog_compiler_wl_CXX='-Wl,'
12832 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12833 if test "$host_cpu" != ia64; then
12834 lt_prog_compiler_pic_CXX='+Z'
12838 lt_prog_compiler_wl_CXX='-Wl,'
12839 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12840 case "$host_cpu" in
12845 lt_prog_compiler_pic_CXX='+Z'
12853 irix5* | irix6* | nonstopux*)
12854 case $cc_basename in
12856 lt_prog_compiler_wl_CXX='-Wl,'
12857 lt_prog_compiler_static_CXX='-non_shared'
12858 # CC pic flag -KPIC is the default.
12865 case $cc_basename in
12868 lt_prog_compiler_wl_CXX='--backend -Wl,'
12869 lt_prog_compiler_pic_CXX='-fPIC'
12873 lt_prog_compiler_wl_CXX='-Wl,'
12874 lt_prog_compiler_pic_CXX='-KPIC'
12875 lt_prog_compiler_static_CXX='-static'
12879 # Make sure the PIC flag is empty. It appears that all Alpha
12880 # Linux and Compaq Tru64 Unix objects are PIC.
12881 lt_prog_compiler_pic_CXX=
12882 lt_prog_compiler_static_CXX='-non_shared'
12893 case $cc_basename in
12895 lt_prog_compiler_pic_CXX='-W c,exportall'
12903 osf3* | osf4* | osf5*)
12904 case $cc_basename in
12906 lt_prog_compiler_wl_CXX='--backend -Wl,'
12909 # Rational C++ 2.4.1
12910 lt_prog_compiler_pic_CXX='-pic'
12913 # Digital/Compaq C++
12914 lt_prog_compiler_wl_CXX='-Wl,'
12915 # Make sure the PIC flag is empty. It appears that all Alpha
12916 # Linux and Compaq Tru64 Unix objects are PIC.
12917 lt_prog_compiler_pic_CXX=
12918 lt_prog_compiler_static_CXX='-non_shared'
12927 case $cc_basename in
12929 lt_prog_compiler_pic_CXX='-fPIC'
12936 case $cc_basename in
12938 # Sun C++ 4.2, 5.x and Centerline C++
12939 lt_prog_compiler_pic_CXX='-KPIC'
12940 lt_prog_compiler_static_CXX='-Bstatic'
12941 lt_prog_compiler_wl_CXX='-Qoption ld '
12944 # Green Hills C++ Compiler
12945 lt_prog_compiler_pic_CXX='-PIC'
12952 case $cc_basename in
12955 lt_prog_compiler_pic_CXX='-pic'
12956 lt_prog_compiler_static_CXX='-Bstatic'
12960 lt_prog_compiler_pic_CXX='-pic'
12967 case $cc_basename in
12969 # NonStop-UX NCC 3.20
12970 lt_prog_compiler_pic_CXX='-KPIC'
12981 lt_prog_compiler_can_build_shared_CXX=no
12986 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12987 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12990 # Check to make sure the PIC flag actually works.
12992 if test -n "$lt_prog_compiler_pic_CXX"; then
12994 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12995 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12996 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12997 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 lt_prog_compiler_pic_works_CXX=no
13000 ac_outfile=conftest.$ac_objext
13001 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13002 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13003 # Insert the option either (1) after the last *FLAGS variable, or
13004 # (2) before a word containing "conftest.", or (3) at the end.
13005 # Note that $ac_compile itself does not contain backslashes and begins
13006 # with a dollar sign (not a hyphen), so the echo should work correctly.
13007 # The option is referenced via a variable to avoid confusing sed.
13008 lt_compile=`echo "$ac_compile" | $SED \
13009 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13011 -e 's:$: $lt_compiler_flag:'`
13012 (eval echo "\"\$as_me:13012: $lt_compile\"" >&5)
13013 (eval "$lt_compile" 2>conftest.err)
13015 cat conftest.err >&5
13016 echo "$as_me:13016: \$? = $ac_status" >&5
13017 if (exit $ac_status) && test -s "$ac_outfile"; then
13018 # The compiler can only warn and ignore the option if not recognized
13019 # So say no if there are warnings
13020 if test ! -s conftest.err; then
13021 lt_prog_compiler_pic_works_CXX=yes
13027 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13028 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13030 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13031 case $lt_prog_compiler_pic_CXX in
13033 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13036 lt_prog_compiler_pic_CXX=
13037 lt_prog_compiler_can_build_shared_CXX=no
13042 # For platforms which do not support PIC, -DPIC is meaningless:
13044 lt_prog_compiler_pic_CXX=
13047 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13051 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13052 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13053 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 lt_cv_prog_compiler_c_o_CXX=no
13057 $rm -r conftest 2>/dev/null
13061 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13063 lt_compiler_flag="-o out/conftest2.$ac_objext"
13064 # Insert the option either (1) after the last *FLAGS variable, or
13065 # (2) before a word containing "conftest.", or (3) at the end.
13066 # Note that $ac_compile itself does not contain backslashes and begins
13067 # with a dollar sign (not a hyphen), so the echo should work correctly.
13068 lt_compile=`echo "$ac_compile" | $SED \
13069 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13071 -e 's:$: $lt_compiler_flag:'`
13072 (eval echo "\"\$as_me:13072: $lt_compile\"" >&5)
13073 (eval "$lt_compile" 2>out/conftest.err)
13075 cat out/conftest.err >&5
13076 echo "$as_me:13076: \$? = $ac_status" >&5
13077 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13079 # The compiler can only warn and ignore the option if not recognized
13080 # So say no if there are warnings
13081 if test ! -s out/conftest.err; then
13082 lt_cv_prog_compiler_c_o_CXX=yes
13087 # SGI C++ compiler will create directory out/ii_files/ for
13088 # template instantiation
13089 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13090 $rm out/* && rmdir out
13096 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13097 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13100 hard_links="nottested"
13101 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13102 # do not overwrite the value of need_locks provided by the user
13103 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13104 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13107 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13109 ln conftest.a conftest.b 2>&5 || hard_links=no
13110 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13111 echo "$as_me:$LINENO: result: $hard_links" >&5
13112 echo "${ECHO_T}$hard_links" >&6
13113 if test "$hard_links" = no; then
13114 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13115 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13122 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13123 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13125 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13128 # If we're using GNU nm, then we don't want the "-C" option.
13129 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13130 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13131 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'
13133 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'
13137 export_symbols_cmds_CXX="$ltdll_cmds"
13140 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13143 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13147 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13148 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13149 test "$ld_shlibs_CXX" = no && can_build_shared=no
13151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13152 if test "$GCC" = yes; then
13153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13157 # Do we need to explicitly link libc?
13159 case "x$archive_cmds_need_lc_CXX" in
13161 # Assume -lc should be added
13162 archive_cmds_need_lc_CXX=yes
13164 if test "$enable_shared" = yes && test "$GCC" = yes; then
13165 case $archive_cmds_CXX in
13167 # FIXME: we may have to deal with multi-command sequences.
13170 # Test whether the compiler implicitly links with -lc since on some
13171 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13172 # to ld, don't add -lc before -lgcc.
13173 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13174 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13176 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13179 (eval $ac_compile) 2>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); } 2>conftest.err; then
13185 libobjs=conftest.$ac_objext
13187 wl=$lt_prog_compiler_wl_CXX
13193 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13194 allow_undefined_flag_CXX=
13195 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13196 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }
13201 archive_cmds_need_lc_CXX=no
13203 archive_cmds_need_lc_CXX=yes
13205 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13207 cat conftest.err 1>&5
13210 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13211 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13218 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13219 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13220 library_names_spec=
13221 libname_spec='lib$name'
13225 postuninstall_cmds=
13229 shlibpath_overrides_runpath=unknown
13231 dynamic_linker="$host_os ld.so"
13232 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13233 if test "$GCC" = yes; then
13234 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13235 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13236 # if the path contains ";" then we assume it to be the separator
13237 # otherwise default to the standard path separator (i.e. ":") - it is
13238 # assumed that no part of a normal pathname contains ";" but that should
13239 # okay in the real world where ";" in dirpaths is itself problematic.
13240 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13242 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13245 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13247 need_lib_prefix=unknown
13248 hardcode_into_libs=no
13250 # when you set need_version to no, make sure it does not cause -set_version
13251 # flags to be left without arguments
13252 need_version=unknown
13257 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13258 shlibpath_var=LIBPATH
13260 # AIX 3 has no versioning support, so we append a major version to the name.
13261 soname_spec='${libname}${release}${shared_ext}$major'
13268 hardcode_into_libs=yes
13269 if test "$host_cpu" = ia64; then
13270 # AIX 5 supports IA64
13271 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13272 shlibpath_var=LD_LIBRARY_PATH
13274 # With GCC up to 2.95.x, collect2 would create an import file
13275 # for dependence libraries. The import file would start with
13276 # the line `#! .'. This would cause the generated library to
13277 # depend on `.', always an invalid library. This was fixed in
13278 # development snapshots of GCC prior to 3.0.
13280 aix4 | aix4.[01] | aix4.[01].*)
13281 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13283 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13286 can_build_shared=no
13290 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13291 # soname into executable. Probably we can add versioning support to
13292 # collect2, so additional links can be useful in future.
13293 if test "$aix_use_runtimelinking" = yes; then
13294 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13295 # instead of lib<name>.a to let people know that these are not
13296 # typical AIX shared libraries.
13297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13299 # We preserve .a as extension for shared libraries through AIX4.2
13300 # and later when we are not doing run time linking.
13301 library_names_spec='${libname}${release}.a $libname.a'
13302 soname_spec='${libname}${release}${shared_ext}$major'
13304 shlibpath_var=LIBPATH
13309 library_names_spec='$libname.ixlibrary $libname.a'
13310 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13311 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'
13315 library_names_spec='${libname}${shared_ext}'
13316 dynamic_linker="$host_os ld.so"
13317 shlibpath_var=LIBRARY_PATH
13323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13324 soname_spec='${libname}${release}${shared_ext}$major'
13325 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13326 shlibpath_var=LD_LIBRARY_PATH
13327 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13328 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13329 # the default ld.so.conf also contains /usr/contrib/lib and
13330 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13331 # libtool to hard-code these into programs
13334 cygwin* | mingw* | pw32*)
13335 version_type=windows
13340 case $GCC,$host_os in
13341 yes,cygwin* | yes,mingw* | yes,pw32*)
13342 library_names_spec='$libname.dll.a'
13343 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13344 postinstall_cmds='base_file=`basename \${file}`~
13345 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13346 dldir=$destdir/`dirname \$dlpath`~
13347 test -d \$dldir || mkdir -p \$dldir~
13348 $install_prog $dir/$dlname \$dldir/$dlname'
13349 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13350 dlpath=$dir/\$dldll~
13352 shlibpath_overrides_runpath=yes
13356 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13357 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13358 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13361 # MinGW DLLs use traditional 'lib' prefix
13362 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13363 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13364 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13365 # It is most probably a Windows format PATH printed by
13366 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13367 # path with ; separators, and with drive letters. We can handle the
13368 # drive letters (cygwin fileutils understands them), so leave them,
13369 # especially as we might pass files found there to a mingw objdump,
13370 # which wouldn't understand a cygwinified path. Ahh.
13371 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13373 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13377 # pw32 DLLs use 'pw' prefix rather than 'lib'
13378 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13384 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13387 dynamic_linker='Win32 ld.exe'
13388 # FIXME: first we should search . and the directory the executable is in
13392 darwin* | rhapsody*)
13393 dynamic_linker="$host_os dyld"
13394 version_type=darwin
13397 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13398 soname_spec='${libname}${release}${major}$shared_ext'
13399 shlibpath_overrides_runpath=yes
13400 shlibpath_var=DYLD_LIBRARY_PATH
13401 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
13402 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13403 if test "$GCC" = yes; then
13404 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"`
13406 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13408 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13416 soname_spec='${libname}${release}${shared_ext}$major'
13417 shlibpath_var=LD_LIBRARY_PATH
13428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13429 soname_spec='${libname}${release}${shared_ext}$major'
13430 shlibpath_var=LD_LIBRARY_PATH
13431 shlibpath_overrides_runpath=no
13432 hardcode_into_libs=yes
13433 dynamic_linker='GNU ld.so'
13437 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13438 version_type=freebsd-$objformat
13439 case $version_type in
13441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13446 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13450 shlibpath_var=LD_LIBRARY_PATH
13453 shlibpath_overrides_runpath=yes
13455 freebsd3.01* | freebsdelf3.01*)
13456 shlibpath_overrides_runpath=yes
13457 hardcode_into_libs=yes
13460 shlibpath_overrides_runpath=no
13461 hardcode_into_libs=yes
13470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13471 soname_spec='${libname}${release}${shared_ext}$major'
13472 shlibpath_var=LD_LIBRARY_PATH
13473 hardcode_into_libs=yes
13476 hpux9* | hpux10* | hpux11*)
13477 # Give a soname corresponding to the major version so that dld.sl refuses to
13478 # link against other versions.
13482 case "$host_cpu" in
13485 hardcode_into_libs=yes
13486 dynamic_linker="$host_os dld.so"
13487 shlibpath_var=LD_LIBRARY_PATH
13488 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13490 soname_spec='${libname}${release}${shared_ext}$major'
13491 if test "X$HPUX_IA64_MODE" = X32; then
13492 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13494 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13496 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13500 hardcode_into_libs=yes
13501 dynamic_linker="$host_os dld.sl"
13502 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13503 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505 soname_spec='${libname}${release}${shared_ext}$major'
13506 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13507 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13511 dynamic_linker="$host_os dld.sl"
13512 shlibpath_var=SHLIB_PATH
13513 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec='${libname}${release}${shared_ext}$major'
13518 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13519 postinstall_cmds='chmod 555 $lib'
13522 irix5* | irix6* | nonstopux*)
13524 nonstopux*) version_type=nonstopux ;;
13526 if test "$lt_cv_prog_gnu_ld" = yes; then
13534 soname_spec='${libname}${release}${shared_ext}$major'
13535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13537 irix5* | nonstopux*)
13538 libsuff= shlibsuff=
13541 case $LD in # libtool.m4 will add one of these switches to LD
13542 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13543 libsuff= shlibsuff= libmagic=32-bit;;
13544 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13545 libsuff=32 shlibsuff=N32 libmagic=N32;;
13546 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13547 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13548 *) libsuff= shlibsuff= libmagic=never-match;;
13552 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13553 shlibpath_overrides_runpath=no
13554 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13555 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13556 hardcode_into_libs=yes
13559 # No shared lib support for Linux oldld, aout, or coff.
13560 linux*oldld* | linux*aout* | linux*coff*)
13564 # This must be Linux ELF.
13569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13570 soname_spec='${libname}${release}${shared_ext}$major'
13571 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13572 shlibpath_var=LD_LIBRARY_PATH
13573 shlibpath_overrides_runpath=no
13574 # This implies no fast_install, which is unacceptable.
13575 # Some rework will be needed to allow for fast_install
13576 # before this can be enabled.
13577 hardcode_into_libs=yes
13579 # find out which ABI we are using
13581 case "$host_cpu" in
13582 x86_64*|s390x*|powerpc64*)
13583 echo '#line 13583 "configure"' > conftest.$ac_ext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 (eval $ac_compile) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; then
13589 case `/usr/bin/file conftest.$ac_objext` in
13592 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13600 # Append ld.so.conf contents to the search path
13601 if test -f /etc/ld.so.conf; then
13602 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
13603 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13606 # We used to test for /lib/ld.so.1 and disable shared libraries on
13607 # powerpc, because MkLinux only supported shared libraries with the
13608 # GNU dynamic linker. Since this was broken with cross compilers,
13609 # most powerpc-linux boxes support dynamic linking these days and
13610 # people can always --disable-shared, the test was removed, and we
13611 # assume the GNU/Linux dynamic linker is in use.
13612 dynamic_linker='GNU/Linux ld.so'
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13622 shlibpath_overrides_runpath=no
13623 hardcode_into_libs=yes
13624 dynamic_linker='GNU ld.so'
13631 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13633 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13634 dynamic_linker='NetBSD (a.out) ld.so'
13636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13637 soname_spec='${libname}${release}${shared_ext}$major'
13638 dynamic_linker='NetBSD ld.elf_so'
13640 shlibpath_var=LD_LIBRARY_PATH
13641 shlibpath_overrides_runpath=yes
13642 hardcode_into_libs=yes
13647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13648 shlibpath_var=LD_LIBRARY_PATH
13649 shlibpath_overrides_runpath=yes
13656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13657 soname_spec='${libname}${release}${shared_ext}$major'
13658 shlibpath_var=LD_LIBRARY_PATH
13659 shlibpath_overrides_runpath=yes
13666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13667 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13668 shlibpath_var=LD_LIBRARY_PATH
13669 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13671 openbsd2.[89] | openbsd2.[89].*)
13672 shlibpath_overrides_runpath=no
13675 shlibpath_overrides_runpath=yes
13679 shlibpath_overrides_runpath=yes
13684 libname_spec='$name'
13687 library_names_spec='$libname${shared_ext} $libname.a'
13688 dynamic_linker='OS/2 ld.exe'
13689 shlibpath_var=LIBPATH
13692 osf3* | osf4* | osf5*)
13696 soname_spec='${libname}${release}${shared_ext}$major'
13697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13698 shlibpath_var=LD_LIBRARY_PATH
13699 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13700 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13705 soname_spec='${libname}${release}${shared_ext}$major'
13706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13707 shlibpath_var=LD_LIBRARY_PATH
13714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13715 soname_spec='${libname}${release}${shared_ext}$major'
13716 shlibpath_var=LD_LIBRARY_PATH
13717 shlibpath_overrides_runpath=yes
13718 hardcode_into_libs=yes
13719 # ldd complains unless libraries are executable
13720 postinstall_cmds='chmod +x $lib'
13725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13726 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13727 shlibpath_var=LD_LIBRARY_PATH
13728 shlibpath_overrides_runpath=yes
13729 if test "$with_gnu_ld" = yes; then
13735 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13738 soname_spec='${libname}${release}${shared_ext}$major'
13739 shlibpath_var=LD_LIBRARY_PATH
13740 case $host_vendor in
13742 shlibpath_overrides_runpath=no
13744 export_dynamic_flag_spec='${wl}-Blargedynsym'
13745 runpath_var=LD_RUN_PATH
13753 shlibpath_overrides_runpath=no
13754 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13760 if test -d /usr/nec ;then
13762 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13763 soname_spec='$libname${shared_ext}.$major'
13764 shlibpath_var=LD_LIBRARY_PATH
13770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13771 soname_spec='${libname}${release}${shared_ext}$major'
13772 shlibpath_var=LD_LIBRARY_PATH
13779 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13780 echo "${ECHO_T}$dynamic_linker" >&6
13781 test "$dynamic_linker" = no && can_build_shared=no
13783 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13784 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13785 hardcode_action_CXX=
13786 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13787 test -n "$runpath_var CXX" || \
13788 test "X$hardcode_automatic_CXX"="Xyes" ; then
13790 # We can hardcode non-existant directories.
13791 if test "$hardcode_direct_CXX" != no &&
13792 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13793 # have to relink, otherwise we might link with an installed library
13794 # when we should be linking with a yet-to-be-installed one
13795 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13796 test "$hardcode_minus_L_CXX" != no; then
13797 # Linking always hardcodes the temporary library directory.
13798 hardcode_action_CXX=relink
13800 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13801 hardcode_action_CXX=immediate
13804 # We cannot hardcode anything, or else we can only hardcode existing
13806 hardcode_action_CXX=unsupported
13808 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13809 echo "${ECHO_T}$hardcode_action_CXX" >&6
13811 if test "$hardcode_action_CXX" = relink; then
13812 # Fast installation is not supported
13813 enable_fast_install=no
13814 elif test "$shlibpath_overrides_runpath" = yes ||
13815 test "$enable_shared" = no; then
13816 # Fast installation is not necessary
13817 enable_fast_install=needless
13822 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13823 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13824 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13825 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13826 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13827 echo "$as_me:$LINENO: result: yes" >&5
13828 echo "${ECHO_T}yes" >&6
13830 # FIXME - insert some real tests, host_os isn't really good enough
13833 if test -n "$STRIP" ; then
13834 striplib="$STRIP -x"
13835 echo "$as_me:$LINENO: result: yes" >&5
13836 echo "${ECHO_T}yes" >&6
13838 echo "$as_me:$LINENO: result: no" >&5
13839 echo "${ECHO_T}no" >&6
13843 echo "$as_me:$LINENO: result: no" >&5
13844 echo "${ECHO_T}no" >&6
13849 if test "x$enable_dlopen" != xyes; then
13850 enable_dlopen=unknown
13851 enable_dlopen_self=unknown
13852 enable_dlopen_self_static=unknown
13859 lt_cv_dlopen="load_add_on"
13861 lt_cv_dlopen_self=yes
13865 lt_cv_dlopen="LoadLibrary"
13870 lt_cv_dlopen="dlopen"
13875 # if libdl is installed we need to link against it
13876 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13877 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13878 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13879 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 ac_check_lib_save_LIBS=$LIBS
13883 cat >conftest.$ac_ext <<_ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13890 /* Override any gcc2 internal prototype to avoid an error. */
13894 /* We use char because int might match the return type of a gcc2
13895 builtin and then its argument prototype would still apply. */
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13907 (eval $ac_link) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1 >conftest.err
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -z "$ac_cxx_werror_flag"
13915 || test ! -s conftest.err'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try='test -s conftest$ac_exeext'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; }; then
13927 ac_cv_lib_dl_dlopen=yes
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13932 ac_cv_lib_dl_dlopen=no
13934 rm -f conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_lib_save_LIBS
13938 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13939 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13940 if test $ac_cv_lib_dl_dlopen = yes; then
13941 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13944 lt_cv_dlopen="dyld"
13946 lt_cv_dlopen_self=yes
13953 echo "$as_me:$LINENO: checking for shl_load" >&5
13954 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13955 if test "${ac_cv_func_shl_load+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 cat >conftest.$ac_ext <<_ACEOF
13961 cat confdefs.h >>conftest.$ac_ext
13962 cat >>conftest.$ac_ext <<_ACEOF
13963 /* end confdefs.h. */
13964 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13966 #define shl_load innocuous_shl_load
13968 /* System header to define __stub macros and hopefully few prototypes,
13969 which can conflict with char shl_load (); below.
13970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13971 <limits.h> exists even on freestanding compilers. */
13974 # include <limits.h>
13976 # include <assert.h>
13981 /* Override any gcc2 internal prototype to avoid an error. */
13986 /* We use char because int might match the return type of a gcc2
13987 builtin and then its argument prototype would still apply. */
13989 /* The GNU C library defines this for functions which it implements
13990 to always fail with ENOSYS. Some functions are actually named
13991 something starting with __ and the normal name is an alias. */
13992 #if defined (__stub_shl_load) || defined (__stub___shl_load)
13995 char (*f) () = shl_load;
14004 return f != shl_load;
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14011 (eval $ac_link) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1 >conftest.err
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try='test -z "$ac_cxx_werror_flag"
14019 || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try='test -s conftest$ac_exeext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_cv_func_shl_load=yes
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14036 ac_cv_func_shl_load=no
14038 rm -f conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14042 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14043 if test $ac_cv_func_shl_load = yes; then
14044 lt_cv_dlopen="shl_load"
14046 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14047 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14048 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 ac_check_lib_save_LIBS=$LIBS
14053 cat >conftest.$ac_ext <<_ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14060 /* Override any gcc2 internal prototype to avoid an error. */
14064 /* We use char because int might match the return type of a gcc2
14065 builtin and then its argument prototype would still apply. */
14075 rm -f conftest.$ac_objext conftest$ac_exeext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14077 (eval $ac_link) 2>conftest.er1
14079 grep -v '^ *+' conftest.er1 >conftest.err
14081 cat conftest.err >&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try='test -z "$ac_cxx_werror_flag"
14085 || test ! -s conftest.err'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; } &&
14091 { ac_try='test -s conftest$ac_exeext'
14092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093 (eval $ac_try) 2>&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); }; }; then
14097 ac_cv_lib_dld_shl_load=yes
14099 echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.$ac_ext >&5
14102 ac_cv_lib_dld_shl_load=no
14104 rm -f conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14109 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14110 if test $ac_cv_lib_dld_shl_load = yes; then
14111 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14113 echo "$as_me:$LINENO: checking for dlopen" >&5
14114 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14115 if test "${ac_cv_func_dlopen+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 cat >conftest.$ac_ext <<_ACEOF
14121 cat confdefs.h >>conftest.$ac_ext
14122 cat >>conftest.$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14126 #define dlopen innocuous_dlopen
14128 /* System header to define __stub macros and hopefully few prototypes,
14129 which can conflict with char dlopen (); below.
14130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14131 <limits.h> exists even on freestanding compilers. */
14134 # include <limits.h>
14136 # include <assert.h>
14141 /* Override any gcc2 internal prototype to avoid an error. */
14146 /* We use char because int might match the return type of a gcc2
14147 builtin and then its argument prototype would still apply. */
14149 /* The GNU C library defines this for functions which it implements
14150 to always fail with ENOSYS. Some functions are actually named
14151 something starting with __ and the normal name is an alias. */
14152 #if defined (__stub_dlopen) || defined (__stub___dlopen)
14155 char (*f) () = dlopen;
14164 return f != dlopen;
14169 rm -f conftest.$ac_objext conftest$ac_exeext
14170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14171 (eval $ac_link) 2>conftest.er1
14173 grep -v '^ *+' conftest.er1 >conftest.err
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -z "$ac_cxx_werror_flag"
14179 || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest$ac_exeext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 ac_cv_func_dlopen=yes
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14196 ac_cv_func_dlopen=no
14198 rm -f conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14201 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14202 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14203 if test $ac_cv_func_dlopen = yes; then
14204 lt_cv_dlopen="dlopen"
14206 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14207 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14208 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14209 echo $ECHO_N "(cached) $ECHO_C" >&6
14211 ac_check_lib_save_LIBS=$LIBS
14213 cat >conftest.$ac_ext <<_ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14220 /* Override any gcc2 internal prototype to avoid an error. */
14224 /* We use char because int might match the return type of a gcc2
14225 builtin and then its argument prototype would still apply. */
14235 rm -f conftest.$ac_objext conftest$ac_exeext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14237 (eval $ac_link) 2>conftest.er1
14239 grep -v '^ *+' conftest.er1 >conftest.err
14241 cat conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try='test -z "$ac_cxx_werror_flag"
14245 || test ! -s conftest.err'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; } &&
14251 { ac_try='test -s conftest$ac_exeext'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; }; then
14257 ac_cv_lib_dl_dlopen=yes
14259 echo "$as_me: failed program was:" >&5
14260 sed 's/^/| /' conftest.$ac_ext >&5
14262 ac_cv_lib_dl_dlopen=no
14264 rm -f conftest.err conftest.$ac_objext \
14265 conftest$ac_exeext conftest.$ac_ext
14266 LIBS=$ac_check_lib_save_LIBS
14268 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14269 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14270 if test $ac_cv_lib_dl_dlopen = yes; then
14271 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14273 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14274 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14275 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14278 ac_check_lib_save_LIBS=$LIBS
14279 LIBS="-lsvld $LIBS"
14280 cat >conftest.$ac_ext <<_ACEOF
14283 cat confdefs.h >>conftest.$ac_ext
14284 cat >>conftest.$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14287 /* Override any gcc2 internal prototype to avoid an error. */
14291 /* We use char because int might match the return type of a gcc2
14292 builtin and then its argument prototype would still apply. */
14302 rm -f conftest.$ac_objext conftest$ac_exeext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14304 (eval $ac_link) 2>conftest.er1
14306 grep -v '^ *+' conftest.er1 >conftest.err
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try='test -z "$ac_cxx_werror_flag"
14312 || test ! -s conftest.err'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try='test -s conftest$ac_exeext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_cv_lib_svld_dlopen=yes
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14329 ac_cv_lib_svld_dlopen=no
14331 rm -f conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_lib_save_LIBS
14335 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14336 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14337 if test $ac_cv_lib_svld_dlopen = yes; then
14338 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14340 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14341 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14342 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 ac_check_lib_save_LIBS=$LIBS
14347 cat >conftest.$ac_ext <<_ACEOF
14350 cat confdefs.h >>conftest.$ac_ext
14351 cat >>conftest.$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14354 /* Override any gcc2 internal prototype to avoid an error. */
14358 /* We use char because int might match the return type of a gcc2
14359 builtin and then its argument prototype would still apply. */
14369 rm -f conftest.$ac_objext conftest$ac_exeext
14370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14371 (eval $ac_link) 2>conftest.er1
14373 grep -v '^ *+' conftest.er1 >conftest.err
14375 cat conftest.err >&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } &&
14378 { ac_try='test -z "$ac_cxx_werror_flag"
14379 || test ! -s conftest.err'
14380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14381 (eval $ac_try) 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; } &&
14385 { ac_try='test -s conftest$ac_exeext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 ac_cv_lib_dld_dld_link=yes
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 ac_cv_lib_dld_dld_link=no
14398 rm -f conftest.err conftest.$ac_objext \
14399 conftest$ac_exeext conftest.$ac_ext
14400 LIBS=$ac_check_lib_save_LIBS
14402 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14403 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14404 if test $ac_cv_lib_dld_dld_link = yes; then
14405 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14426 if test "x$lt_cv_dlopen" != xno; then
14432 case $lt_cv_dlopen in
14434 save_CPPFLAGS="$CPPFLAGS"
14435 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14437 save_LDFLAGS="$LDFLAGS"
14438 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14441 LIBS="$lt_cv_dlopen_libs $LIBS"
14443 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14444 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14445 if test "${lt_cv_dlopen_self+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 if test "$cross_compiling" = yes; then :
14449 lt_cv_dlopen_self=cross
14451 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14452 lt_status=$lt_dlunknown
14453 cat > conftest.$ac_ext <<EOF
14454 #line 14454 "configure"
14455 #include "confdefs.h"
14464 # define LT_DLGLOBAL RTLD_GLOBAL
14467 # define LT_DLGLOBAL DL_GLOBAL
14469 # define LT_DLGLOBAL 0
14473 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14474 find out it does not work in some platform. */
14475 #ifndef LT_DLLAZY_OR_NOW
14477 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14480 # define LT_DLLAZY_OR_NOW DL_LAZY
14483 # define LT_DLLAZY_OR_NOW RTLD_NOW
14486 # define LT_DLLAZY_OR_NOW DL_NOW
14488 # define LT_DLLAZY_OR_NOW 0
14496 extern "C" void exit (int);
14499 void fnord() { int i=42;}
14502 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14503 int status = $lt_dlunknown;
14507 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14508 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14509 /* dlclose (self); */
14515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14516 (eval $ac_link) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14520 (./conftest; exit; ) 2>/dev/null
14522 case x$lt_status in
14523 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14524 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14525 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
14528 # compilation failed
14529 lt_cv_dlopen_self=no
14536 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14537 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14539 if test "x$lt_cv_dlopen_self" = xyes; then
14540 LDFLAGS="$LDFLAGS $link_static_flag"
14541 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14542 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14543 if test "${lt_cv_dlopen_self_static+set}" = set; then
14544 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 if test "$cross_compiling" = yes; then :
14547 lt_cv_dlopen_self_static=cross
14549 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14550 lt_status=$lt_dlunknown
14551 cat > conftest.$ac_ext <<EOF
14552 #line 14552 "configure"
14553 #include "confdefs.h"
14562 # define LT_DLGLOBAL RTLD_GLOBAL
14565 # define LT_DLGLOBAL DL_GLOBAL
14567 # define LT_DLGLOBAL 0
14571 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14572 find out it does not work in some platform. */
14573 #ifndef LT_DLLAZY_OR_NOW
14575 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14578 # define LT_DLLAZY_OR_NOW DL_LAZY
14581 # define LT_DLLAZY_OR_NOW RTLD_NOW
14584 # define LT_DLLAZY_OR_NOW DL_NOW
14586 # define LT_DLLAZY_OR_NOW 0
14594 extern "C" void exit (int);
14597 void fnord() { int i=42;}
14600 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14601 int status = $lt_dlunknown;
14605 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14606 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14607 /* dlclose (self); */
14613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14614 (eval $ac_link) 2>&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14618 (./conftest; exit; ) 2>/dev/null
14620 case x$lt_status in
14621 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14622 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14623 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
14626 # compilation failed
14627 lt_cv_dlopen_self_static=no
14634 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14635 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14638 CPPFLAGS="$save_CPPFLAGS"
14639 LDFLAGS="$save_LDFLAGS"
14644 case $lt_cv_dlopen_self in
14645 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14646 *) enable_dlopen_self=unknown ;;
14649 case $lt_cv_dlopen_self_static in
14650 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14651 *) enable_dlopen_self_static=unknown ;;
14656 # The else clause should only fire when bootstrapping the
14657 # libtool distribution, otherwise you forgot to ship ltmain.sh
14658 # with your package, and you will get complaints that there are
14659 # no rules to generate ltmain.sh.
14660 if test -f "$ltmain"; then
14661 # See if we are running on zsh, and set the options which allow our commands through
14662 # without removal of \ escapes.
14663 if test -n "${ZSH_VERSION+set}" ; then
14664 setopt NO_GLOB_SUBST
14666 # Now quote all the things that may contain metacharacters while being
14667 # careful not to overquote the AC_SUBSTed values. We take copies of the
14668 # variables and quote the copies for generation of the libtool script.
14669 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14671 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14672 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14673 deplibs_check_method reload_flag reload_cmds need_locks \
14674 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14675 lt_cv_sys_global_symbol_to_c_name_address \
14676 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14677 old_postinstall_cmds old_postuninstall_cmds \
14681 lt_prog_compiler_wl_CXX \
14682 lt_prog_compiler_pic_CXX \
14683 lt_prog_compiler_static_CXX \
14684 lt_prog_compiler_no_builtin_flag_CXX \
14685 export_dynamic_flag_spec_CXX \
14686 thread_safe_flag_spec_CXX \
14687 whole_archive_flag_spec_CXX \
14688 enable_shared_with_static_runtimes_CXX \
14689 old_archive_cmds_CXX \
14690 old_archive_from_new_cmds_CXX \
14691 predep_objects_CXX \
14692 postdep_objects_CXX \
14695 compiler_lib_search_path_CXX \
14697 archive_expsym_cmds_CXX \
14698 postinstall_cmds_CXX \
14699 postuninstall_cmds_CXX \
14700 old_archive_from_expsyms_cmds_CXX \
14701 allow_undefined_flag_CXX \
14702 no_undefined_flag_CXX \
14703 export_symbols_cmds_CXX \
14704 hardcode_libdir_flag_spec_CXX \
14705 hardcode_libdir_flag_spec_ld_CXX \
14706 hardcode_libdir_separator_CXX \
14707 hardcode_automatic_CXX \
14709 module_expsym_cmds_CXX \
14710 lt_cv_prog_compiler_c_o_CXX \
14711 exclude_expsyms_CXX \
14712 include_expsyms_CXX; do
14715 old_archive_cmds_CXX | \
14716 old_archive_from_new_cmds_CXX | \
14717 archive_cmds_CXX | \
14718 archive_expsym_cmds_CXX | \
14719 module_cmds_CXX | \
14720 module_expsym_cmds_CXX | \
14721 old_archive_from_expsyms_cmds_CXX | \
14722 export_symbols_cmds_CXX | \
14723 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14724 postinstall_cmds | postuninstall_cmds | \
14725 old_postinstall_cmds | old_postuninstall_cmds | \
14726 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14727 # Double-quote double-evaled strings.
14728 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14731 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14737 *'\$0 --fallback-echo"')
14738 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14744 cat <<__EOF__ >> "$cfgfile"
14745 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14749 # Shell to use when invoking shell scripts.
14752 # Whether or not to build shared libraries.
14753 build_libtool_libs=$enable_shared
14755 # Whether or not to build static libraries.
14756 build_old_libs=$enable_static
14758 # Whether or not to add -lc for building shared libraries.
14759 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14761 # Whether or not to disallow shared libs when runtime libs are static
14762 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14764 # Whether or not to optimize for fast installation.
14765 fast_install=$enable_fast_install
14768 host_alias=$host_alias
14771 # An echo program that does not interpret backslashes.
14776 AR_FLAGS=$lt_AR_FLAGS
14781 # A language-specific compiler.
14782 CC=$lt_compiler_CXX
14784 # Is the compiler the GNU C compiler?
14790 # The linker used to build libraries.
14793 # Whether we need hard or soft links.
14796 # A BSD-compatible nm program.
14799 # A symbol stripping program
14802 # Used to examine libraries when file_magic_cmd begins "file"
14803 MAGIC_CMD=$MAGIC_CMD
14805 # Used on cygwin: DLL creation program.
14808 # Used on cygwin: object dumper.
14811 # Used on cygwin: assembler.
14814 # The name of the directory that contains temporary libtool files.
14817 # How to create reloadable object files.
14818 reload_flag=$lt_reload_flag
14819 reload_cmds=$lt_reload_cmds
14821 # How to pass a linker flag through the compiler.
14822 wl=$lt_lt_prog_compiler_wl_CXX
14824 # Object file suffix (normally "o").
14825 objext="$ac_objext"
14827 # Old archive suffix (normally "a").
14830 # Shared library suffix (normally ".so").
14831 shrext_cmds='$shrext_cmds'
14833 # Executable file suffix (normally "").
14836 # Additional compiler flags for building library objects.
14837 pic_flag=$lt_lt_prog_compiler_pic_CXX
14840 # What is the maximum length of a command?
14841 max_cmd_len=$lt_cv_sys_max_cmd_len
14843 # Does compiler simultaneously support -c and -o options?
14844 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14846 # Must we lock files when doing compilation ?
14847 need_locks=$lt_need_locks
14849 # Do we need the lib prefix for modules?
14850 need_lib_prefix=$need_lib_prefix
14852 # Do we need a version for libraries?
14853 need_version=$need_version
14855 # Whether dlopen is supported.
14856 dlopen_support=$enable_dlopen
14858 # Whether dlopen of programs is supported.
14859 dlopen_self=$enable_dlopen_self
14861 # Whether dlopen of statically linked programs is supported.
14862 dlopen_self_static=$enable_dlopen_self_static
14864 # Compiler flag to prevent dynamic linking.
14865 link_static_flag=$lt_lt_prog_compiler_static_CXX
14867 # Compiler flag to turn off builtin functions.
14868 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14870 # Compiler flag to allow reflexive dlopens.
14871 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14873 # Compiler flag to generate shared objects directly from archives.
14874 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14876 # Compiler flag to generate thread-safe objects.
14877 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14879 # Library versioning type.
14880 version_type=$version_type
14882 # Format of library name prefix.
14883 libname_spec=$lt_libname_spec
14885 # List of archive names. First name is the real one, the rest are links.
14886 # The last name is the one that the linker finds with -lNAME.
14887 library_names_spec=$lt_library_names_spec
14889 # The coded name of the library, if different from the real name.
14890 soname_spec=$lt_soname_spec
14892 # Commands used to build and install an old-style archive.
14894 old_archive_cmds=$lt_old_archive_cmds_CXX
14895 old_postinstall_cmds=$lt_old_postinstall_cmds
14896 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14898 # Create an old-style archive from a shared archive.
14899 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14901 # Create a temporary old-style archive to link instead of a shared archive.
14902 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14904 # Commands used to build and install a shared archive.
14905 archive_cmds=$lt_archive_cmds_CXX
14906 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14907 postinstall_cmds=$lt_postinstall_cmds
14908 postuninstall_cmds=$lt_postuninstall_cmds
14910 # Commands used to build a loadable module (assumed same as above if empty)
14911 module_cmds=$lt_module_cmds_CXX
14912 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14914 # Commands to strip libraries.
14915 old_striplib=$lt_old_striplib
14916 striplib=$lt_striplib
14918 # Dependencies to place before the objects being linked to create a
14920 predep_objects=$lt_predep_objects_CXX
14922 # Dependencies to place after the objects being linked to create a
14924 postdep_objects=$lt_postdep_objects_CXX
14926 # Dependencies to place before the objects being linked to create a
14928 predeps=$lt_predeps_CXX
14930 # Dependencies to place after the objects being linked to create a
14932 postdeps=$lt_postdeps_CXX
14934 # The library search path used internally by the compiler when linking
14935 # a shared library.
14936 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14938 # Method to check whether dependent libraries are shared objects.
14939 deplibs_check_method=$lt_deplibs_check_method
14941 # Command to use when deplibs_check_method == file_magic.
14942 file_magic_cmd=$lt_file_magic_cmd
14944 # Flag that allows shared libraries with undefined symbols to be built.
14945 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14947 # Flag that forces no undefined symbols.
14948 no_undefined_flag=$lt_no_undefined_flag_CXX
14950 # Commands used to finish a libtool library installation in a directory.
14951 finish_cmds=$lt_finish_cmds
14953 # Same as above, but a single script fragment to be evaled but not shown.
14954 finish_eval=$lt_finish_eval
14956 # Take the output of nm and produce a listing of raw symbols and C names.
14957 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14959 # Transform the output of nm in a proper C declaration
14960 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14962 # Transform the output of nm in a C name address pair
14963 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14965 # This is the shared library runtime path variable.
14966 runpath_var=$runpath_var
14968 # This is the shared library path variable.
14969 shlibpath_var=$shlibpath_var
14971 # Is shlibpath searched before the hard-coded library search path?
14972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14974 # How to hardcode a shared library path into an executable.
14975 hardcode_action=$hardcode_action_CXX
14977 # Whether we should hardcode library paths into libraries.
14978 hardcode_into_libs=$hardcode_into_libs
14980 # Flag to hardcode \$libdir into a binary during linking.
14981 # This must work even if \$libdir does not exist.
14982 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14984 # If ld is used when linking, flag to hardcode \$libdir into
14985 # a binary during linking. This must work even if \$libdir does
14987 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14989 # Whether we need a single -rpath flag with a separated argument.
14990 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14992 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14993 # resulting binary.
14994 hardcode_direct=$hardcode_direct_CXX
14996 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14997 # resulting binary.
14998 hardcode_minus_L=$hardcode_minus_L_CXX
15000 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15001 # the resulting binary.
15002 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15004 # Set to yes if building a shared library automatically hardcodes DIR into the library
15005 # and all subsequent libraries and executables linked against it.
15006 hardcode_automatic=$hardcode_automatic_CXX
15008 # Variables whose values should be saved in libtool wrapper scripts and
15009 # restored at relink time.
15010 variables_saved_for_relink="$variables_saved_for_relink"
15012 # Whether libtool must link a program against all its dependency libraries.
15013 link_all_deplibs=$link_all_deplibs_CXX
15015 # Compile-time system search path for libraries
15016 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15018 # Run-time system search path for libraries
15019 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15021 # Fix the shell variable \$srcfile for the compiler.
15022 fix_srcfile_path="$fix_srcfile_path_CXX"
15024 # Set to yes if exported symbols are required.
15025 always_export_symbols=$always_export_symbols_CXX
15027 # The commands to list exported symbols.
15028 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15030 # The commands to extract the exported symbol list from a shared archive.
15031 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15033 # Symbols that should not be listed in the preloaded symbols.
15034 exclude_expsyms=$lt_exclude_expsyms_CXX
15036 # Symbols that must always be exported.
15037 include_expsyms=$lt_include_expsyms_CXX
15039 # ### END LIBTOOL TAG CONFIG: $tagname
15045 # If there is no Makefile yet, we rely on a make rule to execute
15046 # `config.status --recheck' to rerun these tests and create the
15047 # libtool script then.
15048 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15049 if test -f "$ltmain_in"; then
15050 test -f Makefile && make "$ltmain"
15056 ac_cpp='$CPP $CPPFLAGS'
15057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065 with_gnu_ldcxx=$with_gnu_ld
15066 with_gnu_ld=$lt_save_with_gnu_ld
15067 lt_cv_path_LDCXX=$lt_cv_path_LD
15068 lt_cv_path_LD=$lt_save_path_LD
15069 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15070 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15078 if test -n "$F77" && test "X$F77" != "Xno"; then
15081 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15082 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15083 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15086 archive_cmds_need_lc_F77=no
15087 allow_undefined_flag_F77=
15088 always_export_symbols_F77=no
15089 archive_expsym_cmds_F77=
15090 export_dynamic_flag_spec_F77=
15091 hardcode_direct_F77=no
15092 hardcode_libdir_flag_spec_F77=
15093 hardcode_libdir_flag_spec_ld_F77=
15094 hardcode_libdir_separator_F77=
15095 hardcode_minus_L_F77=no
15096 hardcode_automatic_F77=no
15098 module_expsym_cmds_F77=
15099 link_all_deplibs_F77=unknown
15100 old_archive_cmds_F77=$old_archive_cmds
15101 no_undefined_flag_F77=
15102 whole_archive_flag_spec_F77=
15103 enable_shared_with_static_runtimes_F77=no
15105 # Source file extension for f77 test sources.
15108 # Object file extension for compiled f77 test sources.
15112 # Code to be used in simple compile tests
15113 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
15115 # Code to be used in simple link tests
15116 lt_simple_link_test_code=" program t\n end\n"
15118 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15120 # If no C compiler was specified, use CC.
15123 # Allow CC to be a program name with arguments.
15127 # Allow CC to be a program name with arguments.
15132 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15134 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15135 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15136 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15137 echo "${ECHO_T}$can_build_shared" >&6
15139 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15140 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15141 test "$can_build_shared" = "no" && enable_shared=no
15143 # On AIX, shared libraries and static libraries use the same namespace, and
15144 # are all built from PIC.
15147 test "$enable_shared" = yes && enable_static=no
15148 if test -n "$RANLIB"; then
15149 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15150 postinstall_cmds='$RANLIB $lib'
15154 test "$enable_shared" = yes && enable_static=no
15157 echo "$as_me:$LINENO: result: $enable_shared" >&5
15158 echo "${ECHO_T}$enable_shared" >&6
15160 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15161 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15162 # Make sure either enable_shared or enable_static is yes.
15163 test "$enable_shared" = yes || enable_static=yes
15164 echo "$as_me:$LINENO: result: $enable_static" >&5
15165 echo "${ECHO_T}$enable_static" >&6
15167 test "$ld_shlibs_F77" = no && can_build_shared=no
15172 lt_prog_compiler_wl_F77=
15173 lt_prog_compiler_pic_F77=
15174 lt_prog_compiler_static_F77=
15176 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15177 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15179 if test "$GCC" = yes; then
15180 lt_prog_compiler_wl_F77='-Wl,'
15181 lt_prog_compiler_static_F77='-static'
15185 # All AIX code is PIC.
15186 if test "$host_cpu" = ia64; then
15187 # AIX 5 now supports IA64 processor
15188 lt_prog_compiler_static_F77='-Bstatic'
15193 # FIXME: we need at least 68020 code to build shared libraries, but
15194 # adding the `-m68020' flag to GCC prevents building anything better,
15196 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15199 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15200 # PIC is the default for these OSes.
15203 mingw* | pw32* | os2*)
15204 # This hack is so that the source file can tell whether it is being
15205 # built for inclusion in a dll (and should export symbols for example).
15206 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15209 darwin* | rhapsody*)
15210 # PIC is the default on this platform
15211 # Common symbols not allowed in MH_DYLIB files
15212 lt_prog_compiler_pic_F77='-fno-common'
15216 # Just because we use GCC doesn't mean we suddenly get shared libraries
15217 # on systems that don't support them.
15218 lt_prog_compiler_can_build_shared_F77=no
15223 if test -d /usr/nec; then
15224 lt_prog_compiler_pic_F77=-Kconform_pic
15229 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15230 # not for PA HP-UX.
15231 case "$host_cpu" in
15236 lt_prog_compiler_pic_F77='-fPIC'
15242 lt_prog_compiler_pic_F77='-fPIC'
15246 # PORTME Check for flag to pass linker flags through the system compiler.
15249 lt_prog_compiler_wl_F77='-Wl,'
15250 if test "$host_cpu" = ia64; then
15251 # AIX 5 now supports IA64 processor
15252 lt_prog_compiler_static_F77='-Bstatic'
15254 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15258 mingw* | pw32* | os2*)
15259 # This hack is so that the source file can tell whether it is being
15260 # built for inclusion in a dll (and should export symbols for example).
15261 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15264 hpux9* | hpux10* | hpux11*)
15265 lt_prog_compiler_wl_F77='-Wl,'
15266 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15267 # not for PA HP-UX.
15268 case "$host_cpu" in
15273 lt_prog_compiler_pic_F77='+Z'
15276 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15277 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15280 irix5* | irix6* | nonstopux*)
15281 lt_prog_compiler_wl_F77='-Wl,'
15282 # PIC (with -KPIC) is the default.
15283 lt_prog_compiler_static_F77='-non_shared'
15287 lt_prog_compiler_pic_F77='-KPIC'
15288 lt_prog_compiler_static_F77='-Bstatic'
15294 lt_prog_compiler_wl_F77='-Wl,'
15295 lt_prog_compiler_pic_F77='-KPIC'
15296 lt_prog_compiler_static_F77='-static'
15299 lt_prog_compiler_wl_F77='-Wl,'
15300 # All Alpha code is PIC.
15301 lt_prog_compiler_static_F77='-non_shared'
15306 osf3* | osf4* | osf5*)
15307 lt_prog_compiler_wl_F77='-Wl,'
15308 # All OSF/1 code is PIC.
15309 lt_prog_compiler_static_F77='-non_shared'
15313 lt_prog_compiler_pic_F77='-Kpic'
15314 lt_prog_compiler_static_F77='-dn'
15318 lt_prog_compiler_wl_F77='-Wl,'
15319 lt_prog_compiler_pic_F77='-KPIC'
15320 lt_prog_compiler_static_F77='-Bstatic'
15324 lt_prog_compiler_wl_F77='-Qoption ld '
15325 lt_prog_compiler_pic_F77='-PIC'
15326 lt_prog_compiler_static_F77='-Bstatic'
15329 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15330 lt_prog_compiler_wl_F77='-Wl,'
15331 lt_prog_compiler_pic_F77='-KPIC'
15332 lt_prog_compiler_static_F77='-Bstatic'
15336 if test -d /usr/nec ;then
15337 lt_prog_compiler_pic_F77='-Kconform_pic'
15338 lt_prog_compiler_static_F77='-Bstatic'
15343 lt_prog_compiler_pic_F77='-pic'
15344 lt_prog_compiler_static_F77='-Bstatic'
15348 lt_prog_compiler_can_build_shared_F77=no
15353 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15354 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15357 # Check to make sure the PIC flag actually works.
15359 if test -n "$lt_prog_compiler_pic_F77"; then
15361 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15362 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15363 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 lt_prog_compiler_pic_works_F77=no
15367 ac_outfile=conftest.$ac_objext
15368 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15369 lt_compiler_flag="$lt_prog_compiler_pic_F77"
15370 # Insert the option either (1) after the last *FLAGS variable, or
15371 # (2) before a word containing "conftest.", or (3) at the end.
15372 # Note that $ac_compile itself does not contain backslashes and begins
15373 # with a dollar sign (not a hyphen), so the echo should work correctly.
15374 # The option is referenced via a variable to avoid confusing sed.
15375 lt_compile=`echo "$ac_compile" | $SED \
15376 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15378 -e 's:$: $lt_compiler_flag:'`
15379 (eval echo "\"\$as_me:15379: $lt_compile\"" >&5)
15380 (eval "$lt_compile" 2>conftest.err)
15382 cat conftest.err >&5
15383 echo "$as_me:15383: \$? = $ac_status" >&5
15384 if (exit $ac_status) && test -s "$ac_outfile"; then
15385 # The compiler can only warn and ignore the option if not recognized
15386 # So say no if there are warnings
15387 if test ! -s conftest.err; then
15388 lt_prog_compiler_pic_works_F77=yes
15394 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15395 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15397 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15398 case $lt_prog_compiler_pic_F77 in
15400 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15403 lt_prog_compiler_pic_F77=
15404 lt_prog_compiler_can_build_shared_F77=no
15409 # For platforms which do not support PIC, -DPIC is meaningless:
15411 lt_prog_compiler_pic_F77=
15414 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15418 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15419 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15420 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 lt_cv_prog_compiler_c_o_F77=no
15424 $rm -r conftest 2>/dev/null
15428 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15430 lt_compiler_flag="-o out/conftest2.$ac_objext"
15431 # Insert the option either (1) after the last *FLAGS variable, or
15432 # (2) before a word containing "conftest.", or (3) at the end.
15433 # Note that $ac_compile itself does not contain backslashes and begins
15434 # with a dollar sign (not a hyphen), so the echo should work correctly.
15435 lt_compile=`echo "$ac_compile" | $SED \
15436 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15438 -e 's:$: $lt_compiler_flag:'`
15439 (eval echo "\"\$as_me:15439: $lt_compile\"" >&5)
15440 (eval "$lt_compile" 2>out/conftest.err)
15442 cat out/conftest.err >&5
15443 echo "$as_me:15443: \$? = $ac_status" >&5
15444 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15446 # The compiler can only warn and ignore the option if not recognized
15447 # So say no if there are warnings
15448 if test ! -s out/conftest.err; then
15449 lt_cv_prog_compiler_c_o_F77=yes
15454 # SGI C++ compiler will create directory out/ii_files/ for
15455 # template instantiation
15456 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15457 $rm out/* && rmdir out
15463 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15464 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15467 hard_links="nottested"
15468 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15469 # do not overwrite the value of need_locks provided by the user
15470 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15471 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15474 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15476 ln conftest.a conftest.b 2>&5 || hard_links=no
15477 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15478 echo "$as_me:$LINENO: result: $hard_links" >&5
15479 echo "${ECHO_T}$hard_links" >&6
15480 if test "$hard_links" = no; then
15481 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15482 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15489 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15490 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15493 allow_undefined_flag_F77=
15494 enable_shared_with_static_runtimes_F77=no
15496 archive_expsym_cmds_F77=
15497 old_archive_From_new_cmds_F77=
15498 old_archive_from_expsyms_cmds_F77=
15499 export_dynamic_flag_spec_F77=
15500 whole_archive_flag_spec_F77=
15501 thread_safe_flag_spec_F77=
15502 hardcode_libdir_flag_spec_F77=
15503 hardcode_libdir_flag_spec_ld_F77=
15504 hardcode_libdir_separator_F77=
15505 hardcode_direct_F77=no
15506 hardcode_minus_L_F77=no
15507 hardcode_shlibpath_var_F77=unsupported
15508 link_all_deplibs_F77=unknown
15509 hardcode_automatic_F77=no
15511 module_expsym_cmds_F77=
15512 always_export_symbols_F77=no
15513 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15514 # include_expsyms should be a list of space-separated symbols to be *always*
15515 # included in the symbol list
15516 include_expsyms_F77=
15517 # exclude_expsyms can be an extended regexp of symbols to exclude
15518 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15519 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15520 # as well as any symbol that contains `d'.
15521 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15522 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15523 # platforms (ab)use it in PIC code, but their linkers get confused if
15524 # the symbol is explicitly referenced. Since portable code cannot
15525 # rely on this symbol name, it's probably fine to never include it in
15526 # preloaded symbol tables.
15527 extract_expsyms_cmds=
15530 cygwin* | mingw* | pw32*)
15531 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15532 # When not using gcc, we currently assume that we are using
15533 # Microsoft Visual C++.
15534 if test "$GCC" != yes; then
15544 if test "$with_gnu_ld" = yes; then
15545 # If archive_cmds runs LD, not CC, wlarc should be empty
15548 # See if GNU ld supports shared libraries.
15550 aix3* | aix4* | aix5*)
15551 # On AIX/PPC, the GNU linker is very broken
15552 if test "$host_cpu" != ia64; then
15556 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15557 *** to be unable to reliably create shared libraries on AIX.
15558 *** Therefore, libtool is disabling shared libraries support. If you
15559 *** really care for shared libraries, you may want to modify your PATH
15560 *** so that a non-GNU linker is found, and then restart.
15567 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)'
15568 hardcode_libdir_flag_spec_F77='-L$libdir'
15569 hardcode_minus_L_F77=yes
15571 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15572 # that the semantics of dynamic libraries on AmigaOS, at least up
15573 # to version 4, is to share data among multiple programs linked
15574 # with the same dynamic library. Since this doesn't match the
15575 # behavior of shared libraries on other platforms, we can't use
15581 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15582 allow_undefined_flag_F77=unsupported
15583 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15584 # support --undefined. This deserves some investigation. FIXME
15585 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15591 cygwin* | mingw* | pw32*)
15592 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15593 # as there is no search path for DLLs.
15594 hardcode_libdir_flag_spec_F77='-L$libdir'
15595 allow_undefined_flag_F77=unsupported
15596 always_export_symbols_F77=no
15597 enable_shared_with_static_runtimes_F77=yes
15598 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15600 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15601 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15602 # If the export-symbols file already is a .def file (1st line
15603 # is EXPORTS), use it as is; otherwise, prepend...
15604 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15605 cp $export_symbols $output_objdir/$soname.def;
15607 echo EXPORTS > $output_objdir/$soname.def;
15608 cat $export_symbols >> $output_objdir/$soname.def;
15610 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15617 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15618 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15621 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15622 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15627 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15631 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15632 *** create shared libraries on Solaris systems. Therefore, libtool
15633 *** is disabling shared libraries support. We urge you to upgrade GNU
15634 *** binutils to release 2.9.1 or newer. Another option is to modify
15635 *** your PATH or compiler configuration so that the native linker is
15636 *** used, and then restart.
15639 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15640 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15641 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15648 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15650 hardcode_direct_F77=yes
15651 hardcode_shlibpath_var_F77=no
15655 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15656 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15657 archive_cmds_F77="$tmp_archive_cmds"
15658 supports_anon_versioning=no
15659 case `$LD -v 2>/dev/null` in
15660 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15661 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15662 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15663 *\ 2.11.*) ;; # other 2.11 versions
15664 *) supports_anon_versioning=yes ;;
15666 if test $supports_anon_versioning = yes; then
15667 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15669 $echo "local: *; };" >> $output_objdir/$libname.ver~
15670 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15672 archive_expsym_cmds_F77="$tmp_archive_cmds"
15680 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15681 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15682 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15689 if test "$ld_shlibs_F77" = yes; then
15690 runpath_var=LD_RUN_PATH
15691 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15692 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15693 # ancient GNU ld didn't support --whole-archive et. al.
15694 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15695 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15697 whole_archive_flag_spec_F77=
15701 # PORTME fill in a description of your system's linker (not GNU ld)
15704 allow_undefined_flag_F77=unsupported
15705 always_export_symbols_F77=yes
15706 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'
15707 # Note: this linker hardcodes the directories in LIBPATH if there
15708 # are no directories specified by -L.
15709 hardcode_minus_L_F77=yes
15710 if test "$GCC" = yes && test -z "$link_static_flag"; then
15711 # Neither direct hardcoding nor static linking is supported with a
15713 hardcode_direct_F77=unsupported
15718 if test "$host_cpu" = ia64; then
15719 # On IA64, the linker does run time linking by default, so we don't
15720 # have to do anything special.
15721 aix_use_runtimelinking=no
15722 exp_sym_flag='-Bexport'
15725 # If we're using GNU nm, then we don't want the "-C" option.
15726 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15727 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15728 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'
15730 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'
15732 aix_use_runtimelinking=no
15734 # Test if we are trying to use run time linking or normal
15735 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15736 # need to do runtime linking.
15737 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15738 for ld_flag in $LDFLAGS; do
15739 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15740 aix_use_runtimelinking=yes
15746 exp_sym_flag='-bexport'
15747 no_entry_flag='-bnoentry'
15750 # When large executables or shared objects are built, AIX ld can
15751 # have problems creating the table of contents. If linking a library
15752 # or program results in "error TOC overflow" add -mminimal-toc to
15753 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15754 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15756 archive_cmds_F77=''
15757 hardcode_direct_F77=yes
15758 hardcode_libdir_separator_F77=':'
15759 link_all_deplibs_F77=yes
15761 if test "$GCC" = yes; then
15762 case $host_os in aix4.012|aix4.012.*)
15763 # We only want to do this on AIX 4.2 and lower, the check
15764 # below for broken collect2 doesn't work under 4.3+
15765 collect2name=`${CC} -print-prog-name=collect2`
15766 if test -f "$collect2name" && \
15767 strings "$collect2name" | grep resolve_lib_name >/dev/null
15769 # We have reworked collect2
15770 hardcode_direct_F77=yes
15772 # We have old collect2
15773 hardcode_direct_F77=unsupported
15774 # It fails to find uninstalled libraries when the uninstalled
15775 # path is not listed in the libpath. Setting hardcode_minus_L
15776 # to unsupported forces relinking
15777 hardcode_minus_L_F77=yes
15778 hardcode_libdir_flag_spec_F77='-L$libdir'
15779 hardcode_libdir_separator_F77=
15782 shared_flag='-shared'
15785 if test "$host_cpu" = ia64; then
15786 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15787 # chokes on -Wl,-G. The following line is correct:
15790 if test "$aix_use_runtimelinking" = yes; then
15791 shared_flag='${wl}-G'
15793 shared_flag='${wl}-bM:SRE'
15798 # It seems that -bexpall does not export symbols beginning with
15799 # underscore (_), so it is better to generate a list of symbols to export.
15800 always_export_symbols_F77=yes
15801 if test "$aix_use_runtimelinking" = yes; then
15802 # Warning - without using the other runtime loading flags (-brtl),
15803 # -berok will link without error, but may produce a broken library.
15804 allow_undefined_flag_F77='-berok'
15805 # Determine the default libpath from the value encoded in an empty executable.
15806 cat >conftest.$ac_ext <<_ACEOF
15811 rm -f conftest.$ac_objext conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>conftest.er1
15815 grep -v '^ *+' conftest.er1 >conftest.err
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -z "$ac_f77_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15834 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15836 # Check for a 64-bit object if we didn't find anything.
15837 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; }
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15844 rm -f conftest.err conftest.$ac_objext \
15845 conftest$ac_exeext conftest.$ac_ext
15846 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15848 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15849 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"
15851 if test "$host_cpu" = ia64; then
15852 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15853 allow_undefined_flag_F77="-z nodefs"
15854 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"
15856 # Determine the default libpath from the value encoded in an empty executable.
15857 cat >conftest.$ac_ext <<_ACEOF
15862 rm -f conftest.$ac_objext conftest$ac_exeext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15864 (eval $ac_link) 2>conftest.er1
15866 grep -v '^ *+' conftest.er1 >conftest.err
15868 cat conftest.err >&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); } &&
15871 { ac_try='test -z "$ac_f77_werror_flag"
15872 || test ! -s conftest.err'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; } &&
15878 { ac_try='test -s conftest$ac_exeext'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; }; then
15885 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15887 # Check for a 64-bit object if we didn't find anything.
15888 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; }
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.$ac_ext >&5
15895 rm -f conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15897 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15899 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15900 # Warning - without using the other run time loading flags,
15901 # -berok will link without error, but may produce a broken library.
15902 no_undefined_flag_F77=' ${wl}-bernotok'
15903 allow_undefined_flag_F77=' ${wl}-berok'
15904 # -bexpall does not export symbols beginning with underscore (_)
15905 always_export_symbols_F77=yes
15906 # Exported symbols can be pulled into shared objects from archives
15907 whole_archive_flag_spec_F77=' '
15908 archive_cmds_need_lc_F77=yes
15909 # This is similar to how AIX traditionally builds it's shared libraries.
15910 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'
15916 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)'
15917 hardcode_libdir_flag_spec_F77='-L$libdir'
15918 hardcode_minus_L_F77=yes
15919 # see comment about different semantics on the GNU ld section
15924 export_dynamic_flag_spec_F77=-rdynamic
15927 cygwin* | mingw* | pw32*)
15928 # When not using gcc, we currently assume that we are using
15929 # Microsoft Visual C++.
15930 # hardcode_libdir_flag_spec is actually meaningless, as there is
15931 # no search path for DLLs.
15932 hardcode_libdir_flag_spec_F77=' '
15933 allow_undefined_flag_F77=unsupported
15934 # Tell ltmain to make .lib files, not .a files.
15936 # Tell ltmain to make .dll files, not .so files.
15938 # FIXME: Setting linknames here is a bad hack.
15939 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15940 # The linker will automatically build a .lib file if we build a DLL.
15941 old_archive_From_new_cmds_F77='true'
15942 # FIXME: Should let the user specify the lib program.
15943 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15944 fix_srcfile_path='`cygpath -w "$srcfile"`'
15945 enable_shared_with_static_runtimes_F77=yes
15948 darwin* | rhapsody*)
15949 if test "$GXX" = yes ; then
15950 archive_cmds_need_lc_F77=no
15952 rhapsody* | darwin1.[012])
15953 allow_undefined_flag_F77='-undefined suppress'
15956 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15957 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
15959 case ${MACOSX_DEPLOYMENT_TARGET} in
15961 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
15964 allow_undefined_flag_F77='-undefined dynamic_lookup'
15970 lt_int_apple_cc_single_mod=no
15971 output_verbose_link_cmd='echo'
15972 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15973 lt_int_apple_cc_single_mod=yes
15975 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15976 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15978 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15980 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15981 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15982 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15983 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15985 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15987 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}'
15988 hardcode_direct_F77=no
15989 hardcode_automatic_F77=yes
15990 hardcode_shlibpath_var_F77=unsupported
15991 whole_archive_flag_spec_F77='-all_load $convenience'
15992 link_all_deplibs_F77=yes
15999 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16000 hardcode_libdir_flag_spec_F77='-L$libdir'
16001 hardcode_shlibpath_var_F77=no
16008 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16009 # support. Future versions do this automatically, but an explicit c++rt0.o
16010 # does not break anything, and helps significantly (at the cost of a little
16013 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16014 hardcode_libdir_flag_spec_F77='-R$libdir'
16015 hardcode_direct_F77=yes
16016 hardcode_shlibpath_var_F77=no
16019 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16021 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16022 hardcode_direct_F77=yes
16023 hardcode_minus_L_F77=yes
16024 hardcode_shlibpath_var_F77=no
16027 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16028 freebsd* | kfreebsd*-gnu)
16029 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16030 hardcode_libdir_flag_spec_F77='-R$libdir'
16031 hardcode_direct_F77=yes
16032 hardcode_shlibpath_var_F77=no
16036 if test "$GCC" = yes; then
16037 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'
16039 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'
16041 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16042 hardcode_libdir_separator_F77=:
16043 hardcode_direct_F77=yes
16045 # hardcode_minus_L: Not really in the search PATH,
16046 # but as the default location of the library.
16047 hardcode_minus_L_F77=yes
16048 export_dynamic_flag_spec_F77='${wl}-E'
16052 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16053 case "$host_cpu" in
16055 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16058 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16062 case "$host_cpu" in
16064 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16067 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16071 if test "$with_gnu_ld" = no; then
16072 case "$host_cpu" in
16074 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16075 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16076 hardcode_libdir_separator_F77=:
16077 hardcode_direct_F77=no
16078 hardcode_shlibpath_var_F77=no
16081 hardcode_libdir_flag_spec_F77='-L$libdir'
16082 hardcode_direct_F77=no
16083 hardcode_shlibpath_var_F77=no
16085 # hardcode_minus_L: Not really in the search PATH,
16086 # but as the default location of the library.
16087 hardcode_minus_L_F77=yes
16090 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16091 hardcode_libdir_separator_F77=:
16092 hardcode_direct_F77=yes
16093 export_dynamic_flag_spec_F77='${wl}-E'
16095 # hardcode_minus_L: Not really in the search PATH,
16096 # but as the default location of the library.
16097 hardcode_minus_L_F77=yes
16103 irix5* | irix6* | nonstopux*)
16104 if test "$GCC" = yes; then
16105 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'
16107 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'
16108 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16110 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16111 hardcode_libdir_separator_F77=:
16112 link_all_deplibs_F77=yes
16116 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16117 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16119 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16121 hardcode_libdir_flag_spec_F77='-R$libdir'
16122 hardcode_direct_F77=yes
16123 hardcode_shlibpath_var_F77=no
16127 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16128 hardcode_direct_F77=yes
16129 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16130 hardcode_libdir_separator_F77=:
16131 hardcode_shlibpath_var_F77=no
16135 hardcode_direct_F77=yes
16136 hardcode_shlibpath_var_F77=no
16137 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16138 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16139 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16140 export_dynamic_flag_spec_F77='${wl}-E'
16143 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16144 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16145 hardcode_libdir_flag_spec_F77='-R$libdir'
16148 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16149 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16156 hardcode_libdir_flag_spec_F77='-L$libdir'
16157 hardcode_minus_L_F77=yes
16158 allow_undefined_flag_F77=unsupported
16159 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'
16160 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16164 if test "$GCC" = yes; then
16165 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16166 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'
16168 allow_undefined_flag_F77=' -expect_unresolved \*'
16169 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'
16171 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16172 hardcode_libdir_separator_F77=:
16175 osf4* | osf5*) # as osf3* with the addition of -msym flag
16176 if test "$GCC" = yes; then
16177 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16178 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'
16179 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16181 allow_undefined_flag_F77=' -expect_unresolved \*'
16182 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'
16183 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~
16184 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16186 # Both c and cxx compiler support -rpath directly
16187 hardcode_libdir_flag_spec_F77='-rpath $libdir'
16189 hardcode_libdir_separator_F77=:
16193 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16194 hardcode_shlibpath_var_F77=no
16195 export_dynamic_flag_spec_F77='${wl}-Bexport'
16196 runpath_var=LD_RUN_PATH
16197 hardcode_runpath_var=yes
16201 no_undefined_flag_F77=' -z text'
16202 if test "$GCC" = yes; then
16203 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16204 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16205 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16207 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16208 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16209 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16211 hardcode_libdir_flag_spec_F77='-R$libdir'
16212 hardcode_shlibpath_var_F77=no
16214 solaris2.[0-5] | solaris2.[0-5].*) ;;
16215 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16216 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16218 link_all_deplibs_F77=yes
16222 if test "x$host_vendor" = xsequent; then
16223 # Use $CC to link under sequent, because it throws in some extra .o
16224 # files that make .init and .fini sections work.
16225 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16227 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16229 hardcode_libdir_flag_spec_F77='-L$libdir'
16230 hardcode_direct_F77=yes
16231 hardcode_minus_L_F77=yes
16232 hardcode_shlibpath_var_F77=no
16236 case $host_vendor in
16238 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16239 hardcode_direct_F77=yes # is this really true???
16242 ## LD is ld it makes a PLAMLIB
16243 ## CC just makes a GrossModule.
16244 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16245 reload_cmds_F77='$CC -r -o $output$reload_objs'
16246 hardcode_direct_F77=no
16249 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16250 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16253 runpath_var='LD_RUN_PATH'
16254 hardcode_shlibpath_var_F77=no
16258 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16259 hardcode_shlibpath_var_F77=no
16260 export_dynamic_flag_spec_F77='-Bexport'
16264 if test -d /usr/nec; then
16265 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16266 hardcode_shlibpath_var_F77=no
16267 runpath_var=LD_RUN_PATH
16268 hardcode_runpath_var=yes
16274 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16275 hardcode_direct_F77=yes
16276 hardcode_minus_L_F77=no
16277 hardcode_shlibpath_var_F77=no
16278 hardcode_runpath_var=yes
16279 runpath_var=LD_RUN_PATH
16282 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16283 no_undefined_flag_F77='${wl}-z ${wl}text'
16284 if test "$GCC" = yes; then
16285 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16287 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16289 runpath_var='LD_RUN_PATH'
16290 hardcode_shlibpath_var_F77=no
16294 no_undefined_flag_F77=' -z text'
16295 # $CC -shared without GNU ld will not create a library from C++
16296 # object files and a static libstdc++, better avoid it by now
16297 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16298 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16299 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16300 hardcode_libdir_flag_spec_F77=
16301 hardcode_shlibpath_var_F77=no
16302 runpath_var='LD_RUN_PATH'
16306 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16307 hardcode_libdir_flag_spec_F77='-L$libdir'
16308 hardcode_shlibpath_var_F77=no
16317 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16318 echo "${ECHO_T}$ld_shlibs_F77" >&6
16319 test "$ld_shlibs_F77" = no && can_build_shared=no
16321 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16322 if test "$GCC" = yes; then
16323 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16327 # Do we need to explicitly link libc?
16329 case "x$archive_cmds_need_lc_F77" in
16331 # Assume -lc should be added
16332 archive_cmds_need_lc_F77=yes
16334 if test "$enable_shared" = yes && test "$GCC" = yes; then
16335 case $archive_cmds_F77 in
16337 # FIXME: we may have to deal with multi-command sequences.
16340 # Test whether the compiler implicitly links with -lc since on some
16341 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16342 # to ld, don't add -lc before -lgcc.
16343 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16344 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16346 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } 2>conftest.err; then
16355 libobjs=conftest.$ac_objext
16357 wl=$lt_prog_compiler_wl_F77
16363 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16364 allow_undefined_flag_F77=
16365 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16366 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }
16371 archive_cmds_need_lc_F77=no
16373 archive_cmds_need_lc_F77=yes
16375 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16377 cat conftest.err 1>&5
16380 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16381 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16388 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16389 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16390 library_names_spec=
16391 libname_spec='lib$name'
16395 postuninstall_cmds=
16399 shlibpath_overrides_runpath=unknown
16401 dynamic_linker="$host_os ld.so"
16402 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16403 if test "$GCC" = yes; then
16404 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16405 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16406 # if the path contains ";" then we assume it to be the separator
16407 # otherwise default to the standard path separator (i.e. ":") - it is
16408 # assumed that no part of a normal pathname contains ";" but that should
16409 # okay in the real world where ";" in dirpaths is itself problematic.
16410 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16412 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16415 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16417 need_lib_prefix=unknown
16418 hardcode_into_libs=no
16420 # when you set need_version to no, make sure it does not cause -set_version
16421 # flags to be left without arguments
16422 need_version=unknown
16427 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16428 shlibpath_var=LIBPATH
16430 # AIX 3 has no versioning support, so we append a major version to the name.
16431 soname_spec='${libname}${release}${shared_ext}$major'
16438 hardcode_into_libs=yes
16439 if test "$host_cpu" = ia64; then
16440 # AIX 5 supports IA64
16441 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16442 shlibpath_var=LD_LIBRARY_PATH
16444 # With GCC up to 2.95.x, collect2 would create an import file
16445 # for dependence libraries. The import file would start with
16446 # the line `#! .'. This would cause the generated library to
16447 # depend on `.', always an invalid library. This was fixed in
16448 # development snapshots of GCC prior to 3.0.
16450 aix4 | aix4.[01] | aix4.[01].*)
16451 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16453 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16456 can_build_shared=no
16460 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16461 # soname into executable. Probably we can add versioning support to
16462 # collect2, so additional links can be useful in future.
16463 if test "$aix_use_runtimelinking" = yes; then
16464 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16465 # instead of lib<name>.a to let people know that these are not
16466 # typical AIX shared libraries.
16467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16469 # We preserve .a as extension for shared libraries through AIX4.2
16470 # and later when we are not doing run time linking.
16471 library_names_spec='${libname}${release}.a $libname.a'
16472 soname_spec='${libname}${release}${shared_ext}$major'
16474 shlibpath_var=LIBPATH
16479 library_names_spec='$libname.ixlibrary $libname.a'
16480 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16481 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'
16485 library_names_spec='${libname}${shared_ext}'
16486 dynamic_linker="$host_os ld.so"
16487 shlibpath_var=LIBRARY_PATH
16493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16494 soname_spec='${libname}${release}${shared_ext}$major'
16495 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16496 shlibpath_var=LD_LIBRARY_PATH
16497 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16498 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16499 # the default ld.so.conf also contains /usr/contrib/lib and
16500 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16501 # libtool to hard-code these into programs
16504 cygwin* | mingw* | pw32*)
16505 version_type=windows
16510 case $GCC,$host_os in
16511 yes,cygwin* | yes,mingw* | yes,pw32*)
16512 library_names_spec='$libname.dll.a'
16513 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16514 postinstall_cmds='base_file=`basename \${file}`~
16515 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16516 dldir=$destdir/`dirname \$dlpath`~
16517 test -d \$dldir || mkdir -p \$dldir~
16518 $install_prog $dir/$dlname \$dldir/$dlname'
16519 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16520 dlpath=$dir/\$dldll~
16522 shlibpath_overrides_runpath=yes
16526 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16527 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16528 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16531 # MinGW DLLs use traditional 'lib' prefix
16532 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16533 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16534 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16535 # It is most probably a Windows format PATH printed by
16536 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16537 # path with ; separators, and with drive letters. We can handle the
16538 # drive letters (cygwin fileutils understands them), so leave them,
16539 # especially as we might pass files found there to a mingw objdump,
16540 # which wouldn't understand a cygwinified path. Ahh.
16541 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16543 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16547 # pw32 DLLs use 'pw' prefix rather than 'lib'
16548 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16554 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16557 dynamic_linker='Win32 ld.exe'
16558 # FIXME: first we should search . and the directory the executable is in
16562 darwin* | rhapsody*)
16563 dynamic_linker="$host_os dyld"
16564 version_type=darwin
16567 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16568 soname_spec='${libname}${release}${major}$shared_ext'
16569 shlibpath_overrides_runpath=yes
16570 shlibpath_var=DYLD_LIBRARY_PATH
16571 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
16572 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16573 if test "$GCC" = yes; then
16574 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"`
16576 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16578 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16586 soname_spec='${libname}${release}${shared_ext}$major'
16587 shlibpath_var=LD_LIBRARY_PATH
16598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16599 soname_spec='${libname}${release}${shared_ext}$major'
16600 shlibpath_var=LD_LIBRARY_PATH
16601 shlibpath_overrides_runpath=no
16602 hardcode_into_libs=yes
16603 dynamic_linker='GNU ld.so'
16607 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16608 version_type=freebsd-$objformat
16609 case $version_type in
16611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16616 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16620 shlibpath_var=LD_LIBRARY_PATH
16623 shlibpath_overrides_runpath=yes
16625 freebsd3.01* | freebsdelf3.01*)
16626 shlibpath_overrides_runpath=yes
16627 hardcode_into_libs=yes
16630 shlibpath_overrides_runpath=no
16631 hardcode_into_libs=yes
16640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16641 soname_spec='${libname}${release}${shared_ext}$major'
16642 shlibpath_var=LD_LIBRARY_PATH
16643 hardcode_into_libs=yes
16646 hpux9* | hpux10* | hpux11*)
16647 # Give a soname corresponding to the major version so that dld.sl refuses to
16648 # link against other versions.
16652 case "$host_cpu" in
16655 hardcode_into_libs=yes
16656 dynamic_linker="$host_os dld.so"
16657 shlibpath_var=LD_LIBRARY_PATH
16658 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16660 soname_spec='${libname}${release}${shared_ext}$major'
16661 if test "X$HPUX_IA64_MODE" = X32; then
16662 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16664 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16666 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16670 hardcode_into_libs=yes
16671 dynamic_linker="$host_os dld.sl"
16672 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16673 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16675 soname_spec='${libname}${release}${shared_ext}$major'
16676 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16677 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16681 dynamic_linker="$host_os dld.sl"
16682 shlibpath_var=SHLIB_PATH
16683 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16685 soname_spec='${libname}${release}${shared_ext}$major'
16688 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16689 postinstall_cmds='chmod 555 $lib'
16692 irix5* | irix6* | nonstopux*)
16694 nonstopux*) version_type=nonstopux ;;
16696 if test "$lt_cv_prog_gnu_ld" = yes; then
16704 soname_spec='${libname}${release}${shared_ext}$major'
16705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16707 irix5* | nonstopux*)
16708 libsuff= shlibsuff=
16711 case $LD in # libtool.m4 will add one of these switches to LD
16712 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16713 libsuff= shlibsuff= libmagic=32-bit;;
16714 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16715 libsuff=32 shlibsuff=N32 libmagic=N32;;
16716 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16717 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16718 *) libsuff= shlibsuff= libmagic=never-match;;
16722 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16723 shlibpath_overrides_runpath=no
16724 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16725 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16726 hardcode_into_libs=yes
16729 # No shared lib support for Linux oldld, aout, or coff.
16730 linux*oldld* | linux*aout* | linux*coff*)
16734 # This must be Linux ELF.
16739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16740 soname_spec='${libname}${release}${shared_ext}$major'
16741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16742 shlibpath_var=LD_LIBRARY_PATH
16743 shlibpath_overrides_runpath=no
16744 # This implies no fast_install, which is unacceptable.
16745 # Some rework will be needed to allow for fast_install
16746 # before this can be enabled.
16747 hardcode_into_libs=yes
16749 # find out which ABI we are using
16751 case "$host_cpu" in
16752 x86_64*|s390x*|powerpc64*)
16753 echo '#line 16753 "configure"' > conftest.$ac_ext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16755 (eval $ac_compile) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; then
16759 case `/usr/bin/file conftest.$ac_objext` in
16762 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16770 # Append ld.so.conf contents to the search path
16771 if test -f /etc/ld.so.conf; then
16772 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
16773 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16776 # We used to test for /lib/ld.so.1 and disable shared libraries on
16777 # powerpc, because MkLinux only supported shared libraries with the
16778 # GNU dynamic linker. Since this was broken with cross compilers,
16779 # most powerpc-linux boxes support dynamic linking these days and
16780 # people can always --disable-shared, the test was removed, and we
16781 # assume the GNU/Linux dynamic linker is in use.
16782 dynamic_linker='GNU/Linux ld.so'
16789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16790 soname_spec='${libname}${release}${shared_ext}$major'
16791 shlibpath_var=LD_LIBRARY_PATH
16792 shlibpath_overrides_runpath=no
16793 hardcode_into_libs=yes
16794 dynamic_linker='GNU ld.so'
16801 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16803 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16804 dynamic_linker='NetBSD (a.out) ld.so'
16806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16807 soname_spec='${libname}${release}${shared_ext}$major'
16808 dynamic_linker='NetBSD ld.elf_so'
16810 shlibpath_var=LD_LIBRARY_PATH
16811 shlibpath_overrides_runpath=yes
16812 hardcode_into_libs=yes
16817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16818 shlibpath_var=LD_LIBRARY_PATH
16819 shlibpath_overrides_runpath=yes
16826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16827 soname_spec='${libname}${release}${shared_ext}$major'
16828 shlibpath_var=LD_LIBRARY_PATH
16829 shlibpath_overrides_runpath=yes
16836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16838 shlibpath_var=LD_LIBRARY_PATH
16839 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16841 openbsd2.[89] | openbsd2.[89].*)
16842 shlibpath_overrides_runpath=no
16845 shlibpath_overrides_runpath=yes
16849 shlibpath_overrides_runpath=yes
16854 libname_spec='$name'
16857 library_names_spec='$libname${shared_ext} $libname.a'
16858 dynamic_linker='OS/2 ld.exe'
16859 shlibpath_var=LIBPATH
16862 osf3* | osf4* | osf5*)
16866 soname_spec='${libname}${release}${shared_ext}$major'
16867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16868 shlibpath_var=LD_LIBRARY_PATH
16869 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16870 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16875 soname_spec='${libname}${release}${shared_ext}$major'
16876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16877 shlibpath_var=LD_LIBRARY_PATH
16884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16885 soname_spec='${libname}${release}${shared_ext}$major'
16886 shlibpath_var=LD_LIBRARY_PATH
16887 shlibpath_overrides_runpath=yes
16888 hardcode_into_libs=yes
16889 # ldd complains unless libraries are executable
16890 postinstall_cmds='chmod +x $lib'
16895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16896 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16897 shlibpath_var=LD_LIBRARY_PATH
16898 shlibpath_overrides_runpath=yes
16899 if test "$with_gnu_ld" = yes; then
16905 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16908 soname_spec='${libname}${release}${shared_ext}$major'
16909 shlibpath_var=LD_LIBRARY_PATH
16910 case $host_vendor in
16912 shlibpath_overrides_runpath=no
16914 export_dynamic_flag_spec='${wl}-Blargedynsym'
16915 runpath_var=LD_RUN_PATH
16923 shlibpath_overrides_runpath=no
16924 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16930 if test -d /usr/nec ;then
16932 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16933 soname_spec='$libname${shared_ext}.$major'
16934 shlibpath_var=LD_LIBRARY_PATH
16940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16941 soname_spec='${libname}${release}${shared_ext}$major'
16942 shlibpath_var=LD_LIBRARY_PATH
16949 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16950 echo "${ECHO_T}$dynamic_linker" >&6
16951 test "$dynamic_linker" = no && can_build_shared=no
16953 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16954 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16955 hardcode_action_F77=
16956 if test -n "$hardcode_libdir_flag_spec_F77" || \
16957 test -n "$runpath_var F77" || \
16958 test "X$hardcode_automatic_F77"="Xyes" ; then
16960 # We can hardcode non-existant directories.
16961 if test "$hardcode_direct_F77" != no &&
16962 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16963 # have to relink, otherwise we might link with an installed library
16964 # when we should be linking with a yet-to-be-installed one
16965 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16966 test "$hardcode_minus_L_F77" != no; then
16967 # Linking always hardcodes the temporary library directory.
16968 hardcode_action_F77=relink
16970 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16971 hardcode_action_F77=immediate
16974 # We cannot hardcode anything, or else we can only hardcode existing
16976 hardcode_action_F77=unsupported
16978 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16979 echo "${ECHO_T}$hardcode_action_F77" >&6
16981 if test "$hardcode_action_F77" = relink; then
16982 # Fast installation is not supported
16983 enable_fast_install=no
16984 elif test "$shlibpath_overrides_runpath" = yes ||
16985 test "$enable_shared" = no; then
16986 # Fast installation is not necessary
16987 enable_fast_install=needless
16992 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16993 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16994 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16995 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16996 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16997 echo "$as_me:$LINENO: result: yes" >&5
16998 echo "${ECHO_T}yes" >&6
17000 # FIXME - insert some real tests, host_os isn't really good enough
17003 if test -n "$STRIP" ; then
17004 striplib="$STRIP -x"
17005 echo "$as_me:$LINENO: result: yes" >&5
17006 echo "${ECHO_T}yes" >&6
17008 echo "$as_me:$LINENO: result: no" >&5
17009 echo "${ECHO_T}no" >&6
17013 echo "$as_me:$LINENO: result: no" >&5
17014 echo "${ECHO_T}no" >&6
17021 # The else clause should only fire when bootstrapping the
17022 # libtool distribution, otherwise you forgot to ship ltmain.sh
17023 # with your package, and you will get complaints that there are
17024 # no rules to generate ltmain.sh.
17025 if test -f "$ltmain"; then
17026 # See if we are running on zsh, and set the options which allow our commands through
17027 # without removal of \ escapes.
17028 if test -n "${ZSH_VERSION+set}" ; then
17029 setopt NO_GLOB_SUBST
17031 # Now quote all the things that may contain metacharacters while being
17032 # careful not to overquote the AC_SUBSTed values. We take copies of the
17033 # variables and quote the copies for generation of the libtool script.
17034 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
17036 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17037 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17038 deplibs_check_method reload_flag reload_cmds need_locks \
17039 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17040 lt_cv_sys_global_symbol_to_c_name_address \
17041 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17042 old_postinstall_cmds old_postuninstall_cmds \
17046 lt_prog_compiler_wl_F77 \
17047 lt_prog_compiler_pic_F77 \
17048 lt_prog_compiler_static_F77 \
17049 lt_prog_compiler_no_builtin_flag_F77 \
17050 export_dynamic_flag_spec_F77 \
17051 thread_safe_flag_spec_F77 \
17052 whole_archive_flag_spec_F77 \
17053 enable_shared_with_static_runtimes_F77 \
17054 old_archive_cmds_F77 \
17055 old_archive_from_new_cmds_F77 \
17056 predep_objects_F77 \
17057 postdep_objects_F77 \
17060 compiler_lib_search_path_F77 \
17062 archive_expsym_cmds_F77 \
17063 postinstall_cmds_F77 \
17064 postuninstall_cmds_F77 \
17065 old_archive_from_expsyms_cmds_F77 \
17066 allow_undefined_flag_F77 \
17067 no_undefined_flag_F77 \
17068 export_symbols_cmds_F77 \
17069 hardcode_libdir_flag_spec_F77 \
17070 hardcode_libdir_flag_spec_ld_F77 \
17071 hardcode_libdir_separator_F77 \
17072 hardcode_automatic_F77 \
17074 module_expsym_cmds_F77 \
17075 lt_cv_prog_compiler_c_o_F77 \
17076 exclude_expsyms_F77 \
17077 include_expsyms_F77; do
17080 old_archive_cmds_F77 | \
17081 old_archive_from_new_cmds_F77 | \
17082 archive_cmds_F77 | \
17083 archive_expsym_cmds_F77 | \
17084 module_cmds_F77 | \
17085 module_expsym_cmds_F77 | \
17086 old_archive_from_expsyms_cmds_F77 | \
17087 export_symbols_cmds_F77 | \
17088 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17089 postinstall_cmds | postuninstall_cmds | \
17090 old_postinstall_cmds | old_postuninstall_cmds | \
17091 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17092 # Double-quote double-evaled strings.
17093 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17096 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17102 *'\$0 --fallback-echo"')
17103 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17109 cat <<__EOF__ >> "$cfgfile"
17110 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17112 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17114 # Shell to use when invoking shell scripts.
17117 # Whether or not to build shared libraries.
17118 build_libtool_libs=$enable_shared
17120 # Whether or not to build static libraries.
17121 build_old_libs=$enable_static
17123 # Whether or not to add -lc for building shared libraries.
17124 build_libtool_need_lc=$archive_cmds_need_lc_F77
17126 # Whether or not to disallow shared libs when runtime libs are static
17127 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17129 # Whether or not to optimize for fast installation.
17130 fast_install=$enable_fast_install
17133 host_alias=$host_alias
17136 # An echo program that does not interpret backslashes.
17141 AR_FLAGS=$lt_AR_FLAGS
17146 # A language-specific compiler.
17147 CC=$lt_compiler_F77
17149 # Is the compiler the GNU C compiler?
17155 # The linker used to build libraries.
17158 # Whether we need hard or soft links.
17161 # A BSD-compatible nm program.
17164 # A symbol stripping program
17167 # Used to examine libraries when file_magic_cmd begins "file"
17168 MAGIC_CMD=$MAGIC_CMD
17170 # Used on cygwin: DLL creation program.
17173 # Used on cygwin: object dumper.
17176 # Used on cygwin: assembler.
17179 # The name of the directory that contains temporary libtool files.
17182 # How to create reloadable object files.
17183 reload_flag=$lt_reload_flag
17184 reload_cmds=$lt_reload_cmds
17186 # How to pass a linker flag through the compiler.
17187 wl=$lt_lt_prog_compiler_wl_F77
17189 # Object file suffix (normally "o").
17190 objext="$ac_objext"
17192 # Old archive suffix (normally "a").
17195 # Shared library suffix (normally ".so").
17196 shrext_cmds='$shrext_cmds'
17198 # Executable file suffix (normally "").
17201 # Additional compiler flags for building library objects.
17202 pic_flag=$lt_lt_prog_compiler_pic_F77
17205 # What is the maximum length of a command?
17206 max_cmd_len=$lt_cv_sys_max_cmd_len
17208 # Does compiler simultaneously support -c and -o options?
17209 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17211 # Must we lock files when doing compilation ?
17212 need_locks=$lt_need_locks
17214 # Do we need the lib prefix for modules?
17215 need_lib_prefix=$need_lib_prefix
17217 # Do we need a version for libraries?
17218 need_version=$need_version
17220 # Whether dlopen is supported.
17221 dlopen_support=$enable_dlopen
17223 # Whether dlopen of programs is supported.
17224 dlopen_self=$enable_dlopen_self
17226 # Whether dlopen of statically linked programs is supported.
17227 dlopen_self_static=$enable_dlopen_self_static
17229 # Compiler flag to prevent dynamic linking.
17230 link_static_flag=$lt_lt_prog_compiler_static_F77
17232 # Compiler flag to turn off builtin functions.
17233 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17235 # Compiler flag to allow reflexive dlopens.
17236 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17238 # Compiler flag to generate shared objects directly from archives.
17239 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17241 # Compiler flag to generate thread-safe objects.
17242 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17244 # Library versioning type.
17245 version_type=$version_type
17247 # Format of library name prefix.
17248 libname_spec=$lt_libname_spec
17250 # List of archive names. First name is the real one, the rest are links.
17251 # The last name is the one that the linker finds with -lNAME.
17252 library_names_spec=$lt_library_names_spec
17254 # The coded name of the library, if different from the real name.
17255 soname_spec=$lt_soname_spec
17257 # Commands used to build and install an old-style archive.
17259 old_archive_cmds=$lt_old_archive_cmds_F77
17260 old_postinstall_cmds=$lt_old_postinstall_cmds
17261 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17263 # Create an old-style archive from a shared archive.
17264 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17266 # Create a temporary old-style archive to link instead of a shared archive.
17267 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17269 # Commands used to build and install a shared archive.
17270 archive_cmds=$lt_archive_cmds_F77
17271 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17272 postinstall_cmds=$lt_postinstall_cmds
17273 postuninstall_cmds=$lt_postuninstall_cmds
17275 # Commands used to build a loadable module (assumed same as above if empty)
17276 module_cmds=$lt_module_cmds_F77
17277 module_expsym_cmds=$lt_module_expsym_cmds_F77
17279 # Commands to strip libraries.
17280 old_striplib=$lt_old_striplib
17281 striplib=$lt_striplib
17283 # Dependencies to place before the objects being linked to create a
17285 predep_objects=$lt_predep_objects_F77
17287 # Dependencies to place after the objects being linked to create a
17289 postdep_objects=$lt_postdep_objects_F77
17291 # Dependencies to place before the objects being linked to create a
17293 predeps=$lt_predeps_F77
17295 # Dependencies to place after the objects being linked to create a
17297 postdeps=$lt_postdeps_F77
17299 # The library search path used internally by the compiler when linking
17300 # a shared library.
17301 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17303 # Method to check whether dependent libraries are shared objects.
17304 deplibs_check_method=$lt_deplibs_check_method
17306 # Command to use when deplibs_check_method == file_magic.
17307 file_magic_cmd=$lt_file_magic_cmd
17309 # Flag that allows shared libraries with undefined symbols to be built.
17310 allow_undefined_flag=$lt_allow_undefined_flag_F77
17312 # Flag that forces no undefined symbols.
17313 no_undefined_flag=$lt_no_undefined_flag_F77
17315 # Commands used to finish a libtool library installation in a directory.
17316 finish_cmds=$lt_finish_cmds
17318 # Same as above, but a single script fragment to be evaled but not shown.
17319 finish_eval=$lt_finish_eval
17321 # Take the output of nm and produce a listing of raw symbols and C names.
17322 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17324 # Transform the output of nm in a proper C declaration
17325 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17327 # Transform the output of nm in a C name address pair
17328 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17330 # This is the shared library runtime path variable.
17331 runpath_var=$runpath_var
17333 # This is the shared library path variable.
17334 shlibpath_var=$shlibpath_var
17336 # Is shlibpath searched before the hard-coded library search path?
17337 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17339 # How to hardcode a shared library path into an executable.
17340 hardcode_action=$hardcode_action_F77
17342 # Whether we should hardcode library paths into libraries.
17343 hardcode_into_libs=$hardcode_into_libs
17345 # Flag to hardcode \$libdir into a binary during linking.
17346 # This must work even if \$libdir does not exist.
17347 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17349 # If ld is used when linking, flag to hardcode \$libdir into
17350 # a binary during linking. This must work even if \$libdir does
17352 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17354 # Whether we need a single -rpath flag with a separated argument.
17355 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17357 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17358 # resulting binary.
17359 hardcode_direct=$hardcode_direct_F77
17361 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17362 # resulting binary.
17363 hardcode_minus_L=$hardcode_minus_L_F77
17365 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17366 # the resulting binary.
17367 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17369 # Set to yes if building a shared library automatically hardcodes DIR into the library
17370 # and all subsequent libraries and executables linked against it.
17371 hardcode_automatic=$hardcode_automatic_F77
17373 # Variables whose values should be saved in libtool wrapper scripts and
17374 # restored at relink time.
17375 variables_saved_for_relink="$variables_saved_for_relink"
17377 # Whether libtool must link a program against all its dependency libraries.
17378 link_all_deplibs=$link_all_deplibs_F77
17380 # Compile-time system search path for libraries
17381 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17383 # Run-time system search path for libraries
17384 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17386 # Fix the shell variable \$srcfile for the compiler.
17387 fix_srcfile_path="$fix_srcfile_path_F77"
17389 # Set to yes if exported symbols are required.
17390 always_export_symbols=$always_export_symbols_F77
17392 # The commands to list exported symbols.
17393 export_symbols_cmds=$lt_export_symbols_cmds_F77
17395 # The commands to extract the exported symbol list from a shared archive.
17396 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17398 # Symbols that should not be listed in the preloaded symbols.
17399 exclude_expsyms=$lt_exclude_expsyms_F77
17401 # Symbols that must always be exported.
17402 include_expsyms=$lt_include_expsyms_F77
17404 # ### END LIBTOOL TAG CONFIG: $tagname
17410 # If there is no Makefile yet, we rely on a make rule to execute
17411 # `config.status --recheck' to rerun these tests and create the
17412 # libtool script then.
17413 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17414 if test -f "$ltmain_in"; then
17415 test -f Makefile && make "$ltmain"
17421 ac_cpp='$CPP $CPPFLAGS'
17422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17438 # Source file extension for Java test sources.
17441 # Object file extension for compiled Java test sources.
17445 # Code to be used in simple compile tests
17446 lt_simple_compile_test_code="class foo {}\n"
17448 # Code to be used in simple link tests
17449 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
17451 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17453 # If no C compiler was specified, use CC.
17456 # Allow CC to be a program name with arguments.
17460 # Allow CC to be a program name with arguments.
17466 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17467 archive_cmds_need_lc_GCJ=no
17470 ## There is no encapsulation within the following macros, do not change
17471 ## the running order or otherwise move them around unless you know exactly
17472 ## what you are doing...
17474 lt_prog_compiler_no_builtin_flag_GCJ=
17476 if test "$GCC" = yes; then
17477 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17480 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17481 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17482 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17483 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 lt_cv_prog_compiler_rtti_exceptions=no
17486 ac_outfile=conftest.$ac_objext
17487 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17488 lt_compiler_flag="-fno-rtti -fno-exceptions"
17489 # Insert the option either (1) after the last *FLAGS variable, or
17490 # (2) before a word containing "conftest.", or (3) at the end.
17491 # Note that $ac_compile itself does not contain backslashes and begins
17492 # with a dollar sign (not a hyphen), so the echo should work correctly.
17493 # The option is referenced via a variable to avoid confusing sed.
17494 lt_compile=`echo "$ac_compile" | $SED \
17495 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17497 -e 's:$: $lt_compiler_flag:'`
17498 (eval echo "\"\$as_me:17498: $lt_compile\"" >&5)
17499 (eval "$lt_compile" 2>conftest.err)
17501 cat conftest.err >&5
17502 echo "$as_me:17502: \$? = $ac_status" >&5
17503 if (exit $ac_status) && test -s "$ac_outfile"; then
17504 # The compiler can only warn and ignore the option if not recognized
17505 # So say no if there are warnings
17506 if test ! -s conftest.err; then
17507 lt_cv_prog_compiler_rtti_exceptions=yes
17513 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17514 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17516 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17517 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17524 lt_prog_compiler_wl_GCJ=
17525 lt_prog_compiler_pic_GCJ=
17526 lt_prog_compiler_static_GCJ=
17528 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17529 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17531 if test "$GCC" = yes; then
17532 lt_prog_compiler_wl_GCJ='-Wl,'
17533 lt_prog_compiler_static_GCJ='-static'
17537 # All AIX code is PIC.
17538 if test "$host_cpu" = ia64; then
17539 # AIX 5 now supports IA64 processor
17540 lt_prog_compiler_static_GCJ='-Bstatic'
17545 # FIXME: we need at least 68020 code to build shared libraries, but
17546 # adding the `-m68020' flag to GCC prevents building anything better,
17548 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17551 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17552 # PIC is the default for these OSes.
17555 mingw* | pw32* | os2*)
17556 # This hack is so that the source file can tell whether it is being
17557 # built for inclusion in a dll (and should export symbols for example).
17558 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17561 darwin* | rhapsody*)
17562 # PIC is the default on this platform
17563 # Common symbols not allowed in MH_DYLIB files
17564 lt_prog_compiler_pic_GCJ='-fno-common'
17568 # Just because we use GCC doesn't mean we suddenly get shared libraries
17569 # on systems that don't support them.
17570 lt_prog_compiler_can_build_shared_GCJ=no
17575 if test -d /usr/nec; then
17576 lt_prog_compiler_pic_GCJ=-Kconform_pic
17581 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17582 # not for PA HP-UX.
17583 case "$host_cpu" in
17588 lt_prog_compiler_pic_GCJ='-fPIC'
17594 lt_prog_compiler_pic_GCJ='-fPIC'
17598 # PORTME Check for flag to pass linker flags through the system compiler.
17601 lt_prog_compiler_wl_GCJ='-Wl,'
17602 if test "$host_cpu" = ia64; then
17603 # AIX 5 now supports IA64 processor
17604 lt_prog_compiler_static_GCJ='-Bstatic'
17606 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17610 mingw* | pw32* | os2*)
17611 # This hack is so that the source file can tell whether it is being
17612 # built for inclusion in a dll (and should export symbols for example).
17613 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17616 hpux9* | hpux10* | hpux11*)
17617 lt_prog_compiler_wl_GCJ='-Wl,'
17618 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17619 # not for PA HP-UX.
17620 case "$host_cpu" in
17625 lt_prog_compiler_pic_GCJ='+Z'
17628 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17629 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17632 irix5* | irix6* | nonstopux*)
17633 lt_prog_compiler_wl_GCJ='-Wl,'
17634 # PIC (with -KPIC) is the default.
17635 lt_prog_compiler_static_GCJ='-non_shared'
17639 lt_prog_compiler_pic_GCJ='-KPIC'
17640 lt_prog_compiler_static_GCJ='-Bstatic'
17646 lt_prog_compiler_wl_GCJ='-Wl,'
17647 lt_prog_compiler_pic_GCJ='-KPIC'
17648 lt_prog_compiler_static_GCJ='-static'
17651 lt_prog_compiler_wl_GCJ='-Wl,'
17652 # All Alpha code is PIC.
17653 lt_prog_compiler_static_GCJ='-non_shared'
17658 osf3* | osf4* | osf5*)
17659 lt_prog_compiler_wl_GCJ='-Wl,'
17660 # All OSF/1 code is PIC.
17661 lt_prog_compiler_static_GCJ='-non_shared'
17665 lt_prog_compiler_pic_GCJ='-Kpic'
17666 lt_prog_compiler_static_GCJ='-dn'
17670 lt_prog_compiler_wl_GCJ='-Wl,'
17671 lt_prog_compiler_pic_GCJ='-KPIC'
17672 lt_prog_compiler_static_GCJ='-Bstatic'
17676 lt_prog_compiler_wl_GCJ='-Qoption ld '
17677 lt_prog_compiler_pic_GCJ='-PIC'
17678 lt_prog_compiler_static_GCJ='-Bstatic'
17681 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17682 lt_prog_compiler_wl_GCJ='-Wl,'
17683 lt_prog_compiler_pic_GCJ='-KPIC'
17684 lt_prog_compiler_static_GCJ='-Bstatic'
17688 if test -d /usr/nec ;then
17689 lt_prog_compiler_pic_GCJ='-Kconform_pic'
17690 lt_prog_compiler_static_GCJ='-Bstatic'
17695 lt_prog_compiler_pic_GCJ='-pic'
17696 lt_prog_compiler_static_GCJ='-Bstatic'
17700 lt_prog_compiler_can_build_shared_GCJ=no
17705 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17706 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17709 # Check to make sure the PIC flag actually works.
17711 if test -n "$lt_prog_compiler_pic_GCJ"; then
17713 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17714 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17715 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 lt_prog_compiler_pic_works_GCJ=no
17719 ac_outfile=conftest.$ac_objext
17720 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17721 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17722 # Insert the option either (1) after the last *FLAGS variable, or
17723 # (2) before a word containing "conftest.", or (3) at the end.
17724 # Note that $ac_compile itself does not contain backslashes and begins
17725 # with a dollar sign (not a hyphen), so the echo should work correctly.
17726 # The option is referenced via a variable to avoid confusing sed.
17727 lt_compile=`echo "$ac_compile" | $SED \
17728 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17730 -e 's:$: $lt_compiler_flag:'`
17731 (eval echo "\"\$as_me:17731: $lt_compile\"" >&5)
17732 (eval "$lt_compile" 2>conftest.err)
17734 cat conftest.err >&5
17735 echo "$as_me:17735: \$? = $ac_status" >&5
17736 if (exit $ac_status) && test -s "$ac_outfile"; then
17737 # The compiler can only warn and ignore the option if not recognized
17738 # So say no if there are warnings
17739 if test ! -s conftest.err; then
17740 lt_prog_compiler_pic_works_GCJ=yes
17746 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17747 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17749 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17750 case $lt_prog_compiler_pic_GCJ in
17752 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17755 lt_prog_compiler_pic_GCJ=
17756 lt_prog_compiler_can_build_shared_GCJ=no
17761 # For platforms which do not support PIC, -DPIC is meaningless:
17763 lt_prog_compiler_pic_GCJ=
17766 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17770 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17771 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17772 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 lt_cv_prog_compiler_c_o_GCJ=no
17776 $rm -r conftest 2>/dev/null
17780 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17782 lt_compiler_flag="-o out/conftest2.$ac_objext"
17783 # Insert the option either (1) after the last *FLAGS variable, or
17784 # (2) before a word containing "conftest.", or (3) at the end.
17785 # Note that $ac_compile itself does not contain backslashes and begins
17786 # with a dollar sign (not a hyphen), so the echo should work correctly.
17787 lt_compile=`echo "$ac_compile" | $SED \
17788 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17790 -e 's:$: $lt_compiler_flag:'`
17791 (eval echo "\"\$as_me:17791: $lt_compile\"" >&5)
17792 (eval "$lt_compile" 2>out/conftest.err)
17794 cat out/conftest.err >&5
17795 echo "$as_me:17795: \$? = $ac_status" >&5
17796 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17798 # The compiler can only warn and ignore the option if not recognized
17799 # So say no if there are warnings
17800 if test ! -s out/conftest.err; then
17801 lt_cv_prog_compiler_c_o_GCJ=yes
17806 # SGI C++ compiler will create directory out/ii_files/ for
17807 # template instantiation
17808 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17809 $rm out/* && rmdir out
17815 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17816 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17819 hard_links="nottested"
17820 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17821 # do not overwrite the value of need_locks provided by the user
17822 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17823 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17826 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17828 ln conftest.a conftest.b 2>&5 || hard_links=no
17829 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17830 echo "$as_me:$LINENO: result: $hard_links" >&5
17831 echo "${ECHO_T}$hard_links" >&6
17832 if test "$hard_links" = no; then
17833 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17834 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17841 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17845 allow_undefined_flag_GCJ=
17846 enable_shared_with_static_runtimes_GCJ=no
17848 archive_expsym_cmds_GCJ=
17849 old_archive_From_new_cmds_GCJ=
17850 old_archive_from_expsyms_cmds_GCJ=
17851 export_dynamic_flag_spec_GCJ=
17852 whole_archive_flag_spec_GCJ=
17853 thread_safe_flag_spec_GCJ=
17854 hardcode_libdir_flag_spec_GCJ=
17855 hardcode_libdir_flag_spec_ld_GCJ=
17856 hardcode_libdir_separator_GCJ=
17857 hardcode_direct_GCJ=no
17858 hardcode_minus_L_GCJ=no
17859 hardcode_shlibpath_var_GCJ=unsupported
17860 link_all_deplibs_GCJ=unknown
17861 hardcode_automatic_GCJ=no
17863 module_expsym_cmds_GCJ=
17864 always_export_symbols_GCJ=no
17865 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17866 # include_expsyms should be a list of space-separated symbols to be *always*
17867 # included in the symbol list
17868 include_expsyms_GCJ=
17869 # exclude_expsyms can be an extended regexp of symbols to exclude
17870 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17871 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17872 # as well as any symbol that contains `d'.
17873 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17874 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17875 # platforms (ab)use it in PIC code, but their linkers get confused if
17876 # the symbol is explicitly referenced. Since portable code cannot
17877 # rely on this symbol name, it's probably fine to never include it in
17878 # preloaded symbol tables.
17879 extract_expsyms_cmds=
17882 cygwin* | mingw* | pw32*)
17883 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17884 # When not using gcc, we currently assume that we are using
17885 # Microsoft Visual C++.
17886 if test "$GCC" != yes; then
17896 if test "$with_gnu_ld" = yes; then
17897 # If archive_cmds runs LD, not CC, wlarc should be empty
17900 # See if GNU ld supports shared libraries.
17902 aix3* | aix4* | aix5*)
17903 # On AIX/PPC, the GNU linker is very broken
17904 if test "$host_cpu" != ia64; then
17908 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17909 *** to be unable to reliably create shared libraries on AIX.
17910 *** Therefore, libtool is disabling shared libraries support. If you
17911 *** really care for shared libraries, you may want to modify your PATH
17912 *** so that a non-GNU linker is found, and then restart.
17919 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)'
17920 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17921 hardcode_minus_L_GCJ=yes
17923 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17924 # that the semantics of dynamic libraries on AmigaOS, at least up
17925 # to version 4, is to share data among multiple programs linked
17926 # with the same dynamic library. Since this doesn't match the
17927 # behavior of shared libraries on other platforms, we can't use
17933 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17934 allow_undefined_flag_GCJ=unsupported
17935 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17936 # support --undefined. This deserves some investigation. FIXME
17937 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17943 cygwin* | mingw* | pw32*)
17944 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17945 # as there is no search path for DLLs.
17946 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17947 allow_undefined_flag_GCJ=unsupported
17948 always_export_symbols_GCJ=no
17949 enable_shared_with_static_runtimes_GCJ=yes
17950 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17952 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17953 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17954 # If the export-symbols file already is a .def file (1st line
17955 # is EXPORTS), use it as is; otherwise, prepend...
17956 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17957 cp $export_symbols $output_objdir/$soname.def;
17959 echo EXPORTS > $output_objdir/$soname.def;
17960 cat $export_symbols >> $output_objdir/$soname.def;
17962 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17969 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17970 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17973 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17974 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17979 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17983 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17984 *** create shared libraries on Solaris systems. Therefore, libtool
17985 *** is disabling shared libraries support. We urge you to upgrade GNU
17986 *** binutils to release 2.9.1 or newer. Another option is to modify
17987 *** your PATH or compiler configuration so that the native linker is
17988 *** used, and then restart.
17991 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17992 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17993 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18000 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18002 hardcode_direct_GCJ=yes
18003 hardcode_shlibpath_var_GCJ=no
18007 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18008 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18009 archive_cmds_GCJ="$tmp_archive_cmds"
18010 supports_anon_versioning=no
18011 case `$LD -v 2>/dev/null` in
18012 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18013 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18014 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18015 *\ 2.11.*) ;; # other 2.11 versions
18016 *) supports_anon_versioning=yes ;;
18018 if test $supports_anon_versioning = yes; then
18019 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18020 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18021 $echo "local: *; };" >> $output_objdir/$libname.ver~
18022 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18024 archive_expsym_cmds_GCJ="$tmp_archive_cmds"
18032 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18033 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18034 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18041 if test "$ld_shlibs_GCJ" = yes; then
18042 runpath_var=LD_RUN_PATH
18043 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18044 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18045 # ancient GNU ld didn't support --whole-archive et. al.
18046 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18047 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18049 whole_archive_flag_spec_GCJ=
18053 # PORTME fill in a description of your system's linker (not GNU ld)
18056 allow_undefined_flag_GCJ=unsupported
18057 always_export_symbols_GCJ=yes
18058 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'
18059 # Note: this linker hardcodes the directories in LIBPATH if there
18060 # are no directories specified by -L.
18061 hardcode_minus_L_GCJ=yes
18062 if test "$GCC" = yes && test -z "$link_static_flag"; then
18063 # Neither direct hardcoding nor static linking is supported with a
18065 hardcode_direct_GCJ=unsupported
18070 if test "$host_cpu" = ia64; then
18071 # On IA64, the linker does run time linking by default, so we don't
18072 # have to do anything special.
18073 aix_use_runtimelinking=no
18074 exp_sym_flag='-Bexport'
18077 # If we're using GNU nm, then we don't want the "-C" option.
18078 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18079 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18080 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'
18082 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'
18084 aix_use_runtimelinking=no
18086 # Test if we are trying to use run time linking or normal
18087 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18088 # need to do runtime linking.
18089 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18090 for ld_flag in $LDFLAGS; do
18091 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18092 aix_use_runtimelinking=yes
18098 exp_sym_flag='-bexport'
18099 no_entry_flag='-bnoentry'
18102 # When large executables or shared objects are built, AIX ld can
18103 # have problems creating the table of contents. If linking a library
18104 # or program results in "error TOC overflow" add -mminimal-toc to
18105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18108 archive_cmds_GCJ=''
18109 hardcode_direct_GCJ=yes
18110 hardcode_libdir_separator_GCJ=':'
18111 link_all_deplibs_GCJ=yes
18113 if test "$GCC" = yes; then
18114 case $host_os in aix4.012|aix4.012.*)
18115 # We only want to do this on AIX 4.2 and lower, the check
18116 # below for broken collect2 doesn't work under 4.3+
18117 collect2name=`${CC} -print-prog-name=collect2`
18118 if test -f "$collect2name" && \
18119 strings "$collect2name" | grep resolve_lib_name >/dev/null
18121 # We have reworked collect2
18122 hardcode_direct_GCJ=yes
18124 # We have old collect2
18125 hardcode_direct_GCJ=unsupported
18126 # It fails to find uninstalled libraries when the uninstalled
18127 # path is not listed in the libpath. Setting hardcode_minus_L
18128 # to unsupported forces relinking
18129 hardcode_minus_L_GCJ=yes
18130 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18131 hardcode_libdir_separator_GCJ=
18134 shared_flag='-shared'
18137 if test "$host_cpu" = ia64; then
18138 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18139 # chokes on -Wl,-G. The following line is correct:
18142 if test "$aix_use_runtimelinking" = yes; then
18143 shared_flag='${wl}-G'
18145 shared_flag='${wl}-bM:SRE'
18150 # It seems that -bexpall does not export symbols beginning with
18151 # underscore (_), so it is better to generate a list of symbols to export.
18152 always_export_symbols_GCJ=yes
18153 if test "$aix_use_runtimelinking" = yes; then
18154 # Warning - without using the other runtime loading flags (-brtl),
18155 # -berok will link without error, but may produce a broken library.
18156 allow_undefined_flag_GCJ='-berok'
18157 # Determine the default libpath from the value encoded in an empty executable.
18158 cat >conftest.$ac_ext <<_ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
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"
18183 || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try='test -s conftest$ac_exeext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18196 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18198 # Check for a 64-bit object if we didn't find anything.
18199 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; }
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.$ac_ext >&5
18206 rm -f conftest.err conftest.$ac_objext \
18207 conftest$ac_exeext conftest.$ac_ext
18208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18210 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18211 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"
18213 if test "$host_cpu" = ia64; then
18214 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18215 allow_undefined_flag_GCJ="-z nodefs"
18216 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"
18218 # Determine the default libpath from the value encoded in an empty executable.
18219 cat >conftest.$ac_ext <<_ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18234 rm -f conftest.$ac_objext conftest$ac_exeext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18236 (eval $ac_link) 2>conftest.er1
18238 grep -v '^ *+' conftest.er1 >conftest.err
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try='test -z "$ac_c_werror_flag"
18244 || test ! -s conftest.err'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; } &&
18250 { ac_try='test -s conftest$ac_exeext'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; }; then
18257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18259 # Check for a 64-bit object if we didn't find anything.
18260 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; }
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18267 rm -f conftest.err conftest.$ac_objext \
18268 conftest$ac_exeext conftest.$ac_ext
18269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18271 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18272 # Warning - without using the other run time loading flags,
18273 # -berok will link without error, but may produce a broken library.
18274 no_undefined_flag_GCJ=' ${wl}-bernotok'
18275 allow_undefined_flag_GCJ=' ${wl}-berok'
18276 # -bexpall does not export symbols beginning with underscore (_)
18277 always_export_symbols_GCJ=yes
18278 # Exported symbols can be pulled into shared objects from archives
18279 whole_archive_flag_spec_GCJ=' '
18280 archive_cmds_need_lc_GCJ=yes
18281 # This is similar to how AIX traditionally builds it's shared libraries.
18282 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'
18288 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)'
18289 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18290 hardcode_minus_L_GCJ=yes
18291 # see comment about different semantics on the GNU ld section
18296 export_dynamic_flag_spec_GCJ=-rdynamic
18299 cygwin* | mingw* | pw32*)
18300 # When not using gcc, we currently assume that we are using
18301 # Microsoft Visual C++.
18302 # hardcode_libdir_flag_spec is actually meaningless, as there is
18303 # no search path for DLLs.
18304 hardcode_libdir_flag_spec_GCJ=' '
18305 allow_undefined_flag_GCJ=unsupported
18306 # Tell ltmain to make .lib files, not .a files.
18308 # Tell ltmain to make .dll files, not .so files.
18310 # FIXME: Setting linknames here is a bad hack.
18311 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18312 # The linker will automatically build a .lib file if we build a DLL.
18313 old_archive_From_new_cmds_GCJ='true'
18314 # FIXME: Should let the user specify the lib program.
18315 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
18316 fix_srcfile_path='`cygpath -w "$srcfile"`'
18317 enable_shared_with_static_runtimes_GCJ=yes
18320 darwin* | rhapsody*)
18321 if test "$GXX" = yes ; then
18322 archive_cmds_need_lc_GCJ=no
18324 rhapsody* | darwin1.[012])
18325 allow_undefined_flag_GCJ='-undefined suppress'
18328 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18329 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
18331 case ${MACOSX_DEPLOYMENT_TARGET} in
18333 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
18336 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
18342 lt_int_apple_cc_single_mod=no
18343 output_verbose_link_cmd='echo'
18344 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18345 lt_int_apple_cc_single_mod=yes
18347 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18348 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18350 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18352 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18353 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18354 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18355 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18357 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18359 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}'
18360 hardcode_direct_GCJ=no
18361 hardcode_automatic_GCJ=yes
18362 hardcode_shlibpath_var_GCJ=unsupported
18363 whole_archive_flag_spec_GCJ='-all_load $convenience'
18364 link_all_deplibs_GCJ=yes
18371 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18372 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18373 hardcode_shlibpath_var_GCJ=no
18380 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18381 # support. Future versions do this automatically, but an explicit c++rt0.o
18382 # does not break anything, and helps significantly (at the cost of a little
18385 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18386 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18387 hardcode_direct_GCJ=yes
18388 hardcode_shlibpath_var_GCJ=no
18391 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18393 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18394 hardcode_direct_GCJ=yes
18395 hardcode_minus_L_GCJ=yes
18396 hardcode_shlibpath_var_GCJ=no
18399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18400 freebsd* | kfreebsd*-gnu)
18401 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18402 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18403 hardcode_direct_GCJ=yes
18404 hardcode_shlibpath_var_GCJ=no
18408 if test "$GCC" = yes; then
18409 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'
18411 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'
18413 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18414 hardcode_libdir_separator_GCJ=:
18415 hardcode_direct_GCJ=yes
18417 # hardcode_minus_L: Not really in the search PATH,
18418 # but as the default location of the library.
18419 hardcode_minus_L_GCJ=yes
18420 export_dynamic_flag_spec_GCJ='${wl}-E'
18424 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18425 case "$host_cpu" in
18427 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18430 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18434 case "$host_cpu" in
18436 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18439 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18443 if test "$with_gnu_ld" = no; then
18444 case "$host_cpu" in
18446 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18447 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18448 hardcode_libdir_separator_GCJ=:
18449 hardcode_direct_GCJ=no
18450 hardcode_shlibpath_var_GCJ=no
18453 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18454 hardcode_direct_GCJ=no
18455 hardcode_shlibpath_var_GCJ=no
18457 # hardcode_minus_L: Not really in the search PATH,
18458 # but as the default location of the library.
18459 hardcode_minus_L_GCJ=yes
18462 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18463 hardcode_libdir_separator_GCJ=:
18464 hardcode_direct_GCJ=yes
18465 export_dynamic_flag_spec_GCJ='${wl}-E'
18467 # hardcode_minus_L: Not really in the search PATH,
18468 # but as the default location of the library.
18469 hardcode_minus_L_GCJ=yes
18475 irix5* | irix6* | nonstopux*)
18476 if test "$GCC" = yes; then
18477 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'
18479 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'
18480 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18482 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18483 hardcode_libdir_separator_GCJ=:
18484 link_all_deplibs_GCJ=yes
18488 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18489 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18491 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18493 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18494 hardcode_direct_GCJ=yes
18495 hardcode_shlibpath_var_GCJ=no
18499 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18500 hardcode_direct_GCJ=yes
18501 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18502 hardcode_libdir_separator_GCJ=:
18503 hardcode_shlibpath_var_GCJ=no
18507 hardcode_direct_GCJ=yes
18508 hardcode_shlibpath_var_GCJ=no
18509 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18510 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18511 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18512 export_dynamic_flag_spec_GCJ='${wl}-E'
18515 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18516 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18517 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18520 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18521 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18528 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18529 hardcode_minus_L_GCJ=yes
18530 allow_undefined_flag_GCJ=unsupported
18531 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'
18532 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18536 if test "$GCC" = yes; then
18537 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18538 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'
18540 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18541 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'
18543 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18544 hardcode_libdir_separator_GCJ=:
18547 osf4* | osf5*) # as osf3* with the addition of -msym flag
18548 if test "$GCC" = yes; then
18549 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18550 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'
18551 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18553 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18554 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'
18555 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~
18556 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
18558 # Both c and cxx compiler support -rpath directly
18559 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18561 hardcode_libdir_separator_GCJ=:
18565 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18566 hardcode_shlibpath_var_GCJ=no
18567 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18568 runpath_var=LD_RUN_PATH
18569 hardcode_runpath_var=yes
18573 no_undefined_flag_GCJ=' -z text'
18574 if test "$GCC" = yes; then
18575 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18576 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18577 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18579 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18580 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18581 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18583 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18584 hardcode_shlibpath_var_GCJ=no
18586 solaris2.[0-5] | solaris2.[0-5].*) ;;
18587 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18588 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18590 link_all_deplibs_GCJ=yes
18594 if test "x$host_vendor" = xsequent; then
18595 # Use $CC to link under sequent, because it throws in some extra .o
18596 # files that make .init and .fini sections work.
18597 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18599 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18601 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18602 hardcode_direct_GCJ=yes
18603 hardcode_minus_L_GCJ=yes
18604 hardcode_shlibpath_var_GCJ=no
18608 case $host_vendor in
18610 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18611 hardcode_direct_GCJ=yes # is this really true???
18614 ## LD is ld it makes a PLAMLIB
18615 ## CC just makes a GrossModule.
18616 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18617 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18618 hardcode_direct_GCJ=no
18621 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18622 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18625 runpath_var='LD_RUN_PATH'
18626 hardcode_shlibpath_var_GCJ=no
18630 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18631 hardcode_shlibpath_var_GCJ=no
18632 export_dynamic_flag_spec_GCJ='-Bexport'
18636 if test -d /usr/nec; then
18637 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18638 hardcode_shlibpath_var_GCJ=no
18639 runpath_var=LD_RUN_PATH
18640 hardcode_runpath_var=yes
18646 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18647 hardcode_direct_GCJ=yes
18648 hardcode_minus_L_GCJ=no
18649 hardcode_shlibpath_var_GCJ=no
18650 hardcode_runpath_var=yes
18651 runpath_var=LD_RUN_PATH
18654 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18655 no_undefined_flag_GCJ='${wl}-z ${wl}text'
18656 if test "$GCC" = yes; then
18657 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18659 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18661 runpath_var='LD_RUN_PATH'
18662 hardcode_shlibpath_var_GCJ=no
18666 no_undefined_flag_GCJ=' -z text'
18667 # $CC -shared without GNU ld will not create a library from C++
18668 # object files and a static libstdc++, better avoid it by now
18669 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18670 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18671 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18672 hardcode_libdir_flag_spec_GCJ=
18673 hardcode_shlibpath_var_GCJ=no
18674 runpath_var='LD_RUN_PATH'
18678 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18679 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18680 hardcode_shlibpath_var_GCJ=no
18689 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18690 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18691 test "$ld_shlibs_GCJ" = no && can_build_shared=no
18693 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18694 if test "$GCC" = yes; then
18695 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18699 # Do we need to explicitly link libc?
18701 case "x$archive_cmds_need_lc_GCJ" in
18703 # Assume -lc should be added
18704 archive_cmds_need_lc_GCJ=yes
18706 if test "$enable_shared" = yes && test "$GCC" = yes; then
18707 case $archive_cmds_GCJ in
18709 # FIXME: we may have to deal with multi-command sequences.
18712 # Test whether the compiler implicitly links with -lc since on some
18713 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18714 # to ld, don't add -lc before -lgcc.
18715 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18716 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18718 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } 2>conftest.err; then
18727 libobjs=conftest.$ac_objext
18729 wl=$lt_prog_compiler_wl_GCJ
18735 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18736 allow_undefined_flag_GCJ=
18737 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18738 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }
18743 archive_cmds_need_lc_GCJ=no
18745 archive_cmds_need_lc_GCJ=yes
18747 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18749 cat conftest.err 1>&5
18752 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18753 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18760 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18761 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18762 library_names_spec=
18763 libname_spec='lib$name'
18767 postuninstall_cmds=
18771 shlibpath_overrides_runpath=unknown
18773 dynamic_linker="$host_os ld.so"
18774 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18775 if test "$GCC" = yes; then
18776 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18777 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18778 # if the path contains ";" then we assume it to be the separator
18779 # otherwise default to the standard path separator (i.e. ":") - it is
18780 # assumed that no part of a normal pathname contains ";" but that should
18781 # okay in the real world where ";" in dirpaths is itself problematic.
18782 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18784 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18787 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18789 need_lib_prefix=unknown
18790 hardcode_into_libs=no
18792 # when you set need_version to no, make sure it does not cause -set_version
18793 # flags to be left without arguments
18794 need_version=unknown
18799 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18800 shlibpath_var=LIBPATH
18802 # AIX 3 has no versioning support, so we append a major version to the name.
18803 soname_spec='${libname}${release}${shared_ext}$major'
18810 hardcode_into_libs=yes
18811 if test "$host_cpu" = ia64; then
18812 # AIX 5 supports IA64
18813 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18814 shlibpath_var=LD_LIBRARY_PATH
18816 # With GCC up to 2.95.x, collect2 would create an import file
18817 # for dependence libraries. The import file would start with
18818 # the line `#! .'. This would cause the generated library to
18819 # depend on `.', always an invalid library. This was fixed in
18820 # development snapshots of GCC prior to 3.0.
18822 aix4 | aix4.[01] | aix4.[01].*)
18823 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18825 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18828 can_build_shared=no
18832 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18833 # soname into executable. Probably we can add versioning support to
18834 # collect2, so additional links can be useful in future.
18835 if test "$aix_use_runtimelinking" = yes; then
18836 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18837 # instead of lib<name>.a to let people know that these are not
18838 # typical AIX shared libraries.
18839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18841 # We preserve .a as extension for shared libraries through AIX4.2
18842 # and later when we are not doing run time linking.
18843 library_names_spec='${libname}${release}.a $libname.a'
18844 soname_spec='${libname}${release}${shared_ext}$major'
18846 shlibpath_var=LIBPATH
18851 library_names_spec='$libname.ixlibrary $libname.a'
18852 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18853 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'
18857 library_names_spec='${libname}${shared_ext}'
18858 dynamic_linker="$host_os ld.so"
18859 shlibpath_var=LIBRARY_PATH
18865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18866 soname_spec='${libname}${release}${shared_ext}$major'
18867 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18868 shlibpath_var=LD_LIBRARY_PATH
18869 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18870 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18871 # the default ld.so.conf also contains /usr/contrib/lib and
18872 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18873 # libtool to hard-code these into programs
18876 cygwin* | mingw* | pw32*)
18877 version_type=windows
18882 case $GCC,$host_os in
18883 yes,cygwin* | yes,mingw* | yes,pw32*)
18884 library_names_spec='$libname.dll.a'
18885 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18886 postinstall_cmds='base_file=`basename \${file}`~
18887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18888 dldir=$destdir/`dirname \$dlpath`~
18889 test -d \$dldir || mkdir -p \$dldir~
18890 $install_prog $dir/$dlname \$dldir/$dlname'
18891 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18892 dlpath=$dir/\$dldll~
18894 shlibpath_overrides_runpath=yes
18898 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18899 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18900 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18903 # MinGW DLLs use traditional 'lib' prefix
18904 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18905 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18906 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18907 # It is most probably a Windows format PATH printed by
18908 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18909 # path with ; separators, and with drive letters. We can handle the
18910 # drive letters (cygwin fileutils understands them), so leave them,
18911 # especially as we might pass files found there to a mingw objdump,
18912 # which wouldn't understand a cygwinified path. Ahh.
18913 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18915 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18919 # pw32 DLLs use 'pw' prefix rather than 'lib'
18920 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18926 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18929 dynamic_linker='Win32 ld.exe'
18930 # FIXME: first we should search . and the directory the executable is in
18934 darwin* | rhapsody*)
18935 dynamic_linker="$host_os dyld"
18936 version_type=darwin
18939 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18940 soname_spec='${libname}${release}${major}$shared_ext'
18941 shlibpath_overrides_runpath=yes
18942 shlibpath_var=DYLD_LIBRARY_PATH
18943 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18944 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18945 if test "$GCC" = yes; then
18946 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"`
18948 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18950 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18958 soname_spec='${libname}${release}${shared_ext}$major'
18959 shlibpath_var=LD_LIBRARY_PATH
18970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18971 soname_spec='${libname}${release}${shared_ext}$major'
18972 shlibpath_var=LD_LIBRARY_PATH
18973 shlibpath_overrides_runpath=no
18974 hardcode_into_libs=yes
18975 dynamic_linker='GNU ld.so'
18979 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18980 version_type=freebsd-$objformat
18981 case $version_type in
18983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18988 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18992 shlibpath_var=LD_LIBRARY_PATH
18995 shlibpath_overrides_runpath=yes
18997 freebsd3.01* | freebsdelf3.01*)
18998 shlibpath_overrides_runpath=yes
18999 hardcode_into_libs=yes
19002 shlibpath_overrides_runpath=no
19003 hardcode_into_libs=yes
19012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19013 soname_spec='${libname}${release}${shared_ext}$major'
19014 shlibpath_var=LD_LIBRARY_PATH
19015 hardcode_into_libs=yes
19018 hpux9* | hpux10* | hpux11*)
19019 # Give a soname corresponding to the major version so that dld.sl refuses to
19020 # link against other versions.
19024 case "$host_cpu" in
19027 hardcode_into_libs=yes
19028 dynamic_linker="$host_os dld.so"
19029 shlibpath_var=LD_LIBRARY_PATH
19030 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19032 soname_spec='${libname}${release}${shared_ext}$major'
19033 if test "X$HPUX_IA64_MODE" = X32; then
19034 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19036 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19038 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19042 hardcode_into_libs=yes
19043 dynamic_linker="$host_os dld.sl"
19044 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19045 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19047 soname_spec='${libname}${release}${shared_ext}$major'
19048 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19049 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19053 dynamic_linker="$host_os dld.sl"
19054 shlibpath_var=SHLIB_PATH
19055 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19057 soname_spec='${libname}${release}${shared_ext}$major'
19060 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19061 postinstall_cmds='chmod 555 $lib'
19064 irix5* | irix6* | nonstopux*)
19066 nonstopux*) version_type=nonstopux ;;
19068 if test "$lt_cv_prog_gnu_ld" = yes; then
19076 soname_spec='${libname}${release}${shared_ext}$major'
19077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19079 irix5* | nonstopux*)
19080 libsuff= shlibsuff=
19083 case $LD in # libtool.m4 will add one of these switches to LD
19084 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19085 libsuff= shlibsuff= libmagic=32-bit;;
19086 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19087 libsuff=32 shlibsuff=N32 libmagic=N32;;
19088 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19089 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19090 *) libsuff= shlibsuff= libmagic=never-match;;
19094 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19095 shlibpath_overrides_runpath=no
19096 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19097 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19098 hardcode_into_libs=yes
19101 # No shared lib support for Linux oldld, aout, or coff.
19102 linux*oldld* | linux*aout* | linux*coff*)
19106 # This must be Linux ELF.
19111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19112 soname_spec='${libname}${release}${shared_ext}$major'
19113 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19114 shlibpath_var=LD_LIBRARY_PATH
19115 shlibpath_overrides_runpath=no
19116 # This implies no fast_install, which is unacceptable.
19117 # Some rework will be needed to allow for fast_install
19118 # before this can be enabled.
19119 hardcode_into_libs=yes
19121 # find out which ABI we are using
19123 case "$host_cpu" in
19124 x86_64*|s390x*|powerpc64*)
19125 echo '#line 19125 "configure"' > conftest.$ac_ext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19127 (eval $ac_compile) 2>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); }; then
19131 case `/usr/bin/file conftest.$ac_objext` in
19134 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19142 # Append ld.so.conf contents to the search path
19143 if test -f /etc/ld.so.conf; then
19144 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
19145 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19148 # We used to test for /lib/ld.so.1 and disable shared libraries on
19149 # powerpc, because MkLinux only supported shared libraries with the
19150 # GNU dynamic linker. Since this was broken with cross compilers,
19151 # most powerpc-linux boxes support dynamic linking these days and
19152 # people can always --disable-shared, the test was removed, and we
19153 # assume the GNU/Linux dynamic linker is in use.
19154 dynamic_linker='GNU/Linux ld.so'
19161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19162 soname_spec='${libname}${release}${shared_ext}$major'
19163 shlibpath_var=LD_LIBRARY_PATH
19164 shlibpath_overrides_runpath=no
19165 hardcode_into_libs=yes
19166 dynamic_linker='GNU ld.so'
19173 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19175 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19176 dynamic_linker='NetBSD (a.out) ld.so'
19178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19179 soname_spec='${libname}${release}${shared_ext}$major'
19180 dynamic_linker='NetBSD ld.elf_so'
19182 shlibpath_var=LD_LIBRARY_PATH
19183 shlibpath_overrides_runpath=yes
19184 hardcode_into_libs=yes
19189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19190 shlibpath_var=LD_LIBRARY_PATH
19191 shlibpath_overrides_runpath=yes
19198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19199 soname_spec='${libname}${release}${shared_ext}$major'
19200 shlibpath_var=LD_LIBRARY_PATH
19201 shlibpath_overrides_runpath=yes
19208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19210 shlibpath_var=LD_LIBRARY_PATH
19211 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19213 openbsd2.[89] | openbsd2.[89].*)
19214 shlibpath_overrides_runpath=no
19217 shlibpath_overrides_runpath=yes
19221 shlibpath_overrides_runpath=yes
19226 libname_spec='$name'
19229 library_names_spec='$libname${shared_ext} $libname.a'
19230 dynamic_linker='OS/2 ld.exe'
19231 shlibpath_var=LIBPATH
19234 osf3* | osf4* | osf5*)
19238 soname_spec='${libname}${release}${shared_ext}$major'
19239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19240 shlibpath_var=LD_LIBRARY_PATH
19241 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19242 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19247 soname_spec='${libname}${release}${shared_ext}$major'
19248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19249 shlibpath_var=LD_LIBRARY_PATH
19256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19257 soname_spec='${libname}${release}${shared_ext}$major'
19258 shlibpath_var=LD_LIBRARY_PATH
19259 shlibpath_overrides_runpath=yes
19260 hardcode_into_libs=yes
19261 # ldd complains unless libraries are executable
19262 postinstall_cmds='chmod +x $lib'
19267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19268 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19269 shlibpath_var=LD_LIBRARY_PATH
19270 shlibpath_overrides_runpath=yes
19271 if test "$with_gnu_ld" = yes; then
19277 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19280 soname_spec='${libname}${release}${shared_ext}$major'
19281 shlibpath_var=LD_LIBRARY_PATH
19282 case $host_vendor in
19284 shlibpath_overrides_runpath=no
19286 export_dynamic_flag_spec='${wl}-Blargedynsym'
19287 runpath_var=LD_RUN_PATH
19295 shlibpath_overrides_runpath=no
19296 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19302 if test -d /usr/nec ;then
19304 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19305 soname_spec='$libname${shared_ext}.$major'
19306 shlibpath_var=LD_LIBRARY_PATH
19312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19313 soname_spec='${libname}${release}${shared_ext}$major'
19314 shlibpath_var=LD_LIBRARY_PATH
19321 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19322 echo "${ECHO_T}$dynamic_linker" >&6
19323 test "$dynamic_linker" = no && can_build_shared=no
19325 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19326 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19327 hardcode_action_GCJ=
19328 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19329 test -n "$runpath_var GCJ" || \
19330 test "X$hardcode_automatic_GCJ"="Xyes" ; then
19332 # We can hardcode non-existant directories.
19333 if test "$hardcode_direct_GCJ" != no &&
19334 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19335 # have to relink, otherwise we might link with an installed library
19336 # when we should be linking with a yet-to-be-installed one
19337 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19338 test "$hardcode_minus_L_GCJ" != no; then
19339 # Linking always hardcodes the temporary library directory.
19340 hardcode_action_GCJ=relink
19342 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19343 hardcode_action_GCJ=immediate
19346 # We cannot hardcode anything, or else we can only hardcode existing
19348 hardcode_action_GCJ=unsupported
19350 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19351 echo "${ECHO_T}$hardcode_action_GCJ" >&6
19353 if test "$hardcode_action_GCJ" = relink; then
19354 # Fast installation is not supported
19355 enable_fast_install=no
19356 elif test "$shlibpath_overrides_runpath" = yes ||
19357 test "$enable_shared" = no; then
19358 # Fast installation is not necessary
19359 enable_fast_install=needless
19364 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19365 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19366 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19367 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19368 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19369 echo "$as_me:$LINENO: result: yes" >&5
19370 echo "${ECHO_T}yes" >&6
19372 # FIXME - insert some real tests, host_os isn't really good enough
19375 if test -n "$STRIP" ; then
19376 striplib="$STRIP -x"
19377 echo "$as_me:$LINENO: result: yes" >&5
19378 echo "${ECHO_T}yes" >&6
19380 echo "$as_me:$LINENO: result: no" >&5
19381 echo "${ECHO_T}no" >&6
19385 echo "$as_me:$LINENO: result: no" >&5
19386 echo "${ECHO_T}no" >&6
19391 if test "x$enable_dlopen" != xyes; then
19392 enable_dlopen=unknown
19393 enable_dlopen_self=unknown
19394 enable_dlopen_self_static=unknown
19401 lt_cv_dlopen="load_add_on"
19403 lt_cv_dlopen_self=yes
19407 lt_cv_dlopen="LoadLibrary"
19412 lt_cv_dlopen="dlopen"
19417 # if libdl is installed we need to link against it
19418 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19419 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19420 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 ac_check_lib_save_LIBS=$LIBS
19425 cat >conftest.$ac_ext <<_ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19432 /* Override any gcc2 internal prototype to avoid an error. */
19436 /* We use char because int might match the return type of a gcc2
19437 builtin and then its argument prototype would still apply. */
19447 rm -f conftest.$ac_objext conftest$ac_exeext
19448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19449 (eval $ac_link) 2>conftest.er1
19451 grep -v '^ *+' conftest.er1 >conftest.err
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } &&
19456 { ac_try='test -z "$ac_c_werror_flag"
19457 || test ! -s conftest.err'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; } &&
19463 { ac_try='test -s conftest$ac_exeext'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; }; then
19469 ac_cv_lib_dl_dlopen=yes
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19474 ac_cv_lib_dl_dlopen=no
19476 rm -f conftest.err conftest.$ac_objext \
19477 conftest$ac_exeext conftest.$ac_ext
19478 LIBS=$ac_check_lib_save_LIBS
19480 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19481 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19482 if test $ac_cv_lib_dl_dlopen = yes; then
19483 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19486 lt_cv_dlopen="dyld"
19488 lt_cv_dlopen_self=yes
19495 echo "$as_me:$LINENO: checking for shl_load" >&5
19496 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19497 if test "${ac_cv_func_shl_load+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 cat >conftest.$ac_ext <<_ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19508 #define shl_load innocuous_shl_load
19510 /* System header to define __stub macros and hopefully few prototypes,
19511 which can conflict with char shl_load (); below.
19512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19513 <limits.h> exists even on freestanding compilers. */
19516 # include <limits.h>
19518 # include <assert.h>
19523 /* Override any gcc2 internal prototype to avoid an error. */
19528 /* We use char because int might match the return type of a gcc2
19529 builtin and then its argument prototype would still apply. */
19531 /* The GNU C library defines this for functions which it implements
19532 to always fail with ENOSYS. Some functions are actually named
19533 something starting with __ and the normal name is an alias. */
19534 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19537 char (*f) () = shl_load;
19546 return f != shl_load;
19551 rm -f conftest.$ac_objext conftest$ac_exeext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19553 (eval $ac_link) 2>conftest.er1
19555 grep -v '^ *+' conftest.er1 >conftest.err
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try='test -z "$ac_c_werror_flag"
19561 || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try='test -s conftest$ac_exeext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19573 ac_cv_func_shl_load=yes
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19578 ac_cv_func_shl_load=no
19580 rm -f conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext conftest.$ac_ext
19583 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19584 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19585 if test $ac_cv_func_shl_load = yes; then
19586 lt_cv_dlopen="shl_load"
19588 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19589 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19590 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 ac_check_lib_save_LIBS=$LIBS
19595 cat >conftest.$ac_ext <<_ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19602 /* Override any gcc2 internal prototype to avoid an error. */
19606 /* We use char because int might match the return type of a gcc2
19607 builtin and then its argument prototype would still apply. */
19617 rm -f conftest.$ac_objext conftest$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19621 grep -v '^ *+' conftest.er1 >conftest.err
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag"
19627 || test ! -s conftest.err'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try='test -s conftest$ac_exeext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_cv_lib_dld_shl_load=yes
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19644 ac_cv_lib_dld_shl_load=no
19646 rm -f conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19648 LIBS=$ac_check_lib_save_LIBS
19650 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19651 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19652 if test $ac_cv_lib_dld_shl_load = yes; then
19653 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19655 echo "$as_me:$LINENO: checking for dlopen" >&5
19656 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19657 if test "${ac_cv_func_dlopen+set}" = set; then
19658 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 cat >conftest.$ac_ext <<_ACEOF
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19668 #define dlopen innocuous_dlopen
19670 /* System header to define __stub macros and hopefully few prototypes,
19671 which can conflict with char dlopen (); below.
19672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19673 <limits.h> exists even on freestanding compilers. */
19676 # include <limits.h>
19678 # include <assert.h>
19683 /* Override any gcc2 internal prototype to avoid an error. */
19688 /* We use char because int might match the return type of a gcc2
19689 builtin and then its argument prototype would still apply. */
19691 /* The GNU C library defines this for functions which it implements
19692 to always fail with ENOSYS. Some functions are actually named
19693 something starting with __ and the normal name is an alias. */
19694 #if defined (__stub_dlopen) || defined (__stub___dlopen)
19697 char (*f) () = dlopen;
19706 return f != dlopen;
19711 rm -f conftest.$ac_objext conftest$ac_exeext
19712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19713 (eval $ac_link) 2>conftest.er1
19715 grep -v '^ *+' conftest.er1 >conftest.err
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } &&
19720 { ac_try='test -z "$ac_c_werror_flag"
19721 || test ! -s conftest.err'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; } &&
19727 { ac_try='test -s conftest$ac_exeext'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 ac_cv_func_dlopen=yes
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19738 ac_cv_func_dlopen=no
19740 rm -f conftest.err conftest.$ac_objext \
19741 conftest$ac_exeext conftest.$ac_ext
19743 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19744 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19745 if test $ac_cv_func_dlopen = yes; then
19746 lt_cv_dlopen="dlopen"
19748 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19749 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19750 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 ac_check_lib_save_LIBS=$LIBS
19755 cat >conftest.$ac_ext <<_ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19762 /* Override any gcc2 internal prototype to avoid an error. */
19766 /* We use char because int might match the return type of a gcc2
19767 builtin and then its argument prototype would still apply. */
19777 rm -f conftest.$ac_objext conftest$ac_exeext
19778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19779 (eval $ac_link) 2>conftest.er1
19781 grep -v '^ *+' conftest.er1 >conftest.err
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } &&
19786 { ac_try='test -z "$ac_c_werror_flag"
19787 || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try='test -s conftest$ac_exeext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_cv_lib_dl_dlopen=yes
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_cv_lib_dl_dlopen=no
19806 rm -f conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext conftest.$ac_ext
19808 LIBS=$ac_check_lib_save_LIBS
19810 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19811 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19812 if test $ac_cv_lib_dl_dlopen = yes; then
19813 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19815 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19816 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19817 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 ac_check_lib_save_LIBS=$LIBS
19821 LIBS="-lsvld $LIBS"
19822 cat >conftest.$ac_ext <<_ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19829 /* Override any gcc2 internal prototype to avoid an error. */
19833 /* We use char because int might match the return type of a gcc2
19834 builtin and then its argument prototype would still apply. */
19844 rm -f conftest.$ac_objext conftest$ac_exeext
19845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19846 (eval $ac_link) 2>conftest.er1
19848 grep -v '^ *+' conftest.er1 >conftest.err
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } &&
19853 { ac_try='test -z "$ac_c_werror_flag"
19854 || test ! -s conftest.err'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; } &&
19860 { ac_try='test -s conftest$ac_exeext'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; }; then
19866 ac_cv_lib_svld_dlopen=yes
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 ac_cv_lib_svld_dlopen=no
19873 rm -f conftest.err conftest.$ac_objext \
19874 conftest$ac_exeext conftest.$ac_ext
19875 LIBS=$ac_check_lib_save_LIBS
19877 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19878 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19879 if test $ac_cv_lib_svld_dlopen = yes; then
19880 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19882 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19883 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19884 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 ac_check_lib_save_LIBS=$LIBS
19889 cat >conftest.$ac_ext <<_ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19896 /* Override any gcc2 internal prototype to avoid an error. */
19900 /* We use char because int might match the return type of a gcc2
19901 builtin and then its argument prototype would still apply. */
19911 rm -f conftest.$ac_objext conftest$ac_exeext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19913 (eval $ac_link) 2>conftest.er1
19915 grep -v '^ *+' conftest.er1 >conftest.err
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_c_werror_flag"
19921 || test ! -s conftest.err'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try='test -s conftest$ac_exeext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_cv_lib_dld_dld_link=yes
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19938 ac_cv_lib_dld_dld_link=no
19940 rm -f conftest.err conftest.$ac_objext \
19941 conftest$ac_exeext conftest.$ac_ext
19942 LIBS=$ac_check_lib_save_LIBS
19944 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19945 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19946 if test $ac_cv_lib_dld_dld_link = yes; then
19947 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19968 if test "x$lt_cv_dlopen" != xno; then
19974 case $lt_cv_dlopen in
19976 save_CPPFLAGS="$CPPFLAGS"
19977 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19979 save_LDFLAGS="$LDFLAGS"
19980 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19983 LIBS="$lt_cv_dlopen_libs $LIBS"
19985 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19986 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19987 if test "${lt_cv_dlopen_self+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 if test "$cross_compiling" = yes; then :
19991 lt_cv_dlopen_self=cross
19993 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19994 lt_status=$lt_dlunknown
19995 cat > conftest.$ac_ext <<EOF
19996 #line 19996 "configure"
19997 #include "confdefs.h"
20006 # define LT_DLGLOBAL RTLD_GLOBAL
20009 # define LT_DLGLOBAL DL_GLOBAL
20011 # define LT_DLGLOBAL 0
20015 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20016 find out it does not work in some platform. */
20017 #ifndef LT_DLLAZY_OR_NOW
20019 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20022 # define LT_DLLAZY_OR_NOW DL_LAZY
20025 # define LT_DLLAZY_OR_NOW RTLD_NOW
20028 # define LT_DLLAZY_OR_NOW DL_NOW
20030 # define LT_DLLAZY_OR_NOW 0
20038 extern "C" void exit (int);
20041 void fnord() { int i=42;}
20044 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20045 int status = $lt_dlunknown;
20049 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20050 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20051 /* dlclose (self); */
20057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20058 (eval $ac_link) 2>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20062 (./conftest; exit; ) 2>/dev/null
20064 case x$lt_status in
20065 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20066 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20067 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20070 # compilation failed
20071 lt_cv_dlopen_self=no
20078 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20079 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20081 if test "x$lt_cv_dlopen_self" = xyes; then
20082 LDFLAGS="$LDFLAGS $link_static_flag"
20083 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20084 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20085 if test "${lt_cv_dlopen_self_static+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 if test "$cross_compiling" = yes; then :
20089 lt_cv_dlopen_self_static=cross
20091 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20092 lt_status=$lt_dlunknown
20093 cat > conftest.$ac_ext <<EOF
20094 #line 20094 "configure"
20095 #include "confdefs.h"
20104 # define LT_DLGLOBAL RTLD_GLOBAL
20107 # define LT_DLGLOBAL DL_GLOBAL
20109 # define LT_DLGLOBAL 0
20113 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20114 find out it does not work in some platform. */
20115 #ifndef LT_DLLAZY_OR_NOW
20117 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20120 # define LT_DLLAZY_OR_NOW DL_LAZY
20123 # define LT_DLLAZY_OR_NOW RTLD_NOW
20126 # define LT_DLLAZY_OR_NOW DL_NOW
20128 # define LT_DLLAZY_OR_NOW 0
20136 extern "C" void exit (int);
20139 void fnord() { int i=42;}
20142 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20143 int status = $lt_dlunknown;
20147 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20148 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20149 /* dlclose (self); */
20155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20156 (eval $ac_link) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20160 (./conftest; exit; ) 2>/dev/null
20162 case x$lt_status in
20163 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20164 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20165 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20168 # compilation failed
20169 lt_cv_dlopen_self_static=no
20176 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20177 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20180 CPPFLAGS="$save_CPPFLAGS"
20181 LDFLAGS="$save_LDFLAGS"
20186 case $lt_cv_dlopen_self in
20187 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20188 *) enable_dlopen_self=unknown ;;
20191 case $lt_cv_dlopen_self_static in
20192 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20193 *) enable_dlopen_self_static=unknown ;;
20198 # The else clause should only fire when bootstrapping the
20199 # libtool distribution, otherwise you forgot to ship ltmain.sh
20200 # with your package, and you will get complaints that there are
20201 # no rules to generate ltmain.sh.
20202 if test -f "$ltmain"; then
20203 # See if we are running on zsh, and set the options which allow our commands through
20204 # without removal of \ escapes.
20205 if test -n "${ZSH_VERSION+set}" ; then
20206 setopt NO_GLOB_SUBST
20208 # Now quote all the things that may contain metacharacters while being
20209 # careful not to overquote the AC_SUBSTed values. We take copies of the
20210 # variables and quote the copies for generation of the libtool script.
20211 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20213 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20214 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20215 deplibs_check_method reload_flag reload_cmds need_locks \
20216 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20217 lt_cv_sys_global_symbol_to_c_name_address \
20218 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20219 old_postinstall_cmds old_postuninstall_cmds \
20223 lt_prog_compiler_wl_GCJ \
20224 lt_prog_compiler_pic_GCJ \
20225 lt_prog_compiler_static_GCJ \
20226 lt_prog_compiler_no_builtin_flag_GCJ \
20227 export_dynamic_flag_spec_GCJ \
20228 thread_safe_flag_spec_GCJ \
20229 whole_archive_flag_spec_GCJ \
20230 enable_shared_with_static_runtimes_GCJ \
20231 old_archive_cmds_GCJ \
20232 old_archive_from_new_cmds_GCJ \
20233 predep_objects_GCJ \
20234 postdep_objects_GCJ \
20237 compiler_lib_search_path_GCJ \
20239 archive_expsym_cmds_GCJ \
20240 postinstall_cmds_GCJ \
20241 postuninstall_cmds_GCJ \
20242 old_archive_from_expsyms_cmds_GCJ \
20243 allow_undefined_flag_GCJ \
20244 no_undefined_flag_GCJ \
20245 export_symbols_cmds_GCJ \
20246 hardcode_libdir_flag_spec_GCJ \
20247 hardcode_libdir_flag_spec_ld_GCJ \
20248 hardcode_libdir_separator_GCJ \
20249 hardcode_automatic_GCJ \
20251 module_expsym_cmds_GCJ \
20252 lt_cv_prog_compiler_c_o_GCJ \
20253 exclude_expsyms_GCJ \
20254 include_expsyms_GCJ; do
20257 old_archive_cmds_GCJ | \
20258 old_archive_from_new_cmds_GCJ | \
20259 archive_cmds_GCJ | \
20260 archive_expsym_cmds_GCJ | \
20261 module_cmds_GCJ | \
20262 module_expsym_cmds_GCJ | \
20263 old_archive_from_expsyms_cmds_GCJ | \
20264 export_symbols_cmds_GCJ | \
20265 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20266 postinstall_cmds | postuninstall_cmds | \
20267 old_postinstall_cmds | old_postuninstall_cmds | \
20268 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20269 # Double-quote double-evaled strings.
20270 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20273 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20279 *'\$0 --fallback-echo"')
20280 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20286 cat <<__EOF__ >> "$cfgfile"
20287 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20289 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20291 # Shell to use when invoking shell scripts.
20294 # Whether or not to build shared libraries.
20295 build_libtool_libs=$enable_shared
20297 # Whether or not to build static libraries.
20298 build_old_libs=$enable_static
20300 # Whether or not to add -lc for building shared libraries.
20301 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20303 # Whether or not to disallow shared libs when runtime libs are static
20304 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20306 # Whether or not to optimize for fast installation.
20307 fast_install=$enable_fast_install
20310 host_alias=$host_alias
20313 # An echo program that does not interpret backslashes.
20318 AR_FLAGS=$lt_AR_FLAGS
20323 # A language-specific compiler.
20324 CC=$lt_compiler_GCJ
20326 # Is the compiler the GNU C compiler?
20332 # The linker used to build libraries.
20335 # Whether we need hard or soft links.
20338 # A BSD-compatible nm program.
20341 # A symbol stripping program
20344 # Used to examine libraries when file_magic_cmd begins "file"
20345 MAGIC_CMD=$MAGIC_CMD
20347 # Used on cygwin: DLL creation program.
20350 # Used on cygwin: object dumper.
20353 # Used on cygwin: assembler.
20356 # The name of the directory that contains temporary libtool files.
20359 # How to create reloadable object files.
20360 reload_flag=$lt_reload_flag
20361 reload_cmds=$lt_reload_cmds
20363 # How to pass a linker flag through the compiler.
20364 wl=$lt_lt_prog_compiler_wl_GCJ
20366 # Object file suffix (normally "o").
20367 objext="$ac_objext"
20369 # Old archive suffix (normally "a").
20372 # Shared library suffix (normally ".so").
20373 shrext_cmds='$shrext_cmds'
20375 # Executable file suffix (normally "").
20378 # Additional compiler flags for building library objects.
20379 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20382 # What is the maximum length of a command?
20383 max_cmd_len=$lt_cv_sys_max_cmd_len
20385 # Does compiler simultaneously support -c and -o options?
20386 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20388 # Must we lock files when doing compilation ?
20389 need_locks=$lt_need_locks
20391 # Do we need the lib prefix for modules?
20392 need_lib_prefix=$need_lib_prefix
20394 # Do we need a version for libraries?
20395 need_version=$need_version
20397 # Whether dlopen is supported.
20398 dlopen_support=$enable_dlopen
20400 # Whether dlopen of programs is supported.
20401 dlopen_self=$enable_dlopen_self
20403 # Whether dlopen of statically linked programs is supported.
20404 dlopen_self_static=$enable_dlopen_self_static
20406 # Compiler flag to prevent dynamic linking.
20407 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20409 # Compiler flag to turn off builtin functions.
20410 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20412 # Compiler flag to allow reflexive dlopens.
20413 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20415 # Compiler flag to generate shared objects directly from archives.
20416 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20418 # Compiler flag to generate thread-safe objects.
20419 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20421 # Library versioning type.
20422 version_type=$version_type
20424 # Format of library name prefix.
20425 libname_spec=$lt_libname_spec
20427 # List of archive names. First name is the real one, the rest are links.
20428 # The last name is the one that the linker finds with -lNAME.
20429 library_names_spec=$lt_library_names_spec
20431 # The coded name of the library, if different from the real name.
20432 soname_spec=$lt_soname_spec
20434 # Commands used to build and install an old-style archive.
20436 old_archive_cmds=$lt_old_archive_cmds_GCJ
20437 old_postinstall_cmds=$lt_old_postinstall_cmds
20438 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20440 # Create an old-style archive from a shared archive.
20441 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20443 # Create a temporary old-style archive to link instead of a shared archive.
20444 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20446 # Commands used to build and install a shared archive.
20447 archive_cmds=$lt_archive_cmds_GCJ
20448 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20449 postinstall_cmds=$lt_postinstall_cmds
20450 postuninstall_cmds=$lt_postuninstall_cmds
20452 # Commands used to build a loadable module (assumed same as above if empty)
20453 module_cmds=$lt_module_cmds_GCJ
20454 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20456 # Commands to strip libraries.
20457 old_striplib=$lt_old_striplib
20458 striplib=$lt_striplib
20460 # Dependencies to place before the objects being linked to create a
20462 predep_objects=$lt_predep_objects_GCJ
20464 # Dependencies to place after the objects being linked to create a
20466 postdep_objects=$lt_postdep_objects_GCJ
20468 # Dependencies to place before the objects being linked to create a
20470 predeps=$lt_predeps_GCJ
20472 # Dependencies to place after the objects being linked to create a
20474 postdeps=$lt_postdeps_GCJ
20476 # The library search path used internally by the compiler when linking
20477 # a shared library.
20478 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20480 # Method to check whether dependent libraries are shared objects.
20481 deplibs_check_method=$lt_deplibs_check_method
20483 # Command to use when deplibs_check_method == file_magic.
20484 file_magic_cmd=$lt_file_magic_cmd
20486 # Flag that allows shared libraries with undefined symbols to be built.
20487 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20489 # Flag that forces no undefined symbols.
20490 no_undefined_flag=$lt_no_undefined_flag_GCJ
20492 # Commands used to finish a libtool library installation in a directory.
20493 finish_cmds=$lt_finish_cmds
20495 # Same as above, but a single script fragment to be evaled but not shown.
20496 finish_eval=$lt_finish_eval
20498 # Take the output of nm and produce a listing of raw symbols and C names.
20499 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20501 # Transform the output of nm in a proper C declaration
20502 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20504 # Transform the output of nm in a C name address pair
20505 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20507 # This is the shared library runtime path variable.
20508 runpath_var=$runpath_var
20510 # This is the shared library path variable.
20511 shlibpath_var=$shlibpath_var
20513 # Is shlibpath searched before the hard-coded library search path?
20514 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20516 # How to hardcode a shared library path into an executable.
20517 hardcode_action=$hardcode_action_GCJ
20519 # Whether we should hardcode library paths into libraries.
20520 hardcode_into_libs=$hardcode_into_libs
20522 # Flag to hardcode \$libdir into a binary during linking.
20523 # This must work even if \$libdir does not exist.
20524 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20526 # If ld is used when linking, flag to hardcode \$libdir into
20527 # a binary during linking. This must work even if \$libdir does
20529 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20531 # Whether we need a single -rpath flag with a separated argument.
20532 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20534 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20535 # resulting binary.
20536 hardcode_direct=$hardcode_direct_GCJ
20538 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20539 # resulting binary.
20540 hardcode_minus_L=$hardcode_minus_L_GCJ
20542 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20543 # the resulting binary.
20544 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20546 # Set to yes if building a shared library automatically hardcodes DIR into the library
20547 # and all subsequent libraries and executables linked against it.
20548 hardcode_automatic=$hardcode_automatic_GCJ
20550 # Variables whose values should be saved in libtool wrapper scripts and
20551 # restored at relink time.
20552 variables_saved_for_relink="$variables_saved_for_relink"
20554 # Whether libtool must link a program against all its dependency libraries.
20555 link_all_deplibs=$link_all_deplibs_GCJ
20557 # Compile-time system search path for libraries
20558 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20560 # Run-time system search path for libraries
20561 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20563 # Fix the shell variable \$srcfile for the compiler.
20564 fix_srcfile_path="$fix_srcfile_path_GCJ"
20566 # Set to yes if exported symbols are required.
20567 always_export_symbols=$always_export_symbols_GCJ
20569 # The commands to list exported symbols.
20570 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20572 # The commands to extract the exported symbol list from a shared archive.
20573 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20575 # Symbols that should not be listed in the preloaded symbols.
20576 exclude_expsyms=$lt_exclude_expsyms_GCJ
20578 # Symbols that must always be exported.
20579 include_expsyms=$lt_include_expsyms_GCJ
20581 # ### END LIBTOOL TAG CONFIG: $tagname
20587 # If there is no Makefile yet, we rely on a make rule to execute
20588 # `config.status --recheck' to rerun these tests and create the
20589 # libtool script then.
20590 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20591 if test -f "$ltmain_in"; then
20592 test -f Makefile && make "$ltmain"
20598 ac_cpp='$CPP $CPPFLAGS'
20599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20614 # Source file extension for RC test sources.
20617 # Object file extension for compiled RC test sources.
20621 # Code to be used in simple compile tests
20622 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20624 # Code to be used in simple link tests
20625 lt_simple_link_test_code="$lt_simple_compile_test_code"
20627 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20629 # If no C compiler was specified, use CC.
20632 # Allow CC to be a program name with arguments.
20636 # Allow CC to be a program name with arguments.
20641 lt_cv_prog_compiler_c_o_RC=yes
20643 # The else clause should only fire when bootstrapping the
20644 # libtool distribution, otherwise you forgot to ship ltmain.sh
20645 # with your package, and you will get complaints that there are
20646 # no rules to generate ltmain.sh.
20647 if test -f "$ltmain"; then
20648 # See if we are running on zsh, and set the options which allow our commands through
20649 # without removal of \ escapes.
20650 if test -n "${ZSH_VERSION+set}" ; then
20651 setopt NO_GLOB_SUBST
20653 # Now quote all the things that may contain metacharacters while being
20654 # careful not to overquote the AC_SUBSTed values. We take copies of the
20655 # variables and quote the copies for generation of the libtool script.
20656 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20658 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20659 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20660 deplibs_check_method reload_flag reload_cmds need_locks \
20661 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20662 lt_cv_sys_global_symbol_to_c_name_address \
20663 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20664 old_postinstall_cmds old_postuninstall_cmds \
20668 lt_prog_compiler_wl_RC \
20669 lt_prog_compiler_pic_RC \
20670 lt_prog_compiler_static_RC \
20671 lt_prog_compiler_no_builtin_flag_RC \
20672 export_dynamic_flag_spec_RC \
20673 thread_safe_flag_spec_RC \
20674 whole_archive_flag_spec_RC \
20675 enable_shared_with_static_runtimes_RC \
20676 old_archive_cmds_RC \
20677 old_archive_from_new_cmds_RC \
20678 predep_objects_RC \
20679 postdep_objects_RC \
20682 compiler_lib_search_path_RC \
20684 archive_expsym_cmds_RC \
20685 postinstall_cmds_RC \
20686 postuninstall_cmds_RC \
20687 old_archive_from_expsyms_cmds_RC \
20688 allow_undefined_flag_RC \
20689 no_undefined_flag_RC \
20690 export_symbols_cmds_RC \
20691 hardcode_libdir_flag_spec_RC \
20692 hardcode_libdir_flag_spec_ld_RC \
20693 hardcode_libdir_separator_RC \
20694 hardcode_automatic_RC \
20696 module_expsym_cmds_RC \
20697 lt_cv_prog_compiler_c_o_RC \
20698 exclude_expsyms_RC \
20699 include_expsyms_RC; do
20702 old_archive_cmds_RC | \
20703 old_archive_from_new_cmds_RC | \
20704 archive_cmds_RC | \
20705 archive_expsym_cmds_RC | \
20707 module_expsym_cmds_RC | \
20708 old_archive_from_expsyms_cmds_RC | \
20709 export_symbols_cmds_RC | \
20710 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20711 postinstall_cmds | postuninstall_cmds | \
20712 old_postinstall_cmds | old_postuninstall_cmds | \
20713 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20714 # Double-quote double-evaled strings.
20715 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20718 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20724 *'\$0 --fallback-echo"')
20725 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20731 cat <<__EOF__ >> "$cfgfile"
20732 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20734 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20736 # Shell to use when invoking shell scripts.
20739 # Whether or not to build shared libraries.
20740 build_libtool_libs=$enable_shared
20742 # Whether or not to build static libraries.
20743 build_old_libs=$enable_static
20745 # Whether or not to add -lc for building shared libraries.
20746 build_libtool_need_lc=$archive_cmds_need_lc_RC
20748 # Whether or not to disallow shared libs when runtime libs are static
20749 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20751 # Whether or not to optimize for fast installation.
20752 fast_install=$enable_fast_install
20755 host_alias=$host_alias
20758 # An echo program that does not interpret backslashes.
20763 AR_FLAGS=$lt_AR_FLAGS
20768 # A language-specific compiler.
20771 # Is the compiler the GNU C compiler?
20777 # The linker used to build libraries.
20780 # Whether we need hard or soft links.
20783 # A BSD-compatible nm program.
20786 # A symbol stripping program
20789 # Used to examine libraries when file_magic_cmd begins "file"
20790 MAGIC_CMD=$MAGIC_CMD
20792 # Used on cygwin: DLL creation program.
20795 # Used on cygwin: object dumper.
20798 # Used on cygwin: assembler.
20801 # The name of the directory that contains temporary libtool files.
20804 # How to create reloadable object files.
20805 reload_flag=$lt_reload_flag
20806 reload_cmds=$lt_reload_cmds
20808 # How to pass a linker flag through the compiler.
20809 wl=$lt_lt_prog_compiler_wl_RC
20811 # Object file suffix (normally "o").
20812 objext="$ac_objext"
20814 # Old archive suffix (normally "a").
20817 # Shared library suffix (normally ".so").
20818 shrext_cmds='$shrext_cmds'
20820 # Executable file suffix (normally "").
20823 # Additional compiler flags for building library objects.
20824 pic_flag=$lt_lt_prog_compiler_pic_RC
20827 # What is the maximum length of a command?
20828 max_cmd_len=$lt_cv_sys_max_cmd_len
20830 # Does compiler simultaneously support -c and -o options?
20831 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20833 # Must we lock files when doing compilation ?
20834 need_locks=$lt_need_locks
20836 # Do we need the lib prefix for modules?
20837 need_lib_prefix=$need_lib_prefix
20839 # Do we need a version for libraries?
20840 need_version=$need_version
20842 # Whether dlopen is supported.
20843 dlopen_support=$enable_dlopen
20845 # Whether dlopen of programs is supported.
20846 dlopen_self=$enable_dlopen_self
20848 # Whether dlopen of statically linked programs is supported.
20849 dlopen_self_static=$enable_dlopen_self_static
20851 # Compiler flag to prevent dynamic linking.
20852 link_static_flag=$lt_lt_prog_compiler_static_RC
20854 # Compiler flag to turn off builtin functions.
20855 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20857 # Compiler flag to allow reflexive dlopens.
20858 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20860 # Compiler flag to generate shared objects directly from archives.
20861 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20863 # Compiler flag to generate thread-safe objects.
20864 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20866 # Library versioning type.
20867 version_type=$version_type
20869 # Format of library name prefix.
20870 libname_spec=$lt_libname_spec
20872 # List of archive names. First name is the real one, the rest are links.
20873 # The last name is the one that the linker finds with -lNAME.
20874 library_names_spec=$lt_library_names_spec
20876 # The coded name of the library, if different from the real name.
20877 soname_spec=$lt_soname_spec
20879 # Commands used to build and install an old-style archive.
20881 old_archive_cmds=$lt_old_archive_cmds_RC
20882 old_postinstall_cmds=$lt_old_postinstall_cmds
20883 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20885 # Create an old-style archive from a shared archive.
20886 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20888 # Create a temporary old-style archive to link instead of a shared archive.
20889 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20891 # Commands used to build and install a shared archive.
20892 archive_cmds=$lt_archive_cmds_RC
20893 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20894 postinstall_cmds=$lt_postinstall_cmds
20895 postuninstall_cmds=$lt_postuninstall_cmds
20897 # Commands used to build a loadable module (assumed same as above if empty)
20898 module_cmds=$lt_module_cmds_RC
20899 module_expsym_cmds=$lt_module_expsym_cmds_RC
20901 # Commands to strip libraries.
20902 old_striplib=$lt_old_striplib
20903 striplib=$lt_striplib
20905 # Dependencies to place before the objects being linked to create a
20907 predep_objects=$lt_predep_objects_RC
20909 # Dependencies to place after the objects being linked to create a
20911 postdep_objects=$lt_postdep_objects_RC
20913 # Dependencies to place before the objects being linked to create a
20915 predeps=$lt_predeps_RC
20917 # Dependencies to place after the objects being linked to create a
20919 postdeps=$lt_postdeps_RC
20921 # The library search path used internally by the compiler when linking
20922 # a shared library.
20923 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20925 # Method to check whether dependent libraries are shared objects.
20926 deplibs_check_method=$lt_deplibs_check_method
20928 # Command to use when deplibs_check_method == file_magic.
20929 file_magic_cmd=$lt_file_magic_cmd
20931 # Flag that allows shared libraries with undefined symbols to be built.
20932 allow_undefined_flag=$lt_allow_undefined_flag_RC
20934 # Flag that forces no undefined symbols.
20935 no_undefined_flag=$lt_no_undefined_flag_RC
20937 # Commands used to finish a libtool library installation in a directory.
20938 finish_cmds=$lt_finish_cmds
20940 # Same as above, but a single script fragment to be evaled but not shown.
20941 finish_eval=$lt_finish_eval
20943 # Take the output of nm and produce a listing of raw symbols and C names.
20944 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20946 # Transform the output of nm in a proper C declaration
20947 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20949 # Transform the output of nm in a C name address pair
20950 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20952 # This is the shared library runtime path variable.
20953 runpath_var=$runpath_var
20955 # This is the shared library path variable.
20956 shlibpath_var=$shlibpath_var
20958 # Is shlibpath searched before the hard-coded library search path?
20959 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20961 # How to hardcode a shared library path into an executable.
20962 hardcode_action=$hardcode_action_RC
20964 # Whether we should hardcode library paths into libraries.
20965 hardcode_into_libs=$hardcode_into_libs
20967 # Flag to hardcode \$libdir into a binary during linking.
20968 # This must work even if \$libdir does not exist.
20969 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20971 # If ld is used when linking, flag to hardcode \$libdir into
20972 # a binary during linking. This must work even if \$libdir does
20974 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20976 # Whether we need a single -rpath flag with a separated argument.
20977 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20979 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20980 # resulting binary.
20981 hardcode_direct=$hardcode_direct_RC
20983 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20984 # resulting binary.
20985 hardcode_minus_L=$hardcode_minus_L_RC
20987 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20988 # the resulting binary.
20989 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20991 # Set to yes if building a shared library automatically hardcodes DIR into the library
20992 # and all subsequent libraries and executables linked against it.
20993 hardcode_automatic=$hardcode_automatic_RC
20995 # Variables whose values should be saved in libtool wrapper scripts and
20996 # restored at relink time.
20997 variables_saved_for_relink="$variables_saved_for_relink"
20999 # Whether libtool must link a program against all its dependency libraries.
21000 link_all_deplibs=$link_all_deplibs_RC
21002 # Compile-time system search path for libraries
21003 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21005 # Run-time system search path for libraries
21006 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21008 # Fix the shell variable \$srcfile for the compiler.
21009 fix_srcfile_path="$fix_srcfile_path_RC"
21011 # Set to yes if exported symbols are required.
21012 always_export_symbols=$always_export_symbols_RC
21014 # The commands to list exported symbols.
21015 export_symbols_cmds=$lt_export_symbols_cmds_RC
21017 # The commands to extract the exported symbol list from a shared archive.
21018 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21020 # Symbols that should not be listed in the preloaded symbols.
21021 exclude_expsyms=$lt_exclude_expsyms_RC
21023 # Symbols that must always be exported.
21024 include_expsyms=$lt_include_expsyms_RC
21026 # ### END LIBTOOL TAG CONFIG: $tagname
21032 # If there is no Makefile yet, we rely on a make rule to execute
21033 # `config.status --recheck' to rerun these tests and create the
21034 # libtool script then.
21035 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21036 if test -f "$ltmain_in"; then
21037 test -f Makefile && make "$ltmain"
21043 ac_cpp='$CPP $CPPFLAGS'
21044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21053 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21054 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21055 { (exit 1); exit 1; }; }
21059 # Append the new tag name to the list of available tags.
21060 if test -n "$tagname" ; then
21061 available_tags="$available_tags $tagname"
21067 # Now substitute the updated list of available tags.
21068 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21069 mv "${ofile}T" "$ofile"
21073 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21074 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21075 { (exit 1); exit 1; }; }
21081 # This can be used to rebuild libtool when needed
21082 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21084 # Always use our own libtool.
21085 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21087 # Prevent multiple expansion
21109 # Checks for typedefs, structures, and compiler characteristics.
21110 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21111 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
21112 if test "${ac_cv_c_const+set}" = set; then
21113 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 cat >conftest.$ac_ext <<_ACEOF
21118 cat confdefs.h >>conftest.$ac_ext
21119 cat >>conftest.$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21125 /* FIXME: Include the comments suggested by Paul. */
21126 #ifndef __cplusplus
21127 /* Ultrix mips cc rejects this. */
21128 typedef int charset[2];
21130 /* SunOS 4.1.1 cc rejects this. */
21131 char const *const *ccp;
21133 /* NEC SVR4.0.2 mips cc rejects this. */
21134 struct point {int x, y;};
21135 static struct point const zero = {0,0};
21136 /* AIX XL C 1.02.0.0 rejects this.
21137 It does not let you subtract one const X* pointer from another in
21138 an arm of an if-expression whose if-part is not a constant
21140 const char *g = "string";
21141 ccp = &g + (g ? g-g : 0);
21142 /* HPUX 7.0 cc rejects these. */
21145 ccp = (char const *const *) p;
21146 { /* SCO 3.2v4 cc rejects this. */
21148 char const *s = 0 ? (char *) 0 : (char const *) 0;
21152 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21153 int x[] = {25, 17};
21154 const int *foo = &x[0];
21157 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21158 typedef const int *iptr;
21162 { /* AIX XL C 1.02.0.0 rejects this saying
21163 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21164 struct s { int j; const int *ap[3]; };
21165 struct s *b; b->j = 5;
21167 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21168 const int foo = 10;
21176 rm -f conftest.$ac_objext
21177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21178 (eval $ac_compile) 2>conftest.er1
21180 grep -v '^ *+' conftest.er1 >conftest.err
21182 cat conftest.err >&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } &&
21185 { ac_try='test -z "$ac_c_werror_flag"
21186 || test ! -s conftest.err'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; } &&
21192 { ac_try='test -s conftest.$ac_objext'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; }; then
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.$ac_ext >&5
21205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21207 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21208 echo "${ECHO_T}$ac_cv_c_const" >&6
21209 if test $ac_cv_c_const = no; then
21211 cat >>confdefs.h <<\_ACEOF
21217 echo "$as_me:$LINENO: checking for size_t" >&5
21218 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21219 if test "${ac_cv_type_size_t+set}" = set; then
21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 cat >conftest.$ac_ext <<_ACEOF
21225 cat confdefs.h >>conftest.$ac_ext
21226 cat >>conftest.$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 $ac_includes_default
21234 if (sizeof (size_t))
21240 rm -f conftest.$ac_objext
21241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21242 (eval $ac_compile) 2>conftest.er1
21244 grep -v '^ *+' conftest.er1 >conftest.err
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try='test -z "$ac_c_werror_flag"
21250 || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 ac_cv_type_size_t=yes
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21267 ac_cv_type_size_t=no
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21271 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21272 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21273 if test $ac_cv_type_size_t = yes; then
21277 cat >>confdefs.h <<_ACEOF
21278 #define size_t unsigned
21283 echo "$as_me:$LINENO: checking for long" >&5
21284 echo $ECHO_N "checking for long... $ECHO_C" >&6
21285 if test "${ac_cv_type_long+set}" = set; then
21286 echo $ECHO_N "(cached) $ECHO_C" >&6
21288 cat >conftest.$ac_ext <<_ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21306 rm -f conftest.$ac_objext
21307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21308 (eval $ac_compile) 2>conftest.er1
21310 grep -v '^ *+' conftest.er1 >conftest.err
21312 cat conftest.err >&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } &&
21315 { ac_try='test -z "$ac_c_werror_flag"
21316 || test ! -s conftest.err'
21317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21318 (eval $ac_try) 2>&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); }; } &&
21322 { ac_try='test -s conftest.$ac_objext'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; }; then
21328 ac_cv_type_long=yes
21330 echo "$as_me: failed program was:" >&5
21331 sed 's/^/| /' conftest.$ac_ext >&5
21335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21337 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21338 echo "${ECHO_T}$ac_cv_type_long" >&6
21340 echo "$as_me:$LINENO: checking size of long" >&5
21341 echo $ECHO_N "checking size of long... $ECHO_C" >&6
21342 if test "${ac_cv_sizeof_long+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 if test "$ac_cv_type_long" = yes; then
21346 # The cast to unsigned long works around a bug in the HP C Compiler
21347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21349 # This bug is HP SR number 8606223364.
21350 if test "$cross_compiling" = yes; then
21351 # Depending upon the size, compute the lo and hi bounds.
21352 cat >conftest.$ac_ext <<_ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21362 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
21369 rm -f conftest.$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21373 grep -v '^ *+' conftest.er1 >conftest.err
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_c_werror_flag"
21379 || test ! -s conftest.err'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; } &&
21385 { ac_try='test -s conftest.$ac_objext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21393 cat >conftest.$ac_ext <<_ACEOF
21396 cat confdefs.h >>conftest.$ac_ext
21397 cat >>conftest.$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399 $ac_includes_default
21403 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21410 rm -f conftest.$ac_objext
21411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21412 (eval $ac_compile) 2>conftest.er1
21414 grep -v '^ *+' conftest.er1 >conftest.err
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } &&
21419 { ac_try='test -z "$ac_c_werror_flag"
21420 || test ! -s conftest.err'
21421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21422 (eval $ac_try) 2>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); }; } &&
21426 { ac_try='test -s conftest.$ac_objext'
21427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21428 (eval $ac_try) 2>&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); }; }; then
21432 ac_hi=$ac_mid; break
21434 echo "$as_me: failed program was:" >&5
21435 sed 's/^/| /' conftest.$ac_ext >&5
21437 ac_lo=`expr $ac_mid + 1`
21438 if test $ac_lo -le $ac_mid; then
21442 ac_mid=`expr 2 '*' $ac_mid + 1`
21444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 cat >conftest.$ac_ext <<_ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456 $ac_includes_default
21460 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
21467 rm -f conftest.$ac_objext
21468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21469 (eval $ac_compile) 2>conftest.er1
21471 grep -v '^ *+' conftest.er1 >conftest.err
21473 cat conftest.err >&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); } &&
21476 { ac_try='test -z "$ac_c_werror_flag"
21477 || test ! -s conftest.err'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; } &&
21483 { ac_try='test -s conftest.$ac_objext'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21491 cat >conftest.$ac_ext <<_ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21501 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
21508 rm -f conftest.$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21512 grep -v '^ *+' conftest.er1 >conftest.err
21514 cat conftest.err >&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try='test -z "$ac_c_werror_flag"
21518 || test ! -s conftest.err'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; } &&
21524 { ac_try='test -s conftest.$ac_objext'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; }; then
21530 ac_lo=$ac_mid; break
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.$ac_ext >&5
21535 ac_hi=`expr '(' $ac_mid ')' - 1`
21536 if test $ac_mid -le $ac_hi; then
21540 ac_mid=`expr 2 '*' $ac_mid`
21542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21553 # Binary search between lo and hi bounds.
21554 while test "x$ac_lo" != "x$ac_hi"; do
21555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21556 cat >conftest.$ac_ext <<_ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 $ac_includes_default
21566 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21573 rm -f conftest.$ac_objext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21575 (eval $ac_compile) 2>conftest.er1
21577 grep -v '^ *+' conftest.er1 >conftest.err
21579 cat conftest.err >&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -z "$ac_c_werror_flag"
21583 || test ! -s conftest.err'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; } &&
21589 { ac_try='test -s conftest.$ac_objext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 ac_lo=`expr '(' $ac_mid ')' + 1`
21602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21605 ?*) ac_cv_sizeof_long=$ac_lo;;
21606 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21607 See \`config.log' for more details." >&5
21608 echo "$as_me: error: cannot compute sizeof (long), 77
21609 See \`config.log' for more details." >&2;}
21610 { (exit 1); exit 1; }; } ;;
21613 if test "$cross_compiling" = yes; then
21614 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21615 See \`config.log' for more details." >&5
21616 echo "$as_me: error: cannot run test program while cross compiling
21617 See \`config.log' for more details." >&2;}
21618 { (exit 1); exit 1; }; }
21620 cat >conftest.$ac_ext <<_ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 $ac_includes_default
21627 long longval () { return (long) (sizeof (long)); }
21628 unsigned long ulongval () { return (long) (sizeof (long)); }
21630 #include <stdlib.h>
21635 FILE *f = fopen ("conftest.val", "w");
21638 if (((long) (sizeof (long))) < 0)
21640 long i = longval ();
21641 if (i != ((long) (sizeof (long))))
21643 fprintf (f, "%ld\n", i);
21647 unsigned long i = ulongval ();
21648 if (i != ((long) (sizeof (long))))
21650 fprintf (f, "%lu\n", i);
21652 exit (ferror (f) || fclose (f) != 0);
21658 rm -f conftest$ac_exeext
21659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21660 (eval $ac_link) 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 ac_cv_sizeof_long=`cat conftest.val`
21671 echo "$as_me: program exited with status $ac_status" >&5
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21675 ( exit $ac_status )
21676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21677 See \`config.log' for more details." >&5
21678 echo "$as_me: error: cannot compute sizeof (long), 77
21679 See \`config.log' for more details." >&2;}
21680 { (exit 1); exit 1; }; }
21682 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21687 ac_cv_sizeof_long=0
21690 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21691 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21692 cat >>confdefs.h <<_ACEOF
21693 #define SIZEOF_LONG $ac_cv_sizeof_long
21698 # Checks for library functions.
21704 for ac_func in strchr strdup strstr timegm strcasecmp
21706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21707 echo "$as_me:$LINENO: checking for $ac_func" >&5
21708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21709 if eval "test \"\${$as_ac_var+set}\" = set"; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 cat >conftest.$ac_ext <<_ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21720 #define $ac_func innocuous_$ac_func
21722 /* System header to define __stub macros and hopefully few prototypes,
21723 which can conflict with char $ac_func (); below.
21724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21725 <limits.h> exists even on freestanding compilers. */
21728 # include <limits.h>
21730 # include <assert.h>
21735 /* Override any gcc2 internal prototype to avoid an error. */
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21743 /* The GNU C library defines this for functions which it implements
21744 to always fail with ENOSYS. Some functions are actually named
21745 something starting with __ and the normal name is an alias. */
21746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21749 char (*f) () = $ac_func;
21758 return f != $ac_func;
21763 rm -f conftest.$ac_objext conftest$ac_exeext
21764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21765 (eval $ac_link) 2>conftest.er1
21767 grep -v '^ *+' conftest.er1 >conftest.err
21769 cat conftest.err >&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } &&
21772 { ac_try='test -z "$ac_c_werror_flag"
21773 || test ! -s conftest.err'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; } &&
21779 { ac_try='test -s conftest$ac_exeext'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; }; then
21785 eval "$as_ac_var=yes"
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.$ac_ext >&5
21790 eval "$as_ac_var=no"
21792 rm -f conftest.err conftest.$ac_objext \
21793 conftest$ac_exeext conftest.$ac_ext
21795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21797 if test `eval echo '${'$as_ac_var'}'` = yes; then
21798 cat >>confdefs.h <<_ACEOF
21799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21806 for ac_header in dlfcn.h
21808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21810 echo "$as_me:$LINENO: checking for $ac_header" >&5
21811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21818 # Is the header compilable?
21819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21821 cat >conftest.$ac_ext <<_ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 $ac_includes_default
21828 #include <$ac_header>
21830 rm -f conftest.$ac_objext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21832 (eval $ac_compile) 2>conftest.er1
21834 grep -v '^ *+' conftest.er1 >conftest.err
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try='test -z "$ac_c_werror_flag"
21840 || test ! -s conftest.err'
21841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21842 (eval $ac_try) 2>&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); }; } &&
21846 { ac_try='test -s conftest.$ac_objext'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; }; then
21852 ac_header_compiler=yes
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21857 ac_header_compiler=no
21859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21861 echo "${ECHO_T}$ac_header_compiler" >&6
21863 # Is the header present?
21864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21866 cat >conftest.$ac_ext <<_ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 #include <$ac_header>
21874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21877 grep -v '^ *+' conftest.er1 >conftest.err
21879 cat conftest.err >&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } >/dev/null; then
21882 if test -s conftest.err; then
21883 ac_cpp_err=$ac_c_preproc_warn_flag
21884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21891 if test -z "$ac_cpp_err"; then
21892 ac_header_preproc=yes
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21897 ac_header_preproc=no
21899 rm -f conftest.err conftest.$ac_ext
21900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21901 echo "${ECHO_T}$ac_header_preproc" >&6
21903 # So? What about this header?
21904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21910 ac_header_preproc=yes
21913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21927 ## ------------------------------------------------ ##
21928 ## Report this to mace-opensaml-users@internet2.edu ##
21929 ## ------------------------------------------------ ##
21932 sed "s/^/$as_me: WARNING: /" >&2
21935 echo "$as_me:$LINENO: checking for $ac_header" >&5
21936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21938 echo $ECHO_N "(cached) $ECHO_C" >&6
21940 eval "$as_ac_Header=\$ac_header_preproc"
21942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21947 cat >>confdefs.h <<_ACEOF
21948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21955 echo "$as_me:$LINENO: checking for dlclose" >&5
21956 echo $ECHO_N "checking for dlclose... $ECHO_C" >&6
21957 if test "${ac_cv_func_dlclose+set}" = set; then
21958 echo $ECHO_N "(cached) $ECHO_C" >&6
21960 cat >conftest.$ac_ext <<_ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 /* Define dlclose to an innocuous variant, in case <limits.h> declares dlclose.
21967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21968 #define dlclose innocuous_dlclose
21970 /* System header to define __stub macros and hopefully few prototypes,
21971 which can conflict with char dlclose (); below.
21972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21973 <limits.h> exists even on freestanding compilers. */
21976 # include <limits.h>
21978 # include <assert.h>
21983 /* Override any gcc2 internal prototype to avoid an error. */
21988 /* We use char because int might match the return type of a gcc2
21989 builtin and then its argument prototype would still apply. */
21991 /* The GNU C library defines this for functions which it implements
21992 to always fail with ENOSYS. Some functions are actually named
21993 something starting with __ and the normal name is an alias. */
21994 #if defined (__stub_dlclose) || defined (__stub___dlclose)
21997 char (*f) () = dlclose;
22006 return f != dlclose;
22011 rm -f conftest.$ac_objext conftest$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>conftest.er1
22015 grep -v '^ *+' conftest.er1 >conftest.err
22017 cat conftest.err >&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try='test -z "$ac_c_werror_flag"
22021 || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try='test -s conftest$ac_exeext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_func_dlclose=yes
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.$ac_ext >&5
22038 ac_cv_func_dlclose=no
22040 rm -f conftest.err conftest.$ac_objext \
22041 conftest$ac_exeext conftest.$ac_ext
22043 echo "$as_me:$LINENO: result: $ac_cv_func_dlclose" >&5
22044 echo "${ECHO_T}$ac_cv_func_dlclose" >&6
22045 if test $ac_cv_func_dlclose = yes; then
22049 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22050 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22051 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 ac_check_lib_save_LIBS=$LIBS
22056 cat >conftest.$ac_ext <<_ACEOF
22059 cat confdefs.h >>conftest.$ac_ext
22060 cat >>conftest.$ac_ext <<_ACEOF
22061 /* end confdefs.h. */
22063 /* Override any gcc2 internal prototype to avoid an error. */
22067 /* We use char because int might match the return type of a gcc2
22068 builtin and then its argument prototype would still apply. */
22078 rm -f conftest.$ac_objext conftest$ac_exeext
22079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22080 (eval $ac_link) 2>conftest.er1
22082 grep -v '^ *+' conftest.er1 >conftest.err
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } &&
22087 { ac_try='test -z "$ac_c_werror_flag"
22088 || test ! -s conftest.err'
22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090 (eval $ac_try) 2>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; } &&
22094 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
22100 ac_cv_lib_dl_dlopen=yes
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22105 ac_cv_lib_dl_dlopen=no
22107 rm -f conftest.err conftest.$ac_objext \
22108 conftest$ac_exeext conftest.$ac_ext
22109 LIBS=$ac_check_lib_save_LIBS
22111 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22112 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22113 if test $ac_cv_lib_dl_dlopen = yes; then
22114 cat >>confdefs.h <<_ACEOF
22115 #define HAVE_LIBDL 1
22125 # checks for pthreads
22131 ac_cpp='$CPP $CPPFLAGS'
22132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22138 # We used to check for pthread.h first, but this fails if pthread.h
22139 # requires special compiler flags (e.g. on True64 or Sequent).
22140 # It gets checked for in the link test anyway.
22142 # First of all, check if the user has set any of the PTHREAD_LIBS,
22143 # etcetera environment variables, and if threads linking works using
22145 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
22146 save_CFLAGS="$CFLAGS"
22147 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22149 LIBS="$PTHREAD_LIBS $LIBS"
22150 echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
22151 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
22152 cat >conftest.$ac_ext <<_ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22159 /* Override any gcc2 internal prototype to avoid an error. */
22163 /* We use char because int might match the return type of a gcc2
22164 builtin and then its argument prototype would still apply. */
22165 char pthread_join ();
22174 rm -f conftest.$ac_objext conftest$ac_exeext
22175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22176 (eval $ac_link) 2>conftest.er1
22178 grep -v '^ *+' conftest.er1 >conftest.err
22180 cat conftest.err >&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try='test -z "$ac_c_werror_flag"
22184 || test ! -s conftest.err'
22185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22186 (eval $ac_try) 2>&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); }; } &&
22190 { ac_try='test -s conftest$ac_exeext'
22191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22192 (eval $ac_try) 2>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); }; }; then
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.$ac_ext >&5
22202 rm -f conftest.err conftest.$ac_objext \
22203 conftest$ac_exeext conftest.$ac_ext
22204 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
22205 echo "${ECHO_T}$acx_pthread_ok" >&6
22206 if test x"$acx_pthread_ok" = xno; then
22211 CFLAGS="$save_CFLAGS"
22214 # We must check for the threads library under a number of different
22215 # names; the ordering is very important because some systems
22216 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
22217 # libraries is broken (non-POSIX).
22219 # Create a list of thread flags to try. Items starting with a "-" are
22220 # C compiler flags, and other items are library names, except for "none"
22221 # which indicates that we try without any flags at all, and "pthread-config"
22222 # which is a program returning the flags for the Pth emulation library.
22224 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
22226 # The ordering *is* (sometimes) important. Some notes on the
22227 # individual items follow:
22229 # pthreads: AIX (must check this before -lpthread)
22230 # none: in case threads are in libc; should be tried before -Kthread and
22231 # other compiler flags to prevent continual compiler warnings
22232 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
22233 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
22234 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
22235 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
22236 # -pthreads: Solaris/gcc
22237 # -mthreads: Mingw32/gcc, Lynx/gcc
22238 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
22239 # doesn't hurt to check since this sometimes defines pthreads too;
22240 # also defines -D_REENTRANT)
22241 # ... -mt is also the pthreads flag for HP/aCC
22242 # pthread: Linux, etcetera
22243 # --thread-safe: KAI C++
22244 # pthread-config: use pthread-config program (for GNU Pth library)
22246 case "${host_cpu}-${host_os}" in
22249 # On Solaris (at least, for some versions), libc contains stubbed
22250 # (non-functional) versions of the pthreads routines, so link-based
22251 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
22252 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
22253 # a function called by this macro, so we could check for that, but
22254 # who knows whether they'll stub that too in a future libc.) So,
22255 # we'll just look for -pthreads and -lpthread first:
22257 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
22261 if test x"$acx_pthread_ok" = xno; then
22262 for flag in $acx_pthread_flags; do
22266 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
22267 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
22271 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
22272 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
22273 PTHREAD_CFLAGS="$flag"
22277 # Extract the first word of "pthread-config", so it can be a program name with args.
22278 set dummy pthread-config; ac_word=$2
22279 echo "$as_me:$LINENO: checking for $ac_word" >&5
22280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22281 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 if test -n "$acx_pthread_config"; then
22285 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
22287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22288 for as_dir in $PATH
22291 test -z "$as_dir" && as_dir=.
22292 for ac_exec_ext in '' $ac_executable_extensions; do
22293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22294 ac_cv_prog_acx_pthread_config="yes"
22295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22301 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
22304 acx_pthread_config=$ac_cv_prog_acx_pthread_config
22305 if test -n "$acx_pthread_config"; then
22306 echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
22307 echo "${ECHO_T}$acx_pthread_config" >&6
22309 echo "$as_me:$LINENO: result: no" >&5
22310 echo "${ECHO_T}no" >&6
22313 if test x"$acx_pthread_config" = xno; then continue; fi
22314 PTHREAD_CFLAGS="`pthread-config --cflags`"
22315 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
22319 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
22320 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
22321 PTHREAD_LIBS="-l$flag"
22326 save_CFLAGS="$CFLAGS"
22327 LIBS="$PTHREAD_LIBS $LIBS"
22328 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22330 # Check for various functions. We must include pthread.h,
22331 # since some functions may be macros. (On the Sequent, we
22332 # need a special flag -Kthread to make this header compile.)
22333 # We check for pthread_join because it is in -lpthread on IRIX
22334 # while pthread_create is in libc. We check for pthread_attr_init
22335 # due to DEC craziness with -lpthreads. We check for
22336 # pthread_cleanup_push because it is one of the few pthread
22337 # functions on Solaris that doesn't have a non-functional libc stub.
22338 # We try pthread_create on general principles.
22339 cat >conftest.$ac_ext <<_ACEOF
22342 cat confdefs.h >>conftest.$ac_ext
22343 cat >>conftest.$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22345 #include <pthread.h>
22349 pthread_t th; pthread_join(th, 0);
22350 pthread_attr_init(0); pthread_cleanup_push(0, 0);
22351 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
22356 rm -f conftest.$ac_objext conftest$ac_exeext
22357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22358 (eval $ac_link) 2>conftest.er1
22360 grep -v '^ *+' conftest.er1 >conftest.err
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } &&
22365 { ac_try='test -z "$ac_c_werror_flag"
22366 || test ! -s conftest.err'
22367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368 (eval $ac_try) 2>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; } &&
22372 { ac_try='test -s conftest$ac_exeext'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22384 rm -f conftest.err conftest.$ac_objext \
22385 conftest$ac_exeext conftest.$ac_ext
22388 CFLAGS="$save_CFLAGS"
22390 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
22391 echo "${ECHO_T}$acx_pthread_ok" >&6
22392 if test "x$acx_pthread_ok" = xyes; then
22401 # Various other checks:
22402 if test "x$acx_pthread_ok" = xyes; then
22404 LIBS="$PTHREAD_LIBS $LIBS"
22405 save_CFLAGS="$CFLAGS"
22406 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22408 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
22409 echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
22410 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
22412 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
22413 cat >conftest.$ac_ext <<_ACEOF
22416 cat confdefs.h >>conftest.$ac_ext
22417 cat >>conftest.$ac_ext <<_ACEOF
22418 /* end confdefs.h. */
22419 #include <pthread.h>
22423 int attr=$attr; return attr;
22428 rm -f conftest.$ac_objext conftest$ac_exeext
22429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22430 (eval $ac_link) 2>conftest.er1
22432 grep -v '^ *+' conftest.er1 >conftest.err
22434 cat conftest.err >&5
22435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22436 (exit $ac_status); } &&
22437 { ac_try='test -z "$ac_c_werror_flag"
22438 || test ! -s conftest.err'
22439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22440 (eval $ac_try) 2>&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); }; } &&
22444 { ac_try='test -s conftest$ac_exeext'
22445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22446 (eval $ac_try) 2>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); }; }; then
22450 attr_name=$attr; break
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22456 rm -f conftest.err conftest.$ac_objext \
22457 conftest$ac_exeext conftest.$ac_ext
22459 echo "$as_me:$LINENO: result: $attr_name" >&5
22460 echo "${ECHO_T}$attr_name" >&6
22461 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
22463 cat >>confdefs.h <<_ACEOF
22464 #define PTHREAD_CREATE_JOINABLE $attr_name
22469 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
22470 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
22472 case "${host_cpu}-${host_os}" in
22473 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
22474 *-osf* | *-hpux*) flag="-D_REENTRANT";;
22476 if test "$GCC" = "yes"; then
22477 flag="-D_REENTRANT"
22479 flag="-mt -D_REENTRANT"
22483 echo "$as_me:$LINENO: result: ${flag}" >&5
22484 echo "${ECHO_T}${flag}" >&6
22485 if test "x$flag" != xno; then
22486 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
22490 CFLAGS="$save_CFLAGS"
22492 # More AIX lossage: must compile with xlc_r or cc_r
22493 if test x"$GCC" != xyes; then
22494 for ac_prog in xlc_r cc_r
22496 # Extract the first word of "$ac_prog", so it can be a program name with args.
22497 set dummy $ac_prog; ac_word=$2
22498 echo "$as_me:$LINENO: checking for $ac_word" >&5
22499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22500 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 if test -n "$PTHREAD_CC"; then
22504 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
22506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22507 for as_dir in $PATH
22510 test -z "$as_dir" && as_dir=.
22511 for ac_exec_ext in '' $ac_executable_extensions; do
22512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22513 ac_cv_prog_PTHREAD_CC="$ac_prog"
22514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22522 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
22523 if test -n "$PTHREAD_CC"; then
22524 echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
22525 echo "${ECHO_T}$PTHREAD_CC" >&6
22527 echo "$as_me:$LINENO: result: no" >&5
22528 echo "${ECHO_T}no" >&6
22531 test -n "$PTHREAD_CC" && break
22533 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
22546 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
22547 if test x"$acx_pthread_ok" = xyes; then
22548 enable_threads="pthread"
22552 enable_threads="no"
22555 ac_cpp='$CPP $CPPFLAGS'
22556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561 if test $enable_threads != "pthread"; then
22562 { { echo "$as_me:$LINENO: error: unable to find pthreads, currently this is required" >&5
22563 echo "$as_me: error: unable to find pthreads, currently this is required" >&2;}
22564 { (exit 1); exit 1; }; }
22567 cat >>confdefs.h <<\_ACEOF
22568 #define HAVE_PTHREAD 1
22573 if test "$enable_threads" = "pthread"; then
22574 BUILD_PTHREAD_TRUE=
22575 BUILD_PTHREAD_FALSE='#'
22577 BUILD_PTHREAD_TRUE='#'
22578 BUILD_PTHREAD_FALSE=
22581 LIBS="$PTHREAD_LIBS $LIBS"
22582 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
22583 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
22587 for ac_func in pthread_rwlock_init
22589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22590 echo "$as_me:$LINENO: checking for $ac_func" >&5
22591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22592 if eval "test \"\${$as_ac_var+set}\" = set"; then
22593 echo $ECHO_N "(cached) $ECHO_C" >&6
22595 cat >conftest.$ac_ext <<_ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22603 #define $ac_func innocuous_$ac_func
22605 /* System header to define __stub macros and hopefully few prototypes,
22606 which can conflict with char $ac_func (); below.
22607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22608 <limits.h> exists even on freestanding compilers. */
22611 # include <limits.h>
22613 # include <assert.h>
22618 /* Override any gcc2 internal prototype to avoid an error. */
22623 /* We use char because int might match the return type of a gcc2
22624 builtin and then its argument prototype would still apply. */
22626 /* The GNU C library defines this for functions which it implements
22627 to always fail with ENOSYS. Some functions are actually named
22628 something starting with __ and the normal name is an alias. */
22629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22632 char (*f) () = $ac_func;
22641 return f != $ac_func;
22646 rm -f conftest.$ac_objext conftest$ac_exeext
22647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22648 (eval $ac_link) 2>conftest.er1
22650 grep -v '^ *+' conftest.er1 >conftest.err
22652 cat conftest.err >&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } &&
22655 { ac_try='test -z "$ac_c_werror_flag"
22656 || test ! -s conftest.err'
22657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22658 (eval $ac_try) 2>&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); }; } &&
22662 { ac_try='test -s conftest$ac_exeext'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; }; then
22668 eval "$as_ac_var=yes"
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22673 eval "$as_ac_var=no"
22675 rm -f conftest.err conftest.$ac_objext \
22676 conftest$ac_exeext conftest.$ac_ext
22678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22680 if test `eval echo '${'$as_ac_var'}'` = yes; then
22681 cat >>confdefs.h <<_ACEOF
22682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22690 ac_cpp='$CXXCPP $CPPFLAGS'
22691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22697 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
22698 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
22699 if test "${ac_cv_cxx_namespaces+set}" = set; then
22700 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 ac_cpp='$CXXCPP $CPPFLAGS'
22706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22710 cat >conftest.$ac_ext <<_ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22716 namespace Outer { namespace Inner { int i = 0; }}
22720 using namespace Outer::Inner; return i;
22725 rm -f conftest.$ac_objext
22726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22727 (eval $ac_compile) 2>conftest.er1
22729 grep -v '^ *+' conftest.er1 >conftest.err
22731 cat conftest.err >&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } &&
22734 { ac_try='test -z "$ac_cxx_werror_flag"
22735 || test ! -s conftest.err'
22736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22737 (eval $ac_try) 2>&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); }; } &&
22741 { ac_try='test -s conftest.$ac_objext'
22742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22743 (eval $ac_try) 2>&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); }; }; then
22747 ac_cv_cxx_namespaces=yes
22749 echo "$as_me: failed program was:" >&5
22750 sed 's/^/| /' conftest.$ac_ext >&5
22752 ac_cv_cxx_namespaces=no
22754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22756 ac_cpp='$CXXCPP $CPPFLAGS'
22757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22763 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
22764 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
22765 if test "$ac_cv_cxx_namespaces" = yes; then
22767 cat >>confdefs.h <<\_ACEOF
22768 #define HAVE_NAMESPACES 1
22773 echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
22774 echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6
22775 if test "${ac_cv_cxx_have_stl+set}" = set; then
22776 echo $ECHO_N "(cached) $ECHO_C" >&6
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22787 cat >conftest.$ac_ext <<_ACEOF
22790 cat confdefs.h >>conftest.$ac_ext
22791 cat >>conftest.$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22795 #ifdef HAVE_NAMESPACES
22796 using namespace std;
22801 list<int> x; x.push_back(5);
22802 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
22807 rm -f conftest.$ac_objext
22808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22809 (eval $ac_compile) 2>conftest.er1
22811 grep -v '^ *+' conftest.er1 >conftest.err
22813 cat conftest.err >&5
22814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815 (exit $ac_status); } &&
22816 { ac_try='test -z "$ac_cxx_werror_flag"
22817 || test ! -s conftest.err'
22818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22819 (eval $ac_try) 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); }; } &&
22823 { ac_try='test -s conftest.$ac_objext'
22824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22825 (eval $ac_try) 2>&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); }; }; then
22829 ac_cv_cxx_have_stl=yes
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22834 ac_cv_cxx_have_stl=no
22836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22838 ac_cpp='$CXXCPP $CPPFLAGS'
22839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
22846 echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6
22847 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
22848 { { echo "$as_me:$LINENO: error: C++ Standard Template Libary unsupported" >&5
22849 echo "$as_me: error: C++ Standard Template Libary unsupported" >&2;}
22850 { (exit 1); exit 1; }; }
22853 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
22854 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
22855 if test "${ac_cv_cxx_namespaces+set}" = set; then
22856 echo $ECHO_N "(cached) $ECHO_C" >&6
22861 ac_cpp='$CXXCPP $CPPFLAGS'
22862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22866 cat >conftest.$ac_ext <<_ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 namespace Outer { namespace Inner { int i = 0; }}
22876 using namespace Outer::Inner; return i;
22881 rm -f conftest.$ac_objext
22882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22883 (eval $ac_compile) 2>conftest.er1
22885 grep -v '^ *+' conftest.er1 >conftest.err
22887 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } &&
22890 { ac_try='test -z "$ac_cxx_werror_flag"
22891 || test ! -s conftest.err'
22892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893 (eval $ac_try) 2>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; } &&
22897 { ac_try='test -s conftest.$ac_objext'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; }; then
22903 ac_cv_cxx_namespaces=yes
22905 echo "$as_me: failed program was:" >&5
22906 sed 's/^/| /' conftest.$ac_ext >&5
22908 ac_cv_cxx_namespaces=no
22910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22912 ac_cpp='$CXXCPP $CPPFLAGS'
22913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22919 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
22920 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
22921 if test "$ac_cv_cxx_namespaces" = yes; then
22923 cat >>confdefs.h <<\_ACEOF
22924 #define HAVE_NAMESPACES 1
22930 # are covariant methods allowed?
22931 cat >conftest.$ac_ext <<_ACEOF
22934 cat confdefs.h >>conftest.$ac_ext
22935 cat >>conftest.$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22937 class base { public: virtual base *GetPtr( void ) { return this; } };
22941 class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
22946 rm -f conftest.$ac_objext conftest$ac_exeext
22947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22948 (eval $ac_link) 2>conftest.er1
22950 grep -v '^ *+' conftest.er1 >conftest.err
22952 cat conftest.err >&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } &&
22955 { ac_try='test -z "$ac_cxx_werror_flag"
22956 || test ! -s conftest.err'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; } &&
22962 { ac_try='test -s conftest$ac_exeext'
22963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22964 (eval $ac_try) 2>&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); }; }; then
22969 cat >>confdefs.h <<\_ACEOF
22970 #define HAVE_COVARIANT_RETURNS 1
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22978 rm -f conftest.err conftest.$ac_objext \
22979 conftest$ac_exeext conftest.$ac_ext
22981 # log4shib settings (favor this version over the log4cpp code)
22982 # Extract the first word of "log4shib-config", so it can be a program name with args.
22983 set dummy log4shib-config; ac_word=$2
22984 echo "$as_me:$LINENO: checking for $ac_word" >&5
22985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22986 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then
22987 echo $ECHO_N "(cached) $ECHO_C" >&6
22989 case $LOG4SHIB_CONFIG in
22991 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
22994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22995 for as_dir in $PATH
22998 test -z "$as_dir" && as_dir=.
22999 for ac_exec_ext in '' $ac_executable_extensions; do
23000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23001 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23011 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
23013 if test -n "$LOG4SHIB_CONFIG"; then
23014 echo "$as_me:$LINENO: result: $LOG4SHIB_CONFIG" >&5
23015 echo "${ECHO_T}$LOG4SHIB_CONFIG" >&6
23017 echo "$as_me:$LINENO: result: no" >&5
23018 echo "${ECHO_T}no" >&6
23022 # Check whether --with-log4shib or --without-log4shib was given.
23023 if test "${with_log4shib+set}" = set; then
23024 withval="$with_log4shib"
23026 LOG4SHIB_CONFIG="${with_log4shib}"
23027 if ! test -f "${LOG4SHIB_CONFIG}" ; then
23028 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
23032 if test -f "${LOG4SHIB_CONFIG}"; then
23033 LDFLAGS="`${LOG4SHIB_CONFIG} --libs` $LDFLAGS"
23034 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
23036 if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then
23037 echo "$as_me:$LINENO: checking for log4shib/CategoryStream.hh" >&5
23038 echo $ECHO_N "checking for log4shib/CategoryStream.hh... $ECHO_C" >&6
23039 if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then
23040 echo $ECHO_N "(cached) $ECHO_C" >&6
23042 echo "$as_me:$LINENO: result: $ac_cv_header_log4shib_CategoryStream_hh" >&5
23043 echo "${ECHO_T}$ac_cv_header_log4shib_CategoryStream_hh" >&6
23045 # Is the header compilable?
23046 echo "$as_me:$LINENO: checking log4shib/CategoryStream.hh usability" >&5
23047 echo $ECHO_N "checking log4shib/CategoryStream.hh usability... $ECHO_C" >&6
23048 cat >conftest.$ac_ext <<_ACEOF
23051 cat confdefs.h >>conftest.$ac_ext
23052 cat >>conftest.$ac_ext <<_ACEOF
23053 /* end confdefs.h. */
23054 $ac_includes_default
23055 #include <log4shib/CategoryStream.hh>
23057 rm -f conftest.$ac_objext
23058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23059 (eval $ac_compile) 2>conftest.er1
23061 grep -v '^ *+' conftest.er1 >conftest.err
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try='test -z "$ac_cxx_werror_flag"
23067 || test ! -s conftest.err'
23068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23069 (eval $ac_try) 2>&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; } &&
23073 { ac_try='test -s conftest.$ac_objext'
23074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075 (eval $ac_try) 2>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); }; }; then
23079 ac_header_compiler=yes
23081 echo "$as_me: failed program was:" >&5
23082 sed 's/^/| /' conftest.$ac_ext >&5
23084 ac_header_compiler=no
23086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23088 echo "${ECHO_T}$ac_header_compiler" >&6
23090 # Is the header present?
23091 echo "$as_me:$LINENO: checking log4shib/CategoryStream.hh presence" >&5
23092 echo $ECHO_N "checking log4shib/CategoryStream.hh presence... $ECHO_C" >&6
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #include <log4shib/CategoryStream.hh>
23101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23104 grep -v '^ *+' conftest.er1 >conftest.err
23106 cat conftest.err >&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } >/dev/null; then
23109 if test -s conftest.err; then
23110 ac_cpp_err=$ac_cxx_preproc_warn_flag
23111 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23118 if test -z "$ac_cpp_err"; then
23119 ac_header_preproc=yes
23121 echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.$ac_ext >&5
23124 ac_header_preproc=no
23126 rm -f conftest.err conftest.$ac_ext
23127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23128 echo "${ECHO_T}$ac_header_preproc" >&6
23130 # So? What about this header?
23131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23133 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&5
23134 echo "$as_me: WARNING: log4shib/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&2;}
23135 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: proceeding with the compiler's result" >&5
23136 echo "$as_me: WARNING: log4shib/CategoryStream.hh: proceeding with the compiler's result" >&2;}
23137 ac_header_preproc=yes
23140 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: present but cannot be compiled" >&5
23141 echo "$as_me: WARNING: log4shib/CategoryStream.hh: present but cannot be compiled" >&2;}
23142 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: check for missing prerequisite headers?" >&5
23143 echo "$as_me: WARNING: log4shib/CategoryStream.hh: check for missing prerequisite headers?" >&2;}
23144 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: see the Autoconf documentation" >&5
23145 echo "$as_me: WARNING: log4shib/CategoryStream.hh: see the Autoconf documentation" >&2;}
23146 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&5
23147 echo "$as_me: WARNING: log4shib/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&2;}
23148 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: proceeding with the preprocessor's result" >&5
23149 echo "$as_me: WARNING: log4shib/CategoryStream.hh: proceeding with the preprocessor's result" >&2;}
23150 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: in the future, the compiler will take precedence" >&5
23151 echo "$as_me: WARNING: log4shib/CategoryStream.hh: in the future, the compiler will take precedence" >&2;}
23154 ## ------------------------------------------------ ##
23155 ## Report this to mace-opensaml-users@internet2.edu ##
23156 ## ------------------------------------------------ ##
23159 sed "s/^/$as_me: WARNING: /" >&2
23162 echo "$as_me:$LINENO: checking for log4shib/CategoryStream.hh" >&5
23163 echo $ECHO_N "checking for log4shib/CategoryStream.hh... $ECHO_C" >&6
23164 if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then
23165 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 ac_cv_header_log4shib_CategoryStream_hh=$ac_header_preproc
23169 echo "$as_me:$LINENO: result: $ac_cv_header_log4shib_CategoryStream_hh" >&5
23170 echo "${ECHO_T}$ac_cv_header_log4shib_CategoryStream_hh" >&6
23173 if test $ac_cv_header_log4shib_CategoryStream_hh = yes; then
23176 { { echo "$as_me:$LINENO: error: unable to find log4shib header files" >&5
23177 echo "$as_me: error: unable to find log4shib header files" >&2;}
23178 { (exit 1); exit 1; }; }
23182 cat >conftest.$ac_ext <<_ACEOF
23185 cat confdefs.h >>conftest.$ac_ext
23186 cat >>conftest.$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188 #include <log4shib/Category.hh>
23189 #include <log4shib/CategoryStream.hh>
23193 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
23198 rm -f conftest.$ac_objext conftest$ac_exeext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>conftest.er1
23202 grep -v '^ *+' conftest.er1 >conftest.err
23204 cat conftest.err >&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try='test -z "$ac_cxx_werror_flag"
23208 || test ! -s conftest.err'
23209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23210 (eval $ac_try) 2>&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); }; } &&
23214 { ac_try='test -s conftest$ac_exeext'
23215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23216 (eval $ac_try) 2>&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); }; }; then
23221 cat >>confdefs.h <<\_ACEOF
23222 #define XMLTOOLING_LOG4SHIB 1
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23229 { { echo "$as_me:$LINENO: error: unable to link with log4shib" >&5
23230 echo "$as_me: error: unable to link with log4shib" >&2;}
23231 { (exit 1); exit 1; }; }
23233 rm -f conftest.err conftest.$ac_objext \
23234 conftest$ac_exeext conftest.$ac_ext
23236 { echo "$as_me:$LINENO: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
23237 echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
23238 { echo "$as_me:$LINENO: WARNING: will look for original log4cpp library" >&5
23239 echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
23242 # Extract the first word of "log4cpp-config", so it can be a program name with args.
23243 set dummy log4cpp-config; ac_word=$2
23244 echo "$as_me:$LINENO: checking for $ac_word" >&5
23245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23246 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then
23247 echo $ECHO_N "(cached) $ECHO_C" >&6
23249 case $LOG4CPP_CONFIG in
23251 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
23254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23255 for as_dir in $PATH
23258 test -z "$as_dir" && as_dir=.
23259 for ac_exec_ext in '' $ac_executable_extensions; do
23260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23261 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23271 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
23273 if test -n "$LOG4CPP_CONFIG"; then
23274 echo "$as_me:$LINENO: result: $LOG4CPP_CONFIG" >&5
23275 echo "${ECHO_T}$LOG4CPP_CONFIG" >&6
23277 echo "$as_me:$LINENO: result: no" >&5
23278 echo "${ECHO_T}no" >&6
23282 # Check whether --with-log4cpp or --without-log4cpp was given.
23283 if test "${with_log4cpp+set}" = set; then
23284 withval="$with_log4cpp"
23286 LOG4CPP_CONFIG="${with_log4cpp}"
23287 if ! test -f "${LOG4CPP_CONFIG}" ; then
23288 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
23292 if test -f "${LOG4CPP_CONFIG}"; then
23293 { echo "$as_me:$LINENO: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
23294 echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
23295 LDFLAGS="`${LOG4CPP_CONFIG} --libs` $LDFLAGS"
23296 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
23297 if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then
23298 echo "$as_me:$LINENO: checking for log4cpp/CategoryStream.hh" >&5
23299 echo $ECHO_N "checking for log4cpp/CategoryStream.hh... $ECHO_C" >&6
23300 if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then
23301 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 echo "$as_me:$LINENO: result: $ac_cv_header_log4cpp_CategoryStream_hh" >&5
23304 echo "${ECHO_T}$ac_cv_header_log4cpp_CategoryStream_hh" >&6
23306 # Is the header compilable?
23307 echo "$as_me:$LINENO: checking log4cpp/CategoryStream.hh usability" >&5
23308 echo $ECHO_N "checking log4cpp/CategoryStream.hh usability... $ECHO_C" >&6
23309 cat >conftest.$ac_ext <<_ACEOF
23312 cat confdefs.h >>conftest.$ac_ext
23313 cat >>conftest.$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23315 $ac_includes_default
23316 #include <log4cpp/CategoryStream.hh>
23318 rm -f conftest.$ac_objext
23319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23320 (eval $ac_compile) 2>conftest.er1
23322 grep -v '^ *+' conftest.er1 >conftest.err
23324 cat conftest.err >&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } &&
23327 { ac_try='test -z "$ac_cxx_werror_flag"
23328 || test ! -s conftest.err'
23329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23330 (eval $ac_try) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; } &&
23334 { ac_try='test -s conftest.$ac_objext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_header_compiler=yes
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23345 ac_header_compiler=no
23347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23349 echo "${ECHO_T}$ac_header_compiler" >&6
23351 # Is the header present?
23352 echo "$as_me:$LINENO: checking log4cpp/CategoryStream.hh presence" >&5
23353 echo $ECHO_N "checking log4cpp/CategoryStream.hh presence... $ECHO_C" >&6
23354 cat >conftest.$ac_ext <<_ACEOF
23357 cat confdefs.h >>conftest.$ac_ext
23358 cat >>conftest.$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23360 #include <log4cpp/CategoryStream.hh>
23362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23365 grep -v '^ *+' conftest.er1 >conftest.err
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } >/dev/null; then
23370 if test -s conftest.err; then
23371 ac_cpp_err=$ac_cxx_preproc_warn_flag
23372 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23379 if test -z "$ac_cpp_err"; then
23380 ac_header_preproc=yes
23382 echo "$as_me: failed program was:" >&5
23383 sed 's/^/| /' conftest.$ac_ext >&5
23385 ac_header_preproc=no
23387 rm -f conftest.err conftest.$ac_ext
23388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23389 echo "${ECHO_T}$ac_header_preproc" >&6
23391 # So? What about this header?
23392 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23394 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&5
23395 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&2;}
23396 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: proceeding with the compiler's result" >&5
23397 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: proceeding with the compiler's result" >&2;}
23398 ac_header_preproc=yes
23401 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: present but cannot be compiled" >&5
23402 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: present but cannot be compiled" >&2;}
23403 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: check for missing prerequisite headers?" >&5
23404 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: check for missing prerequisite headers?" >&2;}
23405 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: see the Autoconf documentation" >&5
23406 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: see the Autoconf documentation" >&2;}
23407 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&5
23408 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&2;}
23409 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: proceeding with the preprocessor's result" >&5
23410 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: proceeding with the preprocessor's result" >&2;}
23411 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: in the future, the compiler will take precedence" >&5
23412 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: in the future, the compiler will take precedence" >&2;}
23415 ## ------------------------------------------------ ##
23416 ## Report this to mace-opensaml-users@internet2.edu ##
23417 ## ------------------------------------------------ ##
23420 sed "s/^/$as_me: WARNING: /" >&2
23423 echo "$as_me:$LINENO: checking for log4cpp/CategoryStream.hh" >&5
23424 echo $ECHO_N "checking for log4cpp/CategoryStream.hh... $ECHO_C" >&6
23425 if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 ac_cv_header_log4cpp_CategoryStream_hh=$ac_header_preproc
23430 echo "$as_me:$LINENO: result: $ac_cv_header_log4cpp_CategoryStream_hh" >&5
23431 echo "${ECHO_T}$ac_cv_header_log4cpp_CategoryStream_hh" >&6
23434 if test $ac_cv_header_log4cpp_CategoryStream_hh = yes; then
23437 { { echo "$as_me:$LINENO: error: unable to find log4cpp header files" >&5
23438 echo "$as_me: error: unable to find log4cpp header files" >&2;}
23439 { (exit 1); exit 1; }; }
23443 cat >conftest.$ac_ext <<_ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23449 #include <log4cpp/Category.hh>
23450 #include <log4cpp/CategoryStream.hh>
23454 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
23459 rm -f conftest.$ac_objext conftest$ac_exeext
23460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23461 (eval $ac_link) 2>conftest.er1
23463 grep -v '^ *+' conftest.er1 >conftest.err
23465 cat conftest.err >&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } &&
23468 { ac_try='test -z "$ac_cxx_werror_flag"
23469 || test ! -s conftest.err'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; } &&
23475 { ac_try='test -s conftest$ac_exeext'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; }; then
23482 cat >>confdefs.h <<\_ACEOF
23483 #define XMLTOOLING_LOG4CPP 1
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23490 { { echo "$as_me:$LINENO: error: unable to link with log4cpp, need version 1.0 or later" >&5
23491 echo "$as_me: error: unable to link with log4cpp, need version 1.0 or later" >&2;}
23492 { (exit 1); exit 1; }; }
23494 rm -f conftest.err conftest.$ac_objext \
23495 conftest$ac_exeext conftest.$ac_ext
23497 { { echo "$as_me:$LINENO: error: log4cpp-config not found, may need to use --with-log4cpp option" >&5
23498 echo "$as_me: error: log4cpp-config not found, may need to use --with-log4cpp option" >&2;}
23499 { (exit 1); exit 1; }; }
23505 # Check whether --with-xerces or --without-xerces was given.
23506 if test "${with_xerces+set}" = set; then
23507 withval="$with_xerces"
23508 if test x_$with_xerces != x_/usr; then
23509 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
23510 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
23513 LIBS="-lxerces-c $LIBS"
23514 if test "${ac_cv_header_xercesc_dom_DOM_hpp+set}" = set; then
23515 echo "$as_me:$LINENO: checking for xercesc/dom/DOM.hpp" >&5
23516 echo $ECHO_N "checking for xercesc/dom/DOM.hpp... $ECHO_C" >&6
23517 if test "${ac_cv_header_xercesc_dom_DOM_hpp+set}" = set; then
23518 echo $ECHO_N "(cached) $ECHO_C" >&6
23520 echo "$as_me:$LINENO: result: $ac_cv_header_xercesc_dom_DOM_hpp" >&5
23521 echo "${ECHO_T}$ac_cv_header_xercesc_dom_DOM_hpp" >&6
23523 # Is the header compilable?
23524 echo "$as_me:$LINENO: checking xercesc/dom/DOM.hpp usability" >&5
23525 echo $ECHO_N "checking xercesc/dom/DOM.hpp usability... $ECHO_C" >&6
23526 cat >conftest.$ac_ext <<_ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 $ac_includes_default
23533 #include <xercesc/dom/DOM.hpp>
23535 rm -f conftest.$ac_objext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23537 (eval $ac_compile) 2>conftest.er1
23539 grep -v '^ *+' conftest.er1 >conftest.err
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try='test -z "$ac_cxx_werror_flag"
23545 || test ! -s conftest.err'
23546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23547 (eval $ac_try) 2>&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; } &&
23551 { ac_try='test -s conftest.$ac_objext'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; }; then
23557 ac_header_compiler=yes
23559 echo "$as_me: failed program was:" >&5
23560 sed 's/^/| /' conftest.$ac_ext >&5
23562 ac_header_compiler=no
23564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23566 echo "${ECHO_T}$ac_header_compiler" >&6
23568 # Is the header present?
23569 echo "$as_me:$LINENO: checking xercesc/dom/DOM.hpp presence" >&5
23570 echo $ECHO_N "checking xercesc/dom/DOM.hpp presence... $ECHO_C" >&6
23571 cat >conftest.$ac_ext <<_ACEOF
23574 cat confdefs.h >>conftest.$ac_ext
23575 cat >>conftest.$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 #include <xercesc/dom/DOM.hpp>
23579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23582 grep -v '^ *+' conftest.er1 >conftest.err
23584 cat conftest.err >&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } >/dev/null; then
23587 if test -s conftest.err; then
23588 ac_cpp_err=$ac_cxx_preproc_warn_flag
23589 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23596 if test -z "$ac_cpp_err"; then
23597 ac_header_preproc=yes
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23602 ac_header_preproc=no
23604 rm -f conftest.err conftest.$ac_ext
23605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23606 echo "${ECHO_T}$ac_header_preproc" >&6
23608 # So? What about this header?
23609 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23611 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
23612 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
23613 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: proceeding with the compiler's result" >&5
23614 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: proceeding with the compiler's result" >&2;}
23615 ac_header_preproc=yes
23618 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: present but cannot be compiled" >&5
23619 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: present but cannot be compiled" >&2;}
23620 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: check for missing prerequisite headers?" >&5
23621 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: check for missing prerequisite headers?" >&2;}
23622 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: see the Autoconf documentation" >&5
23623 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: see the Autoconf documentation" >&2;}
23624 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: section \"Present But Cannot Be Compiled\"" >&5
23625 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
23626 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: proceeding with the preprocessor's result" >&5
23627 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: proceeding with the preprocessor's result" >&2;}
23628 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: in the future, the compiler will take precedence" >&5
23629 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: in the future, the compiler will take precedence" >&2;}
23632 ## ------------------------------------------------ ##
23633 ## Report this to mace-opensaml-users@internet2.edu ##
23634 ## ------------------------------------------------ ##
23637 sed "s/^/$as_me: WARNING: /" >&2
23640 echo "$as_me:$LINENO: checking for xercesc/dom/DOM.hpp" >&5
23641 echo $ECHO_N "checking for xercesc/dom/DOM.hpp... $ECHO_C" >&6
23642 if test "${ac_cv_header_xercesc_dom_DOM_hpp+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 ac_cv_header_xercesc_dom_DOM_hpp=$ac_header_preproc
23647 echo "$as_me:$LINENO: result: $ac_cv_header_xercesc_dom_DOM_hpp" >&5
23648 echo "${ECHO_T}$ac_cv_header_xercesc_dom_DOM_hpp" >&6
23651 if test $ac_cv_header_xercesc_dom_DOM_hpp = yes; then
23654 { { echo "$as_me:$LINENO: error: unable to find xerces header files" >&5
23655 echo "$as_me: error: unable to find xerces header files" >&2;}
23656 { (exit 1); exit 1; }; }
23660 echo "$as_me:$LINENO: checking Xerces version" >&5
23661 echo $ECHO_N "checking Xerces version... $ECHO_C" >&6
23662 cat >conftest.$ac_ext <<_ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668 #include <xercesc/util/XercesVersion.hpp>
23672 #if _XERCES_VERSION != 20600
23675 #error cannot use version 2.6.0
23681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23684 grep -v '^ *+' conftest.er1 >conftest.err
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } >/dev/null; then
23689 if test -s conftest.err; then
23690 ac_cpp_err=$ac_cxx_preproc_warn_flag
23691 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23698 if test -z "$ac_cpp_err"; then
23699 echo "$as_me:$LINENO: result: OK" >&5
23700 echo "${ECHO_T}OK" >&6
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23705 { { echo "$as_me:$LINENO: error: Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
23706 See \`config.log' for more details." >&5
23707 echo "$as_me: error: Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
23708 See \`config.log' for more details." >&2;}
23709 { (exit 1); exit 1; }; }
23711 rm -f conftest.err conftest.$ac_ext
23712 cat >conftest.$ac_ext <<_ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 #include <xercesc/util/PlatformUtils.hpp>
23722 xercesc::XMLPlatformUtils::Initialize()
23727 rm -f conftest.$ac_objext conftest$ac_exeext
23728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23729 (eval $ac_link) 2>conftest.er1
23731 grep -v '^ *+' conftest.er1 >conftest.err
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } &&
23736 { ac_try='test -z "$ac_cxx_werror_flag"
23737 || test ! -s conftest.err'
23738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739 (eval $ac_try) 2>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; } &&
23743 { ac_try='test -s conftest$ac_exeext'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; }; then
23750 cat >>confdefs.h <<\_ACEOF
23751 #define HAVE_LIBXERCESC 1
23755 echo "$as_me: failed program was:" >&5
23756 sed 's/^/| /' conftest.$ac_ext >&5
23758 { { echo "$as_me:$LINENO: error: unable to link with Xerces" >&5
23759 echo "$as_me: error: unable to link with Xerces" >&2;}
23760 { (exit 1); exit 1; }; }
23762 rm -f conftest.err conftest.$ac_objext \
23763 conftest$ac_exeext conftest.$ac_ext
23765 echo "$as_me:$LINENO: checking whether Xerces is 64-bit clean" >&5
23766 echo $ECHO_N "checking whether Xerces is 64-bit clean... $ECHO_C" >&6
23767 cat >conftest.$ac_ext <<_ACEOF
23770 cat confdefs.h >>conftest.$ac_ext
23771 cat >>conftest.$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23773 #include <xercesc/framework/MemBufInputSource.hpp>
23777 using namespace XERCES_CPP_NAMESPACE;
23778 XMLFilePos testvar;
23784 rm -f conftest.$ac_objext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23786 (eval $ac_compile) 2>conftest.er1
23788 grep -v '^ *+' conftest.er1 >conftest.err
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -z "$ac_cxx_werror_flag"
23794 || test ! -s conftest.err'
23795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796 (eval $ac_try) 2>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; } &&
23800 { ac_try='test -s conftest.$ac_objext'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; }; then
23806 echo "$as_me:$LINENO: result: yes" >&5
23807 echo "${ECHO_T}yes" >&6
23809 cat >>confdefs.h <<\_ACEOF
23810 #define XMLTOOLING_XERCESC_64BITSAFE 1
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.$ac_ext >&5
23817 echo "$as_me:$LINENO: result: no" >&5
23818 echo "${ECHO_T}no" >&6
23820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23822 echo "$as_me:$LINENO: checking whether Xerces BinInputStream requires getContentType" >&5
23823 echo $ECHO_N "checking whether Xerces BinInputStream requires getContentType... $ECHO_C" >&6
23824 cat >conftest.$ac_ext <<_ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 #include <xercesc/util/BinMemInputStream.hpp>
23834 using namespace XERCES_CPP_NAMESPACE;
23836 BinMemInputStream in(buf,1024);
23837 in.getContentType();
23843 rm -f conftest.$ac_objext
23844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23845 (eval $ac_compile) 2>conftest.er1
23847 grep -v '^ *+' conftest.er1 >conftest.err
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } &&
23852 { ac_try='test -z "$ac_cxx_werror_flag"
23853 || test ! -s conftest.err'
23854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23855 (eval $ac_try) 2>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); }; } &&
23859 { ac_try='test -s conftest.$ac_objext'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; }; then
23865 echo "$as_me:$LINENO: result: yes" >&5
23866 echo "${ECHO_T}yes" >&6
23868 cat >>confdefs.h <<\_ACEOF
23869 #define XMLTOOLING_XERCESC_INPUTSTREAM_HAS_CONTENTTYPE 1
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.$ac_ext >&5
23876 echo "$as_me:$LINENO: result: no" >&5
23877 echo "${ECHO_T}no" >&6
23879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23881 echo "$as_me:$LINENO: checking whether Xerces DOMLS API is compliant" >&5
23882 echo $ECHO_N "checking whether Xerces DOMLS API is compliant... $ECHO_C" >&6
23883 cat >conftest.$ac_ext <<_ACEOF
23886 cat confdefs.h >>conftest.$ac_ext
23887 cat >>conftest.$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889 #include <xercesc/dom/DOM.hpp>
23893 using namespace XERCES_CPP_NAMESPACE;
23894 DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(NULL);
23895 DOMLSSerializer *ls = ((DOMImplementationLS*)impl)->createLSSerializer();
23901 rm -f conftest.$ac_objext
23902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23903 (eval $ac_compile) 2>conftest.er1
23905 grep -v '^ *+' conftest.er1 >conftest.err
23907 cat conftest.err >&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); } &&
23910 { ac_try='test -z "$ac_cxx_werror_flag"
23911 || test ! -s conftest.err'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; } &&
23917 { ac_try='test -s conftest.$ac_objext'
23918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23919 (eval $ac_try) 2>&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); }; }; then
23923 echo "$as_me:$LINENO: result: yes" >&5
23924 echo "${ECHO_T}yes" >&6
23926 cat >>confdefs.h <<\_ACEOF
23927 #define XMLTOOLING_XERCESC_COMPLIANT_DOMLS 1
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23934 echo "$as_me:$LINENO: result: no" >&5
23935 echo "${ECHO_T}no" >&6
23937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23939 echo "$as_me:$LINENO: checking whether Xerces has setIdAttribute(XMLCh*, bool)" >&5
23940 echo $ECHO_N "checking whether Xerces has setIdAttribute(XMLCh*, bool)... $ECHO_C" >&6
23941 cat >conftest.$ac_ext <<_ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947 #include <xercesc/dom/DOM.hpp>
23951 using namespace XERCES_CPP_NAMESPACE;
23953 elt->setIdAttribute(NULL, false);
23959 rm -f conftest.$ac_objext
23960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23961 (eval $ac_compile) 2>conftest.er1
23963 grep -v '^ *+' conftest.er1 >conftest.err
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } &&
23968 { ac_try='test -z "$ac_cxx_werror_flag"
23969 || test ! -s conftest.err'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; } &&
23975 { ac_try='test -s conftest.$ac_objext'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23981 echo "$as_me:$LINENO: result: yes" >&5
23982 echo "${ECHO_T}yes" >&6
23984 cat >>confdefs.h <<\_ACEOF
23985 #define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE 1
23989 echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.$ac_ext >&5
23992 echo "$as_me:$LINENO: result: no" >&5
23993 echo "${ECHO_T}no" >&6
23995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23997 # XML-Security settings
23999 # Check whether --with-xmlsec or --without-xmlsec was given.
24000 if test "${with_xmlsec+set}" = set; then
24001 withval="$with_xmlsec"
24007 if test x_$with_xmlsec != x_no; then
24009 # OpenSSL settings (need to do this first in case it's in a different spot from xmlsec)
24011 # Check whether --with-openssl or --without-openssl was given.
24012 if test "${with_openssl+set}" = set; then
24013 withval="$with_openssl"
24014 if test x_$with_openssl != x_/usr; then
24015 SSLFLAGS="-I${with_openssl}/include"
24016 SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
24018 SSLLIBS="-lcrypto -lssl"
24022 if test "x$SSLLIBS" = "x" ; then
24023 # Extract the first word of "pkg-config", so it can be a program name with args.
24024 set dummy pkg-config; ac_word=$2
24025 echo "$as_me:$LINENO: checking for $ac_word" >&5
24026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24028 echo $ECHO_N "(cached) $ECHO_C" >&6
24030 case $PKG_CONFIG in
24032 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24036 for as_dir in $PATH
24039 test -z "$as_dir" && as_dir=.
24040 for ac_exec_ext in '' $ac_executable_extensions; do
24041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24042 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24052 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24054 if test -n "$PKG_CONFIG"; then
24055 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24056 echo "${ECHO_T}$PKG_CONFIG" >&6
24058 echo "$as_me:$LINENO: result: no" >&5
24059 echo "${ECHO_T}no" >&6
24062 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
24063 if pkg-config openssl ; then
24064 SSLLIBS="`$PKG_CONFIG --libs openssl`"
24065 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
24067 { { echo "$as_me:$LINENO: error: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
24068 echo "$as_me: error: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
24069 { (exit 1); exit 1; }; }
24074 if test "x$SSLLIBS" = "x" ; then
24075 SSLLIBS="-lcrypto -lssl"
24078 echo "$as_me:$LINENO: checking for OpenSSL cflags" >&5
24079 echo $ECHO_N "checking for OpenSSL cflags... $ECHO_C" >&6
24080 echo "$as_me:$LINENO: result: $SSLFLAGS" >&5
24081 echo "${ECHO_T}$SSLFLAGS" >&6
24082 CPPFLAGS="$CPPFLAGS $SSLFLAGS"
24083 echo "$as_me:$LINENO: checking for OpenSSL libraries" >&5
24084 echo $ECHO_N "checking for OpenSSL libraries... $ECHO_C" >&6
24085 echo "$as_me:$LINENO: result: $SSLLIBS" >&5
24086 echo "${ECHO_T}$SSLLIBS" >&6
24087 XMLSEC_LIBS="$XMLSEC_LIBS $SSLLIBS"
24089 # save and append master libs
24091 LIBS="$XMLSEC_LIBS $LIBS"
24093 if test "${ac_cv_header_openssl_pem_h+set}" = set; then
24094 echo "$as_me:$LINENO: checking for openssl/pem.h" >&5
24095 echo $ECHO_N "checking for openssl/pem.h... $ECHO_C" >&6
24096 if test "${ac_cv_header_openssl_pem_h+set}" = set; then
24097 echo $ECHO_N "(cached) $ECHO_C" >&6
24099 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_pem_h" >&5
24100 echo "${ECHO_T}$ac_cv_header_openssl_pem_h" >&6
24102 # Is the header compilable?
24103 echo "$as_me:$LINENO: checking openssl/pem.h usability" >&5
24104 echo $ECHO_N "checking openssl/pem.h usability... $ECHO_C" >&6
24105 cat >conftest.$ac_ext <<_ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 $ac_includes_default
24112 #include <openssl/pem.h>
24114 rm -f conftest.$ac_objext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24116 (eval $ac_compile) 2>conftest.er1
24118 grep -v '^ *+' conftest.er1 >conftest.err
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try='test -z "$ac_cxx_werror_flag"
24124 || test ! -s conftest.err'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; } &&
24130 { ac_try='test -s conftest.$ac_objext'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; }; then
24136 ac_header_compiler=yes
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.$ac_ext >&5
24141 ac_header_compiler=no
24143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24145 echo "${ECHO_T}$ac_header_compiler" >&6
24147 # Is the header present?
24148 echo "$as_me:$LINENO: checking openssl/pem.h presence" >&5
24149 echo $ECHO_N "checking openssl/pem.h presence... $ECHO_C" >&6
24150 cat >conftest.$ac_ext <<_ACEOF
24153 cat confdefs.h >>conftest.$ac_ext
24154 cat >>conftest.$ac_ext <<_ACEOF
24155 /* end confdefs.h. */
24156 #include <openssl/pem.h>
24158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24161 grep -v '^ *+' conftest.er1 >conftest.err
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } >/dev/null; then
24166 if test -s conftest.err; then
24167 ac_cpp_err=$ac_cxx_preproc_warn_flag
24168 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24175 if test -z "$ac_cpp_err"; then
24176 ac_header_preproc=yes
24178 echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24181 ac_header_preproc=no
24183 rm -f conftest.err conftest.$ac_ext
24184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24185 echo "${ECHO_T}$ac_header_preproc" >&6
24187 # So? What about this header?
24188 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24190 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: accepted by the compiler, rejected by the preprocessor!" >&5
24191 echo "$as_me: WARNING: openssl/pem.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24192 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: proceeding with the compiler's result" >&5
24193 echo "$as_me: WARNING: openssl/pem.h: proceeding with the compiler's result" >&2;}
24194 ac_header_preproc=yes
24197 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: present but cannot be compiled" >&5
24198 echo "$as_me: WARNING: openssl/pem.h: present but cannot be compiled" >&2;}
24199 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: check for missing prerequisite headers?" >&5
24200 echo "$as_me: WARNING: openssl/pem.h: check for missing prerequisite headers?" >&2;}
24201 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: see the Autoconf documentation" >&5
24202 echo "$as_me: WARNING: openssl/pem.h: see the Autoconf documentation" >&2;}
24203 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: section \"Present But Cannot Be Compiled\"" >&5
24204 echo "$as_me: WARNING: openssl/pem.h: section \"Present But Cannot Be Compiled\"" >&2;}
24205 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: proceeding with the preprocessor's result" >&5
24206 echo "$as_me: WARNING: openssl/pem.h: proceeding with the preprocessor's result" >&2;}
24207 { echo "$as_me:$LINENO: WARNING: openssl/pem.h: in the future, the compiler will take precedence" >&5
24208 echo "$as_me: WARNING: openssl/pem.h: in the future, the compiler will take precedence" >&2;}
24211 ## ------------------------------------------------ ##
24212 ## Report this to mace-opensaml-users@internet2.edu ##
24213 ## ------------------------------------------------ ##
24216 sed "s/^/$as_me: WARNING: /" >&2
24219 echo "$as_me:$LINENO: checking for openssl/pem.h" >&5
24220 echo $ECHO_N "checking for openssl/pem.h... $ECHO_C" >&6
24221 if test "${ac_cv_header_openssl_pem_h+set}" = set; then
24222 echo $ECHO_N "(cached) $ECHO_C" >&6
24224 ac_cv_header_openssl_pem_h=$ac_header_preproc
24226 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_pem_h" >&5
24227 echo "${ECHO_T}$ac_cv_header_openssl_pem_h" >&6
24230 if test $ac_cv_header_openssl_pem_h = yes; then
24233 { { echo "$as_me:$LINENO: error: unable to find openssl header files" >&5
24234 echo "$as_me: error: unable to find openssl header files" >&2;}
24235 { (exit 1); exit 1; }; }
24239 echo "$as_me:$LINENO: checking for ERR_load_CRYPTO_string" >&5
24240 echo $ECHO_N "checking for ERR_load_CRYPTO_string... $ECHO_C" >&6
24241 cat >conftest.$ac_ext <<_ACEOF
24244 cat confdefs.h >>conftest.$ac_ext
24245 cat >>conftest.$ac_ext <<_ACEOF
24246 /* end confdefs.h. */
24248 /* Override any gcc2 internal prototype to avoid an error. */
24252 /* We use char because int might match the return type of a gcc2
24253 builtin and then its argument prototype would still apply. */
24254 char ERR_load_CRYPTO_strings ();
24258 ERR_load_CRYPTO_strings ();
24263 rm -f conftest.$ac_objext conftest$ac_exeext
24264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24265 (eval $ac_link) 2>conftest.er1
24267 grep -v '^ *+' conftest.er1 >conftest.err
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } &&
24272 { ac_try='test -z "$ac_cxx_werror_flag"
24273 || test ! -s conftest.err'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; } &&
24279 { ac_try='test -s conftest$ac_exeext'
24280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24281 (eval $ac_try) 2>&5
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); }; }; then
24287 echo "$as_me: failed program was:" >&5
24288 sed 's/^/| /' conftest.$ac_ext >&5
24290 { { echo "$as_me:$LINENO: error: unable to link with openssl libraries" >&5
24291 echo "$as_me: error: unable to link with openssl libraries" >&2;}
24292 { (exit 1); exit 1; }; }
24294 rm -f conftest.err conftest.$ac_objext \
24295 conftest$ac_exeext conftest.$ac_ext
24296 echo "$as_me:$LINENO: result: yes" >&5
24297 echo "${ECHO_T}yes" >&6
24299 # restore master libs
24302 if test x_$with_xmlsec != x_/usr; then
24303 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
24304 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
24306 XMLSEC_LIBS="$XMLSEC_LIBS -lxml-security-c"
24308 # save and append master libs
24310 LIBS="$XMLSEC_LIBS $LIBS"
24312 if test "${ac_cv_header_xsec_utils_XSECPlatformUtils_hpp+set}" = set; then
24313 echo "$as_me:$LINENO: checking for xsec/utils/XSECPlatformUtils.hpp" >&5
24314 echo $ECHO_N "checking for xsec/utils/XSECPlatformUtils.hpp... $ECHO_C" >&6
24315 if test "${ac_cv_header_xsec_utils_XSECPlatformUtils_hpp+set}" = set; then
24316 echo $ECHO_N "(cached) $ECHO_C" >&6
24318 echo "$as_me:$LINENO: result: $ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&5
24319 echo "${ECHO_T}$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&6
24321 # Is the header compilable?
24322 echo "$as_me:$LINENO: checking xsec/utils/XSECPlatformUtils.hpp usability" >&5
24323 echo $ECHO_N "checking xsec/utils/XSECPlatformUtils.hpp usability... $ECHO_C" >&6
24324 cat >conftest.$ac_ext <<_ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 #include <xsec/utils/XSECPlatformUtils.hpp>
24333 rm -f conftest.$ac_objext
24334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24335 (eval $ac_compile) 2>conftest.er1
24337 grep -v '^ *+' conftest.er1 >conftest.err
24339 cat conftest.err >&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); } &&
24342 { ac_try='test -z "$ac_cxx_werror_flag"
24343 || test ! -s conftest.err'
24344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24345 (eval $ac_try) 2>&5
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); }; } &&
24349 { ac_try='test -s conftest.$ac_objext'
24350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24351 (eval $ac_try) 2>&5
24353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354 (exit $ac_status); }; }; then
24355 ac_header_compiler=yes
24357 echo "$as_me: failed program was:" >&5
24358 sed 's/^/| /' conftest.$ac_ext >&5
24360 ac_header_compiler=no
24362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24364 echo "${ECHO_T}$ac_header_compiler" >&6
24366 # Is the header present?
24367 echo "$as_me:$LINENO: checking xsec/utils/XSECPlatformUtils.hpp presence" >&5
24368 echo $ECHO_N "checking xsec/utils/XSECPlatformUtils.hpp presence... $ECHO_C" >&6
24369 cat >conftest.$ac_ext <<_ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 #include <xsec/utils/XSECPlatformUtils.hpp>
24377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24380 grep -v '^ *+' conftest.er1 >conftest.err
24382 cat conftest.err >&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } >/dev/null; then
24385 if test -s conftest.err; then
24386 ac_cpp_err=$ac_cxx_preproc_warn_flag
24387 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24394 if test -z "$ac_cpp_err"; then
24395 ac_header_preproc=yes
24397 echo "$as_me: failed program was:" >&5
24398 sed 's/^/| /' conftest.$ac_ext >&5
24400 ac_header_preproc=no
24402 rm -f conftest.err conftest.$ac_ext
24403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24404 echo "${ECHO_T}$ac_header_preproc" >&6
24406 # So? What about this header?
24407 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24409 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
24410 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
24411 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the compiler's result" >&5
24412 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the compiler's result" >&2;}
24413 ac_header_preproc=yes
24416 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: present but cannot be compiled" >&5
24417 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: present but cannot be compiled" >&2;}
24418 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: check for missing prerequisite headers?" >&5
24419 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: check for missing prerequisite headers?" >&2;}
24420 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: see the Autoconf documentation" >&5
24421 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: see the Autoconf documentation" >&2;}
24422 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: section \"Present But Cannot Be Compiled\"" >&5
24423 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
24424 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the preprocessor's result" >&5
24425 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the preprocessor's result" >&2;}
24426 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: in the future, the compiler will take precedence" >&5
24427 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: in the future, the compiler will take precedence" >&2;}
24430 ## ------------------------------------------------ ##
24431 ## Report this to mace-opensaml-users@internet2.edu ##
24432 ## ------------------------------------------------ ##
24435 sed "s/^/$as_me: WARNING: /" >&2
24438 echo "$as_me:$LINENO: checking for xsec/utils/XSECPlatformUtils.hpp" >&5
24439 echo $ECHO_N "checking for xsec/utils/XSECPlatformUtils.hpp... $ECHO_C" >&6
24440 if test "${ac_cv_header_xsec_utils_XSECPlatformUtils_hpp+set}" = set; then
24441 echo $ECHO_N "(cached) $ECHO_C" >&6
24443 ac_cv_header_xsec_utils_XSECPlatformUtils_hpp=$ac_header_preproc
24445 echo "$as_me:$LINENO: result: $ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&5
24446 echo "${ECHO_T}$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&6
24449 if test $ac_cv_header_xsec_utils_XSECPlatformUtils_hpp = yes; then
24452 { { echo "$as_me:$LINENO: error: unable to find XML-Security header files" >&5
24453 echo "$as_me: error: unable to find XML-Security header files" >&2;}
24454 { (exit 1); exit 1; }; }
24458 echo "$as_me:$LINENO: checking XML-Security version" >&5
24459 echo $ECHO_N "checking XML-Security version... $ECHO_C" >&6
24460 cat >conftest.$ac_ext <<_ACEOF
24463 cat confdefs.h >>conftest.$ac_ext
24464 cat >>conftest.$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24466 #include <xsec/utils/XSECPlatformUtils.hpp>
24470 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
24473 #error need version 1.4.0 or later
24479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24482 grep -v '^ *+' conftest.er1 >conftest.err
24484 cat conftest.err >&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); } >/dev/null; then
24487 if test -s conftest.err; then
24488 ac_cpp_err=$ac_cxx_preproc_warn_flag
24489 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24496 if test -z "$ac_cpp_err"; then
24497 echo "$as_me:$LINENO: result: OK" >&5
24498 echo "${ECHO_T}OK" >&6
24500 echo "$as_me: failed program was:" >&5
24501 sed 's/^/| /' conftest.$ac_ext >&5
24503 { { echo "$as_me:$LINENO: error: XML-Security version 1.4.0 or greater is required.
24504 See \`config.log' for more details." >&5
24505 echo "$as_me: error: XML-Security version 1.4.0 or greater is required.
24506 See \`config.log' for more details." >&2;}
24507 { (exit 1); exit 1; }; }
24509 rm -f conftest.err conftest.$ac_ext
24510 cat >conftest.$ac_ext <<_ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 #include <xsec/utils/XSECPlatformUtils.hpp>
24520 XSECPlatformUtils::Initialise()
24525 rm -f conftest.$ac_objext conftest$ac_exeext
24526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24527 (eval $ac_link) 2>conftest.er1
24529 grep -v '^ *+' conftest.er1 >conftest.err
24531 cat conftest.err >&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try='test -z "$ac_cxx_werror_flag"
24535 || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24552 { { echo "$as_me:$LINENO: error: unable to link with XML-Security" >&5
24553 echo "$as_me: error: unable to link with XML-Security" >&2;}
24554 { (exit 1); exit 1; }; }
24556 rm -f conftest.err conftest.$ac_objext \
24557 conftest$ac_exeext conftest.$ac_ext
24558 echo "$as_me:$LINENO: checking for xsecsize_t" >&5
24559 echo $ECHO_N "checking for xsecsize_t... $ECHO_C" >&6
24560 if test "${ac_cv_type_xsecsize_t+set}" = set; then
24561 echo $ECHO_N "(cached) $ECHO_C" >&6
24563 cat >conftest.$ac_ext <<_ACEOF
24566 cat confdefs.h >>conftest.$ac_ext
24567 cat >>conftest.$ac_ext <<_ACEOF
24568 /* end confdefs.h. */
24569 $ac_includes_default
24573 if ((xsecsize_t *) 0)
24575 if (sizeof (xsecsize_t))
24581 rm -f conftest.$ac_objext
24582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24583 (eval $ac_compile) 2>conftest.er1
24585 grep -v '^ *+' conftest.er1 >conftest.err
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } &&
24590 { ac_try='test -z "$ac_cxx_werror_flag"
24591 || test ! -s conftest.err'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; } &&
24597 { ac_try='test -s conftest.$ac_objext'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_type_xsecsize_t=yes
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.$ac_ext >&5
24608 ac_cv_type_xsecsize_t=no
24610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24612 echo "$as_me:$LINENO: result: $ac_cv_type_xsecsize_t" >&5
24613 echo "${ECHO_T}$ac_cv_type_xsecsize_t" >&6
24614 if test $ac_cv_type_xsecsize_t = yes; then
24616 cat >>confdefs.h <<\_ACEOF
24617 #define HAVE_XSECSIZE_T 1
24623 # restore master libs
24627 # Extract the first word of "curl-config", so it can be a program name with args.
24628 set dummy curl-config; ac_word=$2
24629 echo "$as_me:$LINENO: checking for $ac_word" >&5
24630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24631 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then
24632 echo $ECHO_N "(cached) $ECHO_C" >&6
24634 case $CURL_CONFIG in
24636 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
24639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24640 for as_dir in $PATH
24643 test -z "$as_dir" && as_dir=.
24644 for ac_exec_ext in '' $ac_executable_extensions; do
24645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24646 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24656 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
24658 if test -n "$CURL_CONFIG"; then
24659 echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
24660 echo "${ECHO_T}$CURL_CONFIG" >&6
24662 echo "$as_me:$LINENO: result: no" >&5
24663 echo "${ECHO_T}no" >&6
24667 # Check whether --with-curl or --without-curl was given.
24668 if test "${with_curl+set}" = set; then
24669 withval="$with_curl"
24671 CURL_CONFIG="${with_curl}"
24672 if ! test -f "${CURL_CONFIG}" ; then
24673 CURL_CONFIG="${with_curl}/bin/curl-config"
24677 if test -f "${CURL_CONFIG}" ; then
24678 CPPFLAGS="`${CURL_CONFIG} --cflags` $CPPFLAGS"
24679 XMLSEC_LIBS="`${CURL_CONFIG} --libs` $XMLSEC_LIBS"
24681 { { echo "$as_me:$LINENO: error: curl-config not found, may need to use --with-curl option" >&5
24682 echo "$as_me: error: curl-config not found, may need to use --with-curl option" >&2;}
24683 { (exit 1); exit 1; }; }
24686 # save and append master libs
24688 LIBS="$XMLSEC_LIBS $LIBS"
24690 if test "${ac_cv_header_curl_curl_h+set}" = set; then
24691 echo "$as_me:$LINENO: checking for curl/curl.h" >&5
24692 echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6
24693 if test "${ac_cv_header_curl_curl_h+set}" = set; then
24694 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
24697 echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6
24699 # Is the header compilable?
24700 echo "$as_me:$LINENO: checking curl/curl.h usability" >&5
24701 echo $ECHO_N "checking curl/curl.h usability... $ECHO_C" >&6
24702 cat >conftest.$ac_ext <<_ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 $ac_includes_default
24709 #include <curl/curl.h>
24711 rm -f conftest.$ac_objext
24712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24713 (eval $ac_compile) 2>conftest.er1
24715 grep -v '^ *+' conftest.er1 >conftest.err
24717 cat conftest.err >&5
24718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719 (exit $ac_status); } &&
24720 { ac_try='test -z "$ac_cxx_werror_flag"
24721 || test ! -s conftest.err'
24722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24723 (eval $ac_try) 2>&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); }; } &&
24727 { ac_try='test -s conftest.$ac_objext'
24728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24729 (eval $ac_try) 2>&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); }; }; then
24733 ac_header_compiler=yes
24735 echo "$as_me: failed program was:" >&5
24736 sed 's/^/| /' conftest.$ac_ext >&5
24738 ac_header_compiler=no
24740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24742 echo "${ECHO_T}$ac_header_compiler" >&6
24744 # Is the header present?
24745 echo "$as_me:$LINENO: checking curl/curl.h presence" >&5
24746 echo $ECHO_N "checking curl/curl.h presence... $ECHO_C" >&6
24747 cat >conftest.$ac_ext <<_ACEOF
24750 cat confdefs.h >>conftest.$ac_ext
24751 cat >>conftest.$ac_ext <<_ACEOF
24752 /* end confdefs.h. */
24753 #include <curl/curl.h>
24755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24758 grep -v '^ *+' conftest.er1 >conftest.err
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } >/dev/null; then
24763 if test -s conftest.err; then
24764 ac_cpp_err=$ac_cxx_preproc_warn_flag
24765 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24772 if test -z "$ac_cpp_err"; then
24773 ac_header_preproc=yes
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24778 ac_header_preproc=no
24780 rm -f conftest.err conftest.$ac_ext
24781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24782 echo "${ECHO_T}$ac_header_preproc" >&6
24784 # So? What about this header?
24785 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24787 { echo "$as_me:$LINENO: WARNING: curl/curl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24788 echo "$as_me: WARNING: curl/curl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24789 { echo "$as_me:$LINENO: WARNING: curl/curl.h: proceeding with the compiler's result" >&5
24790 echo "$as_me: WARNING: curl/curl.h: proceeding with the compiler's result" >&2;}
24791 ac_header_preproc=yes
24794 { echo "$as_me:$LINENO: WARNING: curl/curl.h: present but cannot be compiled" >&5
24795 echo "$as_me: WARNING: curl/curl.h: present but cannot be compiled" >&2;}
24796 { echo "$as_me:$LINENO: WARNING: curl/curl.h: check for missing prerequisite headers?" >&5
24797 echo "$as_me: WARNING: curl/curl.h: check for missing prerequisite headers?" >&2;}
24798 { echo "$as_me:$LINENO: WARNING: curl/curl.h: see the Autoconf documentation" >&5
24799 echo "$as_me: WARNING: curl/curl.h: see the Autoconf documentation" >&2;}
24800 { echo "$as_me:$LINENO: WARNING: curl/curl.h: section \"Present But Cannot Be Compiled\"" >&5
24801 echo "$as_me: WARNING: curl/curl.h: section \"Present But Cannot Be Compiled\"" >&2;}
24802 { echo "$as_me:$LINENO: WARNING: curl/curl.h: proceeding with the preprocessor's result" >&5
24803 echo "$as_me: WARNING: curl/curl.h: proceeding with the preprocessor's result" >&2;}
24804 { echo "$as_me:$LINENO: WARNING: curl/curl.h: in the future, the compiler will take precedence" >&5
24805 echo "$as_me: WARNING: curl/curl.h: in the future, the compiler will take precedence" >&2;}
24808 ## ------------------------------------------------ ##
24809 ## Report this to mace-opensaml-users@internet2.edu ##
24810 ## ------------------------------------------------ ##
24813 sed "s/^/$as_me: WARNING: /" >&2
24816 echo "$as_me:$LINENO: checking for curl/curl.h" >&5
24817 echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6
24818 if test "${ac_cv_header_curl_curl_h+set}" = set; then
24819 echo $ECHO_N "(cached) $ECHO_C" >&6
24821 ac_cv_header_curl_curl_h=$ac_header_preproc
24823 echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
24824 echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6
24827 if test $ac_cv_header_curl_curl_h = yes; then
24830 { { echo "$as_me:$LINENO: error: unable to find libcurl header files" >&5
24831 echo "$as_me: error: unable to find libcurl header files" >&2;}
24832 { (exit 1); exit 1; }; }
24837 echo "$as_me:$LINENO: checking for curl_global_init in -lcurl" >&5
24838 echo $ECHO_N "checking for curl_global_init in -lcurl... $ECHO_C" >&6
24839 if test "${ac_cv_lib_curl_curl_global_init+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 ac_check_lib_save_LIBS=$LIBS
24843 LIBS="-lcurl $LIBS"
24844 cat >conftest.$ac_ext <<_ACEOF
24847 cat confdefs.h >>conftest.$ac_ext
24848 cat >>conftest.$ac_ext <<_ACEOF
24849 /* end confdefs.h. */
24851 /* Override any gcc2 internal prototype to avoid an error. */
24855 /* We use char because int might match the return type of a gcc2
24856 builtin and then its argument prototype would still apply. */
24857 char curl_global_init ();
24861 curl_global_init ();
24866 rm -f conftest.$ac_objext conftest$ac_exeext
24867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24868 (eval $ac_link) 2>conftest.er1
24870 grep -v '^ *+' conftest.er1 >conftest.err
24872 cat conftest.err >&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); } &&
24875 { ac_try='test -z "$ac_cxx_werror_flag"
24876 || test ! -s conftest.err'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; } &&
24882 { ac_try='test -s conftest$ac_exeext'
24883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24884 (eval $ac_try) 2>&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); }; }; then
24888 ac_cv_lib_curl_curl_global_init=yes
24890 echo "$as_me: failed program was:" >&5
24891 sed 's/^/| /' conftest.$ac_ext >&5
24893 ac_cv_lib_curl_curl_global_init=no
24895 rm -f conftest.err conftest.$ac_objext \
24896 conftest$ac_exeext conftest.$ac_ext
24897 LIBS=$ac_check_lib_save_LIBS
24899 echo "$as_me:$LINENO: result: $ac_cv_lib_curl_curl_global_init" >&5
24900 echo "${ECHO_T}$ac_cv_lib_curl_curl_global_init" >&6
24901 if test $ac_cv_lib_curl_curl_global_init = yes; then
24902 cat >>confdefs.h <<_ACEOF
24903 #define HAVE_LIBCURL 1
24906 LIBS="-lcurl $LIBS"
24909 { { echo "$as_me:$LINENO: error: unable to link with libcurl" >&5
24910 echo "$as_me: error: unable to link with libcurl" >&2;}
24911 { (exit 1); exit 1; }; }
24914 echo "$as_me:$LINENO: checking for CURLOPT_SSL_CTX_FUNCTION in curl.h" >&5
24915 echo $ECHO_N "checking for CURLOPT_SSL_CTX_FUNCTION in curl.h... $ECHO_C" >&6
24916 cat >conftest.$ac_ext <<_ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922 #include <curl/curl.h>
24925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24926 $EGREP "CURLOPT_SSL_CTX_FUNCTION" >/dev/null 2>&1; then
24927 echo "$as_me:$LINENO: result: yes" >&5
24928 echo "${ECHO_T}yes" >&6
24930 { { echo "$as_me:$LINENO: error: need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" >&5
24931 echo "$as_me: error: need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" >&2;}
24932 { (exit 1); exit 1; }; }
24936 echo "$as_me:$LINENO: checking for curl_off_t" >&5
24937 echo $ECHO_N "checking for curl_off_t... $ECHO_C" >&6
24938 if test "${ac_cv_type_curl_off_t+set}" = set; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24941 cat >conftest.$ac_ext <<_ACEOF
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 $ac_includes_default
24951 if ((curl_off_t *) 0)
24953 if (sizeof (curl_off_t))
24959 rm -f conftest.$ac_objext
24960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24961 (eval $ac_compile) 2>conftest.er1
24963 grep -v '^ *+' conftest.er1 >conftest.err
24965 cat conftest.err >&5
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); } &&
24968 { ac_try='test -z "$ac_cxx_werror_flag"
24969 || test ! -s conftest.err'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; } &&
24975 { ac_try='test -s conftest.$ac_objext'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24981 ac_cv_type_curl_off_t=yes
24983 echo "$as_me: failed program was:" >&5
24984 sed 's/^/| /' conftest.$ac_ext >&5
24986 ac_cv_type_curl_off_t=no
24988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24990 echo "$as_me:$LINENO: result: $ac_cv_type_curl_off_t" >&5
24991 echo "${ECHO_T}$ac_cv_type_curl_off_t" >&6
24992 if test $ac_cv_type_curl_off_t = yes; then
24994 cat >>confdefs.h <<\_ACEOF
24995 #define HAVE_CURL_OFF_T 1
25001 # restore master libs
25006 { echo "$as_me:$LINENO: WARNING: xmlsec disabled, building without signature/encryption support" >&5
25007 echo "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
25009 cat >>confdefs.h <<\_ACEOF
25010 #define XMLTOOLING_NO_XMLSEC 1
25016 if test x_$with_xmlsec != x_no; then
25018 BUILD_XMLSEC_FALSE='#'
25020 BUILD_XMLSEC_TRUE='#'
25021 BUILD_XMLSEC_FALSE=
25025 # Does the STL in use help or screw us?
25026 cat >conftest.$ac_ext <<_ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25036 std::basic_string<unsigned short> foo; foo=foo+(unsigned short)65
25041 rm -f conftest.$ac_objext conftest$ac_exeext
25042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25043 (eval $ac_link) 2>conftest.er1
25045 grep -v '^ *+' conftest.er1 >conftest.err
25047 cat conftest.err >&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } &&
25050 { ac_try='test -z "$ac_cxx_werror_flag"
25051 || test ! -s conftest.err'
25052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25053 (eval $ac_try) 2>&5
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 (exit $ac_status); }; } &&
25057 { ac_try='test -s conftest$ac_exeext'
25058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059 (eval $ac_try) 2>&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; }; then
25064 cat >>confdefs.h <<\_ACEOF
25065 #define HAVE_GOOD_STL 1
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.$ac_ext >&5
25073 rm -f conftest.err conftest.$ac_objext \
25074 conftest$ac_exeext conftest.$ac_ext
25075 cat >conftest.$ac_ext <<_ACEOF
25078 cat confdefs.h >>conftest.$ac_ext
25079 cat >>conftest.$ac_ext <<_ACEOF
25080 /* end confdefs.h. */
25085 std::iterator_traits<std::vector<int>::iterator>::value_type foo=0
25090 rm -f conftest.$ac_objext conftest$ac_exeext
25091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25092 (eval $ac_link) 2>conftest.er1
25094 grep -v '^ *+' conftest.er1 >conftest.err
25096 cat conftest.err >&5
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); } &&
25099 { ac_try='test -z "$ac_cxx_werror_flag"
25100 || test ! -s conftest.err'
25101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25102 (eval $ac_try) 2>&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); }; } &&
25106 { ac_try='test -s conftest$ac_exeext'
25107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108 (eval $ac_try) 2>&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); }; }; then
25113 cat >>confdefs.h <<\_ACEOF
25114 #define HAVE_ITERATOR_TRAITS 1
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.$ac_ext >&5
25122 rm -f conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25125 # Check for unit test support
25126 CXXTEST="/usr/bin/cxxtestgen.pl"
25129 # Check whether --with-cxxtest or --without-cxxtest was given.
25130 if test "${with_cxxtest+set}" = set; then
25131 withval="$with_cxxtest"
25132 if test x_$with_cxxtest != x_/usr; then
25133 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
25134 CXXTESTFLAGS="-I${with_cxxtest}"
25137 if ! test -f "${CXXTEST}"; then
25138 { echo "$as_me:$LINENO: WARNING: cxxtestgen not found, won't build unit tests" >&5
25139 echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
25146 if test -f ${CXXTEST}; then
25147 BUILD_UNITTEST_TRUE=
25148 BUILD_UNITTEST_FALSE='#'
25150 BUILD_UNITTEST_TRUE='#'
25151 BUILD_UNITTEST_FALSE=
25155 LIBTOOL="$LIBTOOL --silent"
25157 # output packaging and makefiles
25158 ac_config_files="$ac_config_files xmltooling.spec pkginfo Portfile"
25160 ac_config_files="$ac_config_files Makefile xmltooling/Makefile xmltoolingtest/Makefile schemas/Makefile doc/Makefile"
25162 cat >confcache <<\_ACEOF
25163 # This file is a shell script that caches the results of configure
25164 # tests run on this system so they can be shared between configure
25165 # scripts and configure runs, see configure's option --config-cache.
25166 # It is not useful on other systems. If it contains results you don't
25167 # want to keep, you may remove or edit it.
25169 # config.status only pays attention to the cache file if you give it
25170 # the --recheck option to rerun configure.
25172 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25173 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25174 # following values.
25178 # The following way of writing the cache mishandles newlines in values,
25179 # but we know of no workaround that is simple, portable, and efficient.
25180 # So, don't put newlines in cache variables' values.
25181 # Ultrix sh set writes to stderr and can't be redirected directly,
25182 # and sets the high bit in the cache file unless we assign to the vars.
25185 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25187 # `set' does not quote correctly, so add quotes (double-quote
25188 # substitution turns \\\\ into \\, and sed turns \\ into \).
25191 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25194 # `set' quotes correctly as required by POSIX, so do not add quotes.
25196 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25205 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25207 if diff $cache_file confcache >/dev/null 2>&1; then :; else
25208 if test -w $cache_file; then
25209 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25210 cat confcache >$cache_file
25212 echo "not updating unwritable cache $cache_file"
25217 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25218 # Let make expand exec_prefix.
25219 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25221 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25222 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25223 # trailing colons and then remove the whole line if VPATH becomes empty
25224 # (actually we leave an empty line to preserve line numbers).
25225 if test "x$srcdir" = x.; then
25226 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25227 s/:*\$(srcdir):*/:/;
25228 s/:*\${srcdir}:*/:/;
25230 s/^\([^=]*=[ ]*\):*/\1/;
25236 DEFS=-DHAVE_CONFIG_H
25240 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25241 # 1. Remove the extension, and $U if already installed.
25242 ac_i=`echo "$ac_i" |
25243 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25245 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
25246 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
25248 LIBOBJS=$ac_libobjs
25250 LTLIBOBJS=$ac_ltlibobjs
25253 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
25254 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
25255 Usually this means the macro was only invoked conditionally." >&5
25256 echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
25257 Usually this means the macro was only invoked conditionally." >&2;}
25258 { (exit 1); exit 1; }; }
25260 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
25261 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
25262 Usually this means the macro was only invoked conditionally." >&5
25263 echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
25264 Usually this means the macro was only invoked conditionally." >&2;}
25265 { (exit 1); exit 1; }; }
25267 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
25268 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
25269 Usually this means the macro was only invoked conditionally." >&5
25270 echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
25271 Usually this means the macro was only invoked conditionally." >&2;}
25272 { (exit 1); exit 1; }; }
25274 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
25275 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
25276 Usually this means the macro was only invoked conditionally." >&5
25277 echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
25278 Usually this means the macro was only invoked conditionally." >&2;}
25279 { (exit 1); exit 1; }; }
25281 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
25282 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
25283 Usually this means the macro was only invoked conditionally." >&5
25284 echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
25285 Usually this means the macro was only invoked conditionally." >&2;}
25286 { (exit 1); exit 1; }; }
25288 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
25289 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
25290 Usually this means the macro was only invoked conditionally." >&5
25291 echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
25292 Usually this means the macro was only invoked conditionally." >&2;}
25293 { (exit 1); exit 1; }; }
25295 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
25296 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
25297 Usually this means the macro was only invoked conditionally." >&5
25298 echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
25299 Usually this means the macro was only invoked conditionally." >&2;}
25300 { (exit 1); exit 1; }; }
25302 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
25303 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
25304 Usually this means the macro was only invoked conditionally." >&5
25305 echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
25306 Usually this means the macro was only invoked conditionally." >&2;}
25307 { (exit 1); exit 1; }; }
25309 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
25310 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
25311 Usually this means the macro was only invoked conditionally." >&5
25312 echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
25313 Usually this means the macro was only invoked conditionally." >&2;}
25314 { (exit 1); exit 1; }; }
25316 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
25317 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
25318 Usually this means the macro was only invoked conditionally." >&5
25319 echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
25320 Usually this means the macro was only invoked conditionally." >&2;}
25321 { (exit 1); exit 1; }; }
25323 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
25324 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
25325 Usually this means the macro was only invoked conditionally." >&5
25326 echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
25327 Usually this means the macro was only invoked conditionally." >&2;}
25328 { (exit 1); exit 1; }; }
25330 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
25331 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
25332 Usually this means the macro was only invoked conditionally." >&5
25333 echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
25334 Usually this means the macro was only invoked conditionally." >&2;}
25335 { (exit 1); exit 1; }; }
25337 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
25338 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
25339 Usually this means the macro was only invoked conditionally." >&5
25340 echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
25341 Usually this means the macro was only invoked conditionally." >&2;}
25342 { (exit 1); exit 1; }; }
25344 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
25345 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
25346 Usually this means the macro was only invoked conditionally." >&5
25347 echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
25348 Usually this means the macro was only invoked conditionally." >&2;}
25349 { (exit 1); exit 1; }; }
25351 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
25352 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
25353 Usually this means the macro was only invoked conditionally." >&5
25354 echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
25355 Usually this means the macro was only invoked conditionally." >&2;}
25356 { (exit 1); exit 1; }; }
25358 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
25359 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
25360 Usually this means the macro was only invoked conditionally." >&5
25361 echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
25362 Usually this means the macro was only invoked conditionally." >&2;}
25363 { (exit 1); exit 1; }; }
25365 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
25366 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
25367 Usually this means the macro was only invoked conditionally." >&5
25368 echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
25369 Usually this means the macro was only invoked conditionally." >&2;}
25370 { (exit 1); exit 1; }; }
25372 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
25373 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
25374 Usually this means the macro was only invoked conditionally." >&5
25375 echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
25376 Usually this means the macro was only invoked conditionally." >&2;}
25377 { (exit 1); exit 1; }; }
25379 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
25380 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
25381 Usually this means the macro was only invoked conditionally." >&5
25382 echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
25383 Usually this means the macro was only invoked conditionally." >&2;}
25384 { (exit 1); exit 1; }; }
25386 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
25387 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
25388 Usually this means the macro was only invoked conditionally." >&5
25389 echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
25390 Usually this means the macro was only invoked conditionally." >&2;}
25391 { (exit 1); exit 1; }; }
25393 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
25394 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
25395 Usually this means the macro was only invoked conditionally." >&5
25396 echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
25397 Usually this means the macro was only invoked conditionally." >&2;}
25398 { (exit 1); exit 1; }; }
25400 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
25401 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
25402 Usually this means the macro was only invoked conditionally." >&5
25403 echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
25404 Usually this means the macro was only invoked conditionally." >&2;}
25405 { (exit 1); exit 1; }; }
25407 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25408 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25409 Usually this means the macro was only invoked conditionally." >&5
25410 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25411 Usually this means the macro was only invoked conditionally." >&2;}
25412 { (exit 1); exit 1; }; }
25414 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25415 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25416 Usually this means the macro was only invoked conditionally." >&5
25417 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25418 Usually this means the macro was only invoked conditionally." >&2;}
25419 { (exit 1); exit 1; }; }
25421 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25422 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25423 Usually this means the macro was only invoked conditionally." >&5
25424 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25425 Usually this means the macro was only invoked conditionally." >&2;}
25426 { (exit 1); exit 1; }; }
25428 if test -z "${BUILD_PTHREAD_TRUE}" && test -z "${BUILD_PTHREAD_FALSE}"; then
25429 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PTHREAD\" was never defined.
25430 Usually this means the macro was only invoked conditionally." >&5
25431 echo "$as_me: error: conditional \"BUILD_PTHREAD\" was never defined.
25432 Usually this means the macro was only invoked conditionally." >&2;}
25433 { (exit 1); exit 1; }; }
25435 if test -z "${BUILD_XMLSEC_TRUE}" && test -z "${BUILD_XMLSEC_FALSE}"; then
25436 { { echo "$as_me:$LINENO: error: conditional \"BUILD_XMLSEC\" was never defined.
25437 Usually this means the macro was only invoked conditionally." >&5
25438 echo "$as_me: error: conditional \"BUILD_XMLSEC\" was never defined.
25439 Usually this means the macro was only invoked conditionally." >&2;}
25440 { (exit 1); exit 1; }; }
25442 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
25443 { { echo "$as_me:$LINENO: error: conditional \"BUILD_UNITTEST\" was never defined.
25444 Usually this means the macro was only invoked conditionally." >&5
25445 echo "$as_me: error: conditional \"BUILD_UNITTEST\" was never defined.
25446 Usually this means the macro was only invoked conditionally." >&2;}
25447 { (exit 1); exit 1; }; }
25450 : ${CONFIG_STATUS=./config.status}
25451 ac_clean_files_save=$ac_clean_files
25452 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25453 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25454 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25455 cat >$CONFIG_STATUS <<_ACEOF
25457 # Generated by $as_me.
25458 # Run this file to recreate the current configuration.
25459 # Compiler output produced by configure, useful for debugging
25460 # configure, is in config.log if it exists.
25463 ac_cs_recheck=false
25465 SHELL=\${CONFIG_SHELL-$SHELL}
25468 cat >>$CONFIG_STATUS <<\_ACEOF
25469 ## --------------------- ##
25470 ## M4sh Initialization. ##
25471 ## --------------------- ##
25473 # Be Bourne compatible
25474 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25477 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25478 # is contrary to our usage. Disable this feature.
25479 alias -g '${1+"$@"}'='"$@"'
25480 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25483 DUALCASE=1; export DUALCASE # for MKS sh
25485 # Support unset when possible.
25486 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25493 # Work around bugs in pre-3.0 UWIN ksh.
25494 $as_unset ENV MAIL MAILPATH
25501 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25502 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25503 LC_TELEPHONE LC_TIME
25505 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25506 eval $as_var=C; export $as_var
25512 # Required to use basename.
25513 if expr a : '\(a\)' >/dev/null 2>&1; then
25519 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
25520 as_basename=basename
25526 # Name of the executable.
25527 as_me=`$as_basename "$0" ||
25528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25529 X"$0" : 'X\(//\)$' \| \
25530 X"$0" : 'X\(/\)$' \| \
25531 . : '\(.\)' 2>/dev/null ||
25533 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25534 /^X\/\(\/\/\)$/{ s//\1/; q; }
25535 /^X\/\(\/\).*/{ s//\1/; q; }
25539 # PATH needs CR, and LINENO needs CR and PATH.
25540 # Avoid depending upon Character Ranges.
25541 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25542 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25543 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25544 as_cr_digits='0123456789'
25545 as_cr_alnum=$as_cr_Letters$as_cr_digits
25547 # The user is always right.
25548 if test "${PATH_SEPARATOR+set}" != set; then
25549 echo "#! /bin/sh" >conf$$.sh
25550 echo "exit 0" >>conf$$.sh
25552 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25561 as_lineno_1=$LINENO
25562 as_lineno_2=$LINENO
25563 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25564 test "x$as_lineno_1" != "x$as_lineno_2" &&
25565 test "x$as_lineno_3" = "x$as_lineno_2" || {
25566 # Find who we are. Look in the path if we contain no path at all
25569 *[\\/]* ) as_myself=$0 ;;
25570 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25571 for as_dir in $PATH
25574 test -z "$as_dir" && as_dir=.
25575 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25580 # We did not find ourselves, most probably we were run as `sh COMMAND'
25581 # in which case we are not to be found in the path.
25582 if test "x$as_myself" = x; then
25585 if test ! -f "$as_myself"; then
25586 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25587 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25588 { (exit 1); exit 1; }; }
25590 case $CONFIG_SHELL in
25592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25593 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
25596 test -z "$as_dir" && as_dir=.
25597 for as_base in sh bash ksh sh5; do
25600 if ("$as_dir/$as_base" -c '
25601 as_lineno_1=$LINENO
25602 as_lineno_2=$LINENO
25603 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25604 test "x$as_lineno_1" != "x$as_lineno_2" &&
25605 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
25606 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
25607 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
25608 CONFIG_SHELL=$as_dir/$as_base
25609 export CONFIG_SHELL
25610 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25618 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25619 # uniformly replaced by the line number. The first 'sed' inserts a
25620 # line-number line before each line; the second 'sed' does the real
25621 # work. The second script uses 'N' to pair each line-number line
25622 # with the numbered line, and appends trailing '-' during
25623 # substitution so that $LINENO is not a special case at line end.
25624 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25625 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
25626 sed '=' <$as_myself |
25631 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
25634 s,^['$as_cr_digits']*\n,,
25635 ' >$as_me.lineno &&
25636 chmod +x $as_me.lineno ||
25637 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25638 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
25639 { (exit 1); exit 1; }; }
25641 # Don't try to exec as it changes $[0], causing all sort of problems
25642 # (the dirname of $[0] is not the place where we might find the
25643 # original and so on. Autoconf is especially sensible to this).
25645 # Exit status is that of the last command.
25650 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25651 *c*,-n*) ECHO_N= ECHO_C='
25653 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
25654 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
25657 if expr a : '\(a\)' >/dev/null 2>&1; then
25663 rm -f conf$$ conf$$.exe conf$$.file
25665 if ln -s conf$$.file conf$$ 2>/dev/null; then
25666 # We could just check for DJGPP; but this test a) works b) is more generic
25667 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25668 if test -f conf$$.exe; then
25669 # Don't use ln at all; we don't have any links
25674 elif ln conf$$.file conf$$ 2>/dev/null; then
25679 rm -f conf$$ conf$$.exe conf$$.file
25681 if mkdir -p . 2>/dev/null; then
25684 test -d ./-p && rmdir ./-p
25688 as_executable_p="test -f"
25690 # Sed expression to map a string onto a valid CPP name.
25691 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25693 # Sed expression to map a string onto a valid variable name.
25694 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25698 # We need space, tab and new line, in precisely that order.
25708 # Open the log real soon, to keep \$[0] and so on meaningful, and to
25709 # report actual input values of CONFIG_FILES etc. instead of their
25710 # values after options handling. Logging --version etc. is OK.
25714 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25715 ## Running $as_me. ##
25720 This file was extended by xmltooling $as_me 1.3.3, which was
25721 generated by GNU Autoconf 2.59. Invocation command line was
25723 CONFIG_FILES = $CONFIG_FILES
25724 CONFIG_HEADERS = $CONFIG_HEADERS
25725 CONFIG_LINKS = $CONFIG_LINKS
25726 CONFIG_COMMANDS = $CONFIG_COMMANDS
25730 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
25734 # Files that config.status was made for.
25735 if test -n "$ac_config_files"; then
25736 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25739 if test -n "$ac_config_headers"; then
25740 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25743 if test -n "$ac_config_links"; then
25744 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25747 if test -n "$ac_config_commands"; then
25748 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25751 cat >>$CONFIG_STATUS <<\_ACEOF
25754 \`$as_me' instantiates files from templates according to the
25755 current configuration.
25757 Usage: $0 [OPTIONS] [FILE]...
25759 -h, --help print this help, then exit
25760 -V, --version print version number, then exit
25761 -q, --quiet do not print progress messages
25762 -d, --debug don't remove temporary files
25763 --recheck update $as_me by reconfiguring in the same conditions
25764 --file=FILE[:TEMPLATE]
25765 instantiate the configuration file FILE
25766 --header=FILE[:TEMPLATE]
25767 instantiate the configuration header FILE
25769 Configuration files:
25772 Configuration headers:
25775 Configuration commands:
25778 Report bugs to <bug-autoconf@gnu.org>."
25781 cat >>$CONFIG_STATUS <<_ACEOF
25783 xmltooling config.status 1.3.3
25784 configured by $0, generated by GNU Autoconf 2.59,
25785 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
25787 Copyright (C) 2003 Free Software Foundation, Inc.
25788 This config.status script is free software; the Free Software Foundation
25789 gives unlimited permission to copy, distribute and modify it."
25794 cat >>$CONFIG_STATUS <<\_ACEOF
25795 # If no file are specified by the user, then we need to provide default
25796 # value. By we need to know if files were specified by the user.
25802 ac_option=`expr "x$1" : 'x\([^=]*\)='`
25803 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
25811 *) # This is not an option, so the user has probably given explicit
25814 ac_need_defaults=false;;
25818 # Handling of the options.
25820 cat >>$CONFIG_STATUS <<\_ACEOF
25821 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25823 --version | --vers* | -V )
25824 echo "$ac_cs_version"; exit 0 ;;
25826 # Conflict between --help and --header
25827 { { echo "$as_me:$LINENO: error: ambiguous option: $1
25828 Try \`$0 --help' for more information." >&5
25829 echo "$as_me: error: ambiguous option: $1
25830 Try \`$0 --help' for more information." >&2;}
25831 { (exit 1); exit 1; }; };;
25832 --help | --hel | -h )
25833 echo "$ac_cs_usage"; exit 0 ;;
25834 --debug | --d* | -d )
25836 --file | --fil | --fi | --f )
25838 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25839 ac_need_defaults=false;;
25840 --header | --heade | --head | --hea )
25842 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25843 ac_need_defaults=false;;
25844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25845 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25848 # This is an error.
25849 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25850 Try \`$0 --help' for more information." >&5
25851 echo "$as_me: error: unrecognized option: $1
25852 Try \`$0 --help' for more information." >&2;}
25853 { (exit 1); exit 1; }; } ;;
25855 *) ac_config_targets="$ac_config_targets $1" ;;
25861 ac_configure_extra_args=
25863 if $ac_cs_silent; then
25865 ac_configure_extra_args="$ac_configure_extra_args --silent"
25869 cat >>$CONFIG_STATUS <<_ACEOF
25870 if \$ac_cs_recheck; then
25871 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25872 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25877 cat >>$CONFIG_STATUS <<_ACEOF
25879 # INIT-COMMANDS section.
25882 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25888 cat >>$CONFIG_STATUS <<\_ACEOF
25889 for ac_config_target in $ac_config_targets
25891 case "$ac_config_target" in
25892 # Handling of arguments.
25893 "xmltooling.spec" ) CONFIG_FILES="$CONFIG_FILES xmltooling.spec" ;;
25894 "pkginfo" ) CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
25895 "Portfile" ) CONFIG_FILES="$CONFIG_FILES Portfile" ;;
25896 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25897 "xmltooling/Makefile" ) CONFIG_FILES="$CONFIG_FILES xmltooling/Makefile" ;;
25898 "xmltoolingtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES xmltoolingtest/Makefile" ;;
25899 "schemas/Makefile" ) CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
25900 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
25901 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25902 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25903 "xmltooling/config_pub.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xmltooling/config_pub.h" ;;
25904 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25905 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25906 { (exit 1); exit 1; }; };;
25910 # If the user did not use the arguments to specify the items to instantiate,
25911 # then the envvar interface is used. Set only those that are not.
25912 # We use the long form for the default assignment because of an extremely
25913 # bizarre bug on SunOS 4.1.3.
25914 if $ac_need_defaults; then
25915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25916 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25917 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25920 # Have a temporary directory for convenience. Make it in the build tree
25921 # simply because there is no reason to put it here, and in addition,
25922 # creating and moving files from /tmp can sometimes cause problems.
25923 # Create a temporary directory, and hook for its removal unless debugging.
25926 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25927 trap '{ (exit 1); exit 1; }' 1 2 13 15
25930 # Create a (secure) tmp directory for tmp files.
25933 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25934 test -n "$tmp" && test -d "$tmp"
25937 tmp=./confstat$$-$RANDOM
25938 (umask 077 && mkdir $tmp)
25941 echo "$me: cannot create a temporary directory in ." >&2
25942 { (exit 1); exit 1; }
25947 cat >>$CONFIG_STATUS <<_ACEOF
25950 # CONFIG_FILES section.
25953 # No need to generate the scripts if there are no CONFIG_FILES.
25954 # This happens for instance when ./config.status config.h
25955 if test -n "\$CONFIG_FILES"; then
25956 # Protect against being on the right side of a sed subst in config.status.
25957 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25958 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25959 s,@SHELL@,$SHELL,;t t
25960 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25961 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25962 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25963 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25964 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25965 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25966 s,@exec_prefix@,$exec_prefix,;t t
25967 s,@prefix@,$prefix,;t t
25968 s,@program_transform_name@,$program_transform_name,;t t
25969 s,@bindir@,$bindir,;t t
25970 s,@sbindir@,$sbindir,;t t
25971 s,@libexecdir@,$libexecdir,;t t
25972 s,@datadir@,$datadir,;t t
25973 s,@sysconfdir@,$sysconfdir,;t t
25974 s,@sharedstatedir@,$sharedstatedir,;t t
25975 s,@localstatedir@,$localstatedir,;t t
25976 s,@libdir@,$libdir,;t t
25977 s,@includedir@,$includedir,;t t
25978 s,@oldincludedir@,$oldincludedir,;t t
25979 s,@infodir@,$infodir,;t t
25980 s,@mandir@,$mandir,;t t
25981 s,@build_alias@,$build_alias,;t t
25982 s,@host_alias@,$host_alias,;t t
25983 s,@target_alias@,$target_alias,;t t
25984 s,@DEFS@,$DEFS,;t t
25985 s,@ECHO_C@,$ECHO_C,;t t
25986 s,@ECHO_N@,$ECHO_N,;t t
25987 s,@ECHO_T@,$ECHO_T,;t t
25988 s,@LIBS@,$LIBS,;t t
25989 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25990 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25991 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25992 s,@CYGPATH_W@,$CYGPATH_W,;t t
25993 s,@PACKAGE@,$PACKAGE,;t t
25994 s,@VERSION@,$VERSION,;t t
25995 s,@ACLOCAL@,$ACLOCAL,;t t
25996 s,@AUTOCONF@,$AUTOCONF,;t t
25997 s,@AUTOMAKE@,$AUTOMAKE,;t t
25998 s,@AUTOHEADER@,$AUTOHEADER,;t t
25999 s,@MAKEINFO@,$MAKEINFO,;t t
26000 s,@install_sh@,$install_sh,;t t
26001 s,@STRIP@,$STRIP,;t t
26002 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26003 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26004 s,@mkdir_p@,$mkdir_p,;t t
26006 s,@SET_MAKE@,$SET_MAKE,;t t
26007 s,@am__leading_dot@,$am__leading_dot,;t t
26008 s,@AMTAR@,$AMTAR,;t t
26009 s,@am__tar@,$am__tar,;t t
26010 s,@am__untar@,$am__untar,;t t
26011 s,@DX_PROJECT@,$DX_PROJECT,;t t
26012 s,@DX_CONFIG@,$DX_CONFIG,;t t
26013 s,@DX_DOCDIR@,$DX_DOCDIR,;t t
26014 s,@DX_ENV@,$DX_ENV,;t t
26015 s,@DX_FLAG_doc@,$DX_FLAG_doc,;t t
26016 s,@DX_DOXYGEN@,$DX_DOXYGEN,;t t
26017 s,@ac_pt_DX_DOXYGEN@,$ac_pt_DX_DOXYGEN,;t t
26018 s,@DX_PERL@,$DX_PERL,;t t
26019 s,@ac_pt_DX_PERL@,$ac_pt_DX_PERL,;t t
26020 s,@DX_COND_doc_TRUE@,$DX_COND_doc_TRUE,;t t
26021 s,@DX_COND_doc_FALSE@,$DX_COND_doc_FALSE,;t t
26022 s,@DX_FLAG_dot@,$DX_FLAG_dot,;t t
26023 s,@DX_DOT@,$DX_DOT,;t t
26024 s,@ac_pt_DX_DOT@,$ac_pt_DX_DOT,;t t
26025 s,@DX_COND_dot_TRUE@,$DX_COND_dot_TRUE,;t t
26026 s,@DX_COND_dot_FALSE@,$DX_COND_dot_FALSE,;t t
26027 s,@DX_FLAG_man@,$DX_FLAG_man,;t t
26028 s,@DX_COND_man_TRUE@,$DX_COND_man_TRUE,;t t
26029 s,@DX_COND_man_FALSE@,$DX_COND_man_FALSE,;t t
26030 s,@DX_FLAG_rtf@,$DX_FLAG_rtf,;t t
26031 s,@DX_COND_rtf_TRUE@,$DX_COND_rtf_TRUE,;t t
26032 s,@DX_COND_rtf_FALSE@,$DX_COND_rtf_FALSE,;t t
26033 s,@DX_FLAG_xml@,$DX_FLAG_xml,;t t
26034 s,@DX_COND_xml_TRUE@,$DX_COND_xml_TRUE,;t t
26035 s,@DX_COND_xml_FALSE@,$DX_COND_xml_FALSE,;t t
26036 s,@DX_FLAG_chm@,$DX_FLAG_chm,;t t
26037 s,@DX_HHC@,$DX_HHC,;t t
26038 s,@ac_pt_DX_HHC@,$ac_pt_DX_HHC,;t t
26039 s,@DX_COND_chm_TRUE@,$DX_COND_chm_TRUE,;t t
26040 s,@DX_COND_chm_FALSE@,$DX_COND_chm_FALSE,;t t
26041 s,@DX_FLAG_chi@,$DX_FLAG_chi,;t t
26042 s,@DX_COND_chi_TRUE@,$DX_COND_chi_TRUE,;t t
26043 s,@DX_COND_chi_FALSE@,$DX_COND_chi_FALSE,;t t
26044 s,@DX_FLAG_html@,$DX_FLAG_html,;t t
26045 s,@DX_COND_html_TRUE@,$DX_COND_html_TRUE,;t t
26046 s,@DX_COND_html_FALSE@,$DX_COND_html_FALSE,;t t
26047 s,@DX_FLAG_ps@,$DX_FLAG_ps,;t t
26048 s,@DX_LATEX@,$DX_LATEX,;t t
26049 s,@ac_pt_DX_LATEX@,$ac_pt_DX_LATEX,;t t
26050 s,@DX_MAKEINDEX@,$DX_MAKEINDEX,;t t
26051 s,@ac_pt_DX_MAKEINDEX@,$ac_pt_DX_MAKEINDEX,;t t
26052 s,@DX_DVIPS@,$DX_DVIPS,;t t
26053 s,@ac_pt_DX_DVIPS@,$ac_pt_DX_DVIPS,;t t
26054 s,@DX_EGREP@,$DX_EGREP,;t t
26055 s,@ac_pt_DX_EGREP@,$ac_pt_DX_EGREP,;t t
26056 s,@DX_COND_ps_TRUE@,$DX_COND_ps_TRUE,;t t
26057 s,@DX_COND_ps_FALSE@,$DX_COND_ps_FALSE,;t t
26058 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
26059 s,@DX_PDFLATEX@,$DX_PDFLATEX,;t t
26060 s,@ac_pt_DX_PDFLATEX@,$ac_pt_DX_PDFLATEX,;t t
26061 s,@DX_COND_pdf_TRUE@,$DX_COND_pdf_TRUE,;t t
26062 s,@DX_COND_pdf_FALSE@,$DX_COND_pdf_FALSE,;t t
26063 s,@DX_COND_latex_TRUE@,$DX_COND_latex_TRUE,;t t
26064 s,@DX_COND_latex_FALSE@,$DX_COND_latex_FALSE,;t t
26065 s,@DOXYGEN_PAPER_SIZE@,$DOXYGEN_PAPER_SIZE,;t t
26067 s,@CFLAGS@,$CFLAGS,;t t
26068 s,@LDFLAGS@,$LDFLAGS,;t t
26069 s,@CPPFLAGS@,$CPPFLAGS,;t t
26070 s,@ac_ct_CC@,$ac_ct_CC,;t t
26071 s,@EXEEXT@,$EXEEXT,;t t
26072 s,@OBJEXT@,$OBJEXT,;t t
26073 s,@DEPDIR@,$DEPDIR,;t t
26074 s,@am__include@,$am__include,;t t
26075 s,@am__quote@,$am__quote,;t t
26076 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26077 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26078 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26079 s,@CCDEPMODE@,$CCDEPMODE,;t t
26080 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26081 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26083 s,@CXXFLAGS@,$CXXFLAGS,;t t
26084 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26085 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
26086 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
26087 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
26088 s,@build@,$build,;t t
26089 s,@build_cpu@,$build_cpu,;t t
26090 s,@build_vendor@,$build_vendor,;t t
26091 s,@build_os@,$build_os,;t t
26092 s,@host@,$host,;t t
26093 s,@host_cpu@,$host_cpu,;t t
26094 s,@host_vendor@,$host_vendor,;t t
26095 s,@host_os@,$host_os,;t t
26096 s,@EGREP@,$EGREP,;t t
26097 s,@LN_S@,$LN_S,;t t
26098 s,@ECHO@,$ECHO,;t t
26100 s,@ac_ct_AR@,$ac_ct_AR,;t t
26101 s,@RANLIB@,$RANLIB,;t t
26102 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26104 s,@CXXCPP@,$CXXCPP,;t t
26106 s,@FFLAGS@,$FFLAGS,;t t
26107 s,@ac_ct_F77@,$ac_ct_F77,;t t
26108 s,@LIBTOOL@,$LIBTOOL,;t t
26109 s,@acx_pthread_config@,$acx_pthread_config,;t t
26110 s,@PTHREAD_CC@,$PTHREAD_CC,;t t
26111 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
26112 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
26113 s,@BUILD_PTHREAD_TRUE@,$BUILD_PTHREAD_TRUE,;t t
26114 s,@BUILD_PTHREAD_FALSE@,$BUILD_PTHREAD_FALSE,;t t
26115 s,@LOG4SHIB_CONFIG@,$LOG4SHIB_CONFIG,;t t
26116 s,@LOG4CPP_CONFIG@,$LOG4CPP_CONFIG,;t t
26117 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
26118 s,@CURL_CONFIG@,$CURL_CONFIG,;t t
26119 s,@XMLSEC_LIBS@,$XMLSEC_LIBS,;t t
26120 s,@BUILD_XMLSEC_TRUE@,$BUILD_XMLSEC_TRUE,;t t
26121 s,@BUILD_XMLSEC_FALSE@,$BUILD_XMLSEC_FALSE,;t t
26122 s,@CXXTEST@,$CXXTEST,;t t
26123 s,@CXXTESTFLAGS@,$CXXTESTFLAGS,;t t
26124 s,@BUILD_UNITTEST_TRUE@,$BUILD_UNITTEST_TRUE,;t t
26125 s,@BUILD_UNITTEST_FALSE@,$BUILD_UNITTEST_FALSE,;t t
26126 s,@LIBOBJS@,$LIBOBJS,;t t
26127 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26132 cat >>$CONFIG_STATUS <<\_ACEOF
26133 # Split the substitutions into bite-sized pieces for seds with
26134 # small command number limits, like on Digital OSF/1 and HP-UX.
26135 ac_max_sed_lines=48
26136 ac_sed_frag=1 # Number of current file.
26137 ac_beg=1 # First line for current file.
26138 ac_end=$ac_max_sed_lines # Line after last line for current file.
26141 while $ac_more_lines; do
26142 if test $ac_beg -gt 1; then
26143 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
26145 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
26147 if test ! -s $tmp/subs.frag; then
26148 ac_more_lines=false
26150 # The purpose of the label and of the branching condition is to
26151 # speed up the sed processing (if there are no `@' at all, there
26152 # is no need to browse any of the substitutions).
26153 # These are the two extra sed commands mentioned above.
26155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
26156 if test -z "$ac_sed_cmds"; then
26157 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
26159 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26161 ac_sed_frag=`expr $ac_sed_frag + 1`
26163 ac_end=`expr $ac_end + $ac_max_sed_lines`
26166 if test -z "$ac_sed_cmds"; then
26169 fi # test -n "$CONFIG_FILES"
26172 cat >>$CONFIG_STATUS <<\_ACEOF
26173 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
26174 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26176 - | *:- | *:-:* ) # input from stdin
26178 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26179 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26180 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26181 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26182 * ) ac_file_in=$ac_file.in ;;
26185 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26186 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26187 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26188 X"$ac_file" : 'X\(//\)[^/]' \| \
26189 X"$ac_file" : 'X\(//\)$' \| \
26190 X"$ac_file" : 'X\(/\)' \| \
26191 . : '\(.\)' 2>/dev/null ||
26193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26195 /^X\(\/\/\)$/{ s//\1/; q; }
26196 /^X\(\/\).*/{ s//\1/; q; }
26198 { if $as_mkdir_p; then
26203 while test ! -d "$as_dir"; do
26204 as_dirs="$as_dir $as_dirs"
26205 as_dir=`(dirname "$as_dir") 2>/dev/null ||
26206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26207 X"$as_dir" : 'X\(//\)[^/]' \| \
26208 X"$as_dir" : 'X\(//\)$' \| \
26209 X"$as_dir" : 'X\(/\)' \| \
26210 . : '\(.\)' 2>/dev/null ||
26212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26214 /^X\(\/\/\)$/{ s//\1/; q; }
26215 /^X\(\/\).*/{ s//\1/; q; }
26218 test ! -n "$as_dirs" || mkdir $as_dirs
26219 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26220 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26221 { (exit 1); exit 1; }; }; }
26225 if test "$ac_dir" != .; then
26226 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26227 # A "../" for each directory in $ac_dir_suffix.
26228 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26230 ac_dir_suffix= ac_top_builddir=
26234 .) # No --srcdir option. We are building in place.
26236 if test -z "$ac_top_builddir"; then
26239 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26241 [\\/]* | ?:[\\/]* ) # Absolute path.
26242 ac_srcdir=$srcdir$ac_dir_suffix;
26243 ac_top_srcdir=$srcdir ;;
26244 *) # Relative path.
26245 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26246 ac_top_srcdir=$ac_top_builddir$srcdir ;;
26249 # Do not use `cd foo && pwd` to compute absolute paths, because
26250 # the directories may not exist.
26252 .) ac_abs_builddir="$ac_dir";;
26255 .) ac_abs_builddir=`pwd`;;
26256 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26257 *) ac_abs_builddir=`pwd`/"$ac_dir";;
26260 case $ac_abs_builddir in
26261 .) ac_abs_top_builddir=${ac_top_builddir}.;;
26263 case ${ac_top_builddir}. in
26264 .) ac_abs_top_builddir=$ac_abs_builddir;;
26265 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26266 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26269 case $ac_abs_builddir in
26270 .) ac_abs_srcdir=$ac_srcdir;;
26273 .) ac_abs_srcdir=$ac_abs_builddir;;
26274 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26275 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26278 case $ac_abs_builddir in
26279 .) ac_abs_top_srcdir=$ac_top_srcdir;;
26281 case $ac_top_srcdir in
26282 .) ac_abs_top_srcdir=$ac_abs_builddir;;
26283 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26284 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26290 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26291 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
26294 if test x"$ac_file" != x-; then
26295 { echo "$as_me:$LINENO: creating $ac_file" >&5
26296 echo "$as_me: creating $ac_file" >&6;}
26299 # Let's still pretend it is `configure' which instantiates (i.e., don't
26300 # use $as_me), people would be surprised to read:
26301 # /* config.h. Generated by config.status. */
26302 if test x"$ac_file" = x-; then
26305 configure_input="$ac_file. "
26307 configure_input=$configure_input"Generated from `echo $ac_file_in |
26308 sed 's,.*/,,'` by configure."
26310 # First look for the input files in the build tree, otherwise in the
26312 ac_file_inputs=`IFS=:
26313 for f in $ac_file_in; do
26315 -) echo $tmp/stdin ;;
26317 # Absolute (can't be DOS-style, as IFS=:)
26318 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26319 echo "$as_me: error: cannot find input file: $f" >&2;}
26320 { (exit 1); exit 1; }; }
26323 if test -f "$f"; then
26326 elif test -f "$srcdir/$f"; then
26331 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26332 echo "$as_me: error: cannot find input file: $f" >&2;}
26333 { (exit 1); exit 1; }; }
26336 done` || { (exit 1); exit 1; }
26338 cat >>$CONFIG_STATUS <<_ACEOF
26342 cat >>$CONFIG_STATUS <<\_ACEOF
26344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26345 s,@configure_input@,$configure_input,;t t
26346 s,@srcdir@,$ac_srcdir,;t t
26347 s,@abs_srcdir@,$ac_abs_srcdir,;t t
26348 s,@top_srcdir@,$ac_top_srcdir,;t t
26349 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
26350 s,@builddir@,$ac_builddir,;t t
26351 s,@abs_builddir@,$ac_abs_builddir,;t t
26352 s,@top_builddir@,$ac_top_builddir,;t t
26353 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
26354 s,@INSTALL@,$ac_INSTALL,;t t
26355 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26357 if test x"$ac_file" != x-; then
26358 mv $tmp/out $ac_file
26366 cat >>$CONFIG_STATUS <<\_ACEOF
26369 # CONFIG_HEADER section.
26372 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
26373 # NAME is the cpp macro being defined and VALUE is the value it is being given.
26375 # ac_d sets the value in "#define NAME VALUE" lines.
26376 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26377 ac_dB='[ ].*$,\1#\2'
26380 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26381 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26382 ac_uB='$,\1#\2define\3'
26386 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
26387 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26389 - | *:- | *:-:* ) # input from stdin
26391 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26392 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26393 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26394 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26395 * ) ac_file_in=$ac_file.in ;;
26398 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
26399 echo "$as_me: creating $ac_file" >&6;}
26401 # First look for the input files in the build tree, otherwise in the
26403 ac_file_inputs=`IFS=:
26404 for f in $ac_file_in; do
26406 -) echo $tmp/stdin ;;
26408 # Absolute (can't be DOS-style, as IFS=:)
26409 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26410 echo "$as_me: error: cannot find input file: $f" >&2;}
26411 { (exit 1); exit 1; }; }
26412 # Do quote $f, to prevent DOS paths from being IFS'd.
26415 if test -f "$f"; then
26418 elif test -f "$srcdir/$f"; then
26423 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26424 echo "$as_me: error: cannot find input file: $f" >&2;}
26425 { (exit 1); exit 1; }; }
26428 done` || { (exit 1); exit 1; }
26429 # Remove the trailing spaces.
26430 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26434 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26435 # `conftest.undefs', that substitutes the proper values into
26436 # config.h.in to produce config.h. The first handles `#define'
26437 # templates, and the second `#undef' templates.
26438 # And first: Protect against being on the right side of a sed subst in
26439 # config.status. Protect against being in an unquoted here document
26440 # in config.status.
26441 rm -f conftest.defines conftest.undefs
26442 # Using a here document instead of a string reduces the quoting nightmare.
26443 # Putting comments in sed scripts is not portable.
26445 # `end' is used to avoid that the second main sed command (meant for
26446 # 0-ary CPP macros) applies to n-ary macro definitions.
26447 # See the Autoconf documentation for `clear'.
26448 cat >confdef2sed.sed <<\_ACEOF
26453 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26455 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26458 # If some macros were called several times there might be several times
26459 # the same #defines, which is useless. Nevertheless, we may not want to
26460 # sort them, since we want the *last* AC-DEFINE to be honored.
26461 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26462 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26463 rm -f confdef2sed.sed
26465 # This sed command replaces #undef with comments. This is necessary, for
26466 # example, in the case of _POSIX_SOURCE, which is predefined and required
26467 # on some systems where configure will not decide to define it.
26468 cat >>conftest.undefs <<\_ACEOF
26469 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26472 # Break up conftest.defines because some shells have a limit on the size
26473 # of here documents, and old seds have small limits too (100 cmds).
26474 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26475 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26476 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26477 echo ' :' >>$CONFIG_STATUS
26478 rm -f conftest.tail
26479 while grep . conftest.defines >/dev/null
26481 # Write a limited-size here document to $tmp/defines.sed.
26482 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26483 # Speed up: don't consider the non `#define' lines.
26484 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26485 # Work around the forget-to-reset-the-flag bug.
26486 echo 't clr' >>$CONFIG_STATUS
26487 echo ': clr' >>$CONFIG_STATUS
26488 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
26490 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26492 mv $tmp/out $tmp/in
26494 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
26495 rm -f conftest.defines
26496 mv conftest.tail conftest.defines
26498 rm -f conftest.defines
26499 echo ' fi # grep' >>$CONFIG_STATUS
26500 echo >>$CONFIG_STATUS
26502 # Break up conftest.undefs because some shells have a limit on the size
26503 # of here documents, and old seds have small limits too (100 cmds).
26504 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26505 rm -f conftest.tail
26506 while grep . conftest.undefs >/dev/null
26508 # Write a limited-size here document to $tmp/undefs.sed.
26509 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26510 # Speed up: don't consider the non `#undef'
26511 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26512 # Work around the forget-to-reset-the-flag bug.
26513 echo 't clr' >>$CONFIG_STATUS
26514 echo ': clr' >>$CONFIG_STATUS
26515 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26517 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26519 mv $tmp/out $tmp/in
26521 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26522 rm -f conftest.undefs
26523 mv conftest.tail conftest.undefs
26525 rm -f conftest.undefs
26527 cat >>$CONFIG_STATUS <<\_ACEOF
26528 # Let's still pretend it is `configure' which instantiates (i.e., don't
26529 # use $as_me), people would be surprised to read:
26530 # /* config.h. Generated by config.status. */
26531 if test x"$ac_file" = x-; then
26532 echo "/* Generated by configure. */" >$tmp/config.h
26534 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
26536 cat $tmp/in >>$tmp/config.h
26538 if test x"$ac_file" != x-; then
26539 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
26540 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26541 echo "$as_me: $ac_file is unchanged" >&6;}
26543 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26544 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26545 X"$ac_file" : 'X\(//\)[^/]' \| \
26546 X"$ac_file" : 'X\(//\)$' \| \
26547 X"$ac_file" : 'X\(/\)' \| \
26548 . : '\(.\)' 2>/dev/null ||
26550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26552 /^X\(\/\/\)$/{ s//\1/; q; }
26553 /^X\(\/\).*/{ s//\1/; q; }
26555 { if $as_mkdir_p; then
26560 while test ! -d "$as_dir"; do
26561 as_dirs="$as_dir $as_dirs"
26562 as_dir=`(dirname "$as_dir") 2>/dev/null ||
26563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26564 X"$as_dir" : 'X\(//\)[^/]' \| \
26565 X"$as_dir" : 'X\(//\)$' \| \
26566 X"$as_dir" : 'X\(/\)' \| \
26567 . : '\(.\)' 2>/dev/null ||
26569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26571 /^X\(\/\/\)$/{ s//\1/; q; }
26572 /^X\(\/\).*/{ s//\1/; q; }
26575 test ! -n "$as_dirs" || mkdir $as_dirs
26576 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26577 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26578 { (exit 1); exit 1; }; }; }
26581 mv $tmp/config.h $ac_file
26585 rm -f $tmp/config.h
26587 # Compute $ac_file's index in $config_headers.
26589 for _am_header in $config_headers :; do
26590 case $_am_header in
26591 $ac_file | $ac_file:* )
26594 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26597 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
26598 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26599 X$ac_file : 'X\(//\)[^/]' \| \
26600 X$ac_file : 'X\(//\)$' \| \
26601 X$ac_file : 'X\(/\)' \| \
26602 . : '\(.\)' 2>/dev/null ||
26604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26605 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26606 /^X\(\/\/\)$/{ s//\1/; q; }
26607 /^X\(\/\).*/{ s//\1/; q; }
26608 s/.*/./; q'`/stamp-h$_am_stamp_count
26611 cat >>$CONFIG_STATUS <<\_ACEOF
26614 # CONFIG_COMMANDS section.
26616 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
26617 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
26618 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
26619 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
26620 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26621 X"$ac_dest" : 'X\(//\)[^/]' \| \
26622 X"$ac_dest" : 'X\(//\)$' \| \
26623 X"$ac_dest" : 'X\(/\)' \| \
26624 . : '\(.\)' 2>/dev/null ||
26626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26628 /^X\(\/\/\)$/{ s//\1/; q; }
26629 /^X\(\/\).*/{ s//\1/; q; }
26631 { if $as_mkdir_p; then
26636 while test ! -d "$as_dir"; do
26637 as_dirs="$as_dir $as_dirs"
26638 as_dir=`(dirname "$as_dir") 2>/dev/null ||
26639 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26640 X"$as_dir" : 'X\(//\)[^/]' \| \
26641 X"$as_dir" : 'X\(//\)$' \| \
26642 X"$as_dir" : 'X\(/\)' \| \
26643 . : '\(.\)' 2>/dev/null ||
26645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26646 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26647 /^X\(\/\/\)$/{ s//\1/; q; }
26648 /^X\(\/\).*/{ s//\1/; q; }
26651 test ! -n "$as_dirs" || mkdir $as_dirs
26652 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26653 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26654 { (exit 1); exit 1; }; }; }
26658 if test "$ac_dir" != .; then
26659 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26660 # A "../" for each directory in $ac_dir_suffix.
26661 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26663 ac_dir_suffix= ac_top_builddir=
26667 .) # No --srcdir option. We are building in place.
26669 if test -z "$ac_top_builddir"; then
26672 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26674 [\\/]* | ?:[\\/]* ) # Absolute path.
26675 ac_srcdir=$srcdir$ac_dir_suffix;
26676 ac_top_srcdir=$srcdir ;;
26677 *) # Relative path.
26678 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26679 ac_top_srcdir=$ac_top_builddir$srcdir ;;
26682 # Do not use `cd foo && pwd` to compute absolute paths, because
26683 # the directories may not exist.
26685 .) ac_abs_builddir="$ac_dir";;
26688 .) ac_abs_builddir=`pwd`;;
26689 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26690 *) ac_abs_builddir=`pwd`/"$ac_dir";;
26693 case $ac_abs_builddir in
26694 .) ac_abs_top_builddir=${ac_top_builddir}.;;
26696 case ${ac_top_builddir}. in
26697 .) ac_abs_top_builddir=$ac_abs_builddir;;
26698 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26699 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26702 case $ac_abs_builddir in
26703 .) ac_abs_srcdir=$ac_srcdir;;
26706 .) ac_abs_srcdir=$ac_abs_builddir;;
26707 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26708 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26711 case $ac_abs_builddir in
26712 .) ac_abs_top_srcdir=$ac_top_srcdir;;
26714 case $ac_top_srcdir in
26715 .) ac_abs_top_srcdir=$ac_abs_builddir;;
26716 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26717 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26722 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26723 echo "$as_me: executing $ac_dest commands" >&6;}
26725 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26726 # Strip MF so we end up with the name of the file.
26727 mf=`echo "$mf" | sed -e 's/:.*$//'`
26728 # Check whether this is an Automake generated Makefile or not.
26729 # We used to match only the files named `Makefile.in', but
26730 # some people rename them; so instead we look at the file content.
26731 # Grep'ing the first line is not enough: some people post-process
26732 # each Makefile.in and add a new line on top of each file to say so.
26733 # So let's grep whole file.
26734 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
26735 dirpart=`(dirname "$mf") 2>/dev/null ||
26736 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26737 X"$mf" : 'X\(//\)[^/]' \| \
26738 X"$mf" : 'X\(//\)$' \| \
26739 X"$mf" : 'X\(/\)' \| \
26740 . : '\(.\)' 2>/dev/null ||
26742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26744 /^X\(\/\/\)$/{ s//\1/; q; }
26745 /^X\(\/\).*/{ s//\1/; q; }
26750 # Extract the definition of DEPDIR, am__include, and am__quote
26751 # from the Makefile without running `make'.
26752 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26753 test -z "$DEPDIR" && continue
26754 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26755 test -z "am__include" && continue
26756 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26757 # When using ansi2knr, U may be empty or an underscore; expand it
26758 U=`sed -n 's/^U = //p' < "$mf"`
26759 # Find all dependency output files, they are included files with
26760 # $(DEPDIR) in their names. We invoke sed twice because it is the
26761 # simplest approach to changing $(DEPDIR) to its actual value in the
26763 for file in `sed -n "
26764 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26765 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26766 # Make sure the directory exists.
26767 test -f "$dirpart/$file" && continue
26768 fdir=`(dirname "$file") 2>/dev/null ||
26769 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26770 X"$file" : 'X\(//\)[^/]' \| \
26771 X"$file" : 'X\(//\)$' \| \
26772 X"$file" : 'X\(/\)' \| \
26773 . : '\(.\)' 2>/dev/null ||
26775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26777 /^X\(\/\/\)$/{ s//\1/; q; }
26778 /^X\(\/\).*/{ s//\1/; q; }
26780 { if $as_mkdir_p; then
26781 mkdir -p $dirpart/$fdir
26783 as_dir=$dirpart/$fdir
26785 while test ! -d "$as_dir"; do
26786 as_dirs="$as_dir $as_dirs"
26787 as_dir=`(dirname "$as_dir") 2>/dev/null ||
26788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26789 X"$as_dir" : 'X\(//\)[^/]' \| \
26790 X"$as_dir" : 'X\(//\)$' \| \
26791 X"$as_dir" : 'X\(/\)' \| \
26792 . : '\(.\)' 2>/dev/null ||
26794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26795 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26796 /^X\(\/\/\)$/{ s//\1/; q; }
26797 /^X\(\/\).*/{ s//\1/; q; }
26800 test ! -n "$as_dirs" || mkdir $as_dirs
26801 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
26802 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
26803 { (exit 1); exit 1; }; }; }
26805 # echo "creating $dirpart/$file"
26806 echo '# dummy' > "$dirpart/$file"
26814 cat >>$CONFIG_STATUS <<\_ACEOF
26816 { (exit 0); exit 0; }
26818 chmod +x $CONFIG_STATUS
26819 ac_clean_files=$ac_clean_files_save
26822 # configure is writing to config.log, and then calls config.status.
26823 # config.status does its own redirection, appending to config.log.
26824 # Unfortunately, on DOS this fails, as config.log is still kept open
26825 # by configure, so config.status won't be able to write to it; its
26826 # output is simply discarded. So we exec the FD to /dev/null,
26827 # effectively closing config.log, so it can be properly (re)opened and
26828 # appended to by config.status. When coming back to configure, we
26829 # need to make the FD available again.
26830 if test "$no_create" != yes; then
26832 ac_config_status_args=
26833 test "$silent" = yes &&
26834 ac_config_status_args="$ac_config_status_args --quiet"
26836 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26838 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26839 # would make configure fail if this is the last instruction.
26840 $ac_cs_success || { (exit 1); exit 1; }