2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for shibboleth 2.1.
5 # Report bugs to <shibboleth-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='shibboleth'
425 PACKAGE_TARNAME='shibboleth'
426 PACKAGE_VERSION='2.1'
427 PACKAGE_STRING='shibboleth 2.1'
428 PACKAGE_BUGREPORT='shibboleth-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_FLAG_[]DX_CURRENT_FEATURE DX_PERL ac_pt_DX_PERL DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_doc_TRUE DX_COND_doc_FALSE DX_FLAG_dot DX_FLAG_[]DX_CURRENT_FEATURE DX_DOT ac_pt_DX_DOT DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_dot_TRUE DX_COND_dot_FALSE DX_FLAG_man DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_man_TRUE DX_COND_man_FALSE DX_FLAG_rtf DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_rtf_TRUE DX_COND_rtf_FALSE DX_FLAG_xml DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_xml_TRUE DX_COND_xml_FALSE DX_FLAG_chm DX_FLAG_[]DX_CURRENT_FEATURE DX_HHC ac_pt_DX_HHC DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_chm_TRUE DX_COND_chm_FALSE DX_FLAG_chi DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_chi_TRUE DX_COND_chi_FALSE DX_FLAG_html DX_FLAG_[]DX_CURRENT_FEATURE DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_html_TRUE DX_COND_html_FALSE DX_FLAG_ps DX_FLAG_[]DX_CURRENT_FEATURE DX_LATEX ac_pt_DX_LATEX DX_FLAG_[]DX_CURRENT_FEATURE DX_MAKEINDEX ac_pt_DX_MAKEINDEX DX_FLAG_[]DX_CURRENT_FEATURE DX_DVIPS ac_pt_DX_DVIPS DX_FLAG_[]DX_CURRENT_FEATURE DX_EGREP ac_pt_DX_EGREP DX_FLAG_[]DX_CURRENT_FEATURE DX_COND_ps_TRUE DX_COND_ps_FALSE DX_FLAG_pdf DX_FLAG_[]DX_CURRENT_FEATURE DX_PDFLATEX ac_pt_DX_PDFLATEX DX_FLAG_[]DX_CURRENT_FEATURE DX_FLAG_[]DX_CURRENT_FEATURE DX_FLAG_[]DX_CURRENT_FEATURE 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 PKG_CONFIG LOG4SHIB_CONFIG LOG4CPP_CONFIG XMLTOOLINGXMLDIR OPENSAMLXMLDIR LITE_LIBS XMLSEC_LIBS NSAPI_INCLUDE BUILD_NSAPI_TRUE BUILD_NSAPI_FALSE FASTCGI_INCLUDE FASTCGI_LDFLAGS FASTCGI_LIBS BUILD_FASTCGI_TRUE BUILD_FASTCGI_FALSE MEMCACHED_INCLUDE MEMCACHED_LDFLAGS MEMCACHED_LIBS BUILD_MEMCACHED_TRUE BUILD_MEMCACHED_FALSE xs APXS APXS_CFLAGS APXS_INCLUDE APXS2 APR_CONFIG APXS2_CFLAGS APXS2_INCLUDE APXS22 APR1_CONFIG APXS22_CFLAGS APXS22_INCLUDE BUILD_AP13_TRUE BUILD_AP13_FALSE BUILD_AP20_TRUE BUILD_AP20_FALSE BUILD_AP22_TRUE BUILD_AP22_FALSE ODBC_CONFIG ODBC_CFLAGS ODBC_LIBS WANT_SUBDIRS 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 shibboleth 2.1 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 shibboleth 2.1:";;
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)
1054 --disable-adfs don't build the ADFS module
1055 --enable-apache-13 enable the Apache 1.3 module
1056 --enable-apache-20 enable the Apache 2.0 module
1057 --enable-apache-22 enable the Apache 2.2 module
1058 --disable-odbc disable the ODBC Storage Service
1061 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1062 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1063 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1064 --with-pic try to use only PIC/non-PIC objects [default=use
1067 include additional configurations [automatic]
1068 --with-openssl=PATH where openssl is installed
1069 --with-log4shib=PATH where log4shib-config is installed
1070 --with-log4cpp=PATH where log4cpp-config is installed
1071 --with-xerces=PATH where xerces-c is installed
1072 --with-xmltooling=PATH where xmltooling-c is installed
1073 --with-xmlsec=PATH where xmlsec is installed
1074 --with-saml=PATH where saml is installed
1075 --with-nsapi=DIR Build NSAPI module for Netscape/iPlanet/SunONE
1076 --with-fastcgi=DIR Build FastCGI support
1077 --with-memcached=DIR Build Memcached support
1078 --with-apxs=FILE Specifies where to find the Apache 1.3 apxs script.
1079 --with-apxs2=FILE Specifies where to find the Apache 2.0 apxs script.
1080 --with-apr=PATH where apr-config is installed
1081 --with-apxs22=FILE Specifies where to find the Apache 2.2 apxs script.
1082 --with-apr1=PATH where apr-1-config is installed
1083 --with-odbc=PATH directory where odbc is installed
1085 Some influential environment variables:
1087 a4wide (default), a4, letter, legal or executive
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1094 CXX C++ compiler command
1095 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1098 F77 Fortran 77 compiler command
1099 FFLAGS Fortran 77 compiler flags
1101 Use these variables to override the choices made by `configure' or to help
1102 it to find libraries and programs with nonstandard names/locations.
1104 Report bugs to <shibboleth-users@internet2.edu>.
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1111 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1112 test -d $ac_dir || continue
1115 if test "$ac_dir" != .; then
1116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 ac_dir_suffix= ac_top_builddir=
1124 .) # No --srcdir option. We are building in place.
1126 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1131 [\\/]* | ?:[\\/]* ) # Absolute path.
1132 ac_srcdir=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir=$srcdir ;;
1135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1142 .) ac_abs_builddir="$ac_dir";;
1145 .) ac_abs_builddir=`pwd`;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1153 case ${ac_top_builddir}. in
1154 .) ac_abs_top_builddir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1159 case $ac_abs_builddir in
1160 .) ac_abs_srcdir=$ac_srcdir;;
1163 .) ac_abs_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1168 case $ac_abs_builddir in
1169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1171 case $ac_top_srcdir in
1172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu; then
1182 $SHELL $ac_srcdir/configure.gnu --help=recursive
1183 elif test -f $ac_srcdir/configure; then
1185 $SHELL $ac_srcdir/configure --help=recursive
1186 elif test -f $ac_srcdir/configure.ac ||
1187 test -f $ac_srcdir/configure.in; then
1189 $ac_configure --help
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1200 shibboleth configure 2.1
1201 generated by GNU Autoconf 2.59
1203 Copyright (C) 2003 Free Software Foundation, Inc.
1204 This configure script is free software; the Free Software Foundation
1205 gives unlimited permission to copy, distribute and modify it.
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1214 It was created by shibboleth $as_me 2.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1249 test -z "$as_dir" && as_dir=.
1250 echo "PATH: $as_dir"
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_must_keep_next=false
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1290 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true; then
1292 ac_must_keep_next=false # Got value, back to normal.
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 -* ) ac_must_keep_next=true ;;
1306 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1313 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1314 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1332 # The following way of writing the cache mishandles newlines in values,
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1355 for ac_var in $ac_subst_vars
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -n "$ac_subst_files"; then
1369 for ac_var in $ac_subst_files
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -s confdefs.h; then
1384 sed "/^$/d" confdefs.h | sort
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 for ac_signal in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 # Predefined preprocessor variables.
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1427 cat >>confdefs.h <<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE; then
1436 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1438 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 for ac_site_file in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1457 [\\/]* | ?:[\\/]* ) . $cache_file;;
1458 *) . ./$cache_file;;
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1467 # Check that the precious variables saved in the cache have kept the same
1469 ac_cache_corrupted=false
1470 for ac_var in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1473 eval ac_new_set=\$ac_env_${ac_var}_set
1474 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted=:
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1550 ac_config_headers="$ac_config_headers config.h"
1552 am__api_version="1.9"
1554 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555 if test -f $ac_dir/install-sh; then
1557 ac_install_sh="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh; then
1561 ac_install_sh="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool; then
1565 ac_install_sh="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Find a good install program. We prefer a C program (faster),
1579 # so one script is as good as another. But avoid the broken or
1580 # incompatible versions:
1581 # SysV /etc/install, /usr/sbin/install
1582 # SunOS /usr/etc/install
1583 # IRIX /sbin/install
1585 # AmigaOS /C/install, which installs bootblocks on floppy discs
1586 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1587 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1588 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1589 # OS/2's system install, which has a completely different semantic
1590 # ./install, which can be erroneously created by make from ./install.sh.
1591 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1592 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1593 if test -z "$INSTALL"; then
1594 if test "${ac_cv_path_install+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 # Account for people who put trailing slashes in PATH elements.
1604 ./ | .// | /cC/* | \
1605 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1606 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1609 # OSF1 and SCO ODT 3.0 have their own names for install.
1610 # Don't use installbsd from OSF since it installs stuff as root
1612 for ac_prog in ginstall scoinst install; do
1613 for ac_exec_ext in '' $ac_executable_extensions; do
1614 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1615 if test $ac_prog = install &&
1616 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1617 # AIX install. It has an incompatible calling convention.
1619 elif test $ac_prog = install &&
1620 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1621 # program-specific install script used by HP pwplus--don't use.
1624 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1636 if test "${ac_cv_path_install+set}" = set; then
1637 INSTALL=$ac_cv_path_install
1639 # As a last resort, use the slow shell script. We don't cache a
1640 # path for INSTALL within a source directory, because that will
1641 # break other packages using the cache if that directory is
1642 # removed, or if the path is relative.
1643 INSTALL=$ac_install_sh
1646 echo "$as_me:$LINENO: result: $INSTALL" >&5
1647 echo "${ECHO_T}$INSTALL" >&6
1649 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1650 # It thinks the first close brace ends the variable substitution.
1651 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1653 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1655 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1657 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1658 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1661 echo timestamp > conftest.file
1662 # Do `set' in a subshell so we don't clobber the current shell's
1663 # arguments. Must try -L first in case configure is actually a
1664 # symlink; some systems play weird games with the mod time of symlinks
1665 # (eg FreeBSD returns the mod time of the symlink's containing
1668 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1669 if test "$*" = "X"; then
1671 set X `ls -t $srcdir/configure conftest.file`
1674 if test "$*" != "X $srcdir/configure conftest.file" \
1675 && test "$*" != "X conftest.file $srcdir/configure"; then
1677 # If neither matched, then we have a broken ls. This can happen
1678 # if, for instance, CONFIG_SHELL is bash and it inherits a
1679 # broken ls alias from the environment. This has actually
1680 # happened. Such a system could not be considered "sane".
1681 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1682 alias in your environment" >&5
1683 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1684 alias in your environment" >&2;}
1685 { (exit 1); exit 1; }; }
1688 test "$2" = conftest.file
1694 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1695 Check your system clock" >&5
1696 echo "$as_me: error: newly created file is older than distributed files!
1697 Check your system clock" >&2;}
1698 { (exit 1); exit 1; }; }
1700 echo "$as_me:$LINENO: result: yes" >&5
1701 echo "${ECHO_T}yes" >&6
1702 test "$program_prefix" != NONE &&
1703 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1704 # Use a double $ so make ignores it.
1705 test "$program_suffix" != NONE &&
1706 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1707 # Double any \ or $. echo might interpret backslashes.
1708 # By default was `s,x,x', remove it if useless.
1709 cat <<\_ACEOF >conftest.sed
1710 s/[\\$]/&&/g;s/;s,x,x,$//
1712 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1715 # expand $ac_aux_dir to an absolute path
1716 am_aux_dir=`cd $ac_aux_dir && pwd`
1718 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1719 # Use eval to expand $SHELL
1720 if eval "$MISSING --run true"; then
1721 am_missing_run="$MISSING --run "
1724 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1725 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1728 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1729 # We used to keeping the `.' as first argument, in order to
1730 # allow $(mkdir_p) to be used without argument. As in
1731 # $(mkdir_p) $(somedir)
1732 # where $(somedir) is conditionally defined. However this is wrong
1734 # 1. if the package is installed by a user who cannot write `.'
1735 # make install will fail,
1736 # 2. the above comment should most certainly read
1737 # $(mkdir_p) $(DESTDIR)$(somedir)
1738 # so it does not work when $(somedir) is undefined and
1739 # $(DESTDIR) is not.
1740 # To support the latter case, we have to write
1741 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1742 # so the `.' trick is pointless.
1743 mkdir_p='mkdir -p --'
1745 # On NextStep and OpenStep, the `mkdir' command does not
1746 # recognize any option. It will interpret all options as
1747 # directories to create, and then abort because `.' already
1749 for d in ./-p ./--version;
1751 test -d $d && rmdir $d
1753 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1754 if test -f "$ac_aux_dir/mkinstalldirs"; then
1755 mkdir_p='$(mkinstalldirs)'
1757 mkdir_p='$(install_sh) -d'
1761 for ac_prog in gawk mawk nawk awk
1763 # Extract the first word of "$ac_prog", so it can be a program name with args.
1764 set dummy $ac_prog; ac_word=$2
1765 echo "$as_me:$LINENO: checking for $ac_word" >&5
1766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1767 if test "${ac_cv_prog_AWK+set}" = set; then
1768 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 if test -n "$AWK"; then
1771 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 test -z "$as_dir" && as_dir=.
1778 for ac_exec_ext in '' $ac_executable_extensions; do
1779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1780 ac_cv_prog_AWK="$ac_prog"
1781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 if test -n "$AWK"; then
1791 echo "$as_me:$LINENO: result: $AWK" >&5
1792 echo "${ECHO_T}$AWK" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1798 test -n "$AWK" && break
1801 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1802 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1803 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1804 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 cat >conftest.make <<\_ACEOF
1809 @echo 'ac_maketemp="$(MAKE)"'
1811 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1812 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1813 if test -n "$ac_maketemp"; then
1814 eval ac_cv_prog_make_${ac_make}_set=yes
1816 eval ac_cv_prog_make_${ac_make}_set=no
1820 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1821 echo "$as_me:$LINENO: result: yes" >&5
1822 echo "${ECHO_T}yes" >&6
1825 echo "$as_me:$LINENO: result: no" >&5
1826 echo "${ECHO_T}no" >&6
1827 SET_MAKE="MAKE=${MAKE-make}"
1830 rm -rf .tst 2>/dev/null
1831 mkdir .tst 2>/dev/null
1832 if test -d .tst; then
1837 rmdir .tst 2>/dev/null
1839 # test to see if srcdir already configured
1840 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1841 test -f $srcdir/config.status; then
1842 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1843 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # test whether we have cygpath
1848 if test -z "$CYGPATH_W"; then
1849 if (cygpath --version) >/dev/null 2>/dev/null; then
1850 CYGPATH_W='cygpath -w'
1857 # Define the identity of the package.
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE "$PACKAGE"
1867 cat >>confdefs.h <<_ACEOF
1868 #define VERSION "$VERSION"
1871 # Some tools Automake needs.
1873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1887 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1889 # Installed binaries are usually stripped using `strip' when the user
1890 # run `make install-strip'. However `strip' might not be the right
1891 # tool to use in cross-compilation environments, therefore Automake
1892 # will honor the `STRIP' environment variable to overrule this program.
1893 if test "$cross_compiling" != no; then
1894 if test -n "$ac_tool_prefix"; then
1895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1896 set dummy ${ac_tool_prefix}strip; ac_word=$2
1897 echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899 if test "${ac_cv_prog_STRIP+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test -n "$STRIP"; then
1903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 STRIP=$ac_cv_prog_STRIP
1922 if test -n "$STRIP"; then
1923 echo "$as_me:$LINENO: result: $STRIP" >&5
1924 echo "${ECHO_T}$STRIP" >&6
1926 echo "$as_me:$LINENO: result: no" >&5
1927 echo "${ECHO_T}no" >&6
1931 if test -z "$ac_cv_prog_STRIP"; then
1933 # Extract the first word of "strip", so it can be a program name with args.
1934 set dummy strip; ac_word=$2
1935 echo "$as_me:$LINENO: checking for $ac_word" >&5
1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test -n "$ac_ct_STRIP"; then
1941 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950 ac_cv_prog_ac_ct_STRIP="strip"
1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1960 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1961 if test -n "$ac_ct_STRIP"; then
1962 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1963 echo "${ECHO_T}$ac_ct_STRIP" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1971 STRIP="$ac_cv_prog_STRIP"
1975 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1977 # We need awk for the "check" target. The system "awk" is bad on
1979 # Always define AMTAR for backward compatibility.
1981 AMTAR=${AMTAR-"${am_missing_run}tar"}
1983 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1990 # This file is part of Autoconf. -*- Autoconf -*-
1992 # Copyright (C) 2004 Oren Ben-Kiki
1993 # This file is distributed under the same terms as the Autoconf macro files.
1995 # Generate automatic documentation using Doxygen. Works in concert with the
1996 # aminclude.m4 file and a compatible doxygen configuration file. Defines the
1997 # following public macros:
1999 # DX_???_FEATURE(ON|OFF) - control the default setting fo a Doxygen feature.
2000 # Supported features are 'DOXYGEN' itself, 'DOT' for generating graphics,
2001 # 'HTML' for plain HTML, 'CHM' for compressed HTML help (for MS users), 'CHI'
2002 # for generating a seperate .chi file by the .chm file, and 'MAN', 'RTF',
2003 # 'XML', 'PDF' and 'PS' for the appropriate output formats. The environment
2004 # variable DOXYGEN_PAPER_SIZE may be specified to override the default 'a4wide'
2007 # By default, HTML, PDF and PS documentation is generated as this seems to be
2008 # the most popular and portable combination. MAN pages created by Doxygen are
2009 # usually problematic, though by picking an appropriate subset and doing some
2010 # massaging they might be better than nothing. CHM and RTF are specific for MS
2011 # (note that you can't generate both HTML and CHM at the same time). The XML is
2012 # rather useless unless you apply specialized post-processing to it.
2014 # The macro mainly controls the default state of the feature. The use can
2015 # override the default by specifying --enable or --disable. The macros ensure
2016 # that contradictory flags are not given (e.g., --enable-doxygen-html and
2017 # --enable-doxygen-chm, --enable-doxygen-anything with --disable-doxygen, etc.)
2018 # Finally, each feature will be automatically disabled (with a warning) if the
2019 # required programs are missing.
2021 # Once all the feature defaults have been specified, call DX_INIT_DOXYGEN with
2022 # the following parameters: a one-word name for the project for use as a
2023 # filename base etc., an optional configuration file name (the default is
2024 # 'Doxyfile', the same as Doxygen's default), and an optional output directory
2025 # name (the default is 'doxygen-doc').
2043 ## --------------- ##
2044 ## Private macros. ##
2045 ## --------------- ##
2047 # DX_ENV_APPEND(VARIABLE, VALUE)
2048 # ------------------------------
2049 # Append VARIABLE="VALUE" to DX_ENV for invoking doxygen.
2054 # Expand into a shell expression prints the directory part of a path.
2057 # DX_IF_FEATURE(FEATURE, IF-ON, IF-OFF)
2058 # -------------------------------------
2059 # Expands according to the M4 (static) status of the feature.
2062 # DX_REQUIRE_PROG(VARIABLE, PROGRAM)
2063 # ----------------------------------
2064 # Require the specified program to be found for the DX_CURRENT_FEATURE to work.
2067 # DX_TEST_FEATURE(FEATURE)
2068 # ------------------------
2069 # Expand to a shell expression testing whether the feature is active.
2072 # DX_CHECK_DEPEND(REQUIRED_FEATURE, REQUIRED_STATE)
2073 # -------------------------------------------------
2074 # Verify that a required features has the right state before trying to turn on
2075 # the DX_CURRENT_FEATURE.
2078 # DX_CLEAR_DEPEND(FEATURE, REQUIRED_FEATURE, REQUIRED_STATE)
2079 # ----------------------------------------------------------
2080 # Turn off the DX_CURRENT_FEATURE if the required feature is off.
2083 # DX_FEATURE_ARG(FEATURE, DESCRIPTION,
2084 # CHECK_DEPEND, CLEAR_DEPEND,
2085 # REQUIRE, DO-IF-ON, DO-IF-OFF)
2086 # --------------------------------------------
2087 # Parse the command-line option controlling a feature. CHECK_DEPEND is called
2088 # if the user explicitly turns the feature on (and invokes DX_CHECK_DEPEND),
2089 # otherwise CLEAR_DEPEND is called to turn off the default state if a required
2090 # feature is disabled (using DX_CLEAR_DEPEND). REQUIRE performs additional
2091 # requirement tests (DX_REQUIRE_PROG). Finally, an automake flag is set and
2092 # DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.
2095 ## -------------- ##
2096 ## Public macros. ##
2097 ## -------------- ##
2099 # DX_XXX_FEATURE(DEFAULT_STATE)
2100 # -----------------------------
2112 # DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR])
2113 # ---------------------------------------------------------
2114 # PROJECT also serves as the base name for the documentation files.
2115 # The default CONFIG-FILE is "Doxyfile" and OUTPUT-DOC-DIR is "doxygen-doc".
2118 ##### http://autoconf-archive.cryp.to/acx_pthread.html
2122 # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
2126 # This macro figures out how to build C programs using POSIX threads.
2127 # It sets the PTHREAD_LIBS output variable to the threads library and
2128 # linker flags, and the PTHREAD_CFLAGS output variable to any special
2129 # C compiler flags that are needed. (The user can also force certain
2130 # compiler flags/libs to be tested by setting these environment
2133 # Also sets PTHREAD_CC to any special C compiler that is needed for
2134 # multi-threaded programs (defaults to the value of CC otherwise).
2135 # (This is necessary on AIX to use the special cc_r compiler alias.)
2137 # NOTE: You are assumed to not only compile your program with these
2138 # flags, but also link it with them as well. e.g. you should link
2139 # with $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS
2142 # If you are only building threads programs, you may wish to use
2143 # these variables in your default LIBS, CFLAGS, and CC:
2145 # LIBS="$PTHREAD_LIBS $LIBS"
2146 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
2149 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
2150 # constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to
2151 # that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
2153 # ACTION-IF-FOUND is a list of shell commands to run if a threads
2154 # library is found, and ACTION-IF-NOT-FOUND is a list of commands to
2155 # run it if it is not found. If ACTION-IF-FOUND is not specified, the
2156 # default action will define HAVE_PTHREAD.
2158 # Please let the authors know if this macro fails on any platform, or
2159 # if you have any other suggestions or comments. This macro was based
2160 # on work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/)
2161 # (with help from M. Frigo), as well as ac_pthread and hb_pthread
2162 # macros posted by Alejandro Forero Cuervo to the autoconf macro
2163 # repository. We are also grateful for the helpful feedback of
2172 # Copyright (c) 2006 Steven G. Johnson <stevenj@alum.mit.edu>
2174 # This program is free software; you can redistribute it and/or
2175 # modify it under the terms of the GNU General Public License as
2176 # published by the Free Software Foundation; either version 2 of the
2177 # License, or (at your option) any later version.
2179 # This program is distributed in the hope that it will be useful, but
2180 # WITHOUT ANY WARRANTY; without even the implied warranty of
2181 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2182 # General Public License for more details.
2184 # You should have received a copy of the GNU General Public License
2185 # along with this program; if not, write to the Free Software
2186 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2189 # As a special exception, the respective Autoconf Macro's copyright
2190 # owner gives unlimited permission to copy, distribute and modify the
2191 # configure scripts that are the output of Autoconf when processing
2192 # the Macro. You need not follow the terms of the GNU General Public
2193 # License when using or distributing such scripts, even though
2194 # portions of the text of the Macro appear in them. The GNU General
2195 # Public License (GPL) does govern all other use of the material that
2196 # constitutes the Autoconf Macro.
2198 # This special exception to the GPL applies to versions of the
2199 # Autoconf Macro released by the Autoconf Macro Archive. When you
2200 # make and distribute a modified version of the Autoconf Macro, you
2201 # may extend this special exception to the GPL to apply to your
2202 # modified version as well.
2218 DX_PROJECT=shibboleth
2220 DX_CONFIG=doxygen.cfg
2225 # Environment variables used inside doxygen.cfg:
2226 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
2228 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
2230 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
2232 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
2239 # Check whether --enable-doxygen-doc or --disable-doxygen-doc was given.
2240 if test "${enable_doxygen_doc+set}" = set; then
2241 enableval="$enable_doxygen_doc"
2243 case "$enableval" in
2255 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-doc" >&5
2256 echo "$as_me: error: invalid value '$enableval' given to doxygen-doc" >&2;}
2257 { (exit 1); exit 1; }; }
2268 if test "$DX_FLAG_doc" = 1; then
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
2272 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 test -z "$as_dir" && as_dir=.
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2290 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
2302 if test -n "$DX_DOXYGEN"; then
2303 echo "$as_me:$LINENO: result: $DX_DOXYGEN" >&5
2304 echo "${ECHO_T}$DX_DOXYGEN" >&6
2306 echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6
2311 if test -z "$ac_cv_path_DX_DOXYGEN"; then
2312 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
2313 # Extract the first word of "doxygen", so it can be a program name with args.
2314 set dummy doxygen; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 case $ac_pt_DX_DOXYGEN in
2322 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2332 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
2344 if test -n "$ac_pt_DX_DOXYGEN"; then
2345 echo "$as_me:$LINENO: result: $ac_pt_DX_DOXYGEN" >&5
2346 echo "${ECHO_T}$ac_pt_DX_DOXYGEN" >&6
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2352 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
2354 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
2357 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
2358 { echo "$as_me:$LINENO: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
2359 echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
2365 if test -n "$ac_tool_prefix"; then
2366 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
2367 set dummy ${ac_tool_prefix}perl; ac_word=$2
2368 echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2370 if test "${ac_cv_path_DX_PERL+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir=.
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2385 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 DX_PERL=$ac_cv_path_DX_PERL
2397 if test -n "$DX_PERL"; then
2398 echo "$as_me:$LINENO: result: $DX_PERL" >&5
2399 echo "${ECHO_T}$DX_PERL" >&6
2401 echo "$as_me:$LINENO: result: no" >&5
2402 echo "${ECHO_T}no" >&6
2406 if test -z "$ac_cv_path_DX_PERL"; then
2407 ac_pt_DX_PERL=$DX_PERL
2408 # Extract the first word of "perl", so it can be a program name with args.
2409 set dummy perl; ac_word=$2
2410 echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2412 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 case $ac_pt_DX_PERL in
2417 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir=.
2425 for ac_exec_ext in '' $ac_executable_extensions; do
2426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2427 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
2428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
2439 if test -n "$ac_pt_DX_PERL"; then
2440 echo "$as_me:$LINENO: result: $ac_pt_DX_PERL" >&5
2441 echo "${ECHO_T}$ac_pt_DX_PERL" >&6
2443 echo "$as_me:$LINENO: result: no" >&5
2444 echo "${ECHO_T}no" >&6
2447 DX_PERL=$ac_pt_DX_PERL
2449 DX_PERL="$ac_cv_path_DX_PERL"
2452 if test "$DX_FLAG_doc$DX_PERL" = 1; then
2453 { echo "$as_me:$LINENO: WARNING: perl not found - will not generate any doxygen documentation" >&5
2454 echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
2461 if test "$DX_FLAG_doc" = 1; then
2466 DX_COND_doc_FALSE='#'
2468 DX_COND_doc_TRUE='#'
2472 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
2480 DX_COND_doc_FALSE='#'
2482 DX_COND_doc_TRUE='#'
2495 # Check whether --enable-doxygen-dot or --disable-doxygen-dot was given.
2496 if test "${enable_doxygen_dot+set}" = set; then
2497 enableval="$enable_doxygen_dot"
2499 case "$enableval" in
2505 test "$DX_FLAG_doc" = "1" \
2506 || { { echo "$as_me:$LINENO: error: doxygen-dot requires doxygen-dot" >&5
2507 echo "$as_me: error: doxygen-dot requires doxygen-dot" >&2;}
2508 { (exit 1); exit 1; }; }
2516 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-dot" >&5
2517 echo "$as_me: error: invalid value '$enableval' given to doxygen-dot" >&2;}
2518 { (exit 1); exit 1; }; }
2527 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
2532 if test "$DX_FLAG_dot" = 1; then
2534 if test -n "$ac_tool_prefix"; then
2535 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
2536 set dummy ${ac_tool_prefix}dot; ac_word=$2
2537 echo "$as_me:$LINENO: checking for $ac_word" >&5
2538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2539 if test "${ac_cv_path_DX_DOT+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
2555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 DX_DOT=$ac_cv_path_DX_DOT
2566 if test -n "$DX_DOT"; then
2567 echo "$as_me:$LINENO: result: $DX_DOT" >&5
2568 echo "${ECHO_T}$DX_DOT" >&6
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2575 if test -z "$ac_cv_path_DX_DOT"; then
2576 ac_pt_DX_DOT=$DX_DOT
2577 # Extract the first word of "dot", so it can be a program name with args.
2578 set dummy dot; ac_word=$2
2579 echo "$as_me:$LINENO: checking for $ac_word" >&5
2580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2581 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 case $ac_pt_DX_DOT in
2586 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir=.
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
2608 if test -n "$ac_pt_DX_DOT"; then
2609 echo "$as_me:$LINENO: result: $ac_pt_DX_DOT" >&5
2610 echo "${ECHO_T}$ac_pt_DX_DOT" >&6
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2616 DX_DOT=$ac_pt_DX_DOT
2618 DX_DOT="$ac_cv_path_DX_DOT"
2621 if test "$DX_FLAG_dot$DX_DOT" = 1; then
2622 { echo "$as_me:$LINENO: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
2623 echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
2630 if test "$DX_FLAG_dot" = 1; then
2635 DX_COND_dot_FALSE='#'
2637 DX_COND_dot_TRUE='#'
2641 DX_ENV="$DX_ENV HAVE_DOT='YES'"
2643 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
2651 DX_COND_dot_FALSE='#'
2653 DX_COND_dot_TRUE='#'
2657 DX_ENV="$DX_ENV HAVE_DOT='NO'"
2663 # Man pages generation:
2667 # Check whether --enable-doxygen-man or --disable-doxygen-man was given.
2668 if test "${enable_doxygen_man+set}" = set; then
2669 enableval="$enable_doxygen_man"
2671 case "$enableval" in
2677 test "$DX_FLAG_doc" = "1" \
2678 || { { echo "$as_me:$LINENO: error: doxygen-man requires doxygen-man" >&5
2679 echo "$as_me: error: doxygen-man requires doxygen-man" >&2;}
2680 { (exit 1); exit 1; }; }
2688 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-man" >&5
2689 echo "$as_me: error: invalid value '$enableval' given to doxygen-man" >&2;}
2690 { (exit 1); exit 1; }; }
2699 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
2704 if test "$DX_FLAG_man" = 1; then
2708 if test "$DX_FLAG_man" = 1; then
2713 DX_COND_man_FALSE='#'
2715 DX_COND_man_TRUE='#'
2719 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
2727 DX_COND_man_FALSE='#'
2729 DX_COND_man_TRUE='#'
2733 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
2739 # RTF file generation:
2743 # Check whether --enable-doxygen-rtf or --disable-doxygen-rtf was given.
2744 if test "${enable_doxygen_rtf+set}" = set; then
2745 enableval="$enable_doxygen_rtf"
2747 case "$enableval" in
2753 test "$DX_FLAG_doc" = "1" \
2754 || { { echo "$as_me:$LINENO: error: doxygen-rtf requires doxygen-rtf" >&5
2755 echo "$as_me: error: doxygen-rtf requires doxygen-rtf" >&2;}
2756 { (exit 1); exit 1; }; }
2764 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-rtf" >&5
2765 echo "$as_me: error: invalid value '$enableval' given to doxygen-rtf" >&2;}
2766 { (exit 1); exit 1; }; }
2775 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
2780 if test "$DX_FLAG_rtf" = 1; then
2784 if test "$DX_FLAG_rtf" = 1; then
2789 DX_COND_rtf_FALSE='#'
2791 DX_COND_rtf_TRUE='#'
2795 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
2803 DX_COND_rtf_FALSE='#'
2805 DX_COND_rtf_TRUE='#'
2809 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
2815 # XML file generation:
2819 # Check whether --enable-doxygen-xml or --disable-doxygen-xml was given.
2820 if test "${enable_doxygen_xml+set}" = set; then
2821 enableval="$enable_doxygen_xml"
2823 case "$enableval" in
2829 test "$DX_FLAG_doc" = "1" \
2830 || { { echo "$as_me:$LINENO: error: doxygen-xml requires doxygen-xml" >&5
2831 echo "$as_me: error: doxygen-xml requires doxygen-xml" >&2;}
2832 { (exit 1); exit 1; }; }
2840 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-xml" >&5
2841 echo "$as_me: error: invalid value '$enableval' given to doxygen-xml" >&2;}
2842 { (exit 1); exit 1; }; }
2851 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
2856 if test "$DX_FLAG_xml" = 1; then
2860 if test "$DX_FLAG_xml" = 1; then
2865 DX_COND_xml_FALSE='#'
2867 DX_COND_xml_TRUE='#'
2871 DX_ENV="$DX_ENV GENERATE_XML='YES'"
2879 DX_COND_xml_FALSE='#'
2881 DX_COND_xml_TRUE='#'
2885 DX_ENV="$DX_ENV GENERATE_XML='NO'"
2891 # (Compressed) HTML help generation:
2895 # Check whether --enable-doxygen-chm or --disable-doxygen-chm was given.
2896 if test "${enable_doxygen_chm+set}" = set; then
2897 enableval="$enable_doxygen_chm"
2899 case "$enableval" in
2905 test "$DX_FLAG_doc" = "1" \
2906 || { { echo "$as_me:$LINENO: error: doxygen-chm requires doxygen-chm" >&5
2907 echo "$as_me: error: doxygen-chm requires doxygen-chm" >&2;}
2908 { (exit 1); exit 1; }; }
2916 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chm" >&5
2917 echo "$as_me: error: invalid value '$enableval' given to doxygen-chm" >&2;}
2918 { (exit 1); exit 1; }; }
2927 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
2932 if test "$DX_FLAG_chm" = 1; then
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
2936 set dummy ${ac_tool_prefix}hhc; ac_word=$2
2937 echo "$as_me:$LINENO: checking for $ac_word" >&5
2938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2939 if test "${ac_cv_path_DX_HHC+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
2955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 DX_HHC=$ac_cv_path_DX_HHC
2966 if test -n "$DX_HHC"; then
2967 echo "$as_me:$LINENO: result: $DX_HHC" >&5
2968 echo "${ECHO_T}$DX_HHC" >&6
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2975 if test -z "$ac_cv_path_DX_HHC"; then
2976 ac_pt_DX_HHC=$DX_HHC
2977 # Extract the first word of "hhc", so it can be a program name with args.
2978 set dummy hhc; ac_word=$2
2979 echo "$as_me:$LINENO: checking for $ac_word" >&5
2980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2981 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 case $ac_pt_DX_HHC in
2986 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
2997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
3008 if test -n "$ac_pt_DX_HHC"; then
3009 echo "$as_me:$LINENO: result: $ac_pt_DX_HHC" >&5
3010 echo "${ECHO_T}$ac_pt_DX_HHC" >&6
3012 echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6
3016 DX_HHC=$ac_pt_DX_HHC
3018 DX_HHC="$ac_cv_path_DX_HHC"
3021 if test "$DX_FLAG_chm$DX_HHC" = 1; then
3022 { echo "$as_me:$LINENO: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
3023 echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
3030 if test "$DX_FLAG_chm" = 1; then
3035 DX_COND_chm_FALSE='#'
3037 DX_COND_chm_TRUE='#'
3041 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
3043 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
3045 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
3053 DX_COND_chm_FALSE='#'
3055 DX_COND_chm_TRUE='#'
3059 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
3065 # Seperate CHI file generation.
3069 # Check whether --enable-doxygen-chi or --disable-doxygen-chi was given.
3070 if test "${enable_doxygen_chi+set}" = set; then
3071 enableval="$enable_doxygen_chi"
3073 case "$enableval" in
3079 test "$DX_FLAG_chm" = "1" \
3080 || { { echo "$as_me:$LINENO: error: doxygen-chi requires doxygen-chi" >&5
3081 echo "$as_me: error: doxygen-chi requires doxygen-chi" >&2;}
3082 { (exit 1); exit 1; }; }
3090 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chi" >&5
3091 echo "$as_me: error: invalid value '$enableval' given to doxygen-chi" >&2;}
3092 { (exit 1); exit 1; }; }
3101 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
3106 if test "$DX_FLAG_chi" = 1; then
3110 if test "$DX_FLAG_chi" = 1; then
3115 DX_COND_chi_FALSE='#'
3117 DX_COND_chi_TRUE='#'
3121 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
3129 DX_COND_chi_FALSE='#'
3131 DX_COND_chi_TRUE='#'
3135 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
3141 # Plain HTML pages generation:
3145 # Check whether --enable-doxygen-html or --disable-doxygen-html was given.
3146 if test "${enable_doxygen_html+set}" = set; then
3147 enableval="$enable_doxygen_html"
3149 case "$enableval" in
3155 test "$DX_FLAG_doc" = "1" \
3156 || { { echo "$as_me:$LINENO: error: doxygen-html requires doxygen-html" >&5
3157 echo "$as_me: error: doxygen-html requires doxygen-html" >&2;}
3158 { (exit 1); exit 1; }; }
3160 test "$DX_FLAG_chm" = "0" \
3161 || { { echo "$as_me:$LINENO: error: doxygen-html contradicts doxygen-html" >&5
3162 echo "$as_me: error: doxygen-html contradicts doxygen-html" >&2;}
3163 { (exit 1); exit 1; }; }
3171 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-html" >&5
3172 echo "$as_me: error: invalid value '$enableval' given to doxygen-html" >&2;}
3173 { (exit 1); exit 1; }; }
3182 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
3185 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
3190 if test "$DX_FLAG_html" = 1; then
3194 if test "$DX_FLAG_html" = 1; then
3199 DX_COND_html_FALSE='#'
3201 DX_COND_html_TRUE='#'
3205 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
3213 DX_COND_html_FALSE='#'
3215 DX_COND_html_TRUE='#'
3219 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
3225 # PostScript file generation:
3229 # Check whether --enable-doxygen-ps or --disable-doxygen-ps was given.
3230 if test "${enable_doxygen_ps+set}" = set; then
3231 enableval="$enable_doxygen_ps"
3233 case "$enableval" in
3239 test "$DX_FLAG_doc" = "1" \
3240 || { { echo "$as_me:$LINENO: error: doxygen-ps requires doxygen-ps" >&5
3241 echo "$as_me: error: doxygen-ps requires doxygen-ps" >&2;}
3242 { (exit 1); exit 1; }; }
3250 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-ps" >&5
3251 echo "$as_me: error: invalid value '$enableval' given to doxygen-ps" >&2;}
3252 { (exit 1); exit 1; }; }
3261 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
3266 if test "$DX_FLAG_ps" = 1; then
3268 if test -n "$ac_tool_prefix"; then
3269 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
3270 set dummy ${ac_tool_prefix}latex; ac_word=$2
3271 echo "$as_me:$LINENO: checking for $ac_word" >&5
3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3273 if test "${ac_cv_path_DX_LATEX+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
3289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 DX_LATEX=$ac_cv_path_DX_LATEX
3300 if test -n "$DX_LATEX"; then
3301 echo "$as_me:$LINENO: result: $DX_LATEX" >&5
3302 echo "${ECHO_T}$DX_LATEX" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3309 if test -z "$ac_cv_path_DX_LATEX"; then
3310 ac_pt_DX_LATEX=$DX_LATEX
3311 # Extract the first word of "latex", so it can be a program name with args.
3312 set dummy latex; ac_word=$2
3313 echo "$as_me:$LINENO: checking for $ac_word" >&5
3314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3315 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 case $ac_pt_DX_LATEX in
3320 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3330 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
3331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
3342 if test -n "$ac_pt_DX_LATEX"; then
3343 echo "$as_me:$LINENO: result: $ac_pt_DX_LATEX" >&5
3344 echo "${ECHO_T}$ac_pt_DX_LATEX" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3350 DX_LATEX=$ac_pt_DX_LATEX
3352 DX_LATEX="$ac_cv_path_DX_LATEX"
3355 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
3356 { echo "$as_me:$LINENO: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
3357 echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
3363 if test -n "$ac_tool_prefix"; then
3364 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
3365 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
3366 echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3368 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 case $DX_MAKEINDEX in
3373 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
3395 if test -n "$DX_MAKEINDEX"; then
3396 echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
3397 echo "${ECHO_T}$DX_MAKEINDEX" >&6
3399 echo "$as_me:$LINENO: result: no" >&5
3400 echo "${ECHO_T}no" >&6
3404 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
3405 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
3406 # Extract the first word of "makeindex", so it can be a program name with args.
3407 set dummy makeindex; ac_word=$2
3408 echo "$as_me:$LINENO: checking for $ac_word" >&5
3409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3410 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 case $ac_pt_DX_MAKEINDEX in
3415 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
3418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 test -z "$as_dir" && as_dir=.
3423 for ac_exec_ext in '' $ac_executable_extensions; do
3424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3425 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3435 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
3437 if test -n "$ac_pt_DX_MAKEINDEX"; then
3438 echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
3439 echo "${ECHO_T}$ac_pt_DX_MAKEINDEX" >&6
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3445 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
3447 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
3450 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
3451 { echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
3452 echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
3458 if test -n "$ac_tool_prefix"; then
3459 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
3460 set dummy ${ac_tool_prefix}dvips; ac_word=$2
3461 echo "$as_me:$LINENO: checking for $ac_word" >&5
3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3463 if test "${ac_cv_path_DX_DVIPS+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3478 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 DX_DVIPS=$ac_cv_path_DX_DVIPS
3490 if test -n "$DX_DVIPS"; then
3491 echo "$as_me:$LINENO: result: $DX_DVIPS" >&5
3492 echo "${ECHO_T}$DX_DVIPS" >&6
3494 echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6
3499 if test -z "$ac_cv_path_DX_DVIPS"; then
3500 ac_pt_DX_DVIPS=$DX_DVIPS
3501 # Extract the first word of "dvips", so it can be a program name with args.
3502 set dummy dvips; ac_word=$2
3503 echo "$as_me:$LINENO: checking for $ac_word" >&5
3504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3505 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 case $ac_pt_DX_DVIPS in
3510 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir=.
3518 for ac_exec_ext in '' $ac_executable_extensions; do
3519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
3521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
3532 if test -n "$ac_pt_DX_DVIPS"; then
3533 echo "$as_me:$LINENO: result: $ac_pt_DX_DVIPS" >&5
3534 echo "${ECHO_T}$ac_pt_DX_DVIPS" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3540 DX_DVIPS=$ac_pt_DX_DVIPS
3542 DX_DVIPS="$ac_cv_path_DX_DVIPS"
3545 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
3546 { echo "$as_me:$LINENO: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
3547 echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
3553 if test -n "$ac_tool_prefix"; then
3554 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
3555 set dummy ${ac_tool_prefix}egrep; ac_word=$2
3556 echo "$as_me:$LINENO: checking for $ac_word" >&5
3557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3558 if test "${ac_cv_path_DX_EGREP+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 DX_EGREP=$ac_cv_path_DX_EGREP
3585 if test -n "$DX_EGREP"; then
3586 echo "$as_me:$LINENO: result: $DX_EGREP" >&5
3587 echo "${ECHO_T}$DX_EGREP" >&6
3589 echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3594 if test -z "$ac_cv_path_DX_EGREP"; then
3595 ac_pt_DX_EGREP=$DX_EGREP
3596 # Extract the first word of "egrep", so it can be a program name with args.
3597 set dummy egrep; ac_word=$2
3598 echo "$as_me:$LINENO: checking for $ac_word" >&5
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3600 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 case $ac_pt_DX_EGREP in
3605 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
3627 if test -n "$ac_pt_DX_EGREP"; then
3628 echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
3629 echo "${ECHO_T}$ac_pt_DX_EGREP" >&6
3631 echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6
3635 DX_EGREP=$ac_pt_DX_EGREP
3637 DX_EGREP="$ac_cv_path_DX_EGREP"
3640 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
3641 { echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
3642 echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
3649 if test "$DX_FLAG_ps" = 1; then
3654 DX_COND_ps_FALSE='#'
3667 DX_COND_ps_FALSE='#'
3678 # PDF file generation:
3682 # Check whether --enable-doxygen-pdf or --disable-doxygen-pdf was given.
3683 if test "${enable_doxygen_pdf+set}" = set; then
3684 enableval="$enable_doxygen_pdf"
3686 case "$enableval" in
3692 test "$DX_FLAG_doc" = "1" \
3693 || { { echo "$as_me:$LINENO: error: doxygen-pdf requires doxygen-pdf" >&5
3694 echo "$as_me: error: doxygen-pdf requires doxygen-pdf" >&2;}
3695 { (exit 1); exit 1; }; }
3703 { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-pdf" >&5
3704 echo "$as_me: error: invalid value '$enableval' given to doxygen-pdf" >&2;}
3705 { (exit 1); exit 1; }; }
3714 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
3719 if test "$DX_FLAG_pdf" = 1; then
3721 if test -n "$ac_tool_prefix"; then
3722 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
3723 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
3724 echo "$as_me:$LINENO: checking for $ac_word" >&5
3725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3726 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 case $DX_PDFLATEX in
3731 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
3742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
3753 if test -n "$DX_PDFLATEX"; then
3754 echo "$as_me:$LINENO: result: $DX_PDFLATEX" >&5
3755 echo "${ECHO_T}$DX_PDFLATEX" >&6
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3762 if test -z "$ac_cv_path_DX_PDFLATEX"; then
3763 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
3764 # Extract the first word of "pdflatex", so it can be a program name with args.
3765 set dummy pdflatex; ac_word=$2
3766 echo "$as_me:$LINENO: checking for $ac_word" >&5
3767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3768 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 case $ac_pt_DX_PDFLATEX in
3773 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
3784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
3795 if test -n "$ac_pt_DX_PDFLATEX"; then
3796 echo "$as_me:$LINENO: result: $ac_pt_DX_PDFLATEX" >&5
3797 echo "${ECHO_T}$ac_pt_DX_PDFLATEX" >&6
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3803 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
3805 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
3808 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
3809 { echo "$as_me:$LINENO: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
3810 echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
3816 if test -n "$ac_tool_prefix"; then
3817 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
3818 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
3819 echo "$as_me:$LINENO: checking for $ac_word" >&5
3820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3821 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 case $DX_MAKEINDEX in
3826 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
3848 if test -n "$DX_MAKEINDEX"; then
3849 echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
3850 echo "${ECHO_T}$DX_MAKEINDEX" >&6
3852 echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6
3857 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
3858 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
3859 # Extract the first word of "makeindex", so it can be a program name with args.
3860 set dummy makeindex; ac_word=$2
3861 echo "$as_me:$LINENO: checking for $ac_word" >&5
3862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3863 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 case $ac_pt_DX_MAKEINDEX in
3868 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 test -z "$as_dir" && as_dir=.
3876 for ac_exec_ext in '' $ac_executable_extensions; do
3877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3878 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
3879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
3890 if test -n "$ac_pt_DX_MAKEINDEX"; then
3891 echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
3892 echo "${ECHO_T}$ac_pt_DX_MAKEINDEX" >&6
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3898 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
3900 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
3903 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
3904 { echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
3905 echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
3911 if test -n "$ac_tool_prefix"; then
3912 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
3913 set dummy ${ac_tool_prefix}egrep; ac_word=$2
3914 echo "$as_me:$LINENO: checking for $ac_word" >&5
3915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3916 if test "${ac_cv_path_DX_EGREP+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 DX_EGREP=$ac_cv_path_DX_EGREP
3943 if test -n "$DX_EGREP"; then
3944 echo "$as_me:$LINENO: result: $DX_EGREP" >&5
3945 echo "${ECHO_T}$DX_EGREP" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3952 if test -z "$ac_cv_path_DX_EGREP"; then
3953 ac_pt_DX_EGREP=$DX_EGREP
3954 # Extract the first word of "egrep", so it can be a program name with args.
3955 set dummy egrep; ac_word=$2
3956 echo "$as_me:$LINENO: checking for $ac_word" >&5
3957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 case $ac_pt_DX_EGREP in
3963 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir=.
3971 for ac_exec_ext in '' $ac_executable_extensions; do
3972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
3985 if test -n "$ac_pt_DX_EGREP"; then
3986 echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
3987 echo "${ECHO_T}$ac_pt_DX_EGREP" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3993 DX_EGREP=$ac_pt_DX_EGREP
3995 DX_EGREP="$ac_cv_path_DX_EGREP"
3998 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
3999 { echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
4000 echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
4007 if test "$DX_FLAG_pdf" = 1; then
4012 DX_COND_pdf_FALSE='#'
4014 DX_COND_pdf_TRUE='#'
4025 DX_COND_pdf_FALSE='#'
4027 DX_COND_pdf_TRUE='#'
4036 # LaTeX generation for PS and/or PDF:
4037 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
4042 DX_COND_latex_FALSE='#'
4044 DX_COND_latex_TRUE='#'
4045 DX_COND_latex_FALSE=
4048 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
4055 DX_COND_latex_FALSE='#'
4057 DX_COND_latex_TRUE='#'
4058 DX_COND_latex_FALSE=
4061 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
4065 # Paper size for PS and/or PDF:
4067 case "$DOXYGEN_PAPER_SIZE" in
4070 DOXYGEN_PAPER_SIZE=""
4073 a4wide|a4|letter|legal|executive)
4074 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
4078 { { echo "$as_me:$LINENO: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&5
4079 echo "$as_me: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&2;}
4080 { (exit 1); exit 1; }; }
4085 #echo DX_FLAG_doc=$DX_FLAG_doc
4086 #echo DX_FLAG_dot=$DX_FLAG_dot
4087 #echo DX_FLAG_man=$DX_FLAG_man
4088 #echo DX_FLAG_html=$DX_FLAG_html
4089 #echo DX_FLAG_chm=$DX_FLAG_chm
4090 #echo DX_FLAG_chi=$DX_FLAG_chi
4091 #echo DX_FLAG_rtf=$DX_FLAG_rtf
4092 #echo DX_FLAG_xml=$DX_FLAG_xml
4093 #echo DX_FLAG_pdf=$DX_FLAG_pdf
4094 #echo DX_FLAG_ps=$DX_FLAG_ps
4095 #echo DX_ENV=$DX_ENV
4099 # Check whether --enable-debug or --disable-debug was given.
4100 if test "${enable_debug+set}" = set; then
4101 enableval="$enable_debug"
4102 enable_debug=$enableval
4107 if test "$enable_debug" = "yes" ; then
4108 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
4109 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
4111 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
4112 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
4116 ac_cpp='$CPP $CPPFLAGS'
4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120 if test -n "$ac_tool_prefix"; then
4121 for ac_prog in gcc gcc3 cc
4123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4125 echo "$as_me:$LINENO: checking for $ac_word" >&5
4126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4127 if test "${ac_cv_prog_CC+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC="$CC" # Let the user override the test.
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 if test -n "$CC"; then
4151 echo "$as_me:$LINENO: result: $CC" >&5
4152 echo "${ECHO_T}$CC" >&6
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4158 test -n "$CC" && break
4161 if test -z "$CC"; then
4163 for ac_prog in gcc gcc3 cc
4165 # Extract the first word of "$ac_prog", so it can be a program name with args.
4166 set dummy $ac_prog; ac_word=$2
4167 echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -n "$ac_ct_CC"; then
4173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_ac_ct_CC="$ac_prog"
4183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4192 if test -n "$ac_ct_CC"; then
4193 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4194 echo "${ECHO_T}$ac_ct_CC" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4200 test -n "$ac_ct_CC" && break
4207 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4208 See \`config.log' for more details." >&5
4209 echo "$as_me: error: no acceptable C compiler found in \$PATH
4210 See \`config.log' for more details." >&2;}
4211 { (exit 1); exit 1; }; }
4213 # Provide some information about the compiler.
4214 echo "$as_me:$LINENO:" \
4215 "checking for C compiler version" >&5
4216 ac_compiler=`set X $ac_compile; echo $2`
4217 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4218 (eval $ac_compiler --version </dev/null >&5) 2>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }
4222 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4223 (eval $ac_compiler -v </dev/null >&5) 2>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }
4227 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4228 (eval $ac_compiler -V </dev/null >&5) 2>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }
4233 cat >conftest.$ac_ext <<_ACEOF
4236 cat confdefs.h >>conftest.$ac_ext
4237 cat >>conftest.$ac_ext <<_ACEOF
4238 /* end confdefs.h. */
4248 ac_clean_files_save=$ac_clean_files
4249 ac_clean_files="$ac_clean_files a.out a.exe b.out"
4250 # Try to create an executable without -o first, disregard a.out.
4251 # It will help us diagnose broken compilers, and finding out an intuition
4253 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4254 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4255 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4256 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4257 (eval $ac_link_default) 2>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; then
4261 # Find the output, starting from the most likely. This scheme is
4262 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4265 # Be careful to initialize this variable, since it used to be cached.
4266 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4268 # b.out is created by i960 compilers.
4269 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
4271 test -f "$ac_file" || continue
4273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
4276 # This is the source file.
4279 # We found the default executable, but exeext='' is most
4283 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4284 # FIXME: I believe we export ac_cv_exeext for Libtool,
4285 # but it would be cool to find out if it's true. Does anybody
4286 # maintain Libtool? --akim.
4294 echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4298 See \`config.log' for more details." >&5
4299 echo "$as_me: error: C compiler cannot create executables
4300 See \`config.log' for more details." >&2;}
4301 { (exit 77); exit 77; }; }
4304 ac_exeext=$ac_cv_exeext
4305 echo "$as_me:$LINENO: result: $ac_file" >&5
4306 echo "${ECHO_T}$ac_file" >&6
4308 # Check the compiler produces executables we can run. If not, either
4309 # the compiler is broken, or we cross compile.
4310 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4311 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4312 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4313 # If not cross compiling, check that we can run a simple program.
4314 if test "$cross_compiling" != yes; then
4315 if { ac_try='./$ac_file'
4316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); }; }; then
4323 if test "$cross_compiling" = maybe; then
4326 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4327 If you meant to cross compile, use \`--host'.
4328 See \`config.log' for more details." >&5
4329 echo "$as_me: error: cannot run C compiled programs.
4330 If you meant to cross compile, use \`--host'.
4331 See \`config.log' for more details." >&2;}
4332 { (exit 1); exit 1; }; }
4336 echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6
4339 rm -f a.out a.exe conftest$ac_cv_exeext b.out
4340 ac_clean_files=$ac_clean_files_save
4341 # Check the compiler produces executables we can run. If not, either
4342 # the compiler is broken, or we cross compile.
4343 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4344 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4345 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4346 echo "${ECHO_T}$cross_compiling" >&6
4348 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4349 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4351 (eval $ac_link) 2>&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; then
4355 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4356 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4357 # work properly (i.e., refer to `conftest.exe'), while it won't with
4359 for ac_file in conftest.exe conftest conftest.*; do
4360 test -f "$ac_file" || continue
4362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4363 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4370 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4371 See \`config.log' for more details." >&5
4372 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4373 See \`config.log' for more details." >&2;}
4374 { (exit 1); exit 1; }; }
4377 rm -f conftest$ac_cv_exeext
4378 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4379 echo "${ECHO_T}$ac_cv_exeext" >&6
4381 rm -f conftest.$ac_ext
4382 EXEEXT=$ac_cv_exeext
4384 echo "$as_me:$LINENO: checking for suffix of object files" >&5
4385 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4386 if test "${ac_cv_objext+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4404 rm -f conftest.o conftest.obj
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406 (eval $ac_compile) 2>&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; then
4410 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4413 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4418 echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.$ac_ext >&5
4421 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4422 See \`config.log' for more details." >&5
4423 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4424 See \`config.log' for more details." >&2;}
4425 { (exit 1); exit 1; }; }
4428 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4430 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4431 echo "${ECHO_T}$ac_cv_objext" >&6
4432 OBJEXT=$ac_cv_objext
4434 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4435 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4436 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 cat >conftest.$ac_ext <<_ACEOF
4442 cat confdefs.h >>conftest.$ac_ext
4443 cat >>conftest.$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4457 rm -f conftest.$ac_objext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459 (eval $ac_compile) 2>conftest.er1
4461 grep -v '^ *+' conftest.er1 >conftest.err
4463 cat conftest.err >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } &&
4466 { ac_try='test -z "$ac_c_werror_flag"
4467 || test ! -s conftest.err'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; } &&
4473 { ac_try='test -s conftest.$ac_objext'
4474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); }; }; then
4481 echo "$as_me: failed program was:" >&5
4482 sed 's/^/| /' conftest.$ac_ext >&5
4486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4487 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4490 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4491 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4492 GCC=`test $ac_compiler_gnu = yes && echo yes`
4493 ac_test_CFLAGS=${CFLAGS+set}
4494 ac_save_CFLAGS=$CFLAGS
4496 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4497 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4498 if test "${ac_cv_prog_cc_g+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 cat >conftest.$ac_ext <<_ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4516 rm -f conftest.$ac_objext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1 >conftest.err
4522 cat conftest.err >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try='test -z "$ac_c_werror_flag"
4526 || test ! -s conftest.err'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; } &&
4532 { ac_try='test -s conftest.$ac_objext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.$ac_ext >&5
4545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4548 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4549 if test "$ac_test_CFLAGS" = set; then
4550 CFLAGS=$ac_save_CFLAGS
4551 elif test $ac_cv_prog_cc_g = yes; then
4552 if test "$GCC" = yes; then
4558 if test "$GCC" = yes; then
4564 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4565 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4566 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 ac_cv_prog_cc_stdc=no
4571 cat >conftest.$ac_ext <<_ACEOF
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4579 #include <sys/types.h>
4580 #include <sys/stat.h>
4581 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4582 struct buf { int x; };
4583 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4584 static char *e (p, i)
4590 static char *f (char * (*g) (char **, int), char **p, ...)
4595 s = g (p, va_arg (v,int));
4600 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4601 function prototypes and stuff, but not '\xHH' hex character constants.
4602 These don't provoke an error unfortunately, instead are silently treated
4603 as 'x'. The following induces an error, until -std1 is added to get
4604 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4605 array size at least. It's necessary to write '\x00'==0 to get something
4606 that's true only with -std1. */
4607 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4609 int test (int i, double x);
4610 struct s1 {int (*f) (int a);};
4611 struct s2 {int (*f) (double a);};
4612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4623 # Don't try gcc -ansi; that turns off useful extensions and
4624 # breaks some systems' header files.
4625 # AIX -qlanglvl=ansi
4626 # Ultrix and OSF/1 -std1
4627 # HP-UX 10.20 and later -Ae
4628 # HP-UX older versions -Aa -D_HPUX_SOURCE
4629 # SVR4 -Xc -D__EXTENSIONS__
4630 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4632 CC="$ac_save_CC $ac_arg"
4633 rm -f conftest.$ac_objext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>conftest.er1
4637 grep -v '^ *+' conftest.er1 >conftest.err
4639 cat conftest.err >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); } &&
4642 { ac_try='test -z "$ac_c_werror_flag"
4643 || test ! -s conftest.err'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; } &&
4649 { ac_try='test -s conftest.$ac_objext'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; }; then
4655 ac_cv_prog_cc_stdc=$ac_arg
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.$ac_ext >&5
4662 rm -f conftest.err conftest.$ac_objext
4664 rm -f conftest.$ac_ext conftest.$ac_objext
4669 case "x$ac_cv_prog_cc_stdc" in
4671 echo "$as_me:$LINENO: result: none needed" >&5
4672 echo "${ECHO_T}none needed" >&6 ;;
4674 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4675 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4676 CC="$CC $ac_cv_prog_cc_stdc" ;;
4679 # Some people use a C++ compiler to compile C. Since we use `exit',
4680 # in C++ we need to declare it. In case someone uses the same compiler
4681 # for both compiling C and C++ we need to have the C++ compiler decide
4682 # the declaration of exit, since it's the most demanding environment.
4683 cat >conftest.$ac_ext <<_ACEOF
4688 rm -f conftest.$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1 >conftest.err
4694 cat conftest.err >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try='test -z "$ac_c_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 for ac_declaration in \
4712 'extern "C" void std::exit (int) throw (); using std::exit;' \
4713 'extern "C" void std::exit (int); using std::exit;' \
4714 'extern "C" void exit (int) throw ();' \
4715 'extern "C" void exit (int);' \
4718 cat >conftest.$ac_ext <<_ACEOF
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4734 rm -f conftest.$ac_objext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4736 (eval $ac_compile) 2>conftest.er1
4738 grep -v '^ *+' conftest.er1 >conftest.err
4740 cat conftest.err >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try='test -z "$ac_c_werror_flag"
4744 || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4764 cat >conftest.$ac_ext <<_ACEOF
4767 cat confdefs.h >>conftest.$ac_ext
4768 cat >>conftest.$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4779 rm -f conftest.$ac_objext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>conftest.er1
4783 grep -v '^ *+' conftest.er1 >conftest.err
4785 cat conftest.err >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } &&
4788 { ac_try='test -z "$ac_c_werror_flag"
4789 || test ! -s conftest.err'
4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); }; } &&
4795 { ac_try='test -s conftest.$ac_objext'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4810 if test -n "$ac_declaration"; then
4811 echo '#ifdef __cplusplus' >>confdefs.h
4812 echo $ac_declaration >>confdefs.h
4813 echo '#endif' >>confdefs.h
4817 echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.$ac_ext >&5
4821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4823 ac_cpp='$CPP $CPPFLAGS'
4824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4827 DEPDIR="${am__leading_dot}deps"
4829 ac_config_commands="$ac_config_commands depfiles"
4832 am_make=${MAKE-make}
4833 cat > confinc << 'END'
4838 # If we don't find an include directive, just comment out the code.
4839 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4840 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
4844 # First try GNU make style include.
4845 echo "include confinc" > confmf
4846 # We grep out `Entering directory' and `Leaving directory'
4847 # messages which can occur if `w' ends up in MAKEFLAGS.
4848 # In particular we don't look at `^make:' because GNU make might
4849 # be invoked under some other name (usually "gmake"), in which
4850 # case it prints its new name instead of `make'.
4851 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4856 # Now try BSD make style include.
4857 if test "$am__include" = "#"; then
4858 echo '.include "confinc"' > confmf
4859 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4860 am__include=.include
4867 echo "$as_me:$LINENO: result: $_am_result" >&5
4868 echo "${ECHO_T}$_am_result" >&6
4869 rm -f confinc confmf
4871 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
4872 if test "${enable_dependency_tracking+set}" = set; then
4873 enableval="$enable_dependency_tracking"
4876 if test "x$enable_dependency_tracking" != xno; then
4877 am_depcomp="$ac_aux_dir/depcomp"
4882 if test "x$enable_dependency_tracking" != xno; then
4893 depcc="$CC" am_compiler_list=
4895 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4896 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4897 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4901 # We make a subdir and do the tests there. Otherwise we can end up
4902 # making bogus files that we don't know about and never remove. For
4903 # instance it was reported that on HP-UX the gcc test will end up
4904 # making a dummy file named `D' -- because `-MD' means `put the output
4907 # Copy depcomp to subdir because otherwise we won't find it if we're
4908 # using a relative directory.
4909 cp "$am_depcomp" conftest.dir
4911 # We will build objects and dependencies in a subdirectory because
4912 # it helps to detect inapplicable dependency modes. For instance
4913 # both Tru64's cc and ICC support -MD to output dependencies as a
4914 # side effect of compilation, but ICC will put the dependencies in
4915 # the current directory while Tru64 will put them in the object
4919 am_cv_CC_dependencies_compiler_type=none
4920 if test "$am_compiler_list" = ""; then
4921 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4923 for depmode in $am_compiler_list; do
4924 # Setup a source with many dependencies, because some compilers
4925 # like to wrap large dependency lists on column 80 (with \), and
4926 # we should not choose a depcomp mode which is confused by this.
4928 # We need to recreate these files for each test, as the compiler may
4929 # overwrite some of them when testing with obscure command lines.
4930 # This happens at least with the AIX C compiler.
4932 for i in 1 2 3 4 5 6; do
4933 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4934 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4935 # Solaris 8's {/usr,}/bin/sh.
4936 touch sub/conftst$i.h
4938 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4942 # after this tag, mechanisms are not by side-effect, so they'll
4943 # only be used when explicitly requested
4944 if test "x$enable_dependency_tracking" = xyes; then
4952 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4953 # mode. It turns out that the SunPro C++ compiler does not properly
4954 # handle `-M -o', and we need to detect this.
4955 if depmode=$depmode \
4956 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4957 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4958 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4959 >/dev/null 2>conftest.err &&
4960 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4961 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4962 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4963 # icc doesn't choke on unknown options, it will just issue warnings
4964 # or remarks (even with -Werror). So we grep stderr for any message
4965 # that says an option was ignored or not supported.
4966 # When given -MP, icc 7.0 and 7.1 complain thusly:
4967 # icc: Command line warning: ignoring option '-M'; no argument required
4968 # The diagnosis changed in icc 8.0:
4969 # icc: Command line remark: option '-MP' not supported
4970 if (grep 'ignoring option' conftest.err ||
4971 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4972 am_cv_CC_dependencies_compiler_type=$depmode
4981 am_cv_CC_dependencies_compiler_type=none
4985 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4986 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4987 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4992 test "x$enable_dependency_tracking" != xno \
4993 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4995 am__fastdepCC_FALSE='#'
4997 am__fastdepCC_TRUE='#'
4998 am__fastdepCC_FALSE=
5003 ac_cpp='$CXXCPP $CPPFLAGS'
5004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5007 if test -n "$ac_tool_prefix"; then
5008 for ac_prog in $CCC g++ g++3 c++ CC
5010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5011 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5012 echo "$as_me:$LINENO: checking for $ac_word" >&5
5013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5014 if test "${ac_cv_prog_CXX+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 if test -n "$CXX"; then
5018 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 if test -n "$CXX"; then
5038 echo "$as_me:$LINENO: result: $CXX" >&5
5039 echo "${ECHO_T}$CXX" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5045 test -n "$CXX" && break
5048 if test -z "$CXX"; then
5050 for ac_prog in $CCC g++ g++3 c++ CC
5052 # Extract the first word of "$ac_prog", so it can be a program name with args.
5053 set dummy $ac_prog; ac_word=$2
5054 echo "$as_me:$LINENO: checking for $ac_word" >&5
5055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5056 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 if test -n "$ac_ct_CXX"; then
5060 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_ac_ct_CXX="$ac_prog"
5070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5079 if test -n "$ac_ct_CXX"; then
5080 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5081 echo "${ECHO_T}$ac_ct_CXX" >&6
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5087 test -n "$ac_ct_CXX" && break
5089 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5095 # Provide some information about the compiler.
5096 echo "$as_me:$LINENO:" \
5097 "checking for C++ compiler version" >&5
5098 ac_compiler=`set X $ac_compile; echo $2`
5099 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5100 (eval $ac_compiler --version </dev/null >&5) 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }
5104 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5105 (eval $ac_compiler -v </dev/null >&5) 2>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }
5109 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5110 (eval $ac_compiler -V </dev/null >&5) 2>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }
5115 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5116 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5117 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 cat >conftest.$ac_ext <<_ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5138 rm -f conftest.$ac_objext
5139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5140 (eval $ac_compile) 2>conftest.er1
5142 grep -v '^ *+' conftest.er1 >conftest.err
5144 cat conftest.err >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } &&
5147 { ac_try='test -z "$ac_cxx_werror_flag"
5148 || test ! -s conftest.err'
5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); }; } &&
5154 { ac_try='test -s conftest.$ac_objext'
5155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); }; }; then
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5168 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5171 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5172 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5173 GXX=`test $ac_compiler_gnu = yes && echo yes`
5174 ac_test_CXXFLAGS=${CXXFLAGS+set}
5175 ac_save_CXXFLAGS=$CXXFLAGS
5177 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5178 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5179 if test "${ac_cv_prog_cxx_g+set}" = set; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 cat >conftest.$ac_ext <<_ACEOF
5185 cat confdefs.h >>conftest.$ac_ext
5186 cat >>conftest.$ac_ext <<_ACEOF
5187 /* end confdefs.h. */
5197 rm -f conftest.$ac_objext
5198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5199 (eval $ac_compile) 2>conftest.er1
5201 grep -v '^ *+' conftest.er1 >conftest.err
5203 cat conftest.err >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } &&
5206 { ac_try='test -z "$ac_cxx_werror_flag"
5207 || test ! -s conftest.err'
5208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }; } &&
5213 { ac_try='test -s conftest.$ac_objext'
5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; }; then
5219 ac_cv_prog_cxx_g=yes
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5228 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5229 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5230 if test "$ac_test_CXXFLAGS" = set; then
5231 CXXFLAGS=$ac_save_CXXFLAGS
5232 elif test $ac_cv_prog_cxx_g = yes; then
5233 if test "$GXX" = yes; then
5239 if test "$GXX" = yes; then
5245 for ac_declaration in \
5247 'extern "C" void std::exit (int) throw (); using std::exit;' \
5248 'extern "C" void std::exit (int); using std::exit;' \
5249 'extern "C" void exit (int) throw ();' \
5250 'extern "C" void exit (int);' \
5253 cat >conftest.$ac_ext <<_ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5269 rm -f conftest.$ac_objext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5271 (eval $ac_compile) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1 >conftest.err
5275 cat conftest.err >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try='test -z "$ac_cxx_werror_flag"
5279 || test ! -s conftest.err'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; } &&
5285 { ac_try='test -s conftest.$ac_objext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.$ac_ext >&5
5298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5299 cat >conftest.$ac_ext <<_ACEOF
5302 cat confdefs.h >>conftest.$ac_ext
5303 cat >>conftest.$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316 (eval $ac_compile) 2>conftest.er1
5318 grep -v '^ *+' conftest.er1 >conftest.err
5320 cat conftest.err >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } &&
5323 { ac_try='test -z "$ac_cxx_werror_flag"
5324 || test ! -s conftest.err'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; } &&
5330 { ac_try='test -s conftest.$ac_objext'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; }; then
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5345 if test -n "$ac_declaration"; then
5346 echo '#ifdef __cplusplus' >>confdefs.h
5347 echo $ac_declaration >>confdefs.h
5348 echo '#endif' >>confdefs.h
5352 ac_cpp='$CPP $CPPFLAGS'
5353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5357 depcc="$CXX" am_compiler_list=
5359 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5360 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5361 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5365 # We make a subdir and do the tests there. Otherwise we can end up
5366 # making bogus files that we don't know about and never remove. For
5367 # instance it was reported that on HP-UX the gcc test will end up
5368 # making a dummy file named `D' -- because `-MD' means `put the output
5371 # Copy depcomp to subdir because otherwise we won't find it if we're
5372 # using a relative directory.
5373 cp "$am_depcomp" conftest.dir
5375 # We will build objects and dependencies in a subdirectory because
5376 # it helps to detect inapplicable dependency modes. For instance
5377 # both Tru64's cc and ICC support -MD to output dependencies as a
5378 # side effect of compilation, but ICC will put the dependencies in
5379 # the current directory while Tru64 will put them in the object
5383 am_cv_CXX_dependencies_compiler_type=none
5384 if test "$am_compiler_list" = ""; then
5385 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5387 for depmode in $am_compiler_list; do
5388 # Setup a source with many dependencies, because some compilers
5389 # like to wrap large dependency lists on column 80 (with \), and
5390 # we should not choose a depcomp mode which is confused by this.
5392 # We need to recreate these files for each test, as the compiler may
5393 # overwrite some of them when testing with obscure command lines.
5394 # This happens at least with the AIX C compiler.
5396 for i in 1 2 3 4 5 6; do
5397 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5398 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5399 # Solaris 8's {/usr,}/bin/sh.
5400 touch sub/conftst$i.h
5402 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5406 # after this tag, mechanisms are not by side-effect, so they'll
5407 # only be used when explicitly requested
5408 if test "x$enable_dependency_tracking" = xyes; then
5416 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5417 # mode. It turns out that the SunPro C++ compiler does not properly
5418 # handle `-M -o', and we need to detect this.
5419 if depmode=$depmode \
5420 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5421 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5422 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5423 >/dev/null 2>conftest.err &&
5424 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5425 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5426 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5427 # icc doesn't choke on unknown options, it will just issue warnings
5428 # or remarks (even with -Werror). So we grep stderr for any message
5429 # that says an option was ignored or not supported.
5430 # When given -MP, icc 7.0 and 7.1 complain thusly:
5431 # icc: Command line warning: ignoring option '-M'; no argument required
5432 # The diagnosis changed in icc 8.0:
5433 # icc: Command line remark: option '-MP' not supported
5434 if (grep 'ignoring option' conftest.err ||
5435 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5436 am_cv_CXX_dependencies_compiler_type=$depmode
5445 am_cv_CXX_dependencies_compiler_type=none
5449 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5450 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5451 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5456 test "x$enable_dependency_tracking" != xno \
5457 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5458 am__fastdepCXX_TRUE=
5459 am__fastdepCXX_FALSE='#'
5461 am__fastdepCXX_TRUE='#'
5462 am__fastdepCXX_FALSE=
5466 # Make sure we can run config.sub.
5467 $ac_config_sub sun4 >/dev/null 2>&1 ||
5468 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5469 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5470 { (exit 1); exit 1; }; }
5472 echo "$as_me:$LINENO: checking build system type" >&5
5473 echo $ECHO_N "checking build system type... $ECHO_C" >&6
5474 if test "${ac_cv_build+set}" = set; then
5475 echo $ECHO_N "(cached) $ECHO_C" >&6
5477 ac_cv_build_alias=$build_alias
5478 test -z "$ac_cv_build_alias" &&
5479 ac_cv_build_alias=`$ac_config_guess`
5480 test -z "$ac_cv_build_alias" &&
5481 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5482 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5483 { (exit 1); exit 1; }; }
5484 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5485 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5486 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5487 { (exit 1); exit 1; }; }
5490 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5491 echo "${ECHO_T}$ac_cv_build" >&6
5493 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5494 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5495 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5498 echo "$as_me:$LINENO: checking host system type" >&5
5499 echo $ECHO_N "checking host system type... $ECHO_C" >&6
5500 if test "${ac_cv_host+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 ac_cv_host_alias=$host_alias
5504 test -z "$ac_cv_host_alias" &&
5505 ac_cv_host_alias=$ac_cv_build_alias
5506 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5507 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5508 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5509 { (exit 1); exit 1; }; }
5512 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5513 echo "${ECHO_T}$ac_cv_host" >&6
5515 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5516 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5517 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5521 if test "$GCC" = "yes" ; then
5522 # AC_HAVE_GCC_VERSION(4,0,0,0,
5524 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
5525 # [Define to enable class visibility control in gcc.])
5526 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5527 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
5529 CFLAGS="-Wall $GCC_CFLAGS"
5530 CXXFLAGS="-Wall $GCC_CXXFLAGS"
5532 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
5533 case "${host_cpu}-${host_os}" in
5535 if test "$CXX" = "CC" ; then
5536 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
5540 CXXFLAGS="$CXXFLAGS -D_POSIX_PII_SOCKET"
5545 # Check whether --enable-static or --disable-static was given.
5546 if test "${enable_static+set}" = set; then
5547 enableval="$enable_static"
5548 p=${PACKAGE-default}
5550 yes) enable_static=yes ;;
5551 no) enable_static=no ;;
5554 # Look at the argument we got. We use all the common list separators.
5555 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5556 for pkg in $enableval; do
5558 if test "X$pkg" = "X$p"; then
5570 # Check whether --enable-shared or --disable-shared was given.
5571 if test "${enable_shared+set}" = set; then
5572 enableval="$enable_shared"
5573 p=${PACKAGE-default}
5575 yes) enable_shared=yes ;;
5576 no) enable_shared=no ;;
5579 # Look at the argument we got. We use all the common list separators.
5580 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5581 for pkg in $enableval; do
5583 if test "X$pkg" = "X$p"; then
5594 # Check whether --enable-fast-install or --disable-fast-install was given.
5595 if test "${enable_fast_install+set}" = set; then
5596 enableval="$enable_fast_install"
5597 p=${PACKAGE-default}
5599 yes) enable_fast_install=yes ;;
5600 no) enable_fast_install=no ;;
5602 enable_fast_install=no
5603 # Look at the argument we got. We use all the common list separators.
5604 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5605 for pkg in $enableval; do
5607 if test "X$pkg" = "X$p"; then
5608 enable_fast_install=yes
5615 enable_fast_install=yes
5618 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5619 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5620 if test "${lt_cv_path_SED+set}" = set; then
5621 echo $ECHO_N "(cached) $ECHO_C" >&6
5623 # Loop through the user's path and test for sed and gsed.
5624 # Then use that list of sed's as ones to test for truncation.
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir=.
5630 for lt_ac_prog in sed gsed; do
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5633 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5640 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5641 # along with /bin/sed that truncates output.
5642 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5643 test ! -f $lt_ac_sed && break
5644 cat /dev/null > conftest.in
5646 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5647 # Check for GNU sed and select it if it is found.
5648 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5649 lt_cv_path_SED=$lt_ac_sed
5653 cat conftest.in conftest.in >conftest.tmp
5654 mv conftest.tmp conftest.in
5655 cp conftest.in conftest.nl
5657 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5658 cmp -s conftest.out conftest.nl || break
5659 # 10000 chars as input seems more than enough
5660 test $lt_ac_count -gt 10 && break
5661 lt_ac_count=`expr $lt_ac_count + 1`
5662 if test $lt_ac_count -gt $lt_ac_max; then
5663 lt_ac_max=$lt_ac_count
5664 lt_cv_path_SED=$lt_ac_sed
5672 echo "$as_me:$LINENO: result: $SED" >&5
5673 echo "${ECHO_T}$SED" >&6
5675 echo "$as_me:$LINENO: checking for egrep" >&5
5676 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5677 if test "${ac_cv_prog_egrep+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5681 then ac_cv_prog_egrep='grep -E'
5682 else ac_cv_prog_egrep='egrep'
5685 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5686 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5687 EGREP=$ac_cv_prog_egrep
5691 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5692 if test "${with_gnu_ld+set}" = set; then
5693 withval="$with_gnu_ld"
5694 test "$withval" = no || with_gnu_ld=yes
5699 if test "$GCC" = yes; then
5700 # Check if gcc -print-prog-name=ld gives a path.
5701 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5702 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5705 # gcc leaves a trailing carriage return which upsets mingw
5706 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5708 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5711 # Accept absolute paths.
5713 re_direlt='/[^/][^/]*/\.\./'
5714 # Canonicalize the pathname of ld
5715 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5716 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5717 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5719 test -z "$LD" && LD="$ac_prog"
5722 # If it fails, then pretend we aren't using GCC.
5726 # If it is relative, then search for the first ld in PATH.
5730 elif test "$with_gnu_ld" = yes; then
5731 echo "$as_me:$LINENO: checking for GNU ld" >&5
5732 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5734 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5735 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5737 if test "${lt_cv_path_LD+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5740 if test -z "$LD"; then
5741 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5742 for ac_dir in $PATH; do
5744 test -z "$ac_dir" && ac_dir=.
5745 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5746 lt_cv_path_LD="$ac_dir/$ac_prog"
5747 # Check to see if the program is GNU ld. I'd rather use --version,
5748 # but apparently some GNU ld's only accept -v.
5749 # Break only if it was the GNU/non-GNU ld that we prefer.
5750 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5751 *GNU* | *'with BFD'*)
5752 test "$with_gnu_ld" != no && break
5755 test "$with_gnu_ld" != yes && break
5762 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5767 if test -n "$LD"; then
5768 echo "$as_me:$LINENO: result: $LD" >&5
5769 echo "${ECHO_T}$LD" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5774 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5775 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5776 { (exit 1); exit 1; }; }
5777 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5778 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5779 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5783 case `$LD -v 2>&1 </dev/null` in
5784 *GNU* | *'with BFD'*)
5785 lt_cv_prog_gnu_ld=yes
5788 lt_cv_prog_gnu_ld=no
5792 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5793 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5794 with_gnu_ld=$lt_cv_prog_gnu_ld
5797 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5798 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5799 if test "${lt_cv_ld_reload_flag+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 lt_cv_ld_reload_flag='-r'
5804 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5805 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5806 reload_flag=$lt_cv_ld_reload_flag
5807 case $reload_flag in
5809 *) reload_flag=" $reload_flag" ;;
5811 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5813 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5814 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5815 if test "${lt_cv_path_NM+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 if test -n "$NM"; then
5819 # Let the user override the test.
5822 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5823 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5825 test -z "$ac_dir" && ac_dir=.
5826 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
5827 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5828 # Check to see if the nm accepts a BSD-compat flag.
5829 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5830 # nm: unknown option "B" ignored
5831 # Tru64's nm complains that /dev/null is an invalid object file
5832 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5833 */dev/null* | *'Invalid file or object type'*)
5834 lt_cv_path_NM="$tmp_nm -B"
5838 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5840 lt_cv_path_NM="$tmp_nm -p"
5844 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5845 continue # so that we can try to find one that supports BSD flags
5852 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5855 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5856 echo "${ECHO_T}$lt_cv_path_NM" >&6
5859 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5860 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5862 if test "$LN_S" = "ln -s"; then
5863 echo "$as_me:$LINENO: result: yes" >&5
5864 echo "${ECHO_T}yes" >&6
5866 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5867 echo "${ECHO_T}no, using $LN_S" >&6
5870 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5871 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5872 if test "${lt_cv_deplibs_check_method+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 lt_cv_file_magic_cmd='$MAGIC_CMD'
5876 lt_cv_file_magic_test_file=
5877 lt_cv_deplibs_check_method='unknown'
5878 # Need to set the preceding variable on all platforms that support
5879 # interlibrary dependencies.
5880 # 'none' -- dependencies not supported.
5881 # `unknown' -- same as none, but documents that we really don't know.
5882 # 'pass_all' -- all dependencies passed with no checks.
5883 # 'test_compile' -- check by making test program.
5884 # 'file_magic [[regex]]' -- check by looking for files in library path
5885 # which responds to the $file_magic_cmd with a given extended regex.
5886 # If you have `file' or equivalent on your system and you're not sure
5887 # whether `pass_all' will *always* work, you probably want this one.
5891 lt_cv_deplibs_check_method=pass_all
5895 lt_cv_deplibs_check_method=pass_all
5899 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5900 lt_cv_file_magic_cmd='/usr/bin/file -L'
5901 lt_cv_file_magic_test_file=/shlib/libc.so
5905 # func_win32_libid is a shell function defined in ltmain.sh
5906 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5907 lt_cv_file_magic_cmd='func_win32_libid'
5911 # Base MSYS/MinGW do not provide the 'file' command needed by
5912 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5913 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5914 lt_cv_file_magic_cmd='$OBJDUMP -f'
5917 darwin* | rhapsody*)
5918 lt_cv_deplibs_check_method=pass_all
5921 freebsd* | kfreebsd*-gnu)
5922 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5925 # Not sure whether the presence of OpenBSD here was a mistake.
5926 # Let's accept both of them until this is cleared up.
5927 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5928 lt_cv_file_magic_cmd=/usr/bin/file
5929 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5933 lt_cv_deplibs_check_method=pass_all
5938 lt_cv_deplibs_check_method=pass_all
5941 hpux10.20* | hpux11*)
5942 lt_cv_file_magic_cmd=/usr/bin/file
5945 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5946 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5949 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]'
5950 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5953 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5954 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5959 irix5* | irix6* | nonstopux*)
5961 *-32|*"-32 ") libmagic=32-bit;;
5962 *-n32|*"-n32 ") libmagic=N32;;
5963 *-64|*"-64 ") libmagic=64-bit;;
5964 *) libmagic=never-match;;
5966 lt_cv_deplibs_check_method=pass_all
5969 # This must be Linux ELF.
5972 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
5973 lt_cv_deplibs_check_method=pass_all ;;
5975 # glibc up to 2.1.1 does not perform some relocations on ARM
5976 # this will be overridden with pass_all, but let us keep it just in case
5977 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5979 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5980 lt_cv_deplibs_check_method=pass_all
5984 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5987 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5992 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5993 lt_cv_file_magic_cmd=/usr/bin/file
5994 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5998 lt_cv_deplibs_check_method=unknown
6002 lt_cv_file_magic_cmd=/usr/bin/file
6003 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6004 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
6007 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
6011 osf3* | osf4* | osf5*)
6012 lt_cv_deplibs_check_method=pass_all
6016 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6023 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6024 case $host_vendor in
6026 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]'
6027 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6030 lt_cv_deplibs_check_method=pass_all
6033 lt_cv_file_magic_cmd='/bin/file'
6034 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6037 lt_cv_file_magic_cmd='/bin/file'
6038 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6039 lt_cv_file_magic_test_file=/lib/libc.so
6042 lt_cv_deplibs_check_method=pass_all
6047 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
6048 lt_cv_deplibs_check_method=pass_all
6053 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6054 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6055 file_magic_cmd=$lt_cv_file_magic_cmd
6056 deplibs_check_method=$lt_cv_deplibs_check_method
6057 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6062 # If no C compiler was specified, use CC.
6065 # Allow CC to be a program name with arguments.
6069 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6070 if test "${enable_libtool_lock+set}" = set; then
6071 enableval="$enable_libtool_lock"
6074 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6076 # Some flags need to be propagated to the compiler or linker for good
6080 # Find out which ABI we are using.
6081 echo 'int i;' > conftest.$ac_ext
6082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6083 (eval $ac_compile) 2>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; then
6087 case `/usr/bin/file conftest.$ac_objext` in
6099 # Find out which ABI we are using.
6100 echo '#line 6100 "configure"' > conftest.$ac_ext
6101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6102 (eval $ac_compile) 2>&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; then
6106 if test "$lt_cv_prog_gnu_ld" = yes; then
6107 case `/usr/bin/file conftest.$ac_objext` in
6109 LD="${LD-ld} -melf32bsmip"
6112 LD="${LD-ld} -melf32bmipn32"
6115 LD="${LD-ld} -melf64bmip"
6119 case `/usr/bin/file conftest.$ac_objext` in
6135 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6136 # Find out which ABI we are using.
6137 echo 'int i;' > conftest.$ac_ext
6138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6139 (eval $ac_compile) 2>&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; then
6143 case "`/usr/bin/file conftest.o`" in
6147 LD="${LD-ld} -m elf_i386"
6149 ppc64-*linux*|powerpc64-*linux*)
6150 LD="${LD-ld} -m elf32ppclinux"
6153 LD="${LD-ld} -m elf_s390"
6156 LD="${LD-ld} -m elf32_sparc"
6163 LD="${LD-ld} -m elf_x86_64"
6165 ppc*-*linux*|powerpc*-*linux*)
6166 LD="${LD-ld} -m elf64ppc"
6169 LD="${LD-ld} -m elf64_s390"
6172 LD="${LD-ld} -m elf64_sparc"
6182 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6183 SAVE_CFLAGS="$CFLAGS"
6184 CFLAGS="$CFLAGS -belf"
6185 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6186 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6187 if test "${lt_cv_cc_needs_belf+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6196 cat >conftest.$ac_ext <<_ACEOF
6199 cat confdefs.h >>conftest.$ac_ext
6200 cat >>conftest.$ac_ext <<_ACEOF
6201 /* end confdefs.h. */
6211 rm -f conftest.$ac_objext conftest$ac_exeext
6212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6213 (eval $ac_link) 2>conftest.er1
6215 grep -v '^ *+' conftest.er1 >conftest.err
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } &&
6220 { ac_try='test -z "$ac_c_werror_flag"
6221 || test ! -s conftest.err'
6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); }; } &&
6227 { ac_try='test -s conftest$ac_exeext'
6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; }; then
6233 lt_cv_cc_needs_belf=yes
6235 echo "$as_me: failed program was:" >&5
6236 sed 's/^/| /' conftest.$ac_ext >&5
6238 lt_cv_cc_needs_belf=no
6240 rm -f conftest.err conftest.$ac_objext \
6241 conftest$ac_exeext conftest.$ac_ext
6243 ac_cpp='$CPP $CPPFLAGS'
6244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6249 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6250 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6251 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6252 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6253 CFLAGS="$SAVE_CFLAGS"
6259 need_locks="$enable_libtool_lock"
6263 ac_cpp='$CPP $CPPFLAGS'
6264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6267 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6268 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6269 # On Suns, sometimes $CPP names a directory.
6270 if test -n "$CPP" && test -d "$CPP"; then
6273 if test -z "$CPP"; then
6274 if test "${ac_cv_prog_CPP+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 # Double quotes because CPP needs to be expanded
6278 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6281 for ac_c_preproc_warn_flag in '' yes
6283 # Use a header file that comes with gcc, so configuring glibc
6284 # with a fresh cross-compiler works.
6285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6286 # <limits.h> exists even on freestanding compilers.
6287 # On the NeXT, cc -E runs the code through the compiler's parser,
6288 # not just through cpp. "Syntax error" is here to catch this case.
6289 cat >conftest.$ac_ext <<_ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6296 # include <limits.h>
6298 # include <assert.h>
6302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6305 grep -v '^ *+' conftest.er1 >conftest.err
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } >/dev/null; then
6310 if test -s conftest.err; then
6311 ac_cpp_err=$ac_c_preproc_warn_flag
6312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6319 if test -z "$ac_cpp_err"; then
6322 echo "$as_me: failed program was:" >&5
6323 sed 's/^/| /' conftest.$ac_ext >&5
6325 # Broken: fails on valid input.
6328 rm -f conftest.err conftest.$ac_ext
6330 # OK, works on sane cases. Now check whether non-existent headers
6331 # can be detected and how.
6332 cat >conftest.$ac_ext <<_ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 #include <ac_nonexistent.h>
6340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6343 grep -v '^ *+' conftest.er1 >conftest.err
6345 cat conftest.err >&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } >/dev/null; then
6348 if test -s conftest.err; then
6349 ac_cpp_err=$ac_c_preproc_warn_flag
6350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6357 if test -z "$ac_cpp_err"; then
6358 # Broken: success on invalid input.
6361 echo "$as_me: failed program was:" >&5
6362 sed 's/^/| /' conftest.$ac_ext >&5
6364 # Passes both tests.
6368 rm -f conftest.err conftest.$ac_ext
6371 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6372 rm -f conftest.err conftest.$ac_ext
6373 if $ac_preproc_ok; then
6385 echo "$as_me:$LINENO: result: $CPP" >&5
6386 echo "${ECHO_T}$CPP" >&6
6388 for ac_c_preproc_warn_flag in '' yes
6390 # Use a header file that comes with gcc, so configuring glibc
6391 # with a fresh cross-compiler works.
6392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6393 # <limits.h> exists even on freestanding compilers.
6394 # On the NeXT, cc -E runs the code through the compiler's parser,
6395 # not just through cpp. "Syntax error" is here to catch this case.
6396 cat >conftest.$ac_ext <<_ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 # include <limits.h>
6405 # include <assert.h>
6409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6412 grep -v '^ *+' conftest.er1 >conftest.err
6414 cat conftest.err >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } >/dev/null; then
6417 if test -s conftest.err; then
6418 ac_cpp_err=$ac_c_preproc_warn_flag
6419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6426 if test -z "$ac_cpp_err"; then
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.$ac_ext >&5
6432 # Broken: fails on valid input.
6435 rm -f conftest.err conftest.$ac_ext
6437 # OK, works on sane cases. Now check whether non-existent headers
6438 # can be detected and how.
6439 cat >conftest.$ac_ext <<_ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 #include <ac_nonexistent.h>
6447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6450 grep -v '^ *+' conftest.er1 >conftest.err
6452 cat conftest.err >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } >/dev/null; then
6455 if test -s conftest.err; then
6456 ac_cpp_err=$ac_c_preproc_warn_flag
6457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6464 if test -z "$ac_cpp_err"; then
6465 # Broken: success on invalid input.
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6471 # Passes both tests.
6475 rm -f conftest.err conftest.$ac_ext
6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6479 rm -f conftest.err conftest.$ac_ext
6480 if $ac_preproc_ok; then
6483 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6484 See \`config.log' for more details." >&5
6485 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6486 See \`config.log' for more details." >&2;}
6487 { (exit 1); exit 1; }; }
6491 ac_cpp='$CPP $CPPFLAGS'
6492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6497 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6499 if test "${ac_cv_header_stdc+set}" = set; then
6500 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6521 rm -f conftest.$ac_objext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6523 (eval $ac_compile) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1 >conftest.err
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try='test -z "$ac_c_werror_flag"
6531 || test ! -s conftest.err'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; } &&
6537 { ac_try='test -s conftest.$ac_objext'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; }; then
6543 ac_cv_header_stdc=yes
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.$ac_ext >&5
6548 ac_cv_header_stdc=no
6550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6552 if test $ac_cv_header_stdc = yes; then
6553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6554 cat >conftest.$ac_ext <<_ACEOF
6557 cat confdefs.h >>conftest.$ac_ext
6558 cat >>conftest.$ac_ext <<_ACEOF
6559 /* end confdefs.h. */
6563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6564 $EGREP "memchr" >/dev/null 2>&1; then
6567 ac_cv_header_stdc=no
6573 if test $ac_cv_header_stdc = yes; then
6574 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6575 cat >conftest.$ac_ext <<_ACEOF
6578 cat confdefs.h >>conftest.$ac_ext
6579 cat >>conftest.$ac_ext <<_ACEOF
6580 /* end confdefs.h. */
6584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6585 $EGREP "free" >/dev/null 2>&1; then
6588 ac_cv_header_stdc=no
6594 if test $ac_cv_header_stdc = yes; then
6595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6596 if test "$cross_compiling" = yes; then
6599 cat >conftest.$ac_ext <<_ACEOF
6602 cat confdefs.h >>conftest.$ac_ext
6603 cat >>conftest.$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6606 #if ((' ' & 0x0FF) == 0x020)
6607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6610 # define ISLOWER(c) \
6611 (('a' <= (c) && (c) <= 'i') \
6612 || ('j' <= (c) && (c) <= 'r') \
6613 || ('s' <= (c) && (c) <= 'z'))
6614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6622 for (i = 0; i < 256; i++)
6623 if (XOR (islower (i), ISLOWER (i))
6624 || toupper (i) != TOUPPER (i))
6629 rm -f conftest$ac_exeext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6631 (eval $ac_link) 2>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6642 echo "$as_me: program exited with status $ac_status" >&5
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6647 ac_cv_header_stdc=no
6649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6655 if test $ac_cv_header_stdc = yes; then
6657 cat >>confdefs.h <<\_ACEOF
6658 #define STDC_HEADERS 1
6663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6673 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6674 inttypes.h stdint.h unistd.h
6676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6677 echo "$as_me:$LINENO: checking for $ac_header" >&5
6678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6680 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 cat >conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 $ac_includes_default
6690 #include <$ac_header>
6692 rm -f conftest.$ac_objext
6693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6694 (eval $ac_compile) 2>conftest.er1
6696 grep -v '^ *+' conftest.er1 >conftest.err
6698 cat conftest.err >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); } &&
6701 { ac_try='test -z "$ac_c_werror_flag"
6702 || test ! -s conftest.err'
6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; } &&
6708 { ac_try='test -s conftest.$ac_objext'
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; }; then
6714 eval "$as_ac_Header=yes"
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.$ac_ext >&5
6719 eval "$as_ac_Header=no"
6721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6726 cat >>confdefs.h <<_ACEOF
6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6736 for ac_header in dlfcn.h
6738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6740 echo "$as_me:$LINENO: checking for $ac_header" >&5
6741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6748 # Is the header compilable?
6749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6751 cat >conftest.$ac_ext <<_ACEOF
6754 cat confdefs.h >>conftest.$ac_ext
6755 cat >>conftest.$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6757 $ac_includes_default
6758 #include <$ac_header>
6760 rm -f conftest.$ac_objext
6761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6762 (eval $ac_compile) 2>conftest.er1
6764 grep -v '^ *+' conftest.er1 >conftest.err
6766 cat conftest.err >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } &&
6769 { ac_try='test -z "$ac_c_werror_flag"
6770 || test ! -s conftest.err'
6771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; } &&
6776 { ac_try='test -s conftest.$ac_objext'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6782 ac_header_compiler=yes
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.$ac_ext >&5
6787 ac_header_compiler=no
6789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6791 echo "${ECHO_T}$ac_header_compiler" >&6
6793 # Is the header present?
6794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6796 cat >conftest.$ac_ext <<_ACEOF
6799 cat confdefs.h >>conftest.$ac_ext
6800 cat >>conftest.$ac_ext <<_ACEOF
6801 /* end confdefs.h. */
6802 #include <$ac_header>
6804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6807 grep -v '^ *+' conftest.er1 >conftest.err
6809 cat conftest.err >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); } >/dev/null; then
6812 if test -s conftest.err; then
6813 ac_cpp_err=$ac_c_preproc_warn_flag
6814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6821 if test -z "$ac_cpp_err"; then
6822 ac_header_preproc=yes
6824 echo "$as_me: failed program was:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6827 ac_header_preproc=no
6829 rm -f conftest.err conftest.$ac_ext
6830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6831 echo "${ECHO_T}$ac_header_preproc" >&6
6833 # So? What about this header?
6834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6840 ac_header_preproc=yes
6843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6857 ## --------------------------------------------- ##
6858 ## Report this to shibboleth-users@internet2.edu ##
6859 ## --------------------------------------------- ##
6862 sed "s/^/$as_me: WARNING: /" >&2
6865 echo "$as_me:$LINENO: checking for $ac_header" >&5
6866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 eval "$as_ac_Header=\$ac_header_preproc"
6872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6877 cat >>confdefs.h <<_ACEOF
6878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 ac_cpp='$CXXCPP $CPPFLAGS'
6887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6890 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6891 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6892 if test -z "$CXXCPP"; then
6893 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 # Double quotes because CXXCPP needs to be expanded
6897 for CXXCPP in "$CXX -E" "/lib/cpp"
6900 for ac_cxx_preproc_warn_flag in '' yes
6902 # Use a header file that comes with gcc, so configuring glibc
6903 # with a fresh cross-compiler works.
6904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6905 # <limits.h> exists even on freestanding compilers.
6906 # On the NeXT, cc -E runs the code through the compiler's parser,
6907 # not just through cpp. "Syntax error" is here to catch this case.
6908 cat >conftest.$ac_ext <<_ACEOF
6911 cat confdefs.h >>conftest.$ac_ext
6912 cat >>conftest.$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6915 # include <limits.h>
6917 # include <assert.h>
6921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6924 grep -v '^ *+' conftest.er1 >conftest.err
6926 cat conftest.err >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); } >/dev/null; then
6929 if test -s conftest.err; then
6930 ac_cpp_err=$ac_cxx_preproc_warn_flag
6931 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6938 if test -z "$ac_cpp_err"; then
6941 echo "$as_me: failed program was:" >&5
6942 sed 's/^/| /' conftest.$ac_ext >&5
6944 # Broken: fails on valid input.
6947 rm -f conftest.err conftest.$ac_ext
6949 # OK, works on sane cases. Now check whether non-existent headers
6950 # can be detected and how.
6951 cat >conftest.$ac_ext <<_ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 #include <ac_nonexistent.h>
6959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6962 grep -v '^ *+' conftest.er1 >conftest.err
6964 cat conftest.err >&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); } >/dev/null; then
6967 if test -s conftest.err; then
6968 ac_cpp_err=$ac_cxx_preproc_warn_flag
6969 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6976 if test -z "$ac_cpp_err"; then
6977 # Broken: success on invalid input.
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 # Passes both tests.
6987 rm -f conftest.err conftest.$ac_ext
6990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6991 rm -f conftest.err conftest.$ac_ext
6992 if $ac_preproc_ok; then
6997 ac_cv_prog_CXXCPP=$CXXCPP
7000 CXXCPP=$ac_cv_prog_CXXCPP
7002 ac_cv_prog_CXXCPP=$CXXCPP
7004 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7005 echo "${ECHO_T}$CXXCPP" >&6
7007 for ac_cxx_preproc_warn_flag in '' yes
7009 # Use a header file that comes with gcc, so configuring glibc
7010 # with a fresh cross-compiler works.
7011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7012 # <limits.h> exists even on freestanding compilers.
7013 # On the NeXT, cc -E runs the code through the compiler's parser,
7014 # not just through cpp. "Syntax error" is here to catch this case.
7015 cat >conftest.$ac_ext <<_ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7022 # include <limits.h>
7024 # include <assert.h>
7028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7031 grep -v '^ *+' conftest.er1 >conftest.err
7033 cat conftest.err >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } >/dev/null; then
7036 if test -s conftest.err; then
7037 ac_cpp_err=$ac_cxx_preproc_warn_flag
7038 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7045 if test -z "$ac_cpp_err"; then
7048 echo "$as_me: failed program was:" >&5
7049 sed 's/^/| /' conftest.$ac_ext >&5
7051 # Broken: fails on valid input.
7054 rm -f conftest.err conftest.$ac_ext
7056 # OK, works on sane cases. Now check whether non-existent headers
7057 # can be detected and how.
7058 cat >conftest.$ac_ext <<_ACEOF
7061 cat confdefs.h >>conftest.$ac_ext
7062 cat >>conftest.$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7064 #include <ac_nonexistent.h>
7066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7069 grep -v '^ *+' conftest.er1 >conftest.err
7071 cat conftest.err >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } >/dev/null; then
7074 if test -s conftest.err; then
7075 ac_cpp_err=$ac_cxx_preproc_warn_flag
7076 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7083 if test -z "$ac_cpp_err"; then
7084 # Broken: success on invalid input.
7087 echo "$as_me: failed program was:" >&5
7088 sed 's/^/| /' conftest.$ac_ext >&5
7090 # Passes both tests.
7094 rm -f conftest.err conftest.$ac_ext
7097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7098 rm -f conftest.err conftest.$ac_ext
7099 if $ac_preproc_ok; then
7102 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7103 See \`config.log' for more details." >&5
7104 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7105 See \`config.log' for more details." >&2;}
7106 { (exit 1); exit 1; }; }
7110 ac_cpp='$CXXCPP $CPPFLAGS'
7111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7117 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7118 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7119 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7120 if test -n "$ac_tool_prefix"; then
7121 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7125 echo "$as_me:$LINENO: checking for $ac_word" >&5
7126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7127 if test "${ac_cv_prog_F77+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 if test -n "$F77"; then
7131 ac_cv_prog_F77="$F77" # Let the user override the test.
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 if test -n "$F77"; then
7151 echo "$as_me:$LINENO: result: $F77" >&5
7152 echo "${ECHO_T}$F77" >&6
7154 echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6
7158 test -n "$F77" && break
7161 if test -z "$F77"; then
7163 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7165 # Extract the first word of "$ac_prog", so it can be a program name with args.
7166 set dummy $ac_prog; ac_word=$2
7167 echo "$as_me:$LINENO: checking for $ac_word" >&5
7168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7169 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 if test -n "$ac_ct_F77"; then
7173 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_ac_ct_F77="$ac_prog"
7183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 ac_ct_F77=$ac_cv_prog_ac_ct_F77
7192 if test -n "$ac_ct_F77"; then
7193 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7194 echo "${ECHO_T}$ac_ct_F77" >&6
7196 echo "$as_me:$LINENO: result: no" >&5
7197 echo "${ECHO_T}no" >&6
7200 test -n "$ac_ct_F77" && break
7207 # Provide some information about the compiler.
7208 echo "$as_me:7208:" \
7209 "checking for Fortran 77 compiler version" >&5
7210 ac_compiler=`set X $ac_compile; echo $2`
7211 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7212 (eval $ac_compiler --version </dev/null >&5) 2>&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); }
7216 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7217 (eval $ac_compiler -v </dev/null >&5) 2>&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); }
7221 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7222 (eval $ac_compiler -V </dev/null >&5) 2>&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }
7228 # If we don't use `.F' as extension, the preprocessor is not run on the
7229 # input file. (Note that this only needs to work for GNU compilers.)
7232 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7233 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7234 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 cat >conftest.$ac_ext <<_ACEOF
7245 rm -f conftest.$ac_objext
7246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247 (eval $ac_compile) 2>conftest.er1
7249 grep -v '^ *+' conftest.er1 >conftest.err
7251 cat conftest.err >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } &&
7254 { ac_try='test -z "$ac_f77_werror_flag"
7255 || test ! -s conftest.err'
7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; } &&
7261 { ac_try='test -s conftest.$ac_objext'
7262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7275 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7278 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7279 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7281 ac_test_FFLAGS=${FFLAGS+set}
7282 ac_save_FFLAGS=$FFLAGS
7284 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7285 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7286 if test "${ac_cv_prog_f77_g+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 cat >conftest.$ac_ext <<_ACEOF
7295 rm -f conftest.$ac_objext
7296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7297 (eval $ac_compile) 2>conftest.er1
7299 grep -v '^ *+' conftest.er1 >conftest.err
7301 cat conftest.err >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); } &&
7304 { ac_try='test -z "$ac_f77_werror_flag"
7305 || test ! -s conftest.err'
7306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }; } &&
7311 { ac_try='test -s conftest.$ac_objext'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; }; then
7317 ac_cv_prog_f77_g=yes
7319 echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.$ac_ext >&5
7324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7327 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7328 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7329 if test "$ac_test_FFLAGS" = set; then
7330 FFLAGS=$ac_save_FFLAGS
7331 elif test $ac_cv_prog_f77_g = yes; then
7332 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7338 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7345 G77=`test $ac_compiler_gnu = yes && echo yes`
7347 ac_cpp='$CPP $CPPFLAGS'
7348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7354 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7356 # find the maximum length of command line arguments
7357 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7358 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7359 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7360 echo $ECHO_N "(cached) $ECHO_C" >&6
7367 # On DJGPP, this test can blow up pretty badly due to problems in libc
7368 # (any single argument exceeding 2000 bytes causes a buffer overrun
7369 # during glob expansion). Even if it were fixed, the result of this
7370 # check would be larger than it should be.
7371 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7375 # Under GNU Hurd, this test is not required because there is
7376 # no limit to the length of command line arguments.
7377 # Libtool will interpret -1 as no limit whatsoever
7378 lt_cv_sys_max_cmd_len=-1;
7382 # On Win9x/ME, this test blows up -- it succeeds, but takes
7383 # about 5 minutes as the teststring grows exponentially.
7384 # Worse, since 9x/ME are not pre-emptively multitasking,
7385 # you end up with a "frozen" computer, even though with patience
7386 # the test eventually succeeds (with a max line length of 256k).
7387 # Instead, let's just punt: use the minimum linelength reported by
7388 # all of the supported platforms: 8192 (on NT/2K/XP).
7389 lt_cv_sys_max_cmd_len=8192;
7393 # On AmigaOS with pdksh, this test takes hours, literally.
7394 # So we just punt and use a minimum line length of 8192.
7395 lt_cv_sys_max_cmd_len=8192;
7399 # If test is not a shell built-in, we'll probably end up computing a
7400 # maximum length that is only half of the actual maximum length, but
7402 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7403 = "XX$teststring") >/dev/null 2>&1 &&
7404 new_result=`expr "X$teststring" : ".*" 2>&1` &&
7405 lt_cv_sys_max_cmd_len=$new_result &&
7406 test $i != 17 # 1/2 MB should be enough
7409 teststring=$teststring$teststring
7412 # Add a significant safety factor because C++ compilers can tack on massive
7413 # amounts of additional arguments before passing them to the linker.
7414 # It appears as though 1/2 is a usable value.
7415 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7421 if test -n $lt_cv_sys_max_cmd_len ; then
7422 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7423 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
7425 echo "$as_me:$LINENO: result: none" >&5
7426 echo "${ECHO_T}none" >&6
7432 # Check for command to grab the raw symbol name followed by C symbol from nm.
7433 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7434 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7435 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7436 echo $ECHO_N "(cached) $ECHO_C" >&6
7439 # These are sane defaults that work on at least a few old systems.
7440 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7442 # Character class describing NM global symbol codes.
7443 symcode='[BCDEGRST]'
7445 # Regexp to match symbols that can be accessed directly from C.
7446 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7448 # Transform the above into a raw symbol and a C symbol.
7449 symxfrm='\1 \2\3 \3'
7451 # Transform an extracted symbol line into a proper C declaration
7452 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7454 # Transform an extracted symbol line into symbol name and symbol address
7455 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'"
7457 # Define system-specific variables.
7462 cygwin* | mingw* | pw32*)
7463 symcode='[ABCDGISTW]'
7465 hpux*) # Its linker distinguishes data from code symbols
7466 if test "$host_cpu" = ia64; then
7467 symcode='[ABCDEGRST]'
7469 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7470 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'"
7473 symcode='[BCDEGRST]'
7476 symcode='[BCDEGQRST]'
7486 # Handle CRLF in mingw tool chain
7490 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7494 # If we're using GNU nm, then use its standard symbol codes.
7495 case `$NM -V 2>&1` in
7496 *GNU* | *'with BFD'*)
7497 symcode='[ABCDGIRSTW]' ;;
7500 # Try without a prefix undercore, then with it.
7501 for ac_symprfx in "" "_"; do
7503 # Write the raw and C identifiers.
7504 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
7506 # Check to see that the pipe works correctly.
7510 cat > conftest.$ac_ext <<EOF
7515 void nm_test_func(){}
7519 int main(){nm_test_var='a';nm_test_func();return(0);}
7522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7523 (eval $ac_compile) 2>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; then
7527 # Now try to grab the symbols.
7529 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7530 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && test -s "$nlist"; then
7534 # Try sorting and uniquifying the output.
7535 if sort "$nlist" | uniq > "$nlist"T; then
7536 mv -f "$nlist"T "$nlist"
7541 # Make sure that we snagged all the symbols we need.
7542 if grep ' nm_test_var$' "$nlist" >/dev/null; then
7543 if grep ' nm_test_func$' "$nlist" >/dev/null; then
7544 cat <<EOF > conftest.$ac_ext
7550 # Now generate the symbol file.
7551 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7553 cat <<EOF >> conftest.$ac_ext
7554 #if defined (__STDC__) && __STDC__
7555 # define lt_ptr_t void *
7557 # define lt_ptr_t char *
7561 /* The mapping between symbol names and symbols. */
7566 lt_preloaded_symbols[] =
7569 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7570 cat <<\EOF >> conftest.$ac_ext
7578 # Now try linking the two files.
7579 mv conftest.$ac_objext conftstm.$ac_objext
7580 lt_save_LIBS="$LIBS"
7581 lt_save_CFLAGS="$CFLAGS"
7582 LIBS="conftstm.$ac_objext"
7583 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7585 (eval $ac_link) 2>&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7591 LIBS="$lt_save_LIBS"
7592 CFLAGS="$lt_save_CFLAGS"
7594 echo "cannot find nm_test_func in $nlist" >&5
7597 echo "cannot find nm_test_var in $nlist" >&5
7600 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7603 echo "$progname: failed program was:" >&5
7604 cat conftest.$ac_ext >&5
7606 rm -f conftest* conftst*
7608 # Do not use the global_symbol_pipe unless it works.
7609 if test "$pipe_works" = yes; then
7612 lt_cv_sys_global_symbol_pipe=
7618 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7619 lt_cv_sys_global_symbol_to_cdecl=
7621 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7622 echo "$as_me:$LINENO: result: failed" >&5
7623 echo "${ECHO_T}failed" >&6
7625 echo "$as_me:$LINENO: result: ok" >&5
7626 echo "${ECHO_T}ok" >&6
7629 echo "$as_me:$LINENO: checking for objdir" >&5
7630 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7631 if test "${lt_cv_objdir+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 rm -f .libs 2>/dev/null
7635 mkdir .libs 2>/dev/null
7636 if test -d .libs; then
7639 # MS-DOS does not allow filenames that begin with a dot.
7642 rmdir .libs 2>/dev/null
7644 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7645 echo "${ECHO_T}$lt_cv_objdir" >&6
7646 objdir=$lt_cv_objdir
7654 # AIX sometimes has problems with the GCC collect2 program. For some
7655 # reason, if we set the COLLECT_NAMES environment variable, the problems
7656 # vanish in a puff of smoke.
7657 if test "X${COLLECT_NAMES+set}" != Xset; then
7659 export COLLECT_NAMES
7664 # Sed substitution that helps us do robust quoting. It backslashifies
7665 # metacharacters that are still active within double-quoted strings.
7666 Xsed='sed -e s/^X//'
7667 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7669 # Same as above, but do not quote variable references.
7670 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7672 # Sed substitution to delay expansion of an escaped shell variable in a
7673 # double_quote_subst'ed string.
7674 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7676 # Sed substitution to avoid accidental globbing in evaled expressions
7677 no_glob_subst='s/\*/\\\*/g'
7683 default_ofile=libtool
7684 can_build_shared=yes
7686 # All known linkers require a `.a' archive for static linking (except M$VC,
7687 # which needs '.lib').
7689 ltmain="$ac_aux_dir/ltmain.sh"
7690 ofile="$default_ofile"
7691 with_gnu_ld="$lt_cv_prog_gnu_ld"
7693 if test -n "$ac_tool_prefix"; then
7694 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7695 set dummy ${ac_tool_prefix}ar; ac_word=$2
7696 echo "$as_me:$LINENO: checking for $ac_word" >&5
7697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7698 if test "${ac_cv_prog_AR+set}" = set; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7701 if test -n "$AR"; then
7702 ac_cv_prog_AR="$AR" # Let the user override the test.
7704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7708 test -z "$as_dir" && as_dir=.
7709 for ac_exec_ext in '' $ac_executable_extensions; do
7710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7711 ac_cv_prog_AR="${ac_tool_prefix}ar"
7712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 if test -n "$AR"; then
7722 echo "$as_me:$LINENO: result: $AR" >&5
7723 echo "${ECHO_T}$AR" >&6
7725 echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7730 if test -z "$ac_cv_prog_AR"; then
7732 # Extract the first word of "ar", so it can be a program name with args.
7733 set dummy ar; ac_word=$2
7734 echo "$as_me:$LINENO: checking for $ac_word" >&5
7735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7736 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7737 echo $ECHO_N "(cached) $ECHO_C" >&6
7739 if test -n "$ac_ct_AR"; then
7740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir=.
7747 for ac_exec_ext in '' $ac_executable_extensions; do
7748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_ac_ct_AR="ar"
7750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7760 if test -n "$ac_ct_AR"; then
7761 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7762 echo "${ECHO_T}$ac_ct_AR" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7773 if test -n "$ac_tool_prefix"; then
7774 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7775 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7776 echo "$as_me:$LINENO: checking for $ac_word" >&5
7777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7778 if test "${ac_cv_prog_RANLIB+set}" = set; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 if test -n "$RANLIB"; then
7782 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7791 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7800 RANLIB=$ac_cv_prog_RANLIB
7801 if test -n "$RANLIB"; then
7802 echo "$as_me:$LINENO: result: $RANLIB" >&5
7803 echo "${ECHO_T}$RANLIB" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7810 if test -z "$ac_cv_prog_RANLIB"; then
7811 ac_ct_RANLIB=$RANLIB
7812 # Extract the first word of "ranlib", so it can be a program name with args.
7813 set dummy ranlib; ac_word=$2
7814 echo "$as_me:$LINENO: checking for $ac_word" >&5
7815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7816 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 if test -n "$ac_ct_RANLIB"; then
7820 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_ac_ct_RANLIB="ranlib"
7830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7839 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7840 if test -n "$ac_ct_RANLIB"; then
7841 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7842 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7844 echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6
7848 RANLIB=$ac_ct_RANLIB
7850 RANLIB="$ac_cv_prog_RANLIB"
7853 if test -n "$ac_tool_prefix"; then
7854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7855 set dummy ${ac_tool_prefix}strip; ac_word=$2
7856 echo "$as_me:$LINENO: checking for $ac_word" >&5
7857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7858 if test "${ac_cv_prog_STRIP+set}" = set; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 if test -n "$STRIP"; then
7862 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 STRIP=$ac_cv_prog_STRIP
7881 if test -n "$STRIP"; then
7882 echo "$as_me:$LINENO: result: $STRIP" >&5
7883 echo "${ECHO_T}$STRIP" >&6
7885 echo "$as_me:$LINENO: result: no" >&5
7886 echo "${ECHO_T}no" >&6
7890 if test -z "$ac_cv_prog_STRIP"; then
7892 # Extract the first word of "strip", so it can be a program name with args.
7893 set dummy strip; ac_word=$2
7894 echo "$as_me:$LINENO: checking for $ac_word" >&5
7895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7896 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 if test -n "$ac_ct_STRIP"; then
7900 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 test -z "$as_dir" && as_dir=.
7907 for ac_exec_ext in '' $ac_executable_extensions; do
7908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909 ac_cv_prog_ac_ct_STRIP="strip"
7910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7919 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7920 if test -n "$ac_ct_STRIP"; then
7921 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7922 echo "${ECHO_T}$ac_ct_STRIP" >&6
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7930 STRIP="$ac_cv_prog_STRIP"
7935 old_CFLAGS="$CFLAGS"
7937 # Set sane defaults for various variables
7938 test -z "$AR" && AR=ar
7939 test -z "$AR_FLAGS" && AR_FLAGS=cru
7940 test -z "$AS" && AS=as
7941 test -z "$CC" && CC=cc
7942 test -z "$LTCC" && LTCC=$CC
7943 test -z "$DLLTOOL" && DLLTOOL=dlltool
7944 test -z "$LD" && LD=ld
7945 test -z "$LN_S" && LN_S="ln -s"
7946 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7947 test -z "$NM" && NM=nm
7948 test -z "$SED" && SED=sed
7949 test -z "$OBJDUMP" && OBJDUMP=objdump
7950 test -z "$RANLIB" && RANLIB=:
7951 test -z "$STRIP" && STRIP=:
7952 test -z "$ac_objext" && ac_objext=o
7954 # Determine commands to create old-style static archives.
7955 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7956 old_postinstall_cmds='chmod 644 $oldlib'
7957 old_postuninstall_cmds=
7959 if test -n "$RANLIB"; then
7962 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7965 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
7968 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7971 # Only perform the check for file, if the check method requires it
7972 case $deplibs_check_method in
7974 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7975 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7976 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7977 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7978 echo $ECHO_N "(cached) $ECHO_C" >&6
7982 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7985 lt_save_MAGIC_CMD="$MAGIC_CMD"
7986 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7987 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7988 for ac_dir in $ac_dummy; do
7990 test -z "$ac_dir" && ac_dir=.
7991 if test -f $ac_dir/${ac_tool_prefix}file; then
7992 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7993 if test -n "$file_magic_test_file"; then
7994 case $deplibs_check_method in
7996 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7998 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7999 $EGREP "$file_magic_regex" > /dev/null; then
8004 *** Warning: the command libtool uses to detect shared libraries,
8005 *** $file_magic_cmd, produces output that libtool cannot recognize.
8006 *** The result is that libtool may fail to recognize shared libraries
8007 *** as such. This will affect the creation of libtool libraries that
8008 *** depend on shared libraries, but programs linked with such libtool
8009 *** libraries will work regardless of this problem. Nevertheless, you
8010 *** may want to report the problem to your system manager and/or to
8011 *** bug-libtool@gnu.org
8021 MAGIC_CMD="$lt_save_MAGIC_CMD"
8026 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8027 if test -n "$MAGIC_CMD"; then
8028 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8029 echo "${ECHO_T}$MAGIC_CMD" >&6
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8035 if test -z "$lt_cv_path_MAGIC_CMD"; then
8036 if test -n "$ac_tool_prefix"; then
8037 echo "$as_me:$LINENO: checking for file" >&5
8038 echo $ECHO_N "checking for file... $ECHO_C" >&6
8039 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8047 lt_save_MAGIC_CMD="$MAGIC_CMD"
8048 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8049 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8050 for ac_dir in $ac_dummy; do
8052 test -z "$ac_dir" && ac_dir=.
8053 if test -f $ac_dir/file; then
8054 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8055 if test -n "$file_magic_test_file"; then
8056 case $deplibs_check_method in
8058 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8059 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8060 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8061 $EGREP "$file_magic_regex" > /dev/null; then
8066 *** Warning: the command libtool uses to detect shared libraries,
8067 *** $file_magic_cmd, produces output that libtool cannot recognize.
8068 *** The result is that libtool may fail to recognize shared libraries
8069 *** as such. This will affect the creation of libtool libraries that
8070 *** depend on shared libraries, but programs linked with such libtool
8071 *** libraries will work regardless of this problem. Nevertheless, you
8072 *** may want to report the problem to your system manager and/or to
8073 *** bug-libtool@gnu.org
8083 MAGIC_CMD="$lt_save_MAGIC_CMD"
8088 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8089 if test -n "$MAGIC_CMD"; then
8090 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8091 echo "${ECHO_T}$MAGIC_CMD" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8109 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8110 if test "${enable_libtool_lock+set}" = set; then
8111 enableval="$enable_libtool_lock"
8114 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8117 # Check whether --with-pic or --without-pic was given.
8118 if test "${with_pic+set}" = set; then
8124 test -z "$pic_mode" && pic_mode=default
8126 # Use C for the default configuration in the libtool script
8130 ac_cpp='$CPP $CPPFLAGS'
8131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8136 # Source file extension for C test sources.
8139 # Object file extension for compiled C test sources.
8143 # Code to be used in simple compile tests
8144 lt_simple_compile_test_code="int some_variable = 0;\n"
8146 # Code to be used in simple link tests
8147 lt_simple_link_test_code='int main(){return(0);}\n'
8150 # If no C compiler was specified, use CC.
8153 # Allow CC to be a program name with arguments.
8158 # Check for any special shared library compilation flags.
8161 if test "$GCC" = no; then
8164 lt_prog_cc_shlib='-belf'
8168 if test -n "$lt_prog_cc_shlib"; then
8169 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
8170 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
8171 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
8173 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
8174 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
8175 lt_cv_prog_cc_can_build_shared=no
8181 # Check to make sure the static flag actually works.
8183 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8184 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
8185 if test "${lt_prog_compiler_static_works+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 lt_prog_compiler_static_works=no
8189 save_LDFLAGS="$LDFLAGS"
8190 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
8191 printf "$lt_simple_link_test_code" > conftest.$ac_ext
8192 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8193 # The compiler can only warn and ignore the option if not recognized
8194 # So say no if there are warnings
8195 if test -s conftest.err; then
8196 # Append any errors to the config.log.
8197 cat conftest.err 1>&5
8199 lt_prog_compiler_static_works=yes
8203 LDFLAGS="$save_LDFLAGS"
8206 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8207 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8209 if test x"$lt_prog_compiler_static_works" = xyes; then
8212 lt_prog_compiler_static=
8218 ## There is no encapsulation within the following macros, do not change
8219 ## the running order or otherwise move them around unless you know exactly
8220 ## what you are doing...
8222 lt_prog_compiler_no_builtin_flag=
8224 if test "$GCC" = yes; then
8225 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8228 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8229 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8230 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 lt_cv_prog_compiler_rtti_exceptions=no
8234 ac_outfile=conftest.$ac_objext
8235 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8236 lt_compiler_flag="-fno-rtti -fno-exceptions"
8237 # Insert the option either (1) after the last *FLAGS variable, or
8238 # (2) before a word containing "conftest.", or (3) at the end.
8239 # Note that $ac_compile itself does not contain backslashes and begins
8240 # with a dollar sign (not a hyphen), so the echo should work correctly.
8241 # The option is referenced via a variable to avoid confusing sed.
8242 lt_compile=`echo "$ac_compile" | $SED \
8243 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8244 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8245 -e 's:$: $lt_compiler_flag:'`
8246 (eval echo "\"\$as_me:8246: $lt_compile\"" >&5)
8247 (eval "$lt_compile" 2>conftest.err)
8249 cat conftest.err >&5
8250 echo "$as_me:8250: \$? = $ac_status" >&5
8251 if (exit $ac_status) && test -s "$ac_outfile"; then
8252 # The compiler can only warn and ignore the option if not recognized
8253 # So say no if there are warnings
8254 if test ! -s conftest.err; then
8255 lt_cv_prog_compiler_rtti_exceptions=yes
8261 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8262 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8264 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8265 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8272 lt_prog_compiler_wl=
8273 lt_prog_compiler_pic=
8274 lt_prog_compiler_static=
8276 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8277 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8279 if test "$GCC" = yes; then
8280 lt_prog_compiler_wl='-Wl,'
8281 lt_prog_compiler_static='-static'
8285 # All AIX code is PIC.
8286 if test "$host_cpu" = ia64; then
8287 # AIX 5 now supports IA64 processor
8288 lt_prog_compiler_static='-Bstatic'
8293 # FIXME: we need at least 68020 code to build shared libraries, but
8294 # adding the `-m68020' flag to GCC prevents building anything better,
8296 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8299 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8300 # PIC is the default for these OSes.
8303 mingw* | pw32* | os2*)
8304 # This hack is so that the source file can tell whether it is being
8305 # built for inclusion in a dll (and should export symbols for example).
8306 lt_prog_compiler_pic='-DDLL_EXPORT'
8309 darwin* | rhapsody*)
8310 # PIC is the default on this platform
8311 # Common symbols not allowed in MH_DYLIB files
8312 lt_prog_compiler_pic='-fno-common'
8316 # Just because we use GCC doesn't mean we suddenly get shared libraries
8317 # on systems that don't support them.
8318 lt_prog_compiler_can_build_shared=no
8323 if test -d /usr/nec; then
8324 lt_prog_compiler_pic=-Kconform_pic
8329 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8336 lt_prog_compiler_pic='-fPIC'
8342 lt_prog_compiler_pic='-fPIC'
8346 # PORTME Check for flag to pass linker flags through the system compiler.
8349 lt_prog_compiler_wl='-Wl,'
8350 if test "$host_cpu" = ia64; then
8351 # AIX 5 now supports IA64 processor
8352 lt_prog_compiler_static='-Bstatic'
8354 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8358 mingw* | pw32* | os2*)
8359 # This hack is so that the source file can tell whether it is being
8360 # built for inclusion in a dll (and should export symbols for example).
8361 lt_prog_compiler_pic='-DDLL_EXPORT'
8364 hpux9* | hpux10* | hpux11*)
8365 lt_prog_compiler_wl='-Wl,'
8366 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8373 lt_prog_compiler_pic='+Z'
8376 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8377 lt_prog_compiler_static='${wl}-a ${wl}archive'
8380 irix5* | irix6* | nonstopux*)
8381 lt_prog_compiler_wl='-Wl,'
8382 # PIC (with -KPIC) is the default.
8383 lt_prog_compiler_static='-non_shared'
8387 lt_prog_compiler_pic='-KPIC'
8388 lt_prog_compiler_static='-Bstatic'
8394 lt_prog_compiler_wl='-Wl,'
8395 lt_prog_compiler_pic='-KPIC'
8396 lt_prog_compiler_static='-static'
8399 lt_prog_compiler_wl='-Wl,'
8400 # All Alpha code is PIC.
8401 lt_prog_compiler_static='-non_shared'
8406 osf3* | osf4* | osf5*)
8407 lt_prog_compiler_wl='-Wl,'
8408 # All OSF/1 code is PIC.
8409 lt_prog_compiler_static='-non_shared'
8413 lt_prog_compiler_pic='-Kpic'
8414 lt_prog_compiler_static='-dn'
8418 lt_prog_compiler_wl='-Wl,'
8419 lt_prog_compiler_pic='-KPIC'
8420 lt_prog_compiler_static='-Bstatic'
8424 lt_prog_compiler_wl='-Qoption ld '
8425 lt_prog_compiler_pic='-PIC'
8426 lt_prog_compiler_static='-Bstatic'
8429 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8430 lt_prog_compiler_wl='-Wl,'
8431 lt_prog_compiler_pic='-KPIC'
8432 lt_prog_compiler_static='-Bstatic'
8436 if test -d /usr/nec ;then
8437 lt_prog_compiler_pic='-Kconform_pic'
8438 lt_prog_compiler_static='-Bstatic'
8443 lt_prog_compiler_pic='-pic'
8444 lt_prog_compiler_static='-Bstatic'
8448 lt_prog_compiler_can_build_shared=no
8453 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8454 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8457 # Check to make sure the PIC flag actually works.
8459 if test -n "$lt_prog_compiler_pic"; then
8461 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8462 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8463 if test "${lt_prog_compiler_pic_works+set}" = set; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 lt_prog_compiler_pic_works=no
8467 ac_outfile=conftest.$ac_objext
8468 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8469 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8470 # Insert the option either (1) after the last *FLAGS variable, or
8471 # (2) before a word containing "conftest.", or (3) at the end.
8472 # Note that $ac_compile itself does not contain backslashes and begins
8473 # with a dollar sign (not a hyphen), so the echo should work correctly.
8474 # The option is referenced via a variable to avoid confusing sed.
8475 lt_compile=`echo "$ac_compile" | $SED \
8476 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8478 -e 's:$: $lt_compiler_flag:'`
8479 (eval echo "\"\$as_me:8479: $lt_compile\"" >&5)
8480 (eval "$lt_compile" 2>conftest.err)
8482 cat conftest.err >&5
8483 echo "$as_me:8483: \$? = $ac_status" >&5
8484 if (exit $ac_status) && test -s "$ac_outfile"; then
8485 # The compiler can only warn and ignore the option if not recognized
8486 # So say no if there are warnings
8487 if test ! -s conftest.err; then
8488 lt_prog_compiler_pic_works=yes
8494 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8495 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
8497 if test x"$lt_prog_compiler_pic_works" = xyes; then
8498 case $lt_prog_compiler_pic in
8500 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8503 lt_prog_compiler_pic=
8504 lt_prog_compiler_can_build_shared=no
8509 # For platforms which do not support PIC, -DPIC is meaningless:
8511 lt_prog_compiler_pic=
8514 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8518 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8519 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8520 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 lt_cv_prog_compiler_c_o=no
8524 $rm -r conftest 2>/dev/null
8528 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8530 lt_compiler_flag="-o out/conftest2.$ac_objext"
8531 # Insert the option either (1) after the last *FLAGS variable, or
8532 # (2) before a word containing "conftest.", or (3) at the end.
8533 # Note that $ac_compile itself does not contain backslashes and begins
8534 # with a dollar sign (not a hyphen), so the echo should work correctly.
8535 lt_compile=`echo "$ac_compile" | $SED \
8536 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8538 -e 's:$: $lt_compiler_flag:'`
8539 (eval echo "\"\$as_me:8539: $lt_compile\"" >&5)
8540 (eval "$lt_compile" 2>out/conftest.err)
8542 cat out/conftest.err >&5
8543 echo "$as_me:8543: \$? = $ac_status" >&5
8544 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8546 # The compiler can only warn and ignore the option if not recognized
8547 # So say no if there are warnings
8548 if test ! -s out/conftest.err; then
8549 lt_cv_prog_compiler_c_o=yes
8554 # SGI C++ compiler will create directory out/ii_files/ for
8555 # template instantiation
8556 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8557 $rm out/* && rmdir out
8563 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8564 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8567 hard_links="nottested"
8568 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8569 # do not overwrite the value of need_locks provided by the user
8570 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8571 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8576 ln conftest.a conftest.b 2>&5 || hard_links=no
8577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8578 echo "$as_me:$LINENO: result: $hard_links" >&5
8579 echo "${ECHO_T}$hard_links" >&6
8580 if test "$hard_links" = no; then
8581 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8582 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8589 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8590 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8593 allow_undefined_flag=
8594 enable_shared_with_static_runtimes=no
8596 archive_expsym_cmds=
8597 old_archive_From_new_cmds=
8598 old_archive_from_expsyms_cmds=
8599 export_dynamic_flag_spec=
8600 whole_archive_flag_spec=
8601 thread_safe_flag_spec=
8602 hardcode_libdir_flag_spec=
8603 hardcode_libdir_flag_spec_ld=
8604 hardcode_libdir_separator=
8607 hardcode_shlibpath_var=unsupported
8608 link_all_deplibs=unknown
8609 hardcode_automatic=no
8612 always_export_symbols=no
8613 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8614 # include_expsyms should be a list of space-separated symbols to be *always*
8615 # included in the symbol list
8617 # exclude_expsyms can be an extended regexp of symbols to exclude
8618 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8619 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8620 # as well as any symbol that contains `d'.
8621 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8622 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8623 # platforms (ab)use it in PIC code, but their linkers get confused if
8624 # the symbol is explicitly referenced. Since portable code cannot
8625 # rely on this symbol name, it's probably fine to never include it in
8626 # preloaded symbol tables.
8627 extract_expsyms_cmds=
8630 cygwin* | mingw* | pw32*)
8631 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8632 # When not using gcc, we currently assume that we are using
8633 # Microsoft Visual C++.
8634 if test "$GCC" != yes; then
8644 if test "$with_gnu_ld" = yes; then
8645 # If archive_cmds runs LD, not CC, wlarc should be empty
8648 # See if GNU ld supports shared libraries.
8650 aix3* | aix4* | aix5*)
8651 # On AIX/PPC, the GNU linker is very broken
8652 if test "$host_cpu" != ia64; then
8656 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8657 *** to be unable to reliably create shared libraries on AIX.
8658 *** Therefore, libtool is disabling shared libraries support. If you
8659 *** really care for shared libraries, you may want to modify your PATH
8660 *** so that a non-GNU linker is found, and then restart.
8667 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)'
8668 hardcode_libdir_flag_spec='-L$libdir'
8669 hardcode_minus_L=yes
8671 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8672 # that the semantics of dynamic libraries on AmigaOS, at least up
8673 # to version 4, is to share data among multiple programs linked
8674 # with the same dynamic library. Since this doesn't match the
8675 # behavior of shared libraries on other platforms, we can't use
8681 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8682 allow_undefined_flag=unsupported
8683 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8684 # support --undefined. This deserves some investigation. FIXME
8685 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8691 cygwin* | mingw* | pw32*)
8692 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8693 # as there is no search path for DLLs.
8694 hardcode_libdir_flag_spec='-L$libdir'
8695 allow_undefined_flag=unsupported
8696 always_export_symbols=no
8697 enable_shared_with_static_runtimes=yes
8698 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8700 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8701 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8702 # If the export-symbols file already is a .def file (1st line
8703 # is EXPORTS), use it as is; otherwise, prepend...
8704 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8705 cp $export_symbols $output_objdir/$soname.def;
8707 echo EXPORTS > $output_objdir/$soname.def;
8708 cat $export_symbols >> $output_objdir/$soname.def;
8710 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8717 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8718 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8721 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8722 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8727 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8731 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8732 *** create shared libraries on Solaris systems. Therefore, libtool
8733 *** is disabling shared libraries support. We urge you to upgrade GNU
8734 *** binutils to release 2.9.1 or newer. Another option is to modify
8735 *** your PATH or compiler configuration so that the native linker is
8736 *** used, and then restart.
8739 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8741 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8748 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8751 hardcode_shlibpath_var=no
8755 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8756 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8757 archive_cmds="$tmp_archive_cmds"
8758 supports_anon_versioning=no
8759 case `$LD -v 2>/dev/null` in
8760 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8761 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8762 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8763 *\ 2.11.*) ;; # other 2.11 versions
8764 *) supports_anon_versioning=yes ;;
8766 if test $supports_anon_versioning = yes; then
8767 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8768 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8769 $echo "local: *; };" >> $output_objdir/$libname.ver~
8770 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8772 archive_expsym_cmds="$tmp_archive_cmds"
8780 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8781 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8782 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8789 if test "$ld_shlibs" = yes; then
8790 runpath_var=LD_RUN_PATH
8791 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8792 export_dynamic_flag_spec='${wl}--export-dynamic'
8793 # ancient GNU ld didn't support --whole-archive et. al.
8794 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8795 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8797 whole_archive_flag_spec=
8801 # PORTME fill in a description of your system's linker (not GNU ld)
8804 allow_undefined_flag=unsupported
8805 always_export_symbols=yes
8806 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'
8807 # Note: this linker hardcodes the directories in LIBPATH if there
8808 # are no directories specified by -L.
8809 hardcode_minus_L=yes
8810 if test "$GCC" = yes && test -z "$link_static_flag"; then
8811 # Neither direct hardcoding nor static linking is supported with a
8813 hardcode_direct=unsupported
8818 if test "$host_cpu" = ia64; then
8819 # On IA64, the linker does run time linking by default, so we don't
8820 # have to do anything special.
8821 aix_use_runtimelinking=no
8822 exp_sym_flag='-Bexport'
8825 # If we're using GNU nm, then we don't want the "-C" option.
8826 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8827 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8828 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'
8830 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'
8832 aix_use_runtimelinking=no
8834 # Test if we are trying to use run time linking or normal
8835 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8836 # need to do runtime linking.
8837 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8838 for ld_flag in $LDFLAGS; do
8839 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8840 aix_use_runtimelinking=yes
8846 exp_sym_flag='-bexport'
8847 no_entry_flag='-bnoentry'
8850 # When large executables or shared objects are built, AIX ld can
8851 # have problems creating the table of contents. If linking a library
8852 # or program results in "error TOC overflow" add -mminimal-toc to
8853 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8854 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8858 hardcode_libdir_separator=':'
8859 link_all_deplibs=yes
8861 if test "$GCC" = yes; then
8862 case $host_os in aix4.012|aix4.012.*)
8863 # We only want to do this on AIX 4.2 and lower, the check
8864 # below for broken collect2 doesn't work under 4.3+
8865 collect2name=`${CC} -print-prog-name=collect2`
8866 if test -f "$collect2name" && \
8867 strings "$collect2name" | grep resolve_lib_name >/dev/null
8869 # We have reworked collect2
8872 # We have old collect2
8873 hardcode_direct=unsupported
8874 # It fails to find uninstalled libraries when the uninstalled
8875 # path is not listed in the libpath. Setting hardcode_minus_L
8876 # to unsupported forces relinking
8877 hardcode_minus_L=yes
8878 hardcode_libdir_flag_spec='-L$libdir'
8879 hardcode_libdir_separator=
8882 shared_flag='-shared'
8885 if test "$host_cpu" = ia64; then
8886 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8887 # chokes on -Wl,-G. The following line is correct:
8890 if test "$aix_use_runtimelinking" = yes; then
8891 shared_flag='${wl}-G'
8893 shared_flag='${wl}-bM:SRE'
8898 # It seems that -bexpall does not export symbols beginning with
8899 # underscore (_), so it is better to generate a list of symbols to export.
8900 always_export_symbols=yes
8901 if test "$aix_use_runtimelinking" = yes; then
8902 # Warning - without using the other runtime loading flags (-brtl),
8903 # -berok will link without error, but may produce a broken library.
8904 allow_undefined_flag='-berok'
8905 # Determine the default libpath from the value encoded in an empty executable.
8906 cat >conftest.$ac_ext <<_ACEOF
8909 cat confdefs.h >>conftest.$ac_ext
8910 cat >>conftest.$ac_ext <<_ACEOF
8911 /* end confdefs.h. */
8921 rm -f conftest.$ac_objext conftest$ac_exeext
8922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8923 (eval $ac_link) 2>conftest.er1
8925 grep -v '^ *+' conftest.er1 >conftest.err
8927 cat conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } &&
8930 { ac_try='test -z "$ac_c_werror_flag"
8931 || test ! -s conftest.err'
8932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); }; } &&
8937 { ac_try='test -s conftest$ac_exeext'
8938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); }; }; then
8944 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8946 # Check for a 64-bit object if we didn't find anything.
8947 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; }
8950 echo "$as_me: failed program was:" >&5
8951 sed 's/^/| /' conftest.$ac_ext >&5
8954 rm -f conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
8956 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8958 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8959 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"
8961 if test "$host_cpu" = ia64; then
8962 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8963 allow_undefined_flag="-z nodefs"
8964 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"
8966 # Determine the default libpath from the value encoded in an empty executable.
8967 cat >conftest.$ac_ext <<_ACEOF
8970 cat confdefs.h >>conftest.$ac_ext
8971 cat >>conftest.$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8982 rm -f conftest.$ac_objext conftest$ac_exeext
8983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8984 (eval $ac_link) 2>conftest.er1
8986 grep -v '^ *+' conftest.er1 >conftest.err
8988 cat conftest.err >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); } &&
8991 { ac_try='test -z "$ac_c_werror_flag"
8992 || test ! -s conftest.err'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; } &&
8998 { ac_try='test -s conftest$ac_exeext'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; }; then
9005 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9007 # Check for a 64-bit object if we didn't find anything.
9008 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; }
9011 echo "$as_me: failed program was:" >&5
9012 sed 's/^/| /' conftest.$ac_ext >&5
9015 rm -f conftest.err conftest.$ac_objext \
9016 conftest$ac_exeext conftest.$ac_ext
9017 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9019 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9020 # Warning - without using the other run time loading flags,
9021 # -berok will link without error, but may produce a broken library.
9022 no_undefined_flag=' ${wl}-bernotok'
9023 allow_undefined_flag=' ${wl}-berok'
9024 # -bexpall does not export symbols beginning with underscore (_)
9025 always_export_symbols=yes
9026 # Exported symbols can be pulled into shared objects from archives
9027 whole_archive_flag_spec=' '
9028 archive_cmds_need_lc=yes
9029 # This is similar to how AIX traditionally builds it's shared libraries.
9030 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'
9036 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)'
9037 hardcode_libdir_flag_spec='-L$libdir'
9038 hardcode_minus_L=yes
9039 # see comment about different semantics on the GNU ld section
9044 export_dynamic_flag_spec=-rdynamic
9047 cygwin* | mingw* | pw32*)
9048 # When not using gcc, we currently assume that we are using
9049 # Microsoft Visual C++.
9050 # hardcode_libdir_flag_spec is actually meaningless, as there is
9051 # no search path for DLLs.
9052 hardcode_libdir_flag_spec=' '
9053 allow_undefined_flag=unsupported
9054 # Tell ltmain to make .lib files, not .a files.
9056 # Tell ltmain to make .dll files, not .so files.
9058 # FIXME: Setting linknames here is a bad hack.
9059 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9060 # The linker will automatically build a .lib file if we build a DLL.
9061 old_archive_From_new_cmds='true'
9062 # FIXME: Should let the user specify the lib program.
9063 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
9064 fix_srcfile_path='`cygpath -w "$srcfile"`'
9065 enable_shared_with_static_runtimes=yes
9068 darwin* | rhapsody*)
9069 if test "$GXX" = yes ; then
9070 archive_cmds_need_lc=no
9072 rhapsody* | darwin1.[012])
9073 allow_undefined_flag='-undefined suppress'
9076 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9077 allow_undefined_flag='-flat_namespace -undefined suppress'
9079 case ${MACOSX_DEPLOYMENT_TARGET} in
9081 allow_undefined_flag='-flat_namespace -undefined suppress'
9084 allow_undefined_flag='-undefined dynamic_lookup'
9090 lt_int_apple_cc_single_mod=no
9091 output_verbose_link_cmd='echo'
9092 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9093 lt_int_apple_cc_single_mod=yes
9095 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9096 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9098 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'
9100 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9101 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9102 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9103 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}'
9105 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}'
9107 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}'
9109 hardcode_automatic=yes
9110 hardcode_shlibpath_var=unsupported
9111 whole_archive_flag_spec='-all_load $convenience'
9112 link_all_deplibs=yes
9119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9120 hardcode_libdir_flag_spec='-L$libdir'
9121 hardcode_shlibpath_var=no
9128 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9129 # support. Future versions do this automatically, but an explicit c++rt0.o
9130 # does not break anything, and helps significantly (at the cost of a little
9133 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9134 hardcode_libdir_flag_spec='-R$libdir'
9136 hardcode_shlibpath_var=no
9139 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9141 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9143 hardcode_minus_L=yes
9144 hardcode_shlibpath_var=no
9147 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9148 freebsd* | kfreebsd*-gnu)
9149 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9150 hardcode_libdir_flag_spec='-R$libdir'
9152 hardcode_shlibpath_var=no
9156 if test "$GCC" = yes; then
9157 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'
9159 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'
9161 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9162 hardcode_libdir_separator=:
9165 # hardcode_minus_L: Not really in the search PATH,
9166 # but as the default location of the library.
9167 hardcode_minus_L=yes
9168 export_dynamic_flag_spec='${wl}-E'
9172 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9175 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9178 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9184 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
9187 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9191 if test "$with_gnu_ld" = no; then
9194 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9195 hardcode_libdir_flag_spec_ld='+b $libdir'
9196 hardcode_libdir_separator=:
9198 hardcode_shlibpath_var=no
9201 hardcode_libdir_flag_spec='-L$libdir'
9203 hardcode_shlibpath_var=no
9205 # hardcode_minus_L: Not really in the search PATH,
9206 # but as the default location of the library.
9207 hardcode_minus_L=yes
9210 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9211 hardcode_libdir_separator=:
9213 export_dynamic_flag_spec='${wl}-E'
9215 # hardcode_minus_L: Not really in the search PATH,
9216 # but as the default location of the library.
9217 hardcode_minus_L=yes
9223 irix5* | irix6* | nonstopux*)
9224 if test "$GCC" = yes; then
9225 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'
9227 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'
9228 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9230 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9231 hardcode_libdir_separator=:
9232 link_all_deplibs=yes
9236 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9237 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9239 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9241 hardcode_libdir_flag_spec='-R$libdir'
9243 hardcode_shlibpath_var=no
9247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9249 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9250 hardcode_libdir_separator=:
9251 hardcode_shlibpath_var=no
9256 hardcode_shlibpath_var=no
9257 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9258 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9259 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9260 export_dynamic_flag_spec='${wl}-E'
9263 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9264 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9265 hardcode_libdir_flag_spec='-R$libdir'
9268 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9269 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9276 hardcode_libdir_flag_spec='-L$libdir'
9277 hardcode_minus_L=yes
9278 allow_undefined_flag=unsupported
9279 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'
9280 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9284 if test "$GCC" = yes; then
9285 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9286 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'
9288 allow_undefined_flag=' -expect_unresolved \*'
9289 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'
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 hardcode_libdir_separator=:
9295 osf4* | osf5*) # as osf3* with the addition of -msym flag
9296 if test "$GCC" = yes; then
9297 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9298 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'
9299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9301 allow_undefined_flag=' -expect_unresolved \*'
9302 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'
9303 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9304 $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'
9306 # Both c and cxx compiler support -rpath directly
9307 hardcode_libdir_flag_spec='-rpath $libdir'
9309 hardcode_libdir_separator=:
9313 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9314 hardcode_shlibpath_var=no
9315 export_dynamic_flag_spec='${wl}-Bexport'
9316 runpath_var=LD_RUN_PATH
9317 hardcode_runpath_var=yes
9321 no_undefined_flag=' -z text'
9322 if test "$GCC" = yes; then
9323 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9324 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9325 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9327 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9329 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9331 hardcode_libdir_flag_spec='-R$libdir'
9332 hardcode_shlibpath_var=no
9334 solaris2.[0-5] | solaris2.[0-5].*) ;;
9335 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
9336 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9338 link_all_deplibs=yes
9342 if test "x$host_vendor" = xsequent; then
9343 # Use $CC to link under sequent, because it throws in some extra .o
9344 # files that make .init and .fini sections work.
9345 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_libdir_flag_spec='-L$libdir'
9351 hardcode_minus_L=yes
9352 hardcode_shlibpath_var=no
9356 case $host_vendor in
9358 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9359 hardcode_direct=yes # is this really true???
9362 ## LD is ld it makes a PLAMLIB
9363 ## CC just makes a GrossModule.
9364 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9365 reload_cmds='$CC -r -o $output$reload_objs'
9369 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9370 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9373 runpath_var='LD_RUN_PATH'
9374 hardcode_shlibpath_var=no
9378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9379 hardcode_shlibpath_var=no
9380 export_dynamic_flag_spec='-Bexport'
9384 if test -d /usr/nec; then
9385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9386 hardcode_shlibpath_var=no
9387 runpath_var=LD_RUN_PATH
9388 hardcode_runpath_var=yes
9394 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9397 hardcode_shlibpath_var=no
9398 hardcode_runpath_var=yes
9399 runpath_var=LD_RUN_PATH
9402 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
9403 no_undefined_flag='${wl}-z ${wl}text'
9404 if test "$GCC" = yes; then
9405 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9407 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9409 runpath_var='LD_RUN_PATH'
9410 hardcode_shlibpath_var=no
9414 no_undefined_flag=' -z text'
9415 # $CC -shared without GNU ld will not create a library from C++
9416 # object files and a static libstdc++, better avoid it by now
9417 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9418 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9419 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9420 hardcode_libdir_flag_spec=
9421 hardcode_shlibpath_var=no
9422 runpath_var='LD_RUN_PATH'
9426 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9427 hardcode_libdir_flag_spec='-L$libdir'
9428 hardcode_shlibpath_var=no
9437 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9438 echo "${ECHO_T}$ld_shlibs" >&6
9439 test "$ld_shlibs" = no && can_build_shared=no
9441 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9442 if test "$GCC" = yes; then
9443 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9447 # Do we need to explicitly link libc?
9449 case "x$archive_cmds_need_lc" in
9451 # Assume -lc should be added
9452 archive_cmds_need_lc=yes
9454 if test "$enable_shared" = yes && test "$GCC" = yes; then
9455 case $archive_cmds in
9457 # FIXME: we may have to deal with multi-command sequences.
9460 # Test whether the compiler implicitly links with -lc since on some
9461 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9462 # to ld, don't add -lc before -lgcc.
9463 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9464 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9466 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9469 (eval $ac_compile) 2>&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } 2>conftest.err; then
9475 libobjs=conftest.$ac_objext
9477 wl=$lt_prog_compiler_wl
9483 lt_save_allow_undefined_flag=$allow_undefined_flag
9484 allow_undefined_flag=
9485 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9486 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); }
9491 archive_cmds_need_lc=no
9493 archive_cmds_need_lc=yes
9495 allow_undefined_flag=$lt_save_allow_undefined_flag
9497 cat conftest.err 1>&5
9500 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9501 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9508 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9509 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9511 libname_spec='lib$name'
9519 shlibpath_overrides_runpath=unknown
9521 dynamic_linker="$host_os ld.so"
9522 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9523 if test "$GCC" = yes; then
9524 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9525 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9526 # if the path contains ";" then we assume it to be the separator
9527 # otherwise default to the standard path separator (i.e. ":") - it is
9528 # assumed that no part of a normal pathname contains ";" but that should
9529 # okay in the real world where ";" in dirpaths is itself problematic.
9530 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9532 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9535 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9537 need_lib_prefix=unknown
9538 hardcode_into_libs=no
9540 # when you set need_version to no, make sure it does not cause -set_version
9541 # flags to be left without arguments
9542 need_version=unknown
9547 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9548 shlibpath_var=LIBPATH
9550 # AIX 3 has no versioning support, so we append a major version to the name.
9551 soname_spec='${libname}${release}${shared_ext}$major'
9558 hardcode_into_libs=yes
9559 if test "$host_cpu" = ia64; then
9560 # AIX 5 supports IA64
9561 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9562 shlibpath_var=LD_LIBRARY_PATH
9564 # With GCC up to 2.95.x, collect2 would create an import file
9565 # for dependence libraries. The import file would start with
9566 # the line `#! .'. This would cause the generated library to
9567 # depend on `.', always an invalid library. This was fixed in
9568 # development snapshots of GCC prior to 3.0.
9570 aix4 | aix4.[01] | aix4.[01].*)
9571 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9573 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9580 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9581 # soname into executable. Probably we can add versioning support to
9582 # collect2, so additional links can be useful in future.
9583 if test "$aix_use_runtimelinking" = yes; then
9584 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9585 # instead of lib<name>.a to let people know that these are not
9586 # typical AIX shared libraries.
9587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9589 # We preserve .a as extension for shared libraries through AIX4.2
9590 # and later when we are not doing run time linking.
9591 library_names_spec='${libname}${release}.a $libname.a'
9592 soname_spec='${libname}${release}${shared_ext}$major'
9594 shlibpath_var=LIBPATH
9599 library_names_spec='$libname.ixlibrary $libname.a'
9600 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9601 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'
9605 library_names_spec='${libname}${shared_ext}'
9606 dynamic_linker="$host_os ld.so"
9607 shlibpath_var=LIBRARY_PATH
9613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9614 soname_spec='${libname}${release}${shared_ext}$major'
9615 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9616 shlibpath_var=LD_LIBRARY_PATH
9617 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9618 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9619 # the default ld.so.conf also contains /usr/contrib/lib and
9620 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9621 # libtool to hard-code these into programs
9624 cygwin* | mingw* | pw32*)
9625 version_type=windows
9630 case $GCC,$host_os in
9631 yes,cygwin* | yes,mingw* | yes,pw32*)
9632 library_names_spec='$libname.dll.a'
9633 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9634 postinstall_cmds='base_file=`basename \${file}`~
9635 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9636 dldir=$destdir/`dirname \$dlpath`~
9637 test -d \$dldir || mkdir -p \$dldir~
9638 $install_prog $dir/$dlname \$dldir/$dlname'
9639 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9640 dlpath=$dir/\$dldll~
9642 shlibpath_overrides_runpath=yes
9646 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9647 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9648 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9651 # MinGW DLLs use traditional 'lib' prefix
9652 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9653 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9654 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9655 # It is most probably a Windows format PATH printed by
9656 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9657 # path with ; separators, and with drive letters. We can handle the
9658 # drive letters (cygwin fileutils understands them), so leave them,
9659 # especially as we might pass files found there to a mingw objdump,
9660 # which wouldn't understand a cygwinified path. Ahh.
9661 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9663 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9667 # pw32 DLLs use 'pw' prefix rather than 'lib'
9668 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
9674 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9677 dynamic_linker='Win32 ld.exe'
9678 # FIXME: first we should search . and the directory the executable is in
9682 darwin* | rhapsody*)
9683 dynamic_linker="$host_os dyld"
9687 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9688 soname_spec='${libname}${release}${major}$shared_ext'
9689 shlibpath_overrides_runpath=yes
9690 shlibpath_var=DYLD_LIBRARY_PATH
9691 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
9692 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9693 if test "$GCC" = yes; then
9694 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"`
9696 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9698 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
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
9718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9719 soname_spec='${libname}${release}${shared_ext}$major'
9720 shlibpath_var=LD_LIBRARY_PATH
9721 shlibpath_overrides_runpath=no
9722 hardcode_into_libs=yes
9723 dynamic_linker='GNU ld.so'
9727 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
9728 version_type=freebsd-$objformat
9729 case $version_type in
9731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9736 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9740 shlibpath_var=LD_LIBRARY_PATH
9743 shlibpath_overrides_runpath=yes
9745 freebsd3.01* | freebsdelf3.01*)
9746 shlibpath_overrides_runpath=yes
9747 hardcode_into_libs=yes
9750 shlibpath_overrides_runpath=no
9751 hardcode_into_libs=yes
9760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9761 soname_spec='${libname}${release}${shared_ext}$major'
9762 shlibpath_var=LD_LIBRARY_PATH
9763 hardcode_into_libs=yes
9766 hpux9* | hpux10* | hpux11*)
9767 # Give a soname corresponding to the major version so that dld.sl refuses to
9768 # link against other versions.
9775 hardcode_into_libs=yes
9776 dynamic_linker="$host_os dld.so"
9777 shlibpath_var=LD_LIBRARY_PATH
9778 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780 soname_spec='${libname}${release}${shared_ext}$major'
9781 if test "X$HPUX_IA64_MODE" = X32; then
9782 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9784 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9786 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9790 hardcode_into_libs=yes
9791 dynamic_linker="$host_os dld.sl"
9792 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9793 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9795 soname_spec='${libname}${release}${shared_ext}$major'
9796 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9797 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9801 dynamic_linker="$host_os dld.sl"
9802 shlibpath_var=SHLIB_PATH
9803 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9805 soname_spec='${libname}${release}${shared_ext}$major'
9808 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9809 postinstall_cmds='chmod 555 $lib'
9812 irix5* | irix6* | nonstopux*)
9814 nonstopux*) version_type=nonstopux ;;
9816 if test "$lt_cv_prog_gnu_ld" = yes; then
9824 soname_spec='${libname}${release}${shared_ext}$major'
9825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9827 irix5* | nonstopux*)
9831 case $LD in # libtool.m4 will add one of these switches to LD
9832 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9833 libsuff= shlibsuff= libmagic=32-bit;;
9834 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9835 libsuff=32 shlibsuff=N32 libmagic=N32;;
9836 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9837 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9838 *) libsuff= shlibsuff= libmagic=never-match;;
9842 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9843 shlibpath_overrides_runpath=no
9844 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9845 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9846 hardcode_into_libs=yes
9849 # No shared lib support for Linux oldld, aout, or coff.
9850 linux*oldld* | linux*aout* | linux*coff*)
9854 # This must be Linux ELF.
9859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9860 soname_spec='${libname}${release}${shared_ext}$major'
9861 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9862 shlibpath_var=LD_LIBRARY_PATH
9863 shlibpath_overrides_runpath=no
9864 # This implies no fast_install, which is unacceptable.
9865 # Some rework will be needed to allow for fast_install
9866 # before this can be enabled.
9867 hardcode_into_libs=yes
9869 # find out which ABI we are using
9872 x86_64*|s390x*|powerpc64*)
9873 echo '#line 9873 "configure"' > conftest.$ac_ext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9875 (eval $ac_compile) 2>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; then
9879 case `/usr/bin/file conftest.$ac_objext` in
9882 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9890 # Append ld.so.conf contents to the search path
9891 if test -f /etc/ld.so.conf; then
9892 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
9893 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9896 # We used to test for /lib/ld.so.1 and disable shared libraries on
9897 # powerpc, because MkLinux only supported shared libraries with the
9898 # GNU dynamic linker. Since this was broken with cross compilers,
9899 # most powerpc-linux boxes support dynamic linking these days and
9900 # people can always --disable-shared, the test was removed, and we
9901 # assume the GNU/Linux dynamic linker is in use.
9902 dynamic_linker='GNU/Linux ld.so'
9909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9910 soname_spec='${libname}${release}${shared_ext}$major'
9911 shlibpath_var=LD_LIBRARY_PATH
9912 shlibpath_overrides_runpath=no
9913 hardcode_into_libs=yes
9914 dynamic_linker='GNU ld.so'
9921 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9924 dynamic_linker='NetBSD (a.out) ld.so'
9926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9927 soname_spec='${libname}${release}${shared_ext}$major'
9928 dynamic_linker='NetBSD ld.elf_so'
9930 shlibpath_var=LD_LIBRARY_PATH
9931 shlibpath_overrides_runpath=yes
9932 hardcode_into_libs=yes
9937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 shlibpath_var=LD_LIBRARY_PATH
9939 shlibpath_overrides_runpath=yes
9946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9947 soname_spec='${libname}${release}${shared_ext}$major'
9948 shlibpath_var=LD_LIBRARY_PATH
9949 shlibpath_overrides_runpath=yes
9956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9957 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9958 shlibpath_var=LD_LIBRARY_PATH
9959 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9961 openbsd2.[89] | openbsd2.[89].*)
9962 shlibpath_overrides_runpath=no
9965 shlibpath_overrides_runpath=yes
9969 shlibpath_overrides_runpath=yes
9974 libname_spec='$name'
9977 library_names_spec='$libname${shared_ext} $libname.a'
9978 dynamic_linker='OS/2 ld.exe'
9979 shlibpath_var=LIBPATH
9982 osf3* | osf4* | osf5*)
9986 soname_spec='${libname}${release}${shared_ext}$major'
9987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9988 shlibpath_var=LD_LIBRARY_PATH
9989 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9990 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9995 soname_spec='${libname}${release}${shared_ext}$major'
9996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9997 shlibpath_var=LD_LIBRARY_PATH
10004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10005 soname_spec='${libname}${release}${shared_ext}$major'
10006 shlibpath_var=LD_LIBRARY_PATH
10007 shlibpath_overrides_runpath=yes
10008 hardcode_into_libs=yes
10009 # ldd complains unless libraries are executable
10010 postinstall_cmds='chmod +x $lib'
10015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10016 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10017 shlibpath_var=LD_LIBRARY_PATH
10018 shlibpath_overrides_runpath=yes
10019 if test "$with_gnu_ld" = yes; then
10025 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028 soname_spec='${libname}${release}${shared_ext}$major'
10029 shlibpath_var=LD_LIBRARY_PATH
10030 case $host_vendor in
10032 shlibpath_overrides_runpath=no
10034 export_dynamic_flag_spec='${wl}-Blargedynsym'
10035 runpath_var=LD_RUN_PATH
10043 shlibpath_overrides_runpath=no
10044 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10050 if test -d /usr/nec ;then
10052 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10053 soname_spec='$libname${shared_ext}.$major'
10054 shlibpath_var=LD_LIBRARY_PATH
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 shlibpath_var=LD_LIBRARY_PATH
10069 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10070 echo "${ECHO_T}$dynamic_linker" >&6
10071 test "$dynamic_linker" = no && can_build_shared=no
10073 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10074 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10076 if test -n "$hardcode_libdir_flag_spec" || \
10077 test -n "$runpath_var " || \
10078 test "X$hardcode_automatic"="Xyes" ; then
10080 # We can hardcode non-existant directories.
10081 if test "$hardcode_direct" != no &&
10082 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10083 # have to relink, otherwise we might link with an installed library
10084 # when we should be linking with a yet-to-be-installed one
10085 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10086 test "$hardcode_minus_L" != no; then
10087 # Linking always hardcodes the temporary library directory.
10088 hardcode_action=relink
10090 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10091 hardcode_action=immediate
10094 # We cannot hardcode anything, or else we can only hardcode existing
10096 hardcode_action=unsupported
10098 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10099 echo "${ECHO_T}$hardcode_action" >&6
10101 if test "$hardcode_action" = relink; then
10102 # Fast installation is not supported
10103 enable_fast_install=no
10104 elif test "$shlibpath_overrides_runpath" = yes ||
10105 test "$enable_shared" = no; then
10106 # Fast installation is not necessary
10107 enable_fast_install=needless
10112 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10113 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10114 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10115 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10116 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10117 echo "$as_me:$LINENO: result: yes" >&5
10118 echo "${ECHO_T}yes" >&6
10120 # FIXME - insert some real tests, host_os isn't really good enough
10123 if test -n "$STRIP" ; then
10124 striplib="$STRIP -x"
10125 echo "$as_me:$LINENO: result: yes" >&5
10126 echo "${ECHO_T}yes" >&6
10128 echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10139 if test "x$enable_dlopen" != xyes; then
10140 enable_dlopen=unknown
10141 enable_dlopen_self=unknown
10142 enable_dlopen_self_static=unknown
10149 lt_cv_dlopen="load_add_on"
10151 lt_cv_dlopen_self=yes
10155 lt_cv_dlopen="LoadLibrary"
10160 lt_cv_dlopen="dlopen"
10165 # if libdl is installed we need to link against it
10166 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10167 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10168 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 ac_check_lib_save_LIBS=$LIBS
10173 cat >conftest.$ac_ext <<_ACEOF
10176 cat confdefs.h >>conftest.$ac_ext
10177 cat >>conftest.$ac_ext <<_ACEOF
10178 /* end confdefs.h. */
10180 /* Override any gcc2 internal prototype to avoid an error. */
10184 /* We use char because int might match the return type of a gcc2
10185 builtin and then its argument prototype would still apply. */
10195 rm -f conftest.$ac_objext conftest$ac_exeext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10197 (eval $ac_link) 2>conftest.er1
10199 grep -v '^ *+' conftest.er1 >conftest.err
10201 cat conftest.err >&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try='test -z "$ac_c_werror_flag"
10205 || test ! -s conftest.err'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; } &&
10211 { ac_try='test -s conftest$ac_exeext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 ac_cv_lib_dl_dlopen=yes
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10222 ac_cv_lib_dl_dlopen=no
10224 rm -f conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10229 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10230 if test $ac_cv_lib_dl_dlopen = yes; then
10231 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10234 lt_cv_dlopen="dyld"
10236 lt_cv_dlopen_self=yes
10243 echo "$as_me:$LINENO: checking for shl_load" >&5
10244 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10245 if test "${ac_cv_func_shl_load+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10248 cat >conftest.$ac_ext <<_ACEOF
10251 cat confdefs.h >>conftest.$ac_ext
10252 cat >>conftest.$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10256 #define shl_load innocuous_shl_load
10258 /* System header to define __stub macros and hopefully few prototypes,
10259 which can conflict with char shl_load (); below.
10260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10261 <limits.h> exists even on freestanding compilers. */
10264 # include <limits.h>
10266 # include <assert.h>
10271 /* Override any gcc2 internal prototype to avoid an error. */
10276 /* We use char because int might match the return type of a gcc2
10277 builtin and then its argument prototype would still apply. */
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10285 char (*f) () = shl_load;
10294 return f != shl_load;
10299 rm -f conftest.$ac_objext conftest$ac_exeext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10301 (eval $ac_link) 2>conftest.er1
10303 grep -v '^ *+' conftest.er1 >conftest.err
10305 cat conftest.err >&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } &&
10308 { ac_try='test -z "$ac_c_werror_flag"
10309 || test ! -s conftest.err'
10310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); }; } &&
10315 { ac_try='test -s conftest$ac_exeext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 ac_cv_func_shl_load=yes
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 ac_cv_func_shl_load=no
10328 rm -f conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10331 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10332 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10333 if test $ac_cv_func_shl_load = yes; then
10334 lt_cv_dlopen="shl_load"
10336 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10337 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10338 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 ac_check_lib_save_LIBS=$LIBS
10343 cat >conftest.$ac_ext <<_ACEOF
10346 cat confdefs.h >>conftest.$ac_ext
10347 cat >>conftest.$ac_ext <<_ACEOF
10348 /* end confdefs.h. */
10350 /* Override any gcc2 internal prototype to avoid an error. */
10354 /* We use char because int might match the return type of a gcc2
10355 builtin and then its argument prototype would still apply. */
10365 rm -f conftest.$ac_objext conftest$ac_exeext
10366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10367 (eval $ac_link) 2>conftest.er1
10369 grep -v '^ *+' conftest.er1 >conftest.err
10371 cat conftest.err >&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); } &&
10374 { ac_try='test -z "$ac_c_werror_flag"
10375 || test ! -s conftest.err'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; } &&
10381 { ac_try='test -s conftest$ac_exeext'
10382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 (eval $ac_try) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }; }; then
10387 ac_cv_lib_dld_shl_load=yes
10389 echo "$as_me: failed program was:" >&5
10390 sed 's/^/| /' conftest.$ac_ext >&5
10392 ac_cv_lib_dld_shl_load=no
10394 rm -f conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 LIBS=$ac_check_lib_save_LIBS
10398 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10399 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10400 if test $ac_cv_lib_dld_shl_load = yes; then
10401 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10403 echo "$as_me:$LINENO: checking for dlopen" >&5
10404 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10405 if test "${ac_cv_func_dlopen+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10408 cat >conftest.$ac_ext <<_ACEOF
10411 cat confdefs.h >>conftest.$ac_ext
10412 cat >>conftest.$ac_ext <<_ACEOF
10413 /* end confdefs.h. */
10414 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10416 #define dlopen innocuous_dlopen
10418 /* System header to define __stub macros and hopefully few prototypes,
10419 which can conflict with char dlopen (); below.
10420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10421 <limits.h> exists even on freestanding compilers. */
10424 # include <limits.h>
10426 # include <assert.h>
10431 /* Override any gcc2 internal prototype to avoid an error. */
10436 /* We use char because int might match the return type of a gcc2
10437 builtin and then its argument prototype would still apply. */
10439 /* The GNU C library defines this for functions which it implements
10440 to always fail with ENOSYS. Some functions are actually named
10441 something starting with __ and the normal name is an alias. */
10442 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10445 char (*f) () = dlopen;
10454 return f != dlopen;
10459 rm -f conftest.$ac_objext conftest$ac_exeext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10461 (eval $ac_link) 2>conftest.er1
10463 grep -v '^ *+' conftest.er1 >conftest.err
10465 cat conftest.err >&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try='test -z "$ac_c_werror_flag"
10469 || test ! -s conftest.err'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; } &&
10475 { ac_try='test -s conftest$ac_exeext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10481 ac_cv_func_dlopen=yes
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10486 ac_cv_func_dlopen=no
10488 rm -f conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10491 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10492 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10493 if test $ac_cv_func_dlopen = yes; then
10494 lt_cv_dlopen="dlopen"
10496 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10497 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10498 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10499 echo $ECHO_N "(cached) $ECHO_C" >&6
10501 ac_check_lib_save_LIBS=$LIBS
10503 cat >conftest.$ac_ext <<_ACEOF
10506 cat confdefs.h >>conftest.$ac_ext
10507 cat >>conftest.$ac_ext <<_ACEOF
10508 /* end confdefs.h. */
10510 /* Override any gcc2 internal prototype to avoid an error. */
10514 /* We use char because int might match the return type of a gcc2
10515 builtin and then its argument prototype would still apply. */
10525 rm -f conftest.$ac_objext conftest$ac_exeext
10526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10527 (eval $ac_link) 2>conftest.er1
10529 grep -v '^ *+' conftest.er1 >conftest.err
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try='test -z "$ac_c_werror_flag"
10535 || test ! -s conftest.err'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; } &&
10541 { ac_try='test -s conftest$ac_exeext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_lib_dl_dlopen=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.$ac_ext >&5
10552 ac_cv_lib_dl_dlopen=no
10554 rm -f conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_lib_save_LIBS
10558 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10559 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10560 if test $ac_cv_lib_dl_dlopen = yes; then
10561 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10563 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10564 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10565 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 ac_check_lib_save_LIBS=$LIBS
10569 LIBS="-lsvld $LIBS"
10570 cat >conftest.$ac_ext <<_ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10577 /* Override any gcc2 internal prototype to avoid an error. */
10581 /* We use char because int might match the return type of a gcc2
10582 builtin and then its argument prototype would still apply. */
10592 rm -f conftest.$ac_objext conftest$ac_exeext
10593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10594 (eval $ac_link) 2>conftest.er1
10596 grep -v '^ *+' conftest.er1 >conftest.err
10598 cat conftest.err >&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); } &&
10601 { ac_try='test -z "$ac_c_werror_flag"
10602 || test ! -s conftest.err'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; } &&
10608 { ac_try='test -s conftest$ac_exeext'
10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10610 (eval $ac_try) 2>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); }; }; then
10614 ac_cv_lib_svld_dlopen=yes
10616 echo "$as_me: failed program was:" >&5
10617 sed 's/^/| /' conftest.$ac_ext >&5
10619 ac_cv_lib_svld_dlopen=no
10621 rm -f conftest.err conftest.$ac_objext \
10622 conftest$ac_exeext conftest.$ac_ext
10623 LIBS=$ac_check_lib_save_LIBS
10625 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10626 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10627 if test $ac_cv_lib_svld_dlopen = yes; then
10628 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10630 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10631 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10632 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 ac_check_lib_save_LIBS=$LIBS
10637 cat >conftest.$ac_ext <<_ACEOF
10640 cat confdefs.h >>conftest.$ac_ext
10641 cat >>conftest.$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10644 /* Override any gcc2 internal prototype to avoid an error. */
10648 /* We use char because int might match the return type of a gcc2
10649 builtin and then its argument prototype would still apply. */
10659 rm -f conftest.$ac_objext conftest$ac_exeext
10660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10661 (eval $ac_link) 2>conftest.er1
10663 grep -v '^ *+' conftest.er1 >conftest.err
10665 cat conftest.err >&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } &&
10668 { ac_try='test -z "$ac_c_werror_flag"
10669 || test ! -s conftest.err'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; } &&
10675 { ac_try='test -s conftest$ac_exeext'
10676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10677 (eval $ac_try) 2>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); }; }; then
10681 ac_cv_lib_dld_dld_link=yes
10683 echo "$as_me: failed program was:" >&5
10684 sed 's/^/| /' conftest.$ac_ext >&5
10686 ac_cv_lib_dld_dld_link=no
10688 rm -f conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_lib_save_LIBS
10692 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10693 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10694 if test $ac_cv_lib_dld_dld_link = yes; then
10695 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10716 if test "x$lt_cv_dlopen" != xno; then
10722 case $lt_cv_dlopen in
10724 save_CPPFLAGS="$CPPFLAGS"
10725 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10727 save_LDFLAGS="$LDFLAGS"
10728 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10731 LIBS="$lt_cv_dlopen_libs $LIBS"
10733 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10734 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10735 if test "${lt_cv_dlopen_self+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 if test "$cross_compiling" = yes; then :
10739 lt_cv_dlopen_self=cross
10741 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10742 lt_status=$lt_dlunknown
10743 cat > conftest.$ac_ext <<EOF
10744 #line 10744 "configure"
10745 #include "confdefs.h"
10754 # define LT_DLGLOBAL RTLD_GLOBAL
10757 # define LT_DLGLOBAL DL_GLOBAL
10759 # define LT_DLGLOBAL 0
10763 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10764 find out it does not work in some platform. */
10765 #ifndef LT_DLLAZY_OR_NOW
10767 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10770 # define LT_DLLAZY_OR_NOW DL_LAZY
10773 # define LT_DLLAZY_OR_NOW RTLD_NOW
10776 # define LT_DLLAZY_OR_NOW DL_NOW
10778 # define LT_DLLAZY_OR_NOW 0
10786 extern "C" void exit (int);
10789 void fnord() { int i=42;}
10792 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10793 int status = $lt_dlunknown;
10797 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10798 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10799 /* dlclose (self); */
10805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10806 (eval $ac_link) 2>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10810 (./conftest; exit; ) 2>/dev/null
10812 case x$lt_status in
10813 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10814 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10815 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
10818 # compilation failed
10819 lt_cv_dlopen_self=no
10826 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10827 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10829 if test "x$lt_cv_dlopen_self" = xyes; then
10830 LDFLAGS="$LDFLAGS $link_static_flag"
10831 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10832 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10833 if test "${lt_cv_dlopen_self_static+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 if test "$cross_compiling" = yes; then :
10837 lt_cv_dlopen_self_static=cross
10839 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10840 lt_status=$lt_dlunknown
10841 cat > conftest.$ac_ext <<EOF
10842 #line 10842 "configure"
10843 #include "confdefs.h"
10852 # define LT_DLGLOBAL RTLD_GLOBAL
10855 # define LT_DLGLOBAL DL_GLOBAL
10857 # define LT_DLGLOBAL 0
10861 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10862 find out it does not work in some platform. */
10863 #ifndef LT_DLLAZY_OR_NOW
10865 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10868 # define LT_DLLAZY_OR_NOW DL_LAZY
10871 # define LT_DLLAZY_OR_NOW RTLD_NOW
10874 # define LT_DLLAZY_OR_NOW DL_NOW
10876 # define LT_DLLAZY_OR_NOW 0
10884 extern "C" void exit (int);
10887 void fnord() { int i=42;}
10890 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10891 int status = $lt_dlunknown;
10895 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10896 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10897 /* dlclose (self); */
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 (eval $ac_link) 2>&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10908 (./conftest; exit; ) 2>/dev/null
10910 case x$lt_status in
10911 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10912 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10913 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
10916 # compilation failed
10917 lt_cv_dlopen_self_static=no
10924 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10925 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10928 CPPFLAGS="$save_CPPFLAGS"
10929 LDFLAGS="$save_LDFLAGS"
10934 case $lt_cv_dlopen_self in
10935 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10936 *) enable_dlopen_self=unknown ;;
10939 case $lt_cv_dlopen_self_static in
10940 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10941 *) enable_dlopen_self_static=unknown ;;
10946 # Report which librarie types wil actually be built
10947 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10948 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10949 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10950 echo "${ECHO_T}$can_build_shared" >&6
10952 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10953 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10954 test "$can_build_shared" = "no" && enable_shared=no
10956 # On AIX, shared libraries and static libraries use the same namespace, and
10957 # are all built from PIC.
10960 test "$enable_shared" = yes && enable_static=no
10961 if test -n "$RANLIB"; then
10962 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10963 postinstall_cmds='$RANLIB $lib'
10968 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10969 test "$enable_shared" = yes && enable_static=no
10972 darwin* | rhapsody*)
10973 if test "$GCC" = yes; then
10974 archive_cmds_need_lc=no
10976 rhapsody* | darwin1.[012])
10977 allow_undefined_flag='-undefined suppress'
10980 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10981 allow_undefined_flag='-flat_namespace -undefined suppress'
10983 case ${MACOSX_DEPLOYMENT_TARGET} in
10985 allow_undefined_flag='-flat_namespace -undefined suppress'
10988 allow_undefined_flag='-undefined dynamic_lookup'
10994 output_verbose_link_cmd='echo'
10995 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
10996 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10997 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10998 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}'
10999 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}'
11001 hardcode_automatic=yes
11002 hardcode_shlibpath_var=unsupported
11003 whole_archive_flag_spec='-all_load $convenience'
11004 link_all_deplibs=yes
11010 echo "$as_me:$LINENO: result: $enable_shared" >&5
11011 echo "${ECHO_T}$enable_shared" >&6
11013 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11014 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11015 # Make sure either enable_shared or enable_static is yes.
11016 test "$enable_shared" = yes || enable_static=yes
11017 echo "$as_me:$LINENO: result: $enable_static" >&5
11018 echo "${ECHO_T}$enable_static" >&6
11020 # The else clause should only fire when bootstrapping the
11021 # libtool distribution, otherwise you forgot to ship ltmain.sh
11022 # with your package, and you will get complaints that there are
11023 # no rules to generate ltmain.sh.
11024 if test -f "$ltmain"; then
11025 # See if we are running on zsh, and set the options which allow our commands through
11026 # without removal of \ escapes.
11027 if test -n "${ZSH_VERSION+set}" ; then
11028 setopt NO_GLOB_SUBST
11030 # Now quote all the things that may contain metacharacters while being
11031 # careful not to overquote the AC_SUBSTed values. We take copies of the
11032 # variables and quote the copies for generation of the libtool script.
11033 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11035 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11036 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11037 deplibs_check_method reload_flag reload_cmds need_locks \
11038 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11039 lt_cv_sys_global_symbol_to_c_name_address \
11040 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11041 old_postinstall_cmds old_postuninstall_cmds \
11045 lt_prog_compiler_wl \
11046 lt_prog_compiler_pic \
11047 lt_prog_compiler_static \
11048 lt_prog_compiler_no_builtin_flag \
11049 export_dynamic_flag_spec \
11050 thread_safe_flag_spec \
11051 whole_archive_flag_spec \
11052 enable_shared_with_static_runtimes \
11054 old_archive_from_new_cmds \
11059 compiler_lib_search_path \
11061 archive_expsym_cmds \
11063 postuninstall_cmds \
11064 old_archive_from_expsyms_cmds \
11065 allow_undefined_flag \
11066 no_undefined_flag \
11067 export_symbols_cmds \
11068 hardcode_libdir_flag_spec \
11069 hardcode_libdir_flag_spec_ld \
11070 hardcode_libdir_separator \
11071 hardcode_automatic \
11073 module_expsym_cmds \
11074 lt_cv_prog_compiler_c_o \
11076 include_expsyms; do
11079 old_archive_cmds | \
11080 old_archive_from_new_cmds | \
11082 archive_expsym_cmds | \
11084 module_expsym_cmds | \
11085 old_archive_from_expsyms_cmds | \
11086 export_symbols_cmds | \
11087 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11088 postinstall_cmds | postuninstall_cmds | \
11089 old_postinstall_cmds | old_postuninstall_cmds | \
11090 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11091 # Double-quote double-evaled strings.
11092 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11095 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11101 *'\$0 --fallback-echo"')
11102 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11106 cfgfile="${ofile}T"
11107 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11109 { echo "$as_me:$LINENO: creating $ofile" >&5
11110 echo "$as_me: creating $ofile" >&6;}
11112 cat <<__EOF__ >> "$cfgfile"
11115 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11116 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11117 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11119 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11120 # Free Software Foundation, Inc.
11122 # This file is part of GNU Libtool:
11123 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11125 # This program is free software; you can redistribute it and/or modify
11126 # it under the terms of the GNU General Public License as published by
11127 # the Free Software Foundation; either version 2 of the License, or
11128 # (at your option) any later version.
11130 # This program is distributed in the hope that it will be useful, but
11131 # WITHOUT ANY WARRANTY; without even the implied warranty of
11132 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11133 # General Public License for more details.
11135 # You should have received a copy of the GNU General Public License
11136 # along with this program; if not, write to the Free Software
11137 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11139 # As a special exception to the GNU General Public License, if you
11140 # distribute this file as part of a program that contains a
11141 # configuration script generated by Autoconf, you may include it under
11142 # the same distribution terms that you use for the rest of that program.
11144 # A sed program that does not truncate output.
11147 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11148 Xsed="$SED -e s/^X//"
11150 # The HP-UX ksh and POSIX shell print the target directory to stdout
11151 # if CDPATH is set.
11152 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
11154 # The names of the tagged configurations supported by this script.
11157 # ### BEGIN LIBTOOL CONFIG
11159 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11161 # Shell to use when invoking shell scripts.
11164 # Whether or not to build shared libraries.
11165 build_libtool_libs=$enable_shared
11167 # Whether or not to build static libraries.
11168 build_old_libs=$enable_static
11170 # Whether or not to add -lc for building shared libraries.
11171 build_libtool_need_lc=$archive_cmds_need_lc
11173 # Whether or not to disallow shared libs when runtime libs are static
11174 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11176 # Whether or not to optimize for fast installation.
11177 fast_install=$enable_fast_install
11180 host_alias=$host_alias
11183 # An echo program that does not interpret backslashes.
11188 AR_FLAGS=$lt_AR_FLAGS
11193 # A language-specific compiler.
11196 # Is the compiler the GNU C compiler?
11202 # The linker used to build libraries.
11205 # Whether we need hard or soft links.
11208 # A BSD-compatible nm program.
11211 # A symbol stripping program
11214 # Used to examine libraries when file_magic_cmd begins "file"
11215 MAGIC_CMD=$MAGIC_CMD
11217 # Used on cygwin: DLL creation program.
11220 # Used on cygwin: object dumper.
11223 # Used on cygwin: assembler.
11226 # The name of the directory that contains temporary libtool files.
11229 # How to create reloadable object files.
11230 reload_flag=$lt_reload_flag
11231 reload_cmds=$lt_reload_cmds
11233 # How to pass a linker flag through the compiler.
11234 wl=$lt_lt_prog_compiler_wl
11236 # Object file suffix (normally "o").
11237 objext="$ac_objext"
11239 # Old archive suffix (normally "a").
11242 # Shared library suffix (normally ".so").
11243 shrext_cmds='$shrext_cmds'
11245 # Executable file suffix (normally "").
11248 # Additional compiler flags for building library objects.
11249 pic_flag=$lt_lt_prog_compiler_pic
11252 # What is the maximum length of a command?
11253 max_cmd_len=$lt_cv_sys_max_cmd_len
11255 # Does compiler simultaneously support -c and -o options?
11256 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11258 # Must we lock files when doing compilation ?
11259 need_locks=$lt_need_locks
11261 # Do we need the lib prefix for modules?
11262 need_lib_prefix=$need_lib_prefix
11264 # Do we need a version for libraries?
11265 need_version=$need_version
11267 # Whether dlopen is supported.
11268 dlopen_support=$enable_dlopen
11270 # Whether dlopen of programs is supported.
11271 dlopen_self=$enable_dlopen_self
11273 # Whether dlopen of statically linked programs is supported.
11274 dlopen_self_static=$enable_dlopen_self_static
11276 # Compiler flag to prevent dynamic linking.
11277 link_static_flag=$lt_lt_prog_compiler_static
11279 # Compiler flag to turn off builtin functions.
11280 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11282 # Compiler flag to allow reflexive dlopens.
11283 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11285 # Compiler flag to generate shared objects directly from archives.
11286 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11288 # Compiler flag to generate thread-safe objects.
11289 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11291 # Library versioning type.
11292 version_type=$version_type
11294 # Format of library name prefix.
11295 libname_spec=$lt_libname_spec
11297 # List of archive names. First name is the real one, the rest are links.
11298 # The last name is the one that the linker finds with -lNAME.
11299 library_names_spec=$lt_library_names_spec
11301 # The coded name of the library, if different from the real name.
11302 soname_spec=$lt_soname_spec
11304 # Commands used to build and install an old-style archive.
11306 old_archive_cmds=$lt_old_archive_cmds
11307 old_postinstall_cmds=$lt_old_postinstall_cmds
11308 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11310 # Create an old-style archive from a shared archive.
11311 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11313 # Create a temporary old-style archive to link instead of a shared archive.
11314 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11316 # Commands used to build and install a shared archive.
11317 archive_cmds=$lt_archive_cmds
11318 archive_expsym_cmds=$lt_archive_expsym_cmds
11319 postinstall_cmds=$lt_postinstall_cmds
11320 postuninstall_cmds=$lt_postuninstall_cmds
11322 # Commands used to build a loadable module (assumed same as above if empty)
11323 module_cmds=$lt_module_cmds
11324 module_expsym_cmds=$lt_module_expsym_cmds
11326 # Commands to strip libraries.
11327 old_striplib=$lt_old_striplib
11328 striplib=$lt_striplib
11330 # Dependencies to place before the objects being linked to create a
11332 predep_objects=$lt_predep_objects
11334 # Dependencies to place after the objects being linked to create a
11336 postdep_objects=$lt_postdep_objects
11338 # Dependencies to place before the objects being linked to create a
11340 predeps=$lt_predeps
11342 # Dependencies to place after the objects being linked to create a
11344 postdeps=$lt_postdeps
11346 # The library search path used internally by the compiler when linking
11347 # a shared library.
11348 compiler_lib_search_path=$lt_compiler_lib_search_path
11350 # Method to check whether dependent libraries are shared objects.
11351 deplibs_check_method=$lt_deplibs_check_method
11353 # Command to use when deplibs_check_method == file_magic.
11354 file_magic_cmd=$lt_file_magic_cmd
11356 # Flag that allows shared libraries with undefined symbols to be built.
11357 allow_undefined_flag=$lt_allow_undefined_flag
11359 # Flag that forces no undefined symbols.
11360 no_undefined_flag=$lt_no_undefined_flag
11362 # Commands used to finish a libtool library installation in a directory.
11363 finish_cmds=$lt_finish_cmds
11365 # Same as above, but a single script fragment to be evaled but not shown.
11366 finish_eval=$lt_finish_eval
11368 # Take the output of nm and produce a listing of raw symbols and C names.
11369 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11371 # Transform the output of nm in a proper C declaration
11372 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11374 # Transform the output of nm in a C name address pair
11375 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11377 # This is the shared library runtime path variable.
11378 runpath_var=$runpath_var
11380 # This is the shared library path variable.
11381 shlibpath_var=$shlibpath_var
11383 # Is shlibpath searched before the hard-coded library search path?
11384 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11386 # How to hardcode a shared library path into an executable.
11387 hardcode_action=$hardcode_action
11389 # Whether we should hardcode library paths into libraries.
11390 hardcode_into_libs=$hardcode_into_libs
11392 # Flag to hardcode \$libdir into a binary during linking.
11393 # This must work even if \$libdir does not exist.
11394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11396 # If ld is used when linking, flag to hardcode \$libdir into
11397 # a binary during linking. This must work even if \$libdir does
11399 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11401 # Whether we need a single -rpath flag with a separated argument.
11402 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11404 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11405 # resulting binary.
11406 hardcode_direct=$hardcode_direct
11408 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11409 # resulting binary.
11410 hardcode_minus_L=$hardcode_minus_L
11412 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11413 # the resulting binary.
11414 hardcode_shlibpath_var=$hardcode_shlibpath_var
11416 # Set to yes if building a shared library automatically hardcodes DIR into the library
11417 # and all subsequent libraries and executables linked against it.
11418 hardcode_automatic=$hardcode_automatic
11420 # Variables whose values should be saved in libtool wrapper scripts and
11421 # restored at relink time.
11422 variables_saved_for_relink="$variables_saved_for_relink"
11424 # Whether libtool must link a program against all its dependency libraries.
11425 link_all_deplibs=$link_all_deplibs
11427 # Compile-time system search path for libraries
11428 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11430 # Run-time system search path for libraries
11431 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11433 # Fix the shell variable \$srcfile for the compiler.
11434 fix_srcfile_path="$fix_srcfile_path"
11436 # Set to yes if exported symbols are required.
11437 always_export_symbols=$always_export_symbols
11439 # The commands to list exported symbols.
11440 export_symbols_cmds=$lt_export_symbols_cmds
11442 # The commands to extract the exported symbol list from a shared archive.
11443 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11445 # Symbols that should not be listed in the preloaded symbols.
11446 exclude_expsyms=$lt_exclude_expsyms
11448 # Symbols that must always be exported.
11449 include_expsyms=$lt_include_expsyms
11451 # ### END LIBTOOL CONFIG
11458 cat <<\EOF >> "$cfgfile"
11460 # AIX sometimes has problems with the GCC collect2 program. For some
11461 # reason, if we set the COLLECT_NAMES environment variable, the problems
11462 # vanish in a puff of smoke.
11463 if test "X${COLLECT_NAMES+set}" != Xset; then
11465 export COLLECT_NAMES
11471 # We use sed instead of cat because bash on DJGPP gets confused if
11472 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11473 # text mode, it properly converts lines to CR/LF. This bash problem
11474 # is reportedly fixed, but why not run on old versions too?
11475 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11477 mv -f "$cfgfile" "$ofile" || \
11478 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11482 # If there is no Makefile yet, we rely on a make rule to execute
11483 # `config.status --recheck' to rerun these tests and create the
11484 # libtool script then.
11485 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11486 if test -f "$ltmain_in"; then
11487 test -f Makefile && make "$ltmain"
11493 ac_cpp='$CPP $CPPFLAGS'
11494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11501 # Check whether --with-tags or --without-tags was given.
11502 if test "${with_tags+set}" = set; then
11503 withval="$with_tags"
11504 tagnames="$withval"
11507 if test -f "$ltmain" && test -n "$tagnames"; then
11508 if test ! -f "${ofile}"; then
11509 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11510 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11513 if test -z "$LTCC"; then
11514 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11515 if test -z "$LTCC"; then
11516 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11517 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11519 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11520 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11524 # Extract list of available tagged configurations in $ofile.
11525 # Note that this assumes the entire list is on one line.
11526 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11528 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11529 for tagname in $tagnames; do
11531 # Check whether tagname contains only valid characters
11532 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11534 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11535 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11536 { (exit 1); exit 1; }; }
11540 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11542 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11543 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11544 { (exit 1); exit 1; }; }
11547 # Update the list of available tags.
11548 if test -n "$tagname"; then
11549 echo appending configuration tag \"$tagname\" to $ofile
11553 if test -n "$CXX" && test "X$CXX" != "Xno"; then
11555 ac_cpp='$CXXCPP $CPPFLAGS'
11556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11563 archive_cmds_need_lc_CXX=no
11564 allow_undefined_flag_CXX=
11565 always_export_symbols_CXX=no
11566 archive_expsym_cmds_CXX=
11567 export_dynamic_flag_spec_CXX=
11568 hardcode_direct_CXX=no
11569 hardcode_libdir_flag_spec_CXX=
11570 hardcode_libdir_flag_spec_ld_CXX=
11571 hardcode_libdir_separator_CXX=
11572 hardcode_minus_L_CXX=no
11573 hardcode_automatic_CXX=no
11575 module_expsym_cmds_CXX=
11576 link_all_deplibs_CXX=unknown
11577 old_archive_cmds_CXX=$old_archive_cmds
11578 no_undefined_flag_CXX=
11579 whole_archive_flag_spec_CXX=
11580 enable_shared_with_static_runtimes_CXX=no
11582 # Dependencies to place before and after the object being linked:
11583 predep_objects_CXX=
11584 postdep_objects_CXX=
11587 compiler_lib_search_path_CXX=
11589 # Source file extension for C++ test sources.
11592 # Object file extension for compiled C++ test sources.
11596 # Code to be used in simple compile tests
11597 lt_simple_compile_test_code="int some_variable = 0;\n"
11599 # Code to be used in simple link tests
11600 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
11602 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11604 # If no C compiler was specified, use CC.
11607 # Allow CC to be a program name with arguments.
11611 # Allow CC to be a program name with arguments.
11616 lt_save_with_gnu_ld=$with_gnu_ld
11617 lt_save_path_LD=$lt_cv_path_LD
11618 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11619 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11621 unset lt_cv_prog_gnu_ld
11623 if test -n "${lt_cv_path_LDCXX+set}"; then
11624 lt_cv_path_LD=$lt_cv_path_LDCXX
11626 unset lt_cv_path_LD
11628 test -z "${LDCXX+set}" || LD=$LDCXX
11632 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11634 # We don't want -fno-exception wen compiling C++ code, so set the
11635 # no_builtin_flag separately
11636 if test "$GXX" = yes; then
11637 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11639 lt_prog_compiler_no_builtin_flag_CXX=
11642 if test "$GXX" = yes; then
11643 # Set up default GNU C++ configuration
11646 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11647 if test "${with_gnu_ld+set}" = set; then
11648 withval="$with_gnu_ld"
11649 test "$withval" = no || with_gnu_ld=yes
11654 if test "$GCC" = yes; then
11655 # Check if gcc -print-prog-name=ld gives a path.
11656 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11657 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11660 # gcc leaves a trailing carriage return which upsets mingw
11661 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11663 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11666 # Accept absolute paths.
11668 re_direlt='/[^/][^/]*/\.\./'
11669 # Canonicalize the pathname of ld
11670 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11671 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11672 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11674 test -z "$LD" && LD="$ac_prog"
11677 # If it fails, then pretend we aren't using GCC.
11681 # If it is relative, then search for the first ld in PATH.
11682 with_gnu_ld=unknown
11685 elif test "$with_gnu_ld" = yes; then
11686 echo "$as_me:$LINENO: checking for GNU ld" >&5
11687 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11689 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11690 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11692 if test "${lt_cv_path_LD+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 if test -z "$LD"; then
11696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11697 for ac_dir in $PATH; do
11699 test -z "$ac_dir" && ac_dir=.
11700 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11701 lt_cv_path_LD="$ac_dir/$ac_prog"
11702 # Check to see if the program is GNU ld. I'd rather use --version,
11703 # but apparently some GNU ld's only accept -v.
11704 # Break only if it was the GNU/non-GNU ld that we prefer.
11705 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11706 *GNU* | *'with BFD'*)
11707 test "$with_gnu_ld" != no && break
11710 test "$with_gnu_ld" != yes && break
11717 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11721 LD="$lt_cv_path_LD"
11722 if test -n "$LD"; then
11723 echo "$as_me:$LINENO: result: $LD" >&5
11724 echo "${ECHO_T}$LD" >&6
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11729 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11730 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11731 { (exit 1); exit 1; }; }
11732 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11733 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11734 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11738 case `$LD -v 2>&1 </dev/null` in
11739 *GNU* | *'with BFD'*)
11740 lt_cv_prog_gnu_ld=yes
11743 lt_cv_prog_gnu_ld=no
11747 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11748 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11749 with_gnu_ld=$lt_cv_prog_gnu_ld
11753 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11754 # archiving commands below assume that GNU ld is being used.
11755 if test "$with_gnu_ld" = yes; then
11756 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11757 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'
11759 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11760 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11762 # If archive_cmds runs LD, not CC, wlarc should be empty
11763 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11764 # investigate it a little bit more. (MM)
11767 # ancient GNU ld didn't support --whole-archive et. al.
11768 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11769 grep 'no-whole-archive' > /dev/null; then
11770 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11772 whole_archive_flag_spec_CXX=
11778 # A generic and very simple default shared library creation
11779 # command for GNU C++ for the case where it uses the native
11780 # linker, instead of GNU ld. If possible, this setting should
11781 # overridden to take advantage of the native linker features on
11782 # the platform it is being used on.
11783 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11786 # Commands to make compiler produce verbose output that lists
11787 # what "hidden" libraries, object files and flags are used when
11788 # linking a shared library.
11789 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11797 # PORTME: fill in a description of your system's C++ link characteristics
11798 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11799 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11803 # FIXME: insert proper C++ library support
11807 if test "$host_cpu" = ia64; then
11808 # On IA64, the linker does run time linking by default, so we don't
11809 # have to do anything special.
11810 aix_use_runtimelinking=no
11811 exp_sym_flag='-Bexport'
11814 aix_use_runtimelinking=no
11816 # Test if we are trying to use run time linking or normal
11817 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11818 # need to do runtime linking.
11819 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11820 for ld_flag in $LDFLAGS; do
11823 aix_use_runtimelinking=yes
11830 exp_sym_flag='-bexport'
11831 no_entry_flag='-bnoentry'
11834 # When large executables or shared objects are built, AIX ld can
11835 # have problems creating the table of contents. If linking a library
11836 # or program results in "error TOC overflow" add -mminimal-toc to
11837 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11838 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11840 archive_cmds_CXX=''
11841 hardcode_direct_CXX=yes
11842 hardcode_libdir_separator_CXX=':'
11843 link_all_deplibs_CXX=yes
11845 if test "$GXX" = yes; then
11846 case $host_os in aix4.012|aix4.012.*)
11847 # We only want to do this on AIX 4.2 and lower, the check
11848 # below for broken collect2 doesn't work under 4.3+
11849 collect2name=`${CC} -print-prog-name=collect2`
11850 if test -f "$collect2name" && \
11851 strings "$collect2name" | grep resolve_lib_name >/dev/null
11853 # We have reworked collect2
11854 hardcode_direct_CXX=yes
11856 # We have old collect2
11857 hardcode_direct_CXX=unsupported
11858 # It fails to find uninstalled libraries when the uninstalled
11859 # path is not listed in the libpath. Setting hardcode_minus_L
11860 # to unsupported forces relinking
11861 hardcode_minus_L_CXX=yes
11862 hardcode_libdir_flag_spec_CXX='-L$libdir'
11863 hardcode_libdir_separator_CXX=
11866 shared_flag='-shared'
11869 if test "$host_cpu" = ia64; then
11870 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11871 # chokes on -Wl,-G. The following line is correct:
11874 if test "$aix_use_runtimelinking" = yes; then
11875 shared_flag='${wl}-G'
11877 shared_flag='${wl}-bM:SRE'
11882 # It seems that -bexpall does not export symbols beginning with
11883 # underscore (_), so it is better to generate a list of symbols to export.
11884 always_export_symbols_CXX=yes
11885 if test "$aix_use_runtimelinking" = yes; then
11886 # Warning - without using the other runtime loading flags (-brtl),
11887 # -berok will link without error, but may produce a broken library.
11888 allow_undefined_flag_CXX='-berok'
11889 # Determine the default libpath from the value encoded in an empty executable.
11890 cat >conftest.$ac_ext <<_ACEOF
11893 cat confdefs.h >>conftest.$ac_ext
11894 cat >>conftest.$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11905 rm -f conftest.$ac_objext conftest$ac_exeext
11906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11907 (eval $ac_link) 2>conftest.er1
11909 grep -v '^ *+' conftest.er1 >conftest.err
11911 cat conftest.err >&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } &&
11914 { ac_try='test -z "$ac_cxx_werror_flag"
11915 || test ! -s conftest.err'
11916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11917 (eval $ac_try) 2>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); }; } &&
11921 { ac_try='test -s conftest$ac_exeext'
11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; }; then
11928 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11930 # Check for a 64-bit object if we didn't find anything.
11931 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; }
11934 echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5
11938 rm -f conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11942 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11944 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"
11946 if test "$host_cpu" = ia64; then
11947 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11948 allow_undefined_flag_CXX="-z nodefs"
11949 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"
11951 # Determine the default libpath from the value encoded in an empty executable.
11952 cat >conftest.$ac_ext <<_ACEOF
11955 cat confdefs.h >>conftest.$ac_ext
11956 cat >>conftest.$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11969 (eval $ac_link) 2>conftest.er1
11971 grep -v '^ *+' conftest.er1 >conftest.err
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_cxx_werror_flag"
11977 || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try='test -s conftest$ac_exeext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11990 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11992 # Check for a 64-bit object if we didn't find anything.
11993 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; }
11996 echo "$as_me: failed program was:" >&5
11997 sed 's/^/| /' conftest.$ac_ext >&5
12000 rm -f conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12004 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12005 # Warning - without using the other run time loading flags,
12006 # -berok will link without error, but may produce a broken library.
12007 no_undefined_flag_CXX=' ${wl}-bernotok'
12008 allow_undefined_flag_CXX=' ${wl}-berok'
12009 # -bexpall does not export symbols beginning with underscore (_)
12010 always_export_symbols_CXX=yes
12011 # Exported symbols can be pulled into shared objects from archives
12012 whole_archive_flag_spec_CXX=' '
12013 archive_cmds_need_lc_CXX=yes
12014 # This is similar to how AIX traditionally builds it's shared libraries.
12015 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'
12020 case $cc_basename in
12022 # FIXME: insert proper C++ library support
12028 cygwin* | mingw* | pw32*)
12029 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12030 # as there is no search path for DLLs.
12031 hardcode_libdir_flag_spec_CXX='-L$libdir'
12032 allow_undefined_flag_CXX=unsupported
12033 always_export_symbols_CXX=no
12034 enable_shared_with_static_runtimes_CXX=yes
12036 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12037 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'
12038 # If the export-symbols file already is a .def file (1st line
12039 # is EXPORTS), use it as is; otherwise, prepend...
12040 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12041 cp $export_symbols $output_objdir/$soname.def;
12043 echo EXPORTS > $output_objdir/$soname.def;
12044 cat $export_symbols >> $output_objdir/$soname.def;
12046 $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'
12052 darwin* | rhapsody*)
12053 if test "$GXX" = yes; then
12054 archive_cmds_need_lc_CXX=no
12056 rhapsody* | darwin1.[012])
12057 allow_undefined_flag_CXX='-undefined suppress'
12060 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12061 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12063 case ${MACOSX_DEPLOYMENT_TARGET} in
12065 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12068 allow_undefined_flag_CXX='-undefined dynamic_lookup'
12074 lt_int_apple_cc_single_mod=no
12075 output_verbose_link_cmd='echo'
12076 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12077 lt_int_apple_cc_single_mod=yes
12079 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12080 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12082 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'
12084 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12086 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12087 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12088 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}'
12090 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}'
12092 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}'
12093 hardcode_direct_CXX=no
12094 hardcode_automatic_CXX=yes
12095 hardcode_shlibpath_var_CXX=unsupported
12096 whole_archive_flag_spec_CXX='-all_load $convenience'
12097 link_all_deplibs_CXX=yes
12104 case $cc_basename in
12106 # FIXME: insert proper C++ library support
12110 # Green Hills C++ Compiler
12111 # FIXME: insert proper C++ library support
12115 # FIXME: insert proper C++ library support
12121 # C++ shared libraries reported to be fairly broken before switch to ELF
12125 archive_cmds_need_lc_CXX=no
12127 freebsd* | kfreebsd*-gnu)
12128 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12135 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12136 hardcode_libdir_separator_CXX=:
12137 export_dynamic_flag_spec_CXX='${wl}-E'
12138 hardcode_direct_CXX=yes
12139 hardcode_minus_L_CXX=yes # Not in the search PATH,
12140 # but as the default
12141 # location of the library.
12143 case $cc_basename in
12145 # FIXME: insert proper C++ library support
12149 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'
12150 # Commands to make compiler produce verbose output that lists
12151 # what "hidden" libraries, object files and flags are used when
12152 # linking a shared library.
12154 # There doesn't appear to be a way to prevent this compiler from
12155 # explicitly linking system object files so we need to strip them
12156 # from the output so that they don't get included in the library
12158 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'
12161 if test "$GXX" = yes; then
12162 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'
12164 # FIXME: insert proper C++ library support
12171 if test $with_gnu_ld = no; then
12172 case "$host_cpu" in
12174 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12175 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12176 hardcode_libdir_separator_CXX=:
12179 hardcode_libdir_flag_spec_CXX='-L$libdir'
12182 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12183 hardcode_libdir_separator_CXX=:
12184 export_dynamic_flag_spec_CXX='${wl}-E'
12188 case "$host_cpu" in
12190 hardcode_direct_CXX=no
12191 hardcode_shlibpath_var_CXX=no
12194 hardcode_direct_CXX=no
12195 hardcode_shlibpath_var_CXX=no
12196 hardcode_minus_L_CXX=yes # Not in the search PATH,
12197 # but as the default
12198 # location of the library.
12201 hardcode_direct_CXX=yes
12202 hardcode_minus_L_CXX=yes # Not in the search PATH,
12203 # but as the default
12204 # location of the library.
12208 case $cc_basename in
12210 # FIXME: insert proper C++ library support
12214 case "$host_cpu" in
12216 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12219 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12226 # There doesn't appear to be a way to prevent this compiler from
12227 # explicitly linking system object files so we need to strip them
12228 # from the output so that they don't get included in the library
12230 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'
12233 if test "$GXX" = yes; then
12234 if test $with_gnu_ld = no; then
12235 case "$host_cpu" in
12237 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12240 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'
12245 # FIXME: insert proper C++ library support
12252 case $cc_basename in
12255 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'
12257 # Archives containing C++ object files must be created using
12258 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12259 # necessary to make sure instantiated templates are included
12261 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12264 if test "$GXX" = yes; then
12265 if test "$with_gnu_ld" = no; then
12266 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'
12268 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'
12271 link_all_deplibs_CXX=yes
12274 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12275 hardcode_libdir_separator_CXX=:
12278 case $cc_basename in
12280 # Kuck and Associates, Inc. (KAI) C++ Compiler
12282 # KCC will only create a shared library if the output file
12283 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12284 # to its proper name (with version) after linking.
12285 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'
12286 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'
12287 # Commands to make compiler produce verbose output that lists
12288 # what "hidden" libraries, object files and flags are used when
12289 # linking a shared library.
12291 # There doesn't appear to be a way to prevent this compiler from
12292 # explicitly linking system object files so we need to strip them
12293 # from the output so that they don't get included in the library
12295 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'
12297 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12298 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12300 # Archives containing C++ object files must be created using
12301 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12302 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12307 archive_cmds_need_lc_CXX=no
12308 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309 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'
12310 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12311 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12312 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12316 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12317 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'
12319 runpath_var=LD_RUN_PATH
12320 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12321 hardcode_libdir_separator_CXX=:
12323 # Commands to make compiler produce verbose output that lists
12324 # what "hidden" libraries, object files and flags are used when
12325 # linking a shared library.
12327 # There doesn't appear to be a way to prevent this compiler from
12328 # explicitly linking system object files so we need to strip them
12329 # from the output so that they don't get included in the library
12331 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'
12336 # FIXME: insert proper C++ library support
12340 # FIXME: insert proper C++ library support
12344 case $cc_basename in
12346 # FIXME: insert proper C++ library support
12350 # FIXME: insert proper C++ library support
12356 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12357 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12359 hardcode_libdir_flag_spec_CXX='-R$libdir'
12360 hardcode_direct_CXX=yes
12361 hardcode_shlibpath_var_CXX=no
12363 # Workaround some broken pre-1.5 toolchains
12364 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12367 case $cc_basename in
12369 # Kuck and Associates, Inc. (KAI) C++ Compiler
12371 # KCC will only create a shared library if the output file
12372 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12373 # to its proper name (with version) after linking.
12374 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'
12376 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12377 hardcode_libdir_separator_CXX=:
12379 # Archives containing C++ object files must be created using
12380 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12381 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12385 # Rational C++ 2.4.1
12386 # FIXME: insert proper C++ library support
12390 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12391 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'
12393 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12394 hardcode_libdir_separator_CXX=:
12396 # Commands to make compiler produce verbose output that lists
12397 # what "hidden" libraries, object files and flags are used when
12398 # linking a shared library.
12400 # There doesn't appear to be a way to prevent this compiler from
12401 # explicitly linking system object files so we need to strip them
12402 # from the output so that they don't get included in the library
12404 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'
12407 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12408 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12409 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'
12411 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12412 hardcode_libdir_separator_CXX=:
12414 # Commands to make compiler produce verbose output that lists
12415 # what "hidden" libraries, object files and flags are used when
12416 # linking a shared library.
12417 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12420 # FIXME: insert proper C++ library support
12427 case $cc_basename in
12429 # Kuck and Associates, Inc. (KAI) C++ Compiler
12431 # KCC will only create a shared library if the output file
12432 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12433 # to its proper name (with version) after linking.
12434 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'
12436 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12437 hardcode_libdir_separator_CXX=:
12439 # Archives containing C++ object files must be created using
12440 # the KAI C++ compiler.
12441 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12444 # Rational C++ 2.4.1
12445 # FIXME: insert proper C++ library support
12449 allow_undefined_flag_CXX=' -expect_unresolved \*'
12450 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'
12451 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12452 echo "-hidden">> $lib.exp~
12453 $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~
12456 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12457 hardcode_libdir_separator_CXX=:
12459 # Commands to make compiler produce verbose output that lists
12460 # what "hidden" libraries, object files and flags are used when
12461 # linking a shared library.
12463 # There doesn't appear to be a way to prevent this compiler from
12464 # explicitly linking system object files so we need to strip them
12465 # from the output so that they don't get included in the library
12467 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'
12470 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12471 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12472 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'
12474 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12475 hardcode_libdir_separator_CXX=:
12477 # Commands to make compiler produce verbose output that lists
12478 # what "hidden" libraries, object files and flags are used when
12479 # linking a shared library.
12480 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12483 # FIXME: insert proper C++ library support
12490 # FIXME: insert proper C++ library support
12494 archive_cmds_need_lc_CXX=no
12495 case $cc_basename in
12497 # FIXME: insert proper C++ library support
12501 # FIXME: insert proper C++ library support
12507 case $cc_basename in
12510 # FIXME: insert proper C++ library support
12515 # FIXME: insert proper C++ library support
12519 # FIXME: insert proper C++ library support
12525 case $cc_basename in
12527 # Sun C++ 4.2, 5.x and Centerline C++
12528 no_undefined_flag_CXX=' -zdefs'
12529 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12530 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12531 $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'
12533 hardcode_libdir_flag_spec_CXX='-R$libdir'
12534 hardcode_shlibpath_var_CXX=no
12536 solaris2.0-5 | solaris2.0-5.*) ;;
12538 # The C++ compiler is used as linker so we must use $wl
12539 # flag to pass the commands to the underlying system
12541 # Supported since Solaris 2.6 (maybe 2.5.1?)
12542 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12545 link_all_deplibs_CXX=yes
12547 # Commands to make compiler produce verbose output that lists
12548 # what "hidden" libraries, object files and flags are used when
12549 # linking a shared library.
12551 # There doesn't appear to be a way to prevent this compiler from
12552 # explicitly linking system object files so we need to strip them
12553 # from the output so that they don't get included in the library
12555 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'
12557 # Archives containing C++ object files must be created using
12558 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12559 # necessary to make sure instantiated templates are included
12561 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12564 # Green Hills C++ Compiler
12565 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12567 # The C++ compiler must be used to create the archive.
12568 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12571 # GNU C++ compiler with Solaris linker
12572 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12573 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12574 if $CC --version | grep -v '^2\.7' > /dev/null; then
12575 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12576 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12577 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12579 # Commands to make compiler produce verbose output that lists
12580 # what "hidden" libraries, object files and flags are used when
12581 # linking a shared library.
12582 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12584 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12586 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12587 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12588 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12590 # Commands to make compiler produce verbose output that lists
12591 # what "hidden" libraries, object files and flags are used when
12592 # linking a shared library.
12593 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12596 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12601 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12602 archive_cmds_need_lc_CXX=no
12605 case $cc_basename in
12607 # NonStop-UX NCC 3.20
12608 # FIXME: insert proper C++ library support
12612 # FIXME: insert proper C++ library support
12618 # FIXME: insert proper C++ library support
12622 # FIXME: insert proper C++ library support
12626 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12627 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12628 test "$ld_shlibs_CXX" = no && can_build_shared=no
12634 ## There is no encapsulation within the following macros, do not change
12635 ## the running order or otherwise move them around unless you know exactly
12636 ## what you are doing...
12638 cat > conftest.$ac_ext <<EOF
12642 Foo (void) { a = 0; }
12648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12649 (eval $ac_compile) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; then
12653 # Parse the compiler output and extract the necessary
12654 # objects, libraries and library flags.
12656 # Sentinel used to keep track of whether or not we are before
12657 # the conftest object file.
12658 pre_test_object_deps_done=no
12660 # The `*' in the case matches for architectures that use `case' in
12661 # $output_verbose_cmd can trigger glob expansion during the loop
12662 # eval without this substitution.
12663 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
12665 for p in `eval $output_verbose_link_cmd`; do
12669 # Some compilers place space between "-{L,R}" and the path.
12670 # Remove the space.
12671 if test $p = "-L" \
12672 || test $p = "-R"; then
12679 if test "$pre_test_object_deps_done" = no; then
12682 # Internal compiler library paths should come after those
12683 # provided the user. The postdeps already come after the
12684 # user supplied libs so there is no need to process them.
12685 if test -z "$compiler_lib_search_path_CXX"; then
12686 compiler_lib_search_path_CXX="${prev}${p}"
12688 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12691 # The "-l" case would never come before the object being
12692 # linked, so don't bother handling this case.
12695 if test -z "$postdeps_CXX"; then
12696 postdeps_CXX="${prev}${p}"
12698 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12704 # This assumes that the test object file only shows up
12705 # once in the compiler output.
12706 if test "$p" = "conftest.$objext"; then
12707 pre_test_object_deps_done=yes
12711 if test "$pre_test_object_deps_done" = no; then
12712 if test -z "$predep_objects_CXX"; then
12713 predep_objects_CXX="$p"
12715 predep_objects_CXX="$predep_objects_CXX $p"
12718 if test -z "$postdep_objects_CXX"; then
12719 postdep_objects_CXX="$p"
12721 postdep_objects_CXX="$postdep_objects_CXX $p"
12726 *) ;; # Ignore the rest.
12734 echo "libtool.m4: error: problem compiling CXX test program"
12737 $rm -f confest.$objext
12739 case " $postdeps_CXX " in
12740 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12743 lt_prog_compiler_wl_CXX=
12744 lt_prog_compiler_pic_CXX=
12745 lt_prog_compiler_static_CXX=
12747 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12748 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12750 # C++ specific cases for pic, static, wl, etc.
12751 if test "$GXX" = yes; then
12752 lt_prog_compiler_wl_CXX='-Wl,'
12753 lt_prog_compiler_static_CXX='-static'
12757 # All AIX code is PIC.
12758 if test "$host_cpu" = ia64; then
12759 # AIX 5 now supports IA64 processor
12760 lt_prog_compiler_static_CXX='-Bstatic'
12764 # FIXME: we need at least 68020 code to build shared libraries, but
12765 # adding the `-m68020' flag to GCC prevents building anything better,
12767 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12769 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12770 # PIC is the default for these OSes.
12772 mingw* | os2* | pw32*)
12773 # This hack is so that the source file can tell whether it is being
12774 # built for inclusion in a dll (and should export symbols for example).
12775 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12777 darwin* | rhapsody*)
12778 # PIC is the default on this platform
12779 # Common symbols not allowed in MH_DYLIB files
12780 lt_prog_compiler_pic_CXX='-fno-common'
12783 # DJGPP does not support shared libraries at all
12784 lt_prog_compiler_pic_CXX=
12787 if test -d /usr/nec; then
12788 lt_prog_compiler_pic_CXX=-Kconform_pic
12792 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12793 # not for PA HP-UX.
12794 case "$host_cpu" in
12798 lt_prog_compiler_pic_CXX='-fPIC'
12803 lt_prog_compiler_pic_CXX='-fPIC'
12809 # All AIX code is PIC.
12810 if test "$host_cpu" = ia64; then
12811 # AIX 5 now supports IA64 processor
12812 lt_prog_compiler_static_CXX='-Bstatic'
12814 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12818 case $cc_basename in
12820 # Green Hills C++ Compiler
12821 # _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"
12826 case $cc_basename in
12828 lt_prog_compiler_pic_CXX='-KPIC'
12831 # Green Hills C++ Compiler
12832 lt_prog_compiler_pic_CXX='-pic'
12838 freebsd* | kfreebsd*-gnu)
12839 # FreeBSD uses GNU C++
12841 hpux9* | hpux10* | hpux11*)
12842 case $cc_basename in
12844 lt_prog_compiler_wl_CXX='-Wl,'
12845 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12846 if test "$host_cpu" != ia64; then
12847 lt_prog_compiler_pic_CXX='+Z'
12851 lt_prog_compiler_wl_CXX='-Wl,'
12852 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12853 case "$host_cpu" in
12858 lt_prog_compiler_pic_CXX='+Z'
12866 irix5* | irix6* | nonstopux*)
12867 case $cc_basename in
12869 lt_prog_compiler_wl_CXX='-Wl,'
12870 lt_prog_compiler_static_CXX='-non_shared'
12871 # CC pic flag -KPIC is the default.
12878 case $cc_basename in
12881 lt_prog_compiler_wl_CXX='--backend -Wl,'
12882 lt_prog_compiler_pic_CXX='-fPIC'
12886 lt_prog_compiler_wl_CXX='-Wl,'
12887 lt_prog_compiler_pic_CXX='-KPIC'
12888 lt_prog_compiler_static_CXX='-static'
12892 # Make sure the PIC flag is empty. It appears that all Alpha
12893 # Linux and Compaq Tru64 Unix objects are PIC.
12894 lt_prog_compiler_pic_CXX=
12895 lt_prog_compiler_static_CXX='-non_shared'
12906 case $cc_basename in
12908 lt_prog_compiler_pic_CXX='-W c,exportall'
12916 osf3* | osf4* | osf5*)
12917 case $cc_basename in
12919 lt_prog_compiler_wl_CXX='--backend -Wl,'
12922 # Rational C++ 2.4.1
12923 lt_prog_compiler_pic_CXX='-pic'
12926 # Digital/Compaq C++
12927 lt_prog_compiler_wl_CXX='-Wl,'
12928 # Make sure the PIC flag is empty. It appears that all Alpha
12929 # Linux and Compaq Tru64 Unix objects are PIC.
12930 lt_prog_compiler_pic_CXX=
12931 lt_prog_compiler_static_CXX='-non_shared'
12940 case $cc_basename in
12942 lt_prog_compiler_pic_CXX='-fPIC'
12949 case $cc_basename in
12951 # Sun C++ 4.2, 5.x and Centerline C++
12952 lt_prog_compiler_pic_CXX='-KPIC'
12953 lt_prog_compiler_static_CXX='-Bstatic'
12954 lt_prog_compiler_wl_CXX='-Qoption ld '
12957 # Green Hills C++ Compiler
12958 lt_prog_compiler_pic_CXX='-PIC'
12965 case $cc_basename in
12968 lt_prog_compiler_pic_CXX='-pic'
12969 lt_prog_compiler_static_CXX='-Bstatic'
12973 lt_prog_compiler_pic_CXX='-pic'
12980 case $cc_basename in
12982 # NonStop-UX NCC 3.20
12983 lt_prog_compiler_pic_CXX='-KPIC'
12994 lt_prog_compiler_can_build_shared_CXX=no
12999 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13000 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13003 # Check to make sure the PIC flag actually works.
13005 if test -n "$lt_prog_compiler_pic_CXX"; then
13007 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13008 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13009 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 lt_prog_compiler_pic_works_CXX=no
13013 ac_outfile=conftest.$ac_objext
13014 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13015 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13016 # Insert the option either (1) after the last *FLAGS variable, or
13017 # (2) before a word containing "conftest.", or (3) at the end.
13018 # Note that $ac_compile itself does not contain backslashes and begins
13019 # with a dollar sign (not a hyphen), so the echo should work correctly.
13020 # The option is referenced via a variable to avoid confusing sed.
13021 lt_compile=`echo "$ac_compile" | $SED \
13022 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13024 -e 's:$: $lt_compiler_flag:'`
13025 (eval echo "\"\$as_me:13025: $lt_compile\"" >&5)
13026 (eval "$lt_compile" 2>conftest.err)
13028 cat conftest.err >&5
13029 echo "$as_me:13029: \$? = $ac_status" >&5
13030 if (exit $ac_status) && test -s "$ac_outfile"; then
13031 # The compiler can only warn and ignore the option if not recognized
13032 # So say no if there are warnings
13033 if test ! -s conftest.err; then
13034 lt_prog_compiler_pic_works_CXX=yes
13040 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13041 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13043 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13044 case $lt_prog_compiler_pic_CXX in
13046 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13049 lt_prog_compiler_pic_CXX=
13050 lt_prog_compiler_can_build_shared_CXX=no
13055 # For platforms which do not support PIC, -DPIC is meaningless:
13057 lt_prog_compiler_pic_CXX=
13060 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13064 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13065 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13066 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 lt_cv_prog_compiler_c_o_CXX=no
13070 $rm -r conftest 2>/dev/null
13074 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13076 lt_compiler_flag="-o out/conftest2.$ac_objext"
13077 # Insert the option either (1) after the last *FLAGS variable, or
13078 # (2) before a word containing "conftest.", or (3) at the end.
13079 # Note that $ac_compile itself does not contain backslashes and begins
13080 # with a dollar sign (not a hyphen), so the echo should work correctly.
13081 lt_compile=`echo "$ac_compile" | $SED \
13082 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13084 -e 's:$: $lt_compiler_flag:'`
13085 (eval echo "\"\$as_me:13085: $lt_compile\"" >&5)
13086 (eval "$lt_compile" 2>out/conftest.err)
13088 cat out/conftest.err >&5
13089 echo "$as_me:13089: \$? = $ac_status" >&5
13090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13092 # The compiler can only warn and ignore the option if not recognized
13093 # So say no if there are warnings
13094 if test ! -s out/conftest.err; then
13095 lt_cv_prog_compiler_c_o_CXX=yes
13100 # SGI C++ compiler will create directory out/ii_files/ for
13101 # template instantiation
13102 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13103 $rm out/* && rmdir out
13109 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13110 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13113 hard_links="nottested"
13114 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13115 # do not overwrite the value of need_locks provided by the user
13116 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13117 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13120 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13122 ln conftest.a conftest.b 2>&5 || hard_links=no
13123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13124 echo "$as_me:$LINENO: result: $hard_links" >&5
13125 echo "${ECHO_T}$hard_links" >&6
13126 if test "$hard_links" = no; then
13127 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13128 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13135 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13136 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13138 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13141 # If we're using GNU nm, then we don't want the "-C" option.
13142 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13143 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13144 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'
13146 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'
13150 export_symbols_cmds_CXX="$ltdll_cmds"
13153 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13156 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13160 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13161 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13162 test "$ld_shlibs_CXX" = no && can_build_shared=no
13164 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13165 if test "$GCC" = yes; then
13166 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13170 # Do we need to explicitly link libc?
13172 case "x$archive_cmds_need_lc_CXX" in
13174 # Assume -lc should be added
13175 archive_cmds_need_lc_CXX=yes
13177 if test "$enable_shared" = yes && test "$GCC" = yes; then
13178 case $archive_cmds_CXX in
13180 # FIXME: we may have to deal with multi-command sequences.
13183 # Test whether the compiler implicitly links with -lc since on some
13184 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13185 # to ld, don't add -lc before -lgcc.
13186 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13187 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13189 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13192 (eval $ac_compile) 2>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); } 2>conftest.err; then
13198 libobjs=conftest.$ac_objext
13200 wl=$lt_prog_compiler_wl_CXX
13206 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13207 allow_undefined_flag_CXX=
13208 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13209 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }
13214 archive_cmds_need_lc_CXX=no
13216 archive_cmds_need_lc_CXX=yes
13218 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13220 cat conftest.err 1>&5
13223 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13224 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13231 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13232 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13233 library_names_spec=
13234 libname_spec='lib$name'
13238 postuninstall_cmds=
13242 shlibpath_overrides_runpath=unknown
13244 dynamic_linker="$host_os ld.so"
13245 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13246 if test "$GCC" = yes; then
13247 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13248 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13249 # if the path contains ";" then we assume it to be the separator
13250 # otherwise default to the standard path separator (i.e. ":") - it is
13251 # assumed that no part of a normal pathname contains ";" but that should
13252 # okay in the real world where ";" in dirpaths is itself problematic.
13253 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13255 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13258 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13260 need_lib_prefix=unknown
13261 hardcode_into_libs=no
13263 # when you set need_version to no, make sure it does not cause -set_version
13264 # flags to be left without arguments
13265 need_version=unknown
13270 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13271 shlibpath_var=LIBPATH
13273 # AIX 3 has no versioning support, so we append a major version to the name.
13274 soname_spec='${libname}${release}${shared_ext}$major'
13281 hardcode_into_libs=yes
13282 if test "$host_cpu" = ia64; then
13283 # AIX 5 supports IA64
13284 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13285 shlibpath_var=LD_LIBRARY_PATH
13287 # With GCC up to 2.95.x, collect2 would create an import file
13288 # for dependence libraries. The import file would start with
13289 # the line `#! .'. This would cause the generated library to
13290 # depend on `.', always an invalid library. This was fixed in
13291 # development snapshots of GCC prior to 3.0.
13293 aix4 | aix4.[01] | aix4.[01].*)
13294 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13296 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13299 can_build_shared=no
13303 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13304 # soname into executable. Probably we can add versioning support to
13305 # collect2, so additional links can be useful in future.
13306 if test "$aix_use_runtimelinking" = yes; then
13307 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13308 # instead of lib<name>.a to let people know that these are not
13309 # typical AIX shared libraries.
13310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13312 # We preserve .a as extension for shared libraries through AIX4.2
13313 # and later when we are not doing run time linking.
13314 library_names_spec='${libname}${release}.a $libname.a'
13315 soname_spec='${libname}${release}${shared_ext}$major'
13317 shlibpath_var=LIBPATH
13322 library_names_spec='$libname.ixlibrary $libname.a'
13323 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13324 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'
13328 library_names_spec='${libname}${shared_ext}'
13329 dynamic_linker="$host_os ld.so"
13330 shlibpath_var=LIBRARY_PATH
13336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13337 soname_spec='${libname}${release}${shared_ext}$major'
13338 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13339 shlibpath_var=LD_LIBRARY_PATH
13340 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13341 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13342 # the default ld.so.conf also contains /usr/contrib/lib and
13343 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13344 # libtool to hard-code these into programs
13347 cygwin* | mingw* | pw32*)
13348 version_type=windows
13353 case $GCC,$host_os in
13354 yes,cygwin* | yes,mingw* | yes,pw32*)
13355 library_names_spec='$libname.dll.a'
13356 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13357 postinstall_cmds='base_file=`basename \${file}`~
13358 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13359 dldir=$destdir/`dirname \$dlpath`~
13360 test -d \$dldir || mkdir -p \$dldir~
13361 $install_prog $dir/$dlname \$dldir/$dlname'
13362 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13363 dlpath=$dir/\$dldll~
13365 shlibpath_overrides_runpath=yes
13369 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13370 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13371 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13374 # MinGW DLLs use traditional 'lib' prefix
13375 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13376 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13377 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13378 # It is most probably a Windows format PATH printed by
13379 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13380 # path with ; separators, and with drive letters. We can handle the
13381 # drive letters (cygwin fileutils understands them), so leave them,
13382 # especially as we might pass files found there to a mingw objdump,
13383 # which wouldn't understand a cygwinified path. Ahh.
13384 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13386 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13390 # pw32 DLLs use 'pw' prefix rather than 'lib'
13391 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13397 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13400 dynamic_linker='Win32 ld.exe'
13401 # FIXME: first we should search . and the directory the executable is in
13405 darwin* | rhapsody*)
13406 dynamic_linker="$host_os dyld"
13407 version_type=darwin
13410 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13411 soname_spec='${libname}${release}${major}$shared_ext'
13412 shlibpath_overrides_runpath=yes
13413 shlibpath_var=DYLD_LIBRARY_PATH
13414 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
13415 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13416 if test "$GCC" = yes; then
13417 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"`
13419 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13421 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
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
13441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13442 soname_spec='${libname}${release}${shared_ext}$major'
13443 shlibpath_var=LD_LIBRARY_PATH
13444 shlibpath_overrides_runpath=no
13445 hardcode_into_libs=yes
13446 dynamic_linker='GNU ld.so'
13450 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13451 version_type=freebsd-$objformat
13452 case $version_type in
13454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13459 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13463 shlibpath_var=LD_LIBRARY_PATH
13466 shlibpath_overrides_runpath=yes
13468 freebsd3.01* | freebsdelf3.01*)
13469 shlibpath_overrides_runpath=yes
13470 hardcode_into_libs=yes
13473 shlibpath_overrides_runpath=no
13474 hardcode_into_libs=yes
13483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13484 soname_spec='${libname}${release}${shared_ext}$major'
13485 shlibpath_var=LD_LIBRARY_PATH
13486 hardcode_into_libs=yes
13489 hpux9* | hpux10* | hpux11*)
13490 # Give a soname corresponding to the major version so that dld.sl refuses to
13491 # link against other versions.
13495 case "$host_cpu" in
13498 hardcode_into_libs=yes
13499 dynamic_linker="$host_os dld.so"
13500 shlibpath_var=LD_LIBRARY_PATH
13501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503 soname_spec='${libname}${release}${shared_ext}$major'
13504 if test "X$HPUX_IA64_MODE" = X32; then
13505 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13507 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13509 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13513 hardcode_into_libs=yes
13514 dynamic_linker="$host_os dld.sl"
13515 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13516 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 soname_spec='${libname}${release}${shared_ext}$major'
13519 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13520 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13524 dynamic_linker="$host_os dld.sl"
13525 shlibpath_var=SHLIB_PATH
13526 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13528 soname_spec='${libname}${release}${shared_ext}$major'
13531 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13532 postinstall_cmds='chmod 555 $lib'
13535 irix5* | irix6* | nonstopux*)
13537 nonstopux*) version_type=nonstopux ;;
13539 if test "$lt_cv_prog_gnu_ld" = yes; then
13547 soname_spec='${libname}${release}${shared_ext}$major'
13548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13550 irix5* | nonstopux*)
13551 libsuff= shlibsuff=
13554 case $LD in # libtool.m4 will add one of these switches to LD
13555 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13556 libsuff= shlibsuff= libmagic=32-bit;;
13557 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13558 libsuff=32 shlibsuff=N32 libmagic=N32;;
13559 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13560 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13561 *) libsuff= shlibsuff= libmagic=never-match;;
13565 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13566 shlibpath_overrides_runpath=no
13567 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13568 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13569 hardcode_into_libs=yes
13572 # No shared lib support for Linux oldld, aout, or coff.
13573 linux*oldld* | linux*aout* | linux*coff*)
13577 # This must be Linux ELF.
13582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13583 soname_spec='${libname}${release}${shared_ext}$major'
13584 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13585 shlibpath_var=LD_LIBRARY_PATH
13586 shlibpath_overrides_runpath=no
13587 # This implies no fast_install, which is unacceptable.
13588 # Some rework will be needed to allow for fast_install
13589 # before this can be enabled.
13590 hardcode_into_libs=yes
13592 # find out which ABI we are using
13594 case "$host_cpu" in
13595 x86_64*|s390x*|powerpc64*)
13596 echo '#line 13596 "configure"' > conftest.$ac_ext
13597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13598 (eval $ac_compile) 2>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; then
13602 case `/usr/bin/file conftest.$ac_objext` in
13605 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13613 # Append ld.so.conf contents to the search path
13614 if test -f /etc/ld.so.conf; then
13615 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
13616 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13619 # We used to test for /lib/ld.so.1 and disable shared libraries on
13620 # powerpc, because MkLinux only supported shared libraries with the
13621 # GNU dynamic linker. Since this was broken with cross compilers,
13622 # most powerpc-linux boxes support dynamic linking these days and
13623 # people can always --disable-shared, the test was removed, and we
13624 # assume the GNU/Linux dynamic linker is in use.
13625 dynamic_linker='GNU/Linux ld.so'
13632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13633 soname_spec='${libname}${release}${shared_ext}$major'
13634 shlibpath_var=LD_LIBRARY_PATH
13635 shlibpath_overrides_runpath=no
13636 hardcode_into_libs=yes
13637 dynamic_linker='GNU ld.so'
13644 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13646 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13647 dynamic_linker='NetBSD (a.out) ld.so'
13649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13650 soname_spec='${libname}${release}${shared_ext}$major'
13651 dynamic_linker='NetBSD ld.elf_so'
13653 shlibpath_var=LD_LIBRARY_PATH
13654 shlibpath_overrides_runpath=yes
13655 hardcode_into_libs=yes
13660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13661 shlibpath_var=LD_LIBRARY_PATH
13662 shlibpath_overrides_runpath=yes
13669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13670 soname_spec='${libname}${release}${shared_ext}$major'
13671 shlibpath_var=LD_LIBRARY_PATH
13672 shlibpath_overrides_runpath=yes
13679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13680 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13681 shlibpath_var=LD_LIBRARY_PATH
13682 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13684 openbsd2.[89] | openbsd2.[89].*)
13685 shlibpath_overrides_runpath=no
13688 shlibpath_overrides_runpath=yes
13692 shlibpath_overrides_runpath=yes
13697 libname_spec='$name'
13700 library_names_spec='$libname${shared_ext} $libname.a'
13701 dynamic_linker='OS/2 ld.exe'
13702 shlibpath_var=LIBPATH
13705 osf3* | osf4* | osf5*)
13709 soname_spec='${libname}${release}${shared_ext}$major'
13710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13711 shlibpath_var=LD_LIBRARY_PATH
13712 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13713 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13718 soname_spec='${libname}${release}${shared_ext}$major'
13719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13720 shlibpath_var=LD_LIBRARY_PATH
13727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13728 soname_spec='${libname}${release}${shared_ext}$major'
13729 shlibpath_var=LD_LIBRARY_PATH
13730 shlibpath_overrides_runpath=yes
13731 hardcode_into_libs=yes
13732 # ldd complains unless libraries are executable
13733 postinstall_cmds='chmod +x $lib'
13738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13739 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13740 shlibpath_var=LD_LIBRARY_PATH
13741 shlibpath_overrides_runpath=yes
13742 if test "$with_gnu_ld" = yes; then
13748 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13751 soname_spec='${libname}${release}${shared_ext}$major'
13752 shlibpath_var=LD_LIBRARY_PATH
13753 case $host_vendor in
13755 shlibpath_overrides_runpath=no
13757 export_dynamic_flag_spec='${wl}-Blargedynsym'
13758 runpath_var=LD_RUN_PATH
13766 shlibpath_overrides_runpath=no
13767 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13773 if test -d /usr/nec ;then
13775 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13776 soname_spec='$libname${shared_ext}.$major'
13777 shlibpath_var=LD_LIBRARY_PATH
13783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784 soname_spec='${libname}${release}${shared_ext}$major'
13785 shlibpath_var=LD_LIBRARY_PATH
13792 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13793 echo "${ECHO_T}$dynamic_linker" >&6
13794 test "$dynamic_linker" = no && can_build_shared=no
13796 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13797 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13798 hardcode_action_CXX=
13799 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13800 test -n "$runpath_var CXX" || \
13801 test "X$hardcode_automatic_CXX"="Xyes" ; then
13803 # We can hardcode non-existant directories.
13804 if test "$hardcode_direct_CXX" != no &&
13805 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13806 # have to relink, otherwise we might link with an installed library
13807 # when we should be linking with a yet-to-be-installed one
13808 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13809 test "$hardcode_minus_L_CXX" != no; then
13810 # Linking always hardcodes the temporary library directory.
13811 hardcode_action_CXX=relink
13813 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13814 hardcode_action_CXX=immediate
13817 # We cannot hardcode anything, or else we can only hardcode existing
13819 hardcode_action_CXX=unsupported
13821 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13822 echo "${ECHO_T}$hardcode_action_CXX" >&6
13824 if test "$hardcode_action_CXX" = relink; then
13825 # Fast installation is not supported
13826 enable_fast_install=no
13827 elif test "$shlibpath_overrides_runpath" = yes ||
13828 test "$enable_shared" = no; then
13829 # Fast installation is not necessary
13830 enable_fast_install=needless
13835 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13836 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13837 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13838 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13839 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13840 echo "$as_me:$LINENO: result: yes" >&5
13841 echo "${ECHO_T}yes" >&6
13843 # FIXME - insert some real tests, host_os isn't really good enough
13846 if test -n "$STRIP" ; then
13847 striplib="$STRIP -x"
13848 echo "$as_me:$LINENO: result: yes" >&5
13849 echo "${ECHO_T}yes" >&6
13851 echo "$as_me:$LINENO: result: no" >&5
13852 echo "${ECHO_T}no" >&6
13856 echo "$as_me:$LINENO: result: no" >&5
13857 echo "${ECHO_T}no" >&6
13862 if test "x$enable_dlopen" != xyes; then
13863 enable_dlopen=unknown
13864 enable_dlopen_self=unknown
13865 enable_dlopen_self_static=unknown
13872 lt_cv_dlopen="load_add_on"
13874 lt_cv_dlopen_self=yes
13878 lt_cv_dlopen="LoadLibrary"
13883 lt_cv_dlopen="dlopen"
13888 # if libdl is installed we need to link against it
13889 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13890 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 ac_check_lib_save_LIBS=$LIBS
13896 cat >conftest.$ac_ext <<_ACEOF
13899 cat confdefs.h >>conftest.$ac_ext
13900 cat >>conftest.$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13903 /* Override any gcc2 internal prototype to avoid an error. */
13907 /* We use char because int might match the return type of a gcc2
13908 builtin and then its argument prototype would still apply. */
13918 rm -f conftest.$ac_objext conftest$ac_exeext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13920 (eval $ac_link) 2>conftest.er1
13922 grep -v '^ *+' conftest.er1 >conftest.err
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try='test -z "$ac_cxx_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try='test -s conftest$ac_exeext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 ac_cv_lib_dl_dlopen=yes
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.$ac_ext >&5
13945 ac_cv_lib_dl_dlopen=no
13947 rm -f conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS=$ac_check_lib_save_LIBS
13951 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13952 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13953 if test $ac_cv_lib_dl_dlopen = yes; then
13954 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13957 lt_cv_dlopen="dyld"
13959 lt_cv_dlopen_self=yes
13966 echo "$as_me:$LINENO: checking for shl_load" >&5
13967 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13968 if test "${ac_cv_func_shl_load+set}" = set; then
13969 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 cat >conftest.$ac_ext <<_ACEOF
13974 cat confdefs.h >>conftest.$ac_ext
13975 cat >>conftest.$ac_ext <<_ACEOF
13976 /* end confdefs.h. */
13977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13979 #define shl_load innocuous_shl_load
13981 /* System header to define __stub macros and hopefully few prototypes,
13982 which can conflict with char shl_load (); below.
13983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13984 <limits.h> exists even on freestanding compilers. */
13987 # include <limits.h>
13989 # include <assert.h>
13994 /* Override any gcc2 internal prototype to avoid an error. */
13999 /* We use char because int might match the return type of a gcc2
14000 builtin and then its argument prototype would still apply. */
14002 /* The GNU C library defines this for functions which it implements
14003 to always fail with ENOSYS. Some functions are actually named
14004 something starting with __ and the normal name is an alias. */
14005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
14008 char (*f) () = shl_load;
14017 return f != shl_load;
14022 rm -f conftest.$ac_objext conftest$ac_exeext
14023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14024 (eval $ac_link) 2>conftest.er1
14026 grep -v '^ *+' conftest.er1 >conftest.err
14028 cat conftest.err >&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } &&
14031 { ac_try='test -z "$ac_cxx_werror_flag"
14032 || test ! -s conftest.err'
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034 (eval $ac_try) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } &&
14038 { ac_try='test -s conftest$ac_exeext'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; }; then
14044 ac_cv_func_shl_load=yes
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.$ac_ext >&5
14049 ac_cv_func_shl_load=no
14051 rm -f conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14056 if test $ac_cv_func_shl_load = yes; then
14057 lt_cv_dlopen="shl_load"
14059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14064 ac_check_lib_save_LIBS=$LIBS
14066 cat >conftest.$ac_ext <<_ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14073 /* Override any gcc2 internal prototype to avoid an error. */
14077 /* We use char because int might match the return type of a gcc2
14078 builtin and then its argument prototype would still apply. */
14088 rm -f conftest.$ac_objext conftest$ac_exeext
14089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14090 (eval $ac_link) 2>conftest.er1
14092 grep -v '^ *+' conftest.er1 >conftest.err
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } &&
14097 { ac_try='test -z "$ac_cxx_werror_flag"
14098 || test ! -s conftest.err'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; } &&
14104 { ac_try='test -s conftest$ac_exeext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14110 ac_cv_lib_dld_shl_load=yes
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.$ac_ext >&5
14115 ac_cv_lib_dld_shl_load=no
14117 rm -f conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 LIBS=$ac_check_lib_save_LIBS
14121 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14122 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14123 if test $ac_cv_lib_dld_shl_load = yes; then
14124 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14126 echo "$as_me:$LINENO: checking for dlopen" >&5
14127 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14128 if test "${ac_cv_func_dlopen+set}" = set; then
14129 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 cat >conftest.$ac_ext <<_ACEOF
14134 cat confdefs.h >>conftest.$ac_ext
14135 cat >>conftest.$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14137 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14139 #define dlopen innocuous_dlopen
14141 /* System header to define __stub macros and hopefully few prototypes,
14142 which can conflict with char dlopen (); below.
14143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14144 <limits.h> exists even on freestanding compilers. */
14147 # include <limits.h>
14149 # include <assert.h>
14154 /* Override any gcc2 internal prototype to avoid an error. */
14159 /* We use char because int might match the return type of a gcc2
14160 builtin and then its argument prototype would still apply. */
14162 /* The GNU C library defines this for functions which it implements
14163 to always fail with ENOSYS. Some functions are actually named
14164 something starting with __ and the normal name is an alias. */
14165 #if defined (__stub_dlopen) || defined (__stub___dlopen)
14168 char (*f) () = dlopen;
14177 return f != dlopen;
14182 rm -f conftest.$ac_objext conftest$ac_exeext
14183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14184 (eval $ac_link) 2>conftest.er1
14186 grep -v '^ *+' conftest.er1 >conftest.err
14188 cat conftest.err >&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); } &&
14191 { ac_try='test -z "$ac_cxx_werror_flag"
14192 || test ! -s conftest.err'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest$ac_exeext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14204 ac_cv_func_dlopen=yes
14206 echo "$as_me: failed program was:" >&5
14207 sed 's/^/| /' conftest.$ac_ext >&5
14209 ac_cv_func_dlopen=no
14211 rm -f conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14214 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14215 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14216 if test $ac_cv_func_dlopen = yes; then
14217 lt_cv_dlopen="dlopen"
14219 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14220 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14221 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 ac_check_lib_save_LIBS=$LIBS
14226 cat >conftest.$ac_ext <<_ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14233 /* Override any gcc2 internal prototype to avoid an error. */
14237 /* We use char because int might match the return type of a gcc2
14238 builtin and then its argument prototype would still apply. */
14248 rm -f conftest.$ac_objext conftest$ac_exeext
14249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14250 (eval $ac_link) 2>conftest.er1
14252 grep -v '^ *+' conftest.er1 >conftest.err
14254 cat conftest.err >&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -z "$ac_cxx_werror_flag"
14258 || test ! -s conftest.err'
14259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260 (eval $ac_try) 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; } &&
14264 { ac_try='test -s conftest$ac_exeext'
14265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14266 (eval $ac_try) 2>&5
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); }; }; then
14270 ac_cv_lib_dl_dlopen=yes
14272 echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.$ac_ext >&5
14275 ac_cv_lib_dl_dlopen=no
14277 rm -f conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14279 LIBS=$ac_check_lib_save_LIBS
14281 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14282 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14283 if test $ac_cv_lib_dl_dlopen = yes; then
14284 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14286 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14287 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14288 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14289 echo $ECHO_N "(cached) $ECHO_C" >&6
14291 ac_check_lib_save_LIBS=$LIBS
14292 LIBS="-lsvld $LIBS"
14293 cat >conftest.$ac_ext <<_ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14300 /* Override any gcc2 internal prototype to avoid an error. */
14304 /* We use char because int might match the return type of a gcc2
14305 builtin and then its argument prototype would still apply. */
14315 rm -f conftest.$ac_objext conftest$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>conftest.er1
14319 grep -v '^ *+' conftest.er1 >conftest.err
14321 cat conftest.err >&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } &&
14324 { ac_try='test -z "$ac_cxx_werror_flag"
14325 || test ! -s conftest.err'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; } &&
14331 { ac_try='test -s conftest$ac_exeext'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; }; then
14337 ac_cv_lib_svld_dlopen=yes
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.$ac_ext >&5
14342 ac_cv_lib_svld_dlopen=no
14344 rm -f conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14346 LIBS=$ac_check_lib_save_LIBS
14348 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14349 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14350 if test $ac_cv_lib_svld_dlopen = yes; then
14351 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14353 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14354 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14355 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 ac_check_lib_save_LIBS=$LIBS
14360 cat >conftest.$ac_ext <<_ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14367 /* Override any gcc2 internal prototype to avoid an error. */
14371 /* We use char because int might match the return type of a gcc2
14372 builtin and then its argument prototype would still apply. */
14382 rm -f conftest.$ac_objext conftest$ac_exeext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>conftest.er1
14386 grep -v '^ *+' conftest.er1 >conftest.err
14388 cat conftest.err >&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try='test -z "$ac_cxx_werror_flag"
14392 || test ! -s conftest.err'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; } &&
14398 { ac_try='test -s conftest$ac_exeext'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; }; then
14404 ac_cv_lib_dld_dld_link=yes
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.$ac_ext >&5
14409 ac_cv_lib_dld_dld_link=no
14411 rm -f conftest.err conftest.$ac_objext \
14412 conftest$ac_exeext conftest.$ac_ext
14413 LIBS=$ac_check_lib_save_LIBS
14415 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14416 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14417 if test $ac_cv_lib_dld_dld_link = yes; then
14418 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14439 if test "x$lt_cv_dlopen" != xno; then
14445 case $lt_cv_dlopen in
14447 save_CPPFLAGS="$CPPFLAGS"
14448 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14450 save_LDFLAGS="$LDFLAGS"
14451 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14454 LIBS="$lt_cv_dlopen_libs $LIBS"
14456 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14457 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14458 if test "${lt_cv_dlopen_self+set}" = set; then
14459 echo $ECHO_N "(cached) $ECHO_C" >&6
14461 if test "$cross_compiling" = yes; then :
14462 lt_cv_dlopen_self=cross
14464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14465 lt_status=$lt_dlunknown
14466 cat > conftest.$ac_ext <<EOF
14467 #line 14467 "configure"
14468 #include "confdefs.h"
14477 # define LT_DLGLOBAL RTLD_GLOBAL
14480 # define LT_DLGLOBAL DL_GLOBAL
14482 # define LT_DLGLOBAL 0
14486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14487 find out it does not work in some platform. */
14488 #ifndef LT_DLLAZY_OR_NOW
14490 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14493 # define LT_DLLAZY_OR_NOW DL_LAZY
14496 # define LT_DLLAZY_OR_NOW RTLD_NOW
14499 # define LT_DLLAZY_OR_NOW DL_NOW
14501 # define LT_DLLAZY_OR_NOW 0
14509 extern "C" void exit (int);
14512 void fnord() { int i=42;}
14515 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14516 int status = $lt_dlunknown;
14520 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14521 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14522 /* dlclose (self); */
14528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14529 (eval $ac_link) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14533 (./conftest; exit; ) 2>/dev/null
14535 case x$lt_status in
14536 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14537 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14538 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
14541 # compilation failed
14542 lt_cv_dlopen_self=no
14549 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14550 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14552 if test "x$lt_cv_dlopen_self" = xyes; then
14553 LDFLAGS="$LDFLAGS $link_static_flag"
14554 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14555 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14556 if test "${lt_cv_dlopen_self_static+set}" = set; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14559 if test "$cross_compiling" = yes; then :
14560 lt_cv_dlopen_self_static=cross
14562 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14563 lt_status=$lt_dlunknown
14564 cat > conftest.$ac_ext <<EOF
14565 #line 14565 "configure"
14566 #include "confdefs.h"
14575 # define LT_DLGLOBAL RTLD_GLOBAL
14578 # define LT_DLGLOBAL DL_GLOBAL
14580 # define LT_DLGLOBAL 0
14584 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14585 find out it does not work in some platform. */
14586 #ifndef LT_DLLAZY_OR_NOW
14588 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14591 # define LT_DLLAZY_OR_NOW DL_LAZY
14594 # define LT_DLLAZY_OR_NOW RTLD_NOW
14597 # define LT_DLLAZY_OR_NOW DL_NOW
14599 # define LT_DLLAZY_OR_NOW 0
14607 extern "C" void exit (int);
14610 void fnord() { int i=42;}
14613 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14614 int status = $lt_dlunknown;
14618 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14619 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14620 /* dlclose (self); */
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14631 (./conftest; exit; ) 2>/dev/null
14633 case x$lt_status in
14634 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14635 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14636 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
14639 # compilation failed
14640 lt_cv_dlopen_self_static=no
14647 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14648 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14651 CPPFLAGS="$save_CPPFLAGS"
14652 LDFLAGS="$save_LDFLAGS"
14657 case $lt_cv_dlopen_self in
14658 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14659 *) enable_dlopen_self=unknown ;;
14662 case $lt_cv_dlopen_self_static in
14663 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14664 *) enable_dlopen_self_static=unknown ;;
14669 # The else clause should only fire when bootstrapping the
14670 # libtool distribution, otherwise you forgot to ship ltmain.sh
14671 # with your package, and you will get complaints that there are
14672 # no rules to generate ltmain.sh.
14673 if test -f "$ltmain"; then
14674 # See if we are running on zsh, and set the options which allow our commands through
14675 # without removal of \ escapes.
14676 if test -n "${ZSH_VERSION+set}" ; then
14677 setopt NO_GLOB_SUBST
14679 # Now quote all the things that may contain metacharacters while being
14680 # careful not to overquote the AC_SUBSTed values. We take copies of the
14681 # variables and quote the copies for generation of the libtool script.
14682 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14684 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14685 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14686 deplibs_check_method reload_flag reload_cmds need_locks \
14687 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14688 lt_cv_sys_global_symbol_to_c_name_address \
14689 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14690 old_postinstall_cmds old_postuninstall_cmds \
14694 lt_prog_compiler_wl_CXX \
14695 lt_prog_compiler_pic_CXX \
14696 lt_prog_compiler_static_CXX \
14697 lt_prog_compiler_no_builtin_flag_CXX \
14698 export_dynamic_flag_spec_CXX \
14699 thread_safe_flag_spec_CXX \
14700 whole_archive_flag_spec_CXX \
14701 enable_shared_with_static_runtimes_CXX \
14702 old_archive_cmds_CXX \
14703 old_archive_from_new_cmds_CXX \
14704 predep_objects_CXX \
14705 postdep_objects_CXX \
14708 compiler_lib_search_path_CXX \
14710 archive_expsym_cmds_CXX \
14711 postinstall_cmds_CXX \
14712 postuninstall_cmds_CXX \
14713 old_archive_from_expsyms_cmds_CXX \
14714 allow_undefined_flag_CXX \
14715 no_undefined_flag_CXX \
14716 export_symbols_cmds_CXX \
14717 hardcode_libdir_flag_spec_CXX \
14718 hardcode_libdir_flag_spec_ld_CXX \
14719 hardcode_libdir_separator_CXX \
14720 hardcode_automatic_CXX \
14722 module_expsym_cmds_CXX \
14723 lt_cv_prog_compiler_c_o_CXX \
14724 exclude_expsyms_CXX \
14725 include_expsyms_CXX; do
14728 old_archive_cmds_CXX | \
14729 old_archive_from_new_cmds_CXX | \
14730 archive_cmds_CXX | \
14731 archive_expsym_cmds_CXX | \
14732 module_cmds_CXX | \
14733 module_expsym_cmds_CXX | \
14734 old_archive_from_expsyms_cmds_CXX | \
14735 export_symbols_cmds_CXX | \
14736 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14737 postinstall_cmds | postuninstall_cmds | \
14738 old_postinstall_cmds | old_postuninstall_cmds | \
14739 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14740 # Double-quote double-evaled strings.
14741 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14744 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14750 *'\$0 --fallback-echo"')
14751 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14757 cat <<__EOF__ >> "$cfgfile"
14758 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14760 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14762 # Shell to use when invoking shell scripts.
14765 # Whether or not to build shared libraries.
14766 build_libtool_libs=$enable_shared
14768 # Whether or not to build static libraries.
14769 build_old_libs=$enable_static
14771 # Whether or not to add -lc for building shared libraries.
14772 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14774 # Whether or not to disallow shared libs when runtime libs are static
14775 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14777 # Whether or not to optimize for fast installation.
14778 fast_install=$enable_fast_install
14781 host_alias=$host_alias
14784 # An echo program that does not interpret backslashes.
14789 AR_FLAGS=$lt_AR_FLAGS
14794 # A language-specific compiler.
14795 CC=$lt_compiler_CXX
14797 # Is the compiler the GNU C compiler?
14803 # The linker used to build libraries.
14806 # Whether we need hard or soft links.
14809 # A BSD-compatible nm program.
14812 # A symbol stripping program
14815 # Used to examine libraries when file_magic_cmd begins "file"
14816 MAGIC_CMD=$MAGIC_CMD
14818 # Used on cygwin: DLL creation program.
14821 # Used on cygwin: object dumper.
14824 # Used on cygwin: assembler.
14827 # The name of the directory that contains temporary libtool files.
14830 # How to create reloadable object files.
14831 reload_flag=$lt_reload_flag
14832 reload_cmds=$lt_reload_cmds
14834 # How to pass a linker flag through the compiler.
14835 wl=$lt_lt_prog_compiler_wl_CXX
14837 # Object file suffix (normally "o").
14838 objext="$ac_objext"
14840 # Old archive suffix (normally "a").
14843 # Shared library suffix (normally ".so").
14844 shrext_cmds='$shrext_cmds'
14846 # Executable file suffix (normally "").
14849 # Additional compiler flags for building library objects.
14850 pic_flag=$lt_lt_prog_compiler_pic_CXX
14853 # What is the maximum length of a command?
14854 max_cmd_len=$lt_cv_sys_max_cmd_len
14856 # Does compiler simultaneously support -c and -o options?
14857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14859 # Must we lock files when doing compilation ?
14860 need_locks=$lt_need_locks
14862 # Do we need the lib prefix for modules?
14863 need_lib_prefix=$need_lib_prefix
14865 # Do we need a version for libraries?
14866 need_version=$need_version
14868 # Whether dlopen is supported.
14869 dlopen_support=$enable_dlopen
14871 # Whether dlopen of programs is supported.
14872 dlopen_self=$enable_dlopen_self
14874 # Whether dlopen of statically linked programs is supported.
14875 dlopen_self_static=$enable_dlopen_self_static
14877 # Compiler flag to prevent dynamic linking.
14878 link_static_flag=$lt_lt_prog_compiler_static_CXX
14880 # Compiler flag to turn off builtin functions.
14881 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14883 # Compiler flag to allow reflexive dlopens.
14884 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14886 # Compiler flag to generate shared objects directly from archives.
14887 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14889 # Compiler flag to generate thread-safe objects.
14890 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14892 # Library versioning type.
14893 version_type=$version_type
14895 # Format of library name prefix.
14896 libname_spec=$lt_libname_spec
14898 # List of archive names. First name is the real one, the rest are links.
14899 # The last name is the one that the linker finds with -lNAME.
14900 library_names_spec=$lt_library_names_spec
14902 # The coded name of the library, if different from the real name.
14903 soname_spec=$lt_soname_spec
14905 # Commands used to build and install an old-style archive.
14907 old_archive_cmds=$lt_old_archive_cmds_CXX
14908 old_postinstall_cmds=$lt_old_postinstall_cmds
14909 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14911 # Create an old-style archive from a shared archive.
14912 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14914 # Create a temporary old-style archive to link instead of a shared archive.
14915 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14917 # Commands used to build and install a shared archive.
14918 archive_cmds=$lt_archive_cmds_CXX
14919 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14920 postinstall_cmds=$lt_postinstall_cmds
14921 postuninstall_cmds=$lt_postuninstall_cmds
14923 # Commands used to build a loadable module (assumed same as above if empty)
14924 module_cmds=$lt_module_cmds_CXX
14925 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14927 # Commands to strip libraries.
14928 old_striplib=$lt_old_striplib
14929 striplib=$lt_striplib
14931 # Dependencies to place before the objects being linked to create a
14933 predep_objects=$lt_predep_objects_CXX
14935 # Dependencies to place after the objects being linked to create a
14937 postdep_objects=$lt_postdep_objects_CXX
14939 # Dependencies to place before the objects being linked to create a
14941 predeps=$lt_predeps_CXX
14943 # Dependencies to place after the objects being linked to create a
14945 postdeps=$lt_postdeps_CXX
14947 # The library search path used internally by the compiler when linking
14948 # a shared library.
14949 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14951 # Method to check whether dependent libraries are shared objects.
14952 deplibs_check_method=$lt_deplibs_check_method
14954 # Command to use when deplibs_check_method == file_magic.
14955 file_magic_cmd=$lt_file_magic_cmd
14957 # Flag that allows shared libraries with undefined symbols to be built.
14958 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14960 # Flag that forces no undefined symbols.
14961 no_undefined_flag=$lt_no_undefined_flag_CXX
14963 # Commands used to finish a libtool library installation in a directory.
14964 finish_cmds=$lt_finish_cmds
14966 # Same as above, but a single script fragment to be evaled but not shown.
14967 finish_eval=$lt_finish_eval
14969 # Take the output of nm and produce a listing of raw symbols and C names.
14970 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14972 # Transform the output of nm in a proper C declaration
14973 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14975 # Transform the output of nm in a C name address pair
14976 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14978 # This is the shared library runtime path variable.
14979 runpath_var=$runpath_var
14981 # This is the shared library path variable.
14982 shlibpath_var=$shlibpath_var
14984 # Is shlibpath searched before the hard-coded library search path?
14985 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14987 # How to hardcode a shared library path into an executable.
14988 hardcode_action=$hardcode_action_CXX
14990 # Whether we should hardcode library paths into libraries.
14991 hardcode_into_libs=$hardcode_into_libs
14993 # Flag to hardcode \$libdir into a binary during linking.
14994 # This must work even if \$libdir does not exist.
14995 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14997 # If ld is used when linking, flag to hardcode \$libdir into
14998 # a binary during linking. This must work even if \$libdir does
15000 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15002 # Whether we need a single -rpath flag with a separated argument.
15003 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15005 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15006 # resulting binary.
15007 hardcode_direct=$hardcode_direct_CXX
15009 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15010 # resulting binary.
15011 hardcode_minus_L=$hardcode_minus_L_CXX
15013 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15014 # the resulting binary.
15015 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15017 # Set to yes if building a shared library automatically hardcodes DIR into the library
15018 # and all subsequent libraries and executables linked against it.
15019 hardcode_automatic=$hardcode_automatic_CXX
15021 # Variables whose values should be saved in libtool wrapper scripts and
15022 # restored at relink time.
15023 variables_saved_for_relink="$variables_saved_for_relink"
15025 # Whether libtool must link a program against all its dependency libraries.
15026 link_all_deplibs=$link_all_deplibs_CXX
15028 # Compile-time system search path for libraries
15029 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15031 # Run-time system search path for libraries
15032 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15034 # Fix the shell variable \$srcfile for the compiler.
15035 fix_srcfile_path="$fix_srcfile_path_CXX"
15037 # Set to yes if exported symbols are required.
15038 always_export_symbols=$always_export_symbols_CXX
15040 # The commands to list exported symbols.
15041 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15043 # The commands to extract the exported symbol list from a shared archive.
15044 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15046 # Symbols that should not be listed in the preloaded symbols.
15047 exclude_expsyms=$lt_exclude_expsyms_CXX
15049 # Symbols that must always be exported.
15050 include_expsyms=$lt_include_expsyms_CXX
15052 # ### END LIBTOOL TAG CONFIG: $tagname
15058 # If there is no Makefile yet, we rely on a make rule to execute
15059 # `config.status --recheck' to rerun these tests and create the
15060 # libtool script then.
15061 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15062 if test -f "$ltmain_in"; then
15063 test -f Makefile && make "$ltmain"
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15078 with_gnu_ldcxx=$with_gnu_ld
15079 with_gnu_ld=$lt_save_with_gnu_ld
15080 lt_cv_path_LDCXX=$lt_cv_path_LD
15081 lt_cv_path_LD=$lt_save_path_LD
15082 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15083 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15091 if test -n "$F77" && test "X$F77" != "Xno"; then
15094 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15095 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15099 archive_cmds_need_lc_F77=no
15100 allow_undefined_flag_F77=
15101 always_export_symbols_F77=no
15102 archive_expsym_cmds_F77=
15103 export_dynamic_flag_spec_F77=
15104 hardcode_direct_F77=no
15105 hardcode_libdir_flag_spec_F77=
15106 hardcode_libdir_flag_spec_ld_F77=
15107 hardcode_libdir_separator_F77=
15108 hardcode_minus_L_F77=no
15109 hardcode_automatic_F77=no
15111 module_expsym_cmds_F77=
15112 link_all_deplibs_F77=unknown
15113 old_archive_cmds_F77=$old_archive_cmds
15114 no_undefined_flag_F77=
15115 whole_archive_flag_spec_F77=
15116 enable_shared_with_static_runtimes_F77=no
15118 # Source file extension for f77 test sources.
15121 # Object file extension for compiled f77 test sources.
15125 # Code to be used in simple compile tests
15126 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
15128 # Code to be used in simple link tests
15129 lt_simple_link_test_code=" program t\n end\n"
15131 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15133 # If no C compiler was specified, use CC.
15136 # Allow CC to be a program name with arguments.
15140 # Allow CC to be a program name with arguments.
15145 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15147 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15148 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15149 echo "$as_me:$LINENO: result: $can_build_shared" >&5
15150 echo "${ECHO_T}$can_build_shared" >&6
15152 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15153 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15154 test "$can_build_shared" = "no" && enable_shared=no
15156 # On AIX, shared libraries and static libraries use the same namespace, and
15157 # are all built from PIC.
15160 test "$enable_shared" = yes && enable_static=no
15161 if test -n "$RANLIB"; then
15162 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15163 postinstall_cmds='$RANLIB $lib'
15167 test "$enable_shared" = yes && enable_static=no
15170 echo "$as_me:$LINENO: result: $enable_shared" >&5
15171 echo "${ECHO_T}$enable_shared" >&6
15173 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15174 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15175 # Make sure either enable_shared or enable_static is yes.
15176 test "$enable_shared" = yes || enable_static=yes
15177 echo "$as_me:$LINENO: result: $enable_static" >&5
15178 echo "${ECHO_T}$enable_static" >&6
15180 test "$ld_shlibs_F77" = no && can_build_shared=no
15185 lt_prog_compiler_wl_F77=
15186 lt_prog_compiler_pic_F77=
15187 lt_prog_compiler_static_F77=
15189 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15190 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15192 if test "$GCC" = yes; then
15193 lt_prog_compiler_wl_F77='-Wl,'
15194 lt_prog_compiler_static_F77='-static'
15198 # All AIX code is PIC.
15199 if test "$host_cpu" = ia64; then
15200 # AIX 5 now supports IA64 processor
15201 lt_prog_compiler_static_F77='-Bstatic'
15206 # FIXME: we need at least 68020 code to build shared libraries, but
15207 # adding the `-m68020' flag to GCC prevents building anything better,
15209 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15212 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15213 # PIC is the default for these OSes.
15216 mingw* | pw32* | os2*)
15217 # This hack is so that the source file can tell whether it is being
15218 # built for inclusion in a dll (and should export symbols for example).
15219 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15222 darwin* | rhapsody*)
15223 # PIC is the default on this platform
15224 # Common symbols not allowed in MH_DYLIB files
15225 lt_prog_compiler_pic_F77='-fno-common'
15229 # Just because we use GCC doesn't mean we suddenly get shared libraries
15230 # on systems that don't support them.
15231 lt_prog_compiler_can_build_shared_F77=no
15236 if test -d /usr/nec; then
15237 lt_prog_compiler_pic_F77=-Kconform_pic
15242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15243 # not for PA HP-UX.
15244 case "$host_cpu" in
15249 lt_prog_compiler_pic_F77='-fPIC'
15255 lt_prog_compiler_pic_F77='-fPIC'
15259 # PORTME Check for flag to pass linker flags through the system compiler.
15262 lt_prog_compiler_wl_F77='-Wl,'
15263 if test "$host_cpu" = ia64; then
15264 # AIX 5 now supports IA64 processor
15265 lt_prog_compiler_static_F77='-Bstatic'
15267 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15271 mingw* | pw32* | os2*)
15272 # This hack is so that the source file can tell whether it is being
15273 # built for inclusion in a dll (and should export symbols for example).
15274 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15277 hpux9* | hpux10* | hpux11*)
15278 lt_prog_compiler_wl_F77='-Wl,'
15279 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15280 # not for PA HP-UX.
15281 case "$host_cpu" in
15286 lt_prog_compiler_pic_F77='+Z'
15289 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15290 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15293 irix5* | irix6* | nonstopux*)
15294 lt_prog_compiler_wl_F77='-Wl,'
15295 # PIC (with -KPIC) is the default.
15296 lt_prog_compiler_static_F77='-non_shared'
15300 lt_prog_compiler_pic_F77='-KPIC'
15301 lt_prog_compiler_static_F77='-Bstatic'
15307 lt_prog_compiler_wl_F77='-Wl,'
15308 lt_prog_compiler_pic_F77='-KPIC'
15309 lt_prog_compiler_static_F77='-static'
15312 lt_prog_compiler_wl_F77='-Wl,'
15313 # All Alpha code is PIC.
15314 lt_prog_compiler_static_F77='-non_shared'
15319 osf3* | osf4* | osf5*)
15320 lt_prog_compiler_wl_F77='-Wl,'
15321 # All OSF/1 code is PIC.
15322 lt_prog_compiler_static_F77='-non_shared'
15326 lt_prog_compiler_pic_F77='-Kpic'
15327 lt_prog_compiler_static_F77='-dn'
15331 lt_prog_compiler_wl_F77='-Wl,'
15332 lt_prog_compiler_pic_F77='-KPIC'
15333 lt_prog_compiler_static_F77='-Bstatic'
15337 lt_prog_compiler_wl_F77='-Qoption ld '
15338 lt_prog_compiler_pic_F77='-PIC'
15339 lt_prog_compiler_static_F77='-Bstatic'
15342 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15343 lt_prog_compiler_wl_F77='-Wl,'
15344 lt_prog_compiler_pic_F77='-KPIC'
15345 lt_prog_compiler_static_F77='-Bstatic'
15349 if test -d /usr/nec ;then
15350 lt_prog_compiler_pic_F77='-Kconform_pic'
15351 lt_prog_compiler_static_F77='-Bstatic'
15356 lt_prog_compiler_pic_F77='-pic'
15357 lt_prog_compiler_static_F77='-Bstatic'
15361 lt_prog_compiler_can_build_shared_F77=no
15366 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15367 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15370 # Check to make sure the PIC flag actually works.
15372 if test -n "$lt_prog_compiler_pic_F77"; then
15374 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15375 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15376 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 lt_prog_compiler_pic_works_F77=no
15380 ac_outfile=conftest.$ac_objext
15381 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15382 lt_compiler_flag="$lt_prog_compiler_pic_F77"
15383 # Insert the option either (1) after the last *FLAGS variable, or
15384 # (2) before a word containing "conftest.", or (3) at the end.
15385 # Note that $ac_compile itself does not contain backslashes and begins
15386 # with a dollar sign (not a hyphen), so the echo should work correctly.
15387 # The option is referenced via a variable to avoid confusing sed.
15388 lt_compile=`echo "$ac_compile" | $SED \
15389 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15390 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15391 -e 's:$: $lt_compiler_flag:'`
15392 (eval echo "\"\$as_me:15392: $lt_compile\"" >&5)
15393 (eval "$lt_compile" 2>conftest.err)
15395 cat conftest.err >&5
15396 echo "$as_me:15396: \$? = $ac_status" >&5
15397 if (exit $ac_status) && test -s "$ac_outfile"; then
15398 # The compiler can only warn and ignore the option if not recognized
15399 # So say no if there are warnings
15400 if test ! -s conftest.err; then
15401 lt_prog_compiler_pic_works_F77=yes
15407 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15408 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15410 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15411 case $lt_prog_compiler_pic_F77 in
15413 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15416 lt_prog_compiler_pic_F77=
15417 lt_prog_compiler_can_build_shared_F77=no
15422 # For platforms which do not support PIC, -DPIC is meaningless:
15424 lt_prog_compiler_pic_F77=
15427 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15431 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15432 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15433 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 lt_cv_prog_compiler_c_o_F77=no
15437 $rm -r conftest 2>/dev/null
15441 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15443 lt_compiler_flag="-o out/conftest2.$ac_objext"
15444 # Insert the option either (1) after the last *FLAGS variable, or
15445 # (2) before a word containing "conftest.", or (3) at the end.
15446 # Note that $ac_compile itself does not contain backslashes and begins
15447 # with a dollar sign (not a hyphen), so the echo should work correctly.
15448 lt_compile=`echo "$ac_compile" | $SED \
15449 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15451 -e 's:$: $lt_compiler_flag:'`
15452 (eval echo "\"\$as_me:15452: $lt_compile\"" >&5)
15453 (eval "$lt_compile" 2>out/conftest.err)
15455 cat out/conftest.err >&5
15456 echo "$as_me:15456: \$? = $ac_status" >&5
15457 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15459 # The compiler can only warn and ignore the option if not recognized
15460 # So say no if there are warnings
15461 if test ! -s out/conftest.err; then
15462 lt_cv_prog_compiler_c_o_F77=yes
15467 # SGI C++ compiler will create directory out/ii_files/ for
15468 # template instantiation
15469 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15470 $rm out/* && rmdir out
15476 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15477 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15480 hard_links="nottested"
15481 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15482 # do not overwrite the value of need_locks provided by the user
15483 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15484 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15487 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15489 ln conftest.a conftest.b 2>&5 || hard_links=no
15490 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15491 echo "$as_me:$LINENO: result: $hard_links" >&5
15492 echo "${ECHO_T}$hard_links" >&6
15493 if test "$hard_links" = no; then
15494 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15495 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15502 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15503 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15506 allow_undefined_flag_F77=
15507 enable_shared_with_static_runtimes_F77=no
15509 archive_expsym_cmds_F77=
15510 old_archive_From_new_cmds_F77=
15511 old_archive_from_expsyms_cmds_F77=
15512 export_dynamic_flag_spec_F77=
15513 whole_archive_flag_spec_F77=
15514 thread_safe_flag_spec_F77=
15515 hardcode_libdir_flag_spec_F77=
15516 hardcode_libdir_flag_spec_ld_F77=
15517 hardcode_libdir_separator_F77=
15518 hardcode_direct_F77=no
15519 hardcode_minus_L_F77=no
15520 hardcode_shlibpath_var_F77=unsupported
15521 link_all_deplibs_F77=unknown
15522 hardcode_automatic_F77=no
15524 module_expsym_cmds_F77=
15525 always_export_symbols_F77=no
15526 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15527 # include_expsyms should be a list of space-separated symbols to be *always*
15528 # included in the symbol list
15529 include_expsyms_F77=
15530 # exclude_expsyms can be an extended regexp of symbols to exclude
15531 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15532 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15533 # as well as any symbol that contains `d'.
15534 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15535 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15536 # platforms (ab)use it in PIC code, but their linkers get confused if
15537 # the symbol is explicitly referenced. Since portable code cannot
15538 # rely on this symbol name, it's probably fine to never include it in
15539 # preloaded symbol tables.
15540 extract_expsyms_cmds=
15543 cygwin* | mingw* | pw32*)
15544 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15545 # When not using gcc, we currently assume that we are using
15546 # Microsoft Visual C++.
15547 if test "$GCC" != yes; then
15557 if test "$with_gnu_ld" = yes; then
15558 # If archive_cmds runs LD, not CC, wlarc should be empty
15561 # See if GNU ld supports shared libraries.
15563 aix3* | aix4* | aix5*)
15564 # On AIX/PPC, the GNU linker is very broken
15565 if test "$host_cpu" != ia64; then
15569 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15570 *** to be unable to reliably create shared libraries on AIX.
15571 *** Therefore, libtool is disabling shared libraries support. If you
15572 *** really care for shared libraries, you may want to modify your PATH
15573 *** so that a non-GNU linker is found, and then restart.
15580 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)'
15581 hardcode_libdir_flag_spec_F77='-L$libdir'
15582 hardcode_minus_L_F77=yes
15584 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15585 # that the semantics of dynamic libraries on AmigaOS, at least up
15586 # to version 4, is to share data among multiple programs linked
15587 # with the same dynamic library. Since this doesn't match the
15588 # behavior of shared libraries on other platforms, we can't use
15594 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15595 allow_undefined_flag_F77=unsupported
15596 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15597 # support --undefined. This deserves some investigation. FIXME
15598 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15604 cygwin* | mingw* | pw32*)
15605 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15606 # as there is no search path for DLLs.
15607 hardcode_libdir_flag_spec_F77='-L$libdir'
15608 allow_undefined_flag_F77=unsupported
15609 always_export_symbols_F77=no
15610 enable_shared_with_static_runtimes_F77=yes
15611 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15613 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15614 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15615 # If the export-symbols file already is a .def file (1st line
15616 # is EXPORTS), use it as is; otherwise, prepend...
15617 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15618 cp $export_symbols $output_objdir/$soname.def;
15620 echo EXPORTS > $output_objdir/$soname.def;
15621 cat $export_symbols >> $output_objdir/$soname.def;
15623 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15630 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15631 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15634 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15635 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15640 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15644 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15645 *** create shared libraries on Solaris systems. Therefore, libtool
15646 *** is disabling shared libraries support. We urge you to upgrade GNU
15647 *** binutils to release 2.9.1 or newer. Another option is to modify
15648 *** your PATH or compiler configuration so that the native linker is
15649 *** used, and then restart.
15652 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15653 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15654 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15661 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15663 hardcode_direct_F77=yes
15664 hardcode_shlibpath_var_F77=no
15668 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15669 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15670 archive_cmds_F77="$tmp_archive_cmds"
15671 supports_anon_versioning=no
15672 case `$LD -v 2>/dev/null` in
15673 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15674 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15675 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15676 *\ 2.11.*) ;; # other 2.11 versions
15677 *) supports_anon_versioning=yes ;;
15679 if test $supports_anon_versioning = yes; then
15680 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15681 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15682 $echo "local: *; };" >> $output_objdir/$libname.ver~
15683 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15685 archive_expsym_cmds_F77="$tmp_archive_cmds"
15693 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15694 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15695 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15702 if test "$ld_shlibs_F77" = yes; then
15703 runpath_var=LD_RUN_PATH
15704 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15705 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15706 # ancient GNU ld didn't support --whole-archive et. al.
15707 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15708 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15710 whole_archive_flag_spec_F77=
15714 # PORTME fill in a description of your system's linker (not GNU ld)
15717 allow_undefined_flag_F77=unsupported
15718 always_export_symbols_F77=yes
15719 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'
15720 # Note: this linker hardcodes the directories in LIBPATH if there
15721 # are no directories specified by -L.
15722 hardcode_minus_L_F77=yes
15723 if test "$GCC" = yes && test -z "$link_static_flag"; then
15724 # Neither direct hardcoding nor static linking is supported with a
15726 hardcode_direct_F77=unsupported
15731 if test "$host_cpu" = ia64; then
15732 # On IA64, the linker does run time linking by default, so we don't
15733 # have to do anything special.
15734 aix_use_runtimelinking=no
15735 exp_sym_flag='-Bexport'
15738 # If we're using GNU nm, then we don't want the "-C" option.
15739 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15740 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15741 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'
15743 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'
15745 aix_use_runtimelinking=no
15747 # Test if we are trying to use run time linking or normal
15748 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15749 # need to do runtime linking.
15750 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15751 for ld_flag in $LDFLAGS; do
15752 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15753 aix_use_runtimelinking=yes
15759 exp_sym_flag='-bexport'
15760 no_entry_flag='-bnoentry'
15763 # When large executables or shared objects are built, AIX ld can
15764 # have problems creating the table of contents. If linking a library
15765 # or program results in "error TOC overflow" add -mminimal-toc to
15766 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15767 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15769 archive_cmds_F77=''
15770 hardcode_direct_F77=yes
15771 hardcode_libdir_separator_F77=':'
15772 link_all_deplibs_F77=yes
15774 if test "$GCC" = yes; then
15775 case $host_os in aix4.012|aix4.012.*)
15776 # We only want to do this on AIX 4.2 and lower, the check
15777 # below for broken collect2 doesn't work under 4.3+
15778 collect2name=`${CC} -print-prog-name=collect2`
15779 if test -f "$collect2name" && \
15780 strings "$collect2name" | grep resolve_lib_name >/dev/null
15782 # We have reworked collect2
15783 hardcode_direct_F77=yes
15785 # We have old collect2
15786 hardcode_direct_F77=unsupported
15787 # It fails to find uninstalled libraries when the uninstalled
15788 # path is not listed in the libpath. Setting hardcode_minus_L
15789 # to unsupported forces relinking
15790 hardcode_minus_L_F77=yes
15791 hardcode_libdir_flag_spec_F77='-L$libdir'
15792 hardcode_libdir_separator_F77=
15795 shared_flag='-shared'
15798 if test "$host_cpu" = ia64; then
15799 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15800 # chokes on -Wl,-G. The following line is correct:
15803 if test "$aix_use_runtimelinking" = yes; then
15804 shared_flag='${wl}-G'
15806 shared_flag='${wl}-bM:SRE'
15811 # It seems that -bexpall does not export symbols beginning with
15812 # underscore (_), so it is better to generate a list of symbols to export.
15813 always_export_symbols_F77=yes
15814 if test "$aix_use_runtimelinking" = yes; then
15815 # Warning - without using the other runtime loading flags (-brtl),
15816 # -berok will link without error, but may produce a broken library.
15817 allow_undefined_flag_F77='-berok'
15818 # Determine the default libpath from the value encoded in an empty executable.
15819 cat >conftest.$ac_ext <<_ACEOF
15824 rm -f conftest.$ac_objext conftest$ac_exeext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15826 (eval $ac_link) 2>conftest.er1
15828 grep -v '^ *+' conftest.er1 >conftest.err
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_f77_werror_flag"
15834 || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest$ac_exeext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15847 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15849 # Check for a 64-bit object if we didn't find anything.
15850 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; }
15853 echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.$ac_ext >&5
15857 rm -f conftest.err conftest.$ac_objext \
15858 conftest$ac_exeext conftest.$ac_ext
15859 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15861 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15862 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"
15864 if test "$host_cpu" = ia64; then
15865 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15866 allow_undefined_flag_F77="-z nodefs"
15867 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"
15869 # Determine the default libpath from the value encoded in an empty executable.
15870 cat >conftest.$ac_ext <<_ACEOF
15875 rm -f conftest.$ac_objext conftest$ac_exeext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15877 (eval $ac_link) 2>conftest.er1
15879 grep -v '^ *+' conftest.er1 >conftest.err
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try='test -z "$ac_f77_werror_flag"
15885 || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try='test -s conftest$ac_exeext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15898 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15900 # Check for a 64-bit object if we didn't find anything.
15901 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; }
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15908 rm -f conftest.err conftest.$ac_objext \
15909 conftest$ac_exeext conftest.$ac_ext
15910 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15912 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15913 # Warning - without using the other run time loading flags,
15914 # -berok will link without error, but may produce a broken library.
15915 no_undefined_flag_F77=' ${wl}-bernotok'
15916 allow_undefined_flag_F77=' ${wl}-berok'
15917 # -bexpall does not export symbols beginning with underscore (_)
15918 always_export_symbols_F77=yes
15919 # Exported symbols can be pulled into shared objects from archives
15920 whole_archive_flag_spec_F77=' '
15921 archive_cmds_need_lc_F77=yes
15922 # This is similar to how AIX traditionally builds it's shared libraries.
15923 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'
15929 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)'
15930 hardcode_libdir_flag_spec_F77='-L$libdir'
15931 hardcode_minus_L_F77=yes
15932 # see comment about different semantics on the GNU ld section
15937 export_dynamic_flag_spec_F77=-rdynamic
15940 cygwin* | mingw* | pw32*)
15941 # When not using gcc, we currently assume that we are using
15942 # Microsoft Visual C++.
15943 # hardcode_libdir_flag_spec is actually meaningless, as there is
15944 # no search path for DLLs.
15945 hardcode_libdir_flag_spec_F77=' '
15946 allow_undefined_flag_F77=unsupported
15947 # Tell ltmain to make .lib files, not .a files.
15949 # Tell ltmain to make .dll files, not .so files.
15951 # FIXME: Setting linknames here is a bad hack.
15952 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15953 # The linker will automatically build a .lib file if we build a DLL.
15954 old_archive_From_new_cmds_F77='true'
15955 # FIXME: Should let the user specify the lib program.
15956 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15957 fix_srcfile_path='`cygpath -w "$srcfile"`'
15958 enable_shared_with_static_runtimes_F77=yes
15961 darwin* | rhapsody*)
15962 if test "$GXX" = yes ; then
15963 archive_cmds_need_lc_F77=no
15965 rhapsody* | darwin1.[012])
15966 allow_undefined_flag_F77='-undefined suppress'
15969 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15970 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
15972 case ${MACOSX_DEPLOYMENT_TARGET} in
15974 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
15977 allow_undefined_flag_F77='-undefined dynamic_lookup'
15983 lt_int_apple_cc_single_mod=no
15984 output_verbose_link_cmd='echo'
15985 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15986 lt_int_apple_cc_single_mod=yes
15988 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15989 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15991 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'
15993 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15994 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15995 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15996 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}'
15998 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}'
16000 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}'
16001 hardcode_direct_F77=no
16002 hardcode_automatic_F77=yes
16003 hardcode_shlibpath_var_F77=unsupported
16004 whole_archive_flag_spec_F77='-all_load $convenience'
16005 link_all_deplibs_F77=yes
16012 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16013 hardcode_libdir_flag_spec_F77='-L$libdir'
16014 hardcode_shlibpath_var_F77=no
16021 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16022 # support. Future versions do this automatically, but an explicit c++rt0.o
16023 # does not break anything, and helps significantly (at the cost of a little
16026 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16027 hardcode_libdir_flag_spec_F77='-R$libdir'
16028 hardcode_direct_F77=yes
16029 hardcode_shlibpath_var_F77=no
16032 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16034 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16035 hardcode_direct_F77=yes
16036 hardcode_minus_L_F77=yes
16037 hardcode_shlibpath_var_F77=no
16040 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16041 freebsd* | kfreebsd*-gnu)
16042 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16043 hardcode_libdir_flag_spec_F77='-R$libdir'
16044 hardcode_direct_F77=yes
16045 hardcode_shlibpath_var_F77=no
16049 if test "$GCC" = yes; then
16050 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'
16052 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'
16054 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16055 hardcode_libdir_separator_F77=:
16056 hardcode_direct_F77=yes
16058 # hardcode_minus_L: Not really in the search PATH,
16059 # but as the default location of the library.
16060 hardcode_minus_L_F77=yes
16061 export_dynamic_flag_spec_F77='${wl}-E'
16065 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16066 case "$host_cpu" in
16068 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16071 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16075 case "$host_cpu" in
16077 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16080 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16084 if test "$with_gnu_ld" = no; then
16085 case "$host_cpu" in
16087 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16088 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16089 hardcode_libdir_separator_F77=:
16090 hardcode_direct_F77=no
16091 hardcode_shlibpath_var_F77=no
16094 hardcode_libdir_flag_spec_F77='-L$libdir'
16095 hardcode_direct_F77=no
16096 hardcode_shlibpath_var_F77=no
16098 # hardcode_minus_L: Not really in the search PATH,
16099 # but as the default location of the library.
16100 hardcode_minus_L_F77=yes
16103 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16104 hardcode_libdir_separator_F77=:
16105 hardcode_direct_F77=yes
16106 export_dynamic_flag_spec_F77='${wl}-E'
16108 # hardcode_minus_L: Not really in the search PATH,
16109 # but as the default location of the library.
16110 hardcode_minus_L_F77=yes
16116 irix5* | irix6* | nonstopux*)
16117 if test "$GCC" = yes; then
16118 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'
16120 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'
16121 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16123 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16124 hardcode_libdir_separator_F77=:
16125 link_all_deplibs_F77=yes
16129 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16130 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16132 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16134 hardcode_libdir_flag_spec_F77='-R$libdir'
16135 hardcode_direct_F77=yes
16136 hardcode_shlibpath_var_F77=no
16140 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16141 hardcode_direct_F77=yes
16142 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16143 hardcode_libdir_separator_F77=:
16144 hardcode_shlibpath_var_F77=no
16148 hardcode_direct_F77=yes
16149 hardcode_shlibpath_var_F77=no
16150 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16151 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16152 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16153 export_dynamic_flag_spec_F77='${wl}-E'
16156 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16157 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16158 hardcode_libdir_flag_spec_F77='-R$libdir'
16161 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16162 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16169 hardcode_libdir_flag_spec_F77='-L$libdir'
16170 hardcode_minus_L_F77=yes
16171 allow_undefined_flag_F77=unsupported
16172 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'
16173 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16177 if test "$GCC" = yes; then
16178 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16179 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'
16181 allow_undefined_flag_F77=' -expect_unresolved \*'
16182 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'
16184 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16185 hardcode_libdir_separator_F77=:
16188 osf4* | osf5*) # as osf3* with the addition of -msym flag
16189 if test "$GCC" = yes; then
16190 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16191 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'
16192 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16194 allow_undefined_flag_F77=' -expect_unresolved \*'
16195 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'
16196 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~
16197 $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'
16199 # Both c and cxx compiler support -rpath directly
16200 hardcode_libdir_flag_spec_F77='-rpath $libdir'
16202 hardcode_libdir_separator_F77=:
16206 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16207 hardcode_shlibpath_var_F77=no
16208 export_dynamic_flag_spec_F77='${wl}-Bexport'
16209 runpath_var=LD_RUN_PATH
16210 hardcode_runpath_var=yes
16214 no_undefined_flag_F77=' -z text'
16215 if test "$GCC" = yes; then
16216 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16217 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16218 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16220 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16221 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16222 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16224 hardcode_libdir_flag_spec_F77='-R$libdir'
16225 hardcode_shlibpath_var_F77=no
16227 solaris2.[0-5] | solaris2.[0-5].*) ;;
16228 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16229 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16231 link_all_deplibs_F77=yes
16235 if test "x$host_vendor" = xsequent; then
16236 # Use $CC to link under sequent, because it throws in some extra .o
16237 # files that make .init and .fini sections work.
16238 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16240 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16242 hardcode_libdir_flag_spec_F77='-L$libdir'
16243 hardcode_direct_F77=yes
16244 hardcode_minus_L_F77=yes
16245 hardcode_shlibpath_var_F77=no
16249 case $host_vendor in
16251 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16252 hardcode_direct_F77=yes # is this really true???
16255 ## LD is ld it makes a PLAMLIB
16256 ## CC just makes a GrossModule.
16257 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16258 reload_cmds_F77='$CC -r -o $output$reload_objs'
16259 hardcode_direct_F77=no
16262 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16263 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16266 runpath_var='LD_RUN_PATH'
16267 hardcode_shlibpath_var_F77=no
16271 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16272 hardcode_shlibpath_var_F77=no
16273 export_dynamic_flag_spec_F77='-Bexport'
16277 if test -d /usr/nec; then
16278 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16279 hardcode_shlibpath_var_F77=no
16280 runpath_var=LD_RUN_PATH
16281 hardcode_runpath_var=yes
16287 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16288 hardcode_direct_F77=yes
16289 hardcode_minus_L_F77=no
16290 hardcode_shlibpath_var_F77=no
16291 hardcode_runpath_var=yes
16292 runpath_var=LD_RUN_PATH
16295 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16296 no_undefined_flag_F77='${wl}-z ${wl}text'
16297 if test "$GCC" = yes; then
16298 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16300 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16302 runpath_var='LD_RUN_PATH'
16303 hardcode_shlibpath_var_F77=no
16307 no_undefined_flag_F77=' -z text'
16308 # $CC -shared without GNU ld will not create a library from C++
16309 # object files and a static libstdc++, better avoid it by now
16310 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16311 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16312 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16313 hardcode_libdir_flag_spec_F77=
16314 hardcode_shlibpath_var_F77=no
16315 runpath_var='LD_RUN_PATH'
16319 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16320 hardcode_libdir_flag_spec_F77='-L$libdir'
16321 hardcode_shlibpath_var_F77=no
16330 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16331 echo "${ECHO_T}$ld_shlibs_F77" >&6
16332 test "$ld_shlibs_F77" = no && can_build_shared=no
16334 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16335 if test "$GCC" = yes; then
16336 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16340 # Do we need to explicitly link libc?
16342 case "x$archive_cmds_need_lc_F77" in
16344 # Assume -lc should be added
16345 archive_cmds_need_lc_F77=yes
16347 if test "$enable_shared" = yes && test "$GCC" = yes; then
16348 case $archive_cmds_F77 in
16350 # FIXME: we may have to deal with multi-command sequences.
16353 # Test whether the compiler implicitly links with -lc since on some
16354 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16355 # to ld, don't add -lc before -lgcc.
16356 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16357 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16359 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16362 (eval $ac_compile) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } 2>conftest.err; then
16368 libobjs=conftest.$ac_objext
16370 wl=$lt_prog_compiler_wl_F77
16376 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16377 allow_undefined_flag_F77=
16378 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16379 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }
16384 archive_cmds_need_lc_F77=no
16386 archive_cmds_need_lc_F77=yes
16388 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16390 cat conftest.err 1>&5
16393 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16394 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16401 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16402 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16403 library_names_spec=
16404 libname_spec='lib$name'
16408 postuninstall_cmds=
16412 shlibpath_overrides_runpath=unknown
16414 dynamic_linker="$host_os ld.so"
16415 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16416 if test "$GCC" = yes; then
16417 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16418 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16419 # if the path contains ";" then we assume it to be the separator
16420 # otherwise default to the standard path separator (i.e. ":") - it is
16421 # assumed that no part of a normal pathname contains ";" but that should
16422 # okay in the real world where ";" in dirpaths is itself problematic.
16423 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16425 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16430 need_lib_prefix=unknown
16431 hardcode_into_libs=no
16433 # when you set need_version to no, make sure it does not cause -set_version
16434 # flags to be left without arguments
16435 need_version=unknown
16440 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16441 shlibpath_var=LIBPATH
16443 # AIX 3 has no versioning support, so we append a major version to the name.
16444 soname_spec='${libname}${release}${shared_ext}$major'
16451 hardcode_into_libs=yes
16452 if test "$host_cpu" = ia64; then
16453 # AIX 5 supports IA64
16454 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16455 shlibpath_var=LD_LIBRARY_PATH
16457 # With GCC up to 2.95.x, collect2 would create an import file
16458 # for dependence libraries. The import file would start with
16459 # the line `#! .'. This would cause the generated library to
16460 # depend on `.', always an invalid library. This was fixed in
16461 # development snapshots of GCC prior to 3.0.
16463 aix4 | aix4.[01] | aix4.[01].*)
16464 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16466 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16469 can_build_shared=no
16473 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16474 # soname into executable. Probably we can add versioning support to
16475 # collect2, so additional links can be useful in future.
16476 if test "$aix_use_runtimelinking" = yes; then
16477 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16478 # instead of lib<name>.a to let people know that these are not
16479 # typical AIX shared libraries.
16480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16482 # We preserve .a as extension for shared libraries through AIX4.2
16483 # and later when we are not doing run time linking.
16484 library_names_spec='${libname}${release}.a $libname.a'
16485 soname_spec='${libname}${release}${shared_ext}$major'
16487 shlibpath_var=LIBPATH
16492 library_names_spec='$libname.ixlibrary $libname.a'
16493 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16494 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'
16498 library_names_spec='${libname}${shared_ext}'
16499 dynamic_linker="$host_os ld.so"
16500 shlibpath_var=LIBRARY_PATH
16506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16507 soname_spec='${libname}${release}${shared_ext}$major'
16508 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16509 shlibpath_var=LD_LIBRARY_PATH
16510 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16511 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16512 # the default ld.so.conf also contains /usr/contrib/lib and
16513 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16514 # libtool to hard-code these into programs
16517 cygwin* | mingw* | pw32*)
16518 version_type=windows
16523 case $GCC,$host_os in
16524 yes,cygwin* | yes,mingw* | yes,pw32*)
16525 library_names_spec='$libname.dll.a'
16526 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16527 postinstall_cmds='base_file=`basename \${file}`~
16528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16529 dldir=$destdir/`dirname \$dlpath`~
16530 test -d \$dldir || mkdir -p \$dldir~
16531 $install_prog $dir/$dlname \$dldir/$dlname'
16532 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16533 dlpath=$dir/\$dldll~
16535 shlibpath_overrides_runpath=yes
16539 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16540 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16541 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16544 # MinGW DLLs use traditional 'lib' prefix
16545 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16546 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16547 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16548 # It is most probably a Windows format PATH printed by
16549 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16550 # path with ; separators, and with drive letters. We can handle the
16551 # drive letters (cygwin fileutils understands them), so leave them,
16552 # especially as we might pass files found there to a mingw objdump,
16553 # which wouldn't understand a cygwinified path. Ahh.
16554 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16556 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16560 # pw32 DLLs use 'pw' prefix rather than 'lib'
16561 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16567 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16570 dynamic_linker='Win32 ld.exe'
16571 # FIXME: first we should search . and the directory the executable is in
16575 darwin* | rhapsody*)
16576 dynamic_linker="$host_os dyld"
16577 version_type=darwin
16580 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16581 soname_spec='${libname}${release}${major}$shared_ext'
16582 shlibpath_overrides_runpath=yes
16583 shlibpath_var=DYLD_LIBRARY_PATH
16584 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
16585 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16586 if test "$GCC" = yes; then
16587 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"`
16589 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16591 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
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
16611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16612 soname_spec='${libname}${release}${shared_ext}$major'
16613 shlibpath_var=LD_LIBRARY_PATH
16614 shlibpath_overrides_runpath=no
16615 hardcode_into_libs=yes
16616 dynamic_linker='GNU ld.so'
16620 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16621 version_type=freebsd-$objformat
16622 case $version_type in
16624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16629 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16633 shlibpath_var=LD_LIBRARY_PATH
16636 shlibpath_overrides_runpath=yes
16638 freebsd3.01* | freebsdelf3.01*)
16639 shlibpath_overrides_runpath=yes
16640 hardcode_into_libs=yes
16643 shlibpath_overrides_runpath=no
16644 hardcode_into_libs=yes
16653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16654 soname_spec='${libname}${release}${shared_ext}$major'
16655 shlibpath_var=LD_LIBRARY_PATH
16656 hardcode_into_libs=yes
16659 hpux9* | hpux10* | hpux11*)
16660 # Give a soname corresponding to the major version so that dld.sl refuses to
16661 # link against other versions.
16665 case "$host_cpu" in
16668 hardcode_into_libs=yes
16669 dynamic_linker="$host_os dld.so"
16670 shlibpath_var=LD_LIBRARY_PATH
16671 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16673 soname_spec='${libname}${release}${shared_ext}$major'
16674 if test "X$HPUX_IA64_MODE" = X32; then
16675 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16677 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16679 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16683 hardcode_into_libs=yes
16684 dynamic_linker="$host_os dld.sl"
16685 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16686 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16688 soname_spec='${libname}${release}${shared_ext}$major'
16689 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16690 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16694 dynamic_linker="$host_os dld.sl"
16695 shlibpath_var=SHLIB_PATH
16696 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16698 soname_spec='${libname}${release}${shared_ext}$major'
16701 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16702 postinstall_cmds='chmod 555 $lib'
16705 irix5* | irix6* | nonstopux*)
16707 nonstopux*) version_type=nonstopux ;;
16709 if test "$lt_cv_prog_gnu_ld" = yes; then
16717 soname_spec='${libname}${release}${shared_ext}$major'
16718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16720 irix5* | nonstopux*)
16721 libsuff= shlibsuff=
16724 case $LD in # libtool.m4 will add one of these switches to LD
16725 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16726 libsuff= shlibsuff= libmagic=32-bit;;
16727 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16728 libsuff=32 shlibsuff=N32 libmagic=N32;;
16729 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16730 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16731 *) libsuff= shlibsuff= libmagic=never-match;;
16735 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16736 shlibpath_overrides_runpath=no
16737 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16738 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16739 hardcode_into_libs=yes
16742 # No shared lib support for Linux oldld, aout, or coff.
16743 linux*oldld* | linux*aout* | linux*coff*)
16747 # This must be Linux ELF.
16752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 soname_spec='${libname}${release}${shared_ext}$major'
16754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16755 shlibpath_var=LD_LIBRARY_PATH
16756 shlibpath_overrides_runpath=no
16757 # This implies no fast_install, which is unacceptable.
16758 # Some rework will be needed to allow for fast_install
16759 # before this can be enabled.
16760 hardcode_into_libs=yes
16762 # find out which ABI we are using
16764 case "$host_cpu" in
16765 x86_64*|s390x*|powerpc64*)
16766 echo '#line 16766 "configure"' > conftest.$ac_ext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; then
16772 case `/usr/bin/file conftest.$ac_objext` in
16775 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16783 # Append ld.so.conf contents to the search path
16784 if test -f /etc/ld.so.conf; then
16785 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
16786 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16789 # We used to test for /lib/ld.so.1 and disable shared libraries on
16790 # powerpc, because MkLinux only supported shared libraries with the
16791 # GNU dynamic linker. Since this was broken with cross compilers,
16792 # most powerpc-linux boxes support dynamic linking these days and
16793 # people can always --disable-shared, the test was removed, and we
16794 # assume the GNU/Linux dynamic linker is in use.
16795 dynamic_linker='GNU/Linux ld.so'
16802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16803 soname_spec='${libname}${release}${shared_ext}$major'
16804 shlibpath_var=LD_LIBRARY_PATH
16805 shlibpath_overrides_runpath=no
16806 hardcode_into_libs=yes
16807 dynamic_linker='GNU ld.so'
16814 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16816 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16817 dynamic_linker='NetBSD (a.out) ld.so'
16819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16820 soname_spec='${libname}${release}${shared_ext}$major'
16821 dynamic_linker='NetBSD ld.elf_so'
16823 shlibpath_var=LD_LIBRARY_PATH
16824 shlibpath_overrides_runpath=yes
16825 hardcode_into_libs=yes
16830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16831 shlibpath_var=LD_LIBRARY_PATH
16832 shlibpath_overrides_runpath=yes
16839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16840 soname_spec='${libname}${release}${shared_ext}$major'
16841 shlibpath_var=LD_LIBRARY_PATH
16842 shlibpath_overrides_runpath=yes
16849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16850 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16851 shlibpath_var=LD_LIBRARY_PATH
16852 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16854 openbsd2.[89] | openbsd2.[89].*)
16855 shlibpath_overrides_runpath=no
16858 shlibpath_overrides_runpath=yes
16862 shlibpath_overrides_runpath=yes
16867 libname_spec='$name'
16870 library_names_spec='$libname${shared_ext} $libname.a'
16871 dynamic_linker='OS/2 ld.exe'
16872 shlibpath_var=LIBPATH
16875 osf3* | osf4* | osf5*)
16879 soname_spec='${libname}${release}${shared_ext}$major'
16880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16881 shlibpath_var=LD_LIBRARY_PATH
16882 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16883 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16888 soname_spec='${libname}${release}${shared_ext}$major'
16889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16890 shlibpath_var=LD_LIBRARY_PATH
16897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16898 soname_spec='${libname}${release}${shared_ext}$major'
16899 shlibpath_var=LD_LIBRARY_PATH
16900 shlibpath_overrides_runpath=yes
16901 hardcode_into_libs=yes
16902 # ldd complains unless libraries are executable
16903 postinstall_cmds='chmod +x $lib'
16908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16909 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16910 shlibpath_var=LD_LIBRARY_PATH
16911 shlibpath_overrides_runpath=yes
16912 if test "$with_gnu_ld" = yes; then
16918 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16921 soname_spec='${libname}${release}${shared_ext}$major'
16922 shlibpath_var=LD_LIBRARY_PATH
16923 case $host_vendor in
16925 shlibpath_overrides_runpath=no
16927 export_dynamic_flag_spec='${wl}-Blargedynsym'
16928 runpath_var=LD_RUN_PATH
16936 shlibpath_overrides_runpath=no
16937 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16943 if test -d /usr/nec ;then
16945 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16946 soname_spec='$libname${shared_ext}.$major'
16947 shlibpath_var=LD_LIBRARY_PATH
16953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16954 soname_spec='${libname}${release}${shared_ext}$major'
16955 shlibpath_var=LD_LIBRARY_PATH
16962 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16963 echo "${ECHO_T}$dynamic_linker" >&6
16964 test "$dynamic_linker" = no && can_build_shared=no
16966 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16967 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16968 hardcode_action_F77=
16969 if test -n "$hardcode_libdir_flag_spec_F77" || \
16970 test -n "$runpath_var F77" || \
16971 test "X$hardcode_automatic_F77"="Xyes" ; then
16973 # We can hardcode non-existant directories.
16974 if test "$hardcode_direct_F77" != no &&
16975 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16976 # have to relink, otherwise we might link with an installed library
16977 # when we should be linking with a yet-to-be-installed one
16978 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16979 test "$hardcode_minus_L_F77" != no; then
16980 # Linking always hardcodes the temporary library directory.
16981 hardcode_action_F77=relink
16983 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16984 hardcode_action_F77=immediate
16987 # We cannot hardcode anything, or else we can only hardcode existing
16989 hardcode_action_F77=unsupported
16991 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16992 echo "${ECHO_T}$hardcode_action_F77" >&6
16994 if test "$hardcode_action_F77" = relink; then
16995 # Fast installation is not supported
16996 enable_fast_install=no
16997 elif test "$shlibpath_overrides_runpath" = yes ||
16998 test "$enable_shared" = no; then
16999 # Fast installation is not necessary
17000 enable_fast_install=needless
17005 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17006 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17007 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17008 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17009 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17010 echo "$as_me:$LINENO: result: yes" >&5
17011 echo "${ECHO_T}yes" >&6
17013 # FIXME - insert some real tests, host_os isn't really good enough
17016 if test -n "$STRIP" ; then
17017 striplib="$STRIP -x"
17018 echo "$as_me:$LINENO: result: yes" >&5
17019 echo "${ECHO_T}yes" >&6
17021 echo "$as_me:$LINENO: result: no" >&5
17022 echo "${ECHO_T}no" >&6
17026 echo "$as_me:$LINENO: result: no" >&5
17027 echo "${ECHO_T}no" >&6
17034 # The else clause should only fire when bootstrapping the
17035 # libtool distribution, otherwise you forgot to ship ltmain.sh
17036 # with your package, and you will get complaints that there are
17037 # no rules to generate ltmain.sh.
17038 if test -f "$ltmain"; then
17039 # See if we are running on zsh, and set the options which allow our commands through
17040 # without removal of \ escapes.
17041 if test -n "${ZSH_VERSION+set}" ; then
17042 setopt NO_GLOB_SUBST
17044 # Now quote all the things that may contain metacharacters while being
17045 # careful not to overquote the AC_SUBSTed values. We take copies of the
17046 # variables and quote the copies for generation of the libtool script.
17047 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
17049 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17050 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17051 deplibs_check_method reload_flag reload_cmds need_locks \
17052 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17053 lt_cv_sys_global_symbol_to_c_name_address \
17054 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17055 old_postinstall_cmds old_postuninstall_cmds \
17059 lt_prog_compiler_wl_F77 \
17060 lt_prog_compiler_pic_F77 \
17061 lt_prog_compiler_static_F77 \
17062 lt_prog_compiler_no_builtin_flag_F77 \
17063 export_dynamic_flag_spec_F77 \
17064 thread_safe_flag_spec_F77 \
17065 whole_archive_flag_spec_F77 \
17066 enable_shared_with_static_runtimes_F77 \
17067 old_archive_cmds_F77 \
17068 old_archive_from_new_cmds_F77 \
17069 predep_objects_F77 \
17070 postdep_objects_F77 \
17073 compiler_lib_search_path_F77 \
17075 archive_expsym_cmds_F77 \
17076 postinstall_cmds_F77 \
17077 postuninstall_cmds_F77 \
17078 old_archive_from_expsyms_cmds_F77 \
17079 allow_undefined_flag_F77 \
17080 no_undefined_flag_F77 \
17081 export_symbols_cmds_F77 \
17082 hardcode_libdir_flag_spec_F77 \
17083 hardcode_libdir_flag_spec_ld_F77 \
17084 hardcode_libdir_separator_F77 \
17085 hardcode_automatic_F77 \
17087 module_expsym_cmds_F77 \
17088 lt_cv_prog_compiler_c_o_F77 \
17089 exclude_expsyms_F77 \
17090 include_expsyms_F77; do
17093 old_archive_cmds_F77 | \
17094 old_archive_from_new_cmds_F77 | \
17095 archive_cmds_F77 | \
17096 archive_expsym_cmds_F77 | \
17097 module_cmds_F77 | \
17098 module_expsym_cmds_F77 | \
17099 old_archive_from_expsyms_cmds_F77 | \
17100 export_symbols_cmds_F77 | \
17101 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17102 postinstall_cmds | postuninstall_cmds | \
17103 old_postinstall_cmds | old_postuninstall_cmds | \
17104 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17105 # Double-quote double-evaled strings.
17106 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17109 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17115 *'\$0 --fallback-echo"')
17116 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17122 cat <<__EOF__ >> "$cfgfile"
17123 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17125 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17127 # Shell to use when invoking shell scripts.
17130 # Whether or not to build shared libraries.
17131 build_libtool_libs=$enable_shared
17133 # Whether or not to build static libraries.
17134 build_old_libs=$enable_static
17136 # Whether or not to add -lc for building shared libraries.
17137 build_libtool_need_lc=$archive_cmds_need_lc_F77
17139 # Whether or not to disallow shared libs when runtime libs are static
17140 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17142 # Whether or not to optimize for fast installation.
17143 fast_install=$enable_fast_install
17146 host_alias=$host_alias
17149 # An echo program that does not interpret backslashes.
17154 AR_FLAGS=$lt_AR_FLAGS
17159 # A language-specific compiler.
17160 CC=$lt_compiler_F77
17162 # Is the compiler the GNU C compiler?
17168 # The linker used to build libraries.
17171 # Whether we need hard or soft links.
17174 # A BSD-compatible nm program.
17177 # A symbol stripping program
17180 # Used to examine libraries when file_magic_cmd begins "file"
17181 MAGIC_CMD=$MAGIC_CMD
17183 # Used on cygwin: DLL creation program.
17186 # Used on cygwin: object dumper.
17189 # Used on cygwin: assembler.
17192 # The name of the directory that contains temporary libtool files.
17195 # How to create reloadable object files.
17196 reload_flag=$lt_reload_flag
17197 reload_cmds=$lt_reload_cmds
17199 # How to pass a linker flag through the compiler.
17200 wl=$lt_lt_prog_compiler_wl_F77
17202 # Object file suffix (normally "o").
17203 objext="$ac_objext"
17205 # Old archive suffix (normally "a").
17208 # Shared library suffix (normally ".so").
17209 shrext_cmds='$shrext_cmds'
17211 # Executable file suffix (normally "").
17214 # Additional compiler flags for building library objects.
17215 pic_flag=$lt_lt_prog_compiler_pic_F77
17218 # What is the maximum length of a command?
17219 max_cmd_len=$lt_cv_sys_max_cmd_len
17221 # Does compiler simultaneously support -c and -o options?
17222 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17224 # Must we lock files when doing compilation ?
17225 need_locks=$lt_need_locks
17227 # Do we need the lib prefix for modules?
17228 need_lib_prefix=$need_lib_prefix
17230 # Do we need a version for libraries?
17231 need_version=$need_version
17233 # Whether dlopen is supported.
17234 dlopen_support=$enable_dlopen
17236 # Whether dlopen of programs is supported.
17237 dlopen_self=$enable_dlopen_self
17239 # Whether dlopen of statically linked programs is supported.
17240 dlopen_self_static=$enable_dlopen_self_static
17242 # Compiler flag to prevent dynamic linking.
17243 link_static_flag=$lt_lt_prog_compiler_static_F77
17245 # Compiler flag to turn off builtin functions.
17246 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17248 # Compiler flag to allow reflexive dlopens.
17249 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17251 # Compiler flag to generate shared objects directly from archives.
17252 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17254 # Compiler flag to generate thread-safe objects.
17255 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17257 # Library versioning type.
17258 version_type=$version_type
17260 # Format of library name prefix.
17261 libname_spec=$lt_libname_spec
17263 # List of archive names. First name is the real one, the rest are links.
17264 # The last name is the one that the linker finds with -lNAME.
17265 library_names_spec=$lt_library_names_spec
17267 # The coded name of the library, if different from the real name.
17268 soname_spec=$lt_soname_spec
17270 # Commands used to build and install an old-style archive.
17272 old_archive_cmds=$lt_old_archive_cmds_F77
17273 old_postinstall_cmds=$lt_old_postinstall_cmds
17274 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17276 # Create an old-style archive from a shared archive.
17277 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17279 # Create a temporary old-style archive to link instead of a shared archive.
17280 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17282 # Commands used to build and install a shared archive.
17283 archive_cmds=$lt_archive_cmds_F77
17284 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17285 postinstall_cmds=$lt_postinstall_cmds
17286 postuninstall_cmds=$lt_postuninstall_cmds
17288 # Commands used to build a loadable module (assumed same as above if empty)
17289 module_cmds=$lt_module_cmds_F77
17290 module_expsym_cmds=$lt_module_expsym_cmds_F77
17292 # Commands to strip libraries.
17293 old_striplib=$lt_old_striplib
17294 striplib=$lt_striplib
17296 # Dependencies to place before the objects being linked to create a
17298 predep_objects=$lt_predep_objects_F77
17300 # Dependencies to place after the objects being linked to create a
17302 postdep_objects=$lt_postdep_objects_F77
17304 # Dependencies to place before the objects being linked to create a
17306 predeps=$lt_predeps_F77
17308 # Dependencies to place after the objects being linked to create a
17310 postdeps=$lt_postdeps_F77
17312 # The library search path used internally by the compiler when linking
17313 # a shared library.
17314 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17316 # Method to check whether dependent libraries are shared objects.
17317 deplibs_check_method=$lt_deplibs_check_method
17319 # Command to use when deplibs_check_method == file_magic.
17320 file_magic_cmd=$lt_file_magic_cmd
17322 # Flag that allows shared libraries with undefined symbols to be built.
17323 allow_undefined_flag=$lt_allow_undefined_flag_F77
17325 # Flag that forces no undefined symbols.
17326 no_undefined_flag=$lt_no_undefined_flag_F77
17328 # Commands used to finish a libtool library installation in a directory.
17329 finish_cmds=$lt_finish_cmds
17331 # Same as above, but a single script fragment to be evaled but not shown.
17332 finish_eval=$lt_finish_eval
17334 # Take the output of nm and produce a listing of raw symbols and C names.
17335 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17337 # Transform the output of nm in a proper C declaration
17338 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17340 # Transform the output of nm in a C name address pair
17341 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17343 # This is the shared library runtime path variable.
17344 runpath_var=$runpath_var
17346 # This is the shared library path variable.
17347 shlibpath_var=$shlibpath_var
17349 # Is shlibpath searched before the hard-coded library search path?
17350 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17352 # How to hardcode a shared library path into an executable.
17353 hardcode_action=$hardcode_action_F77
17355 # Whether we should hardcode library paths into libraries.
17356 hardcode_into_libs=$hardcode_into_libs
17358 # Flag to hardcode \$libdir into a binary during linking.
17359 # This must work even if \$libdir does not exist.
17360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17362 # If ld is used when linking, flag to hardcode \$libdir into
17363 # a binary during linking. This must work even if \$libdir does
17365 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17367 # Whether we need a single -rpath flag with a separated argument.
17368 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17370 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17371 # resulting binary.
17372 hardcode_direct=$hardcode_direct_F77
17374 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17375 # resulting binary.
17376 hardcode_minus_L=$hardcode_minus_L_F77
17378 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17379 # the resulting binary.
17380 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17382 # Set to yes if building a shared library automatically hardcodes DIR into the library
17383 # and all subsequent libraries and executables linked against it.
17384 hardcode_automatic=$hardcode_automatic_F77
17386 # Variables whose values should be saved in libtool wrapper scripts and
17387 # restored at relink time.
17388 variables_saved_for_relink="$variables_saved_for_relink"
17390 # Whether libtool must link a program against all its dependency libraries.
17391 link_all_deplibs=$link_all_deplibs_F77
17393 # Compile-time system search path for libraries
17394 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17396 # Run-time system search path for libraries
17397 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17399 # Fix the shell variable \$srcfile for the compiler.
17400 fix_srcfile_path="$fix_srcfile_path_F77"
17402 # Set to yes if exported symbols are required.
17403 always_export_symbols=$always_export_symbols_F77
17405 # The commands to list exported symbols.
17406 export_symbols_cmds=$lt_export_symbols_cmds_F77
17408 # The commands to extract the exported symbol list from a shared archive.
17409 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17411 # Symbols that should not be listed in the preloaded symbols.
17412 exclude_expsyms=$lt_exclude_expsyms_F77
17414 # Symbols that must always be exported.
17415 include_expsyms=$lt_include_expsyms_F77
17417 # ### END LIBTOOL TAG CONFIG: $tagname
17423 # If there is no Makefile yet, we rely on a make rule to execute
17424 # `config.status --recheck' to rerun these tests and create the
17425 # libtool script then.
17426 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17427 if test -f "$ltmain_in"; then
17428 test -f Makefile && make "$ltmain"
17434 ac_cpp='$CPP $CPPFLAGS'
17435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17447 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17451 # Source file extension for Java test sources.
17454 # Object file extension for compiled Java test sources.
17458 # Code to be used in simple compile tests
17459 lt_simple_compile_test_code="class foo {}\n"
17461 # Code to be used in simple link tests
17462 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
17464 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17466 # If no C compiler was specified, use CC.
17469 # Allow CC to be a program name with arguments.
17473 # Allow CC to be a program name with arguments.
17479 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17480 archive_cmds_need_lc_GCJ=no
17483 ## There is no encapsulation within the following macros, do not change
17484 ## the running order or otherwise move them around unless you know exactly
17485 ## what you are doing...
17487 lt_prog_compiler_no_builtin_flag_GCJ=
17489 if test "$GCC" = yes; then
17490 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17493 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17494 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17495 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 lt_cv_prog_compiler_rtti_exceptions=no
17499 ac_outfile=conftest.$ac_objext
17500 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17501 lt_compiler_flag="-fno-rtti -fno-exceptions"
17502 # Insert the option either (1) after the last *FLAGS variable, or
17503 # (2) before a word containing "conftest.", or (3) at the end.
17504 # Note that $ac_compile itself does not contain backslashes and begins
17505 # with a dollar sign (not a hyphen), so the echo should work correctly.
17506 # The option is referenced via a variable to avoid confusing sed.
17507 lt_compile=`echo "$ac_compile" | $SED \
17508 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17510 -e 's:$: $lt_compiler_flag:'`
17511 (eval echo "\"\$as_me:17511: $lt_compile\"" >&5)
17512 (eval "$lt_compile" 2>conftest.err)
17514 cat conftest.err >&5
17515 echo "$as_me:17515: \$? = $ac_status" >&5
17516 if (exit $ac_status) && test -s "$ac_outfile"; then
17517 # The compiler can only warn and ignore the option if not recognized
17518 # So say no if there are warnings
17519 if test ! -s conftest.err; then
17520 lt_cv_prog_compiler_rtti_exceptions=yes
17526 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17527 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17529 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17530 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17537 lt_prog_compiler_wl_GCJ=
17538 lt_prog_compiler_pic_GCJ=
17539 lt_prog_compiler_static_GCJ=
17541 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17542 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17544 if test "$GCC" = yes; then
17545 lt_prog_compiler_wl_GCJ='-Wl,'
17546 lt_prog_compiler_static_GCJ='-static'
17550 # All AIX code is PIC.
17551 if test "$host_cpu" = ia64; then
17552 # AIX 5 now supports IA64 processor
17553 lt_prog_compiler_static_GCJ='-Bstatic'
17558 # FIXME: we need at least 68020 code to build shared libraries, but
17559 # adding the `-m68020' flag to GCC prevents building anything better,
17561 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17564 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17565 # PIC is the default for these OSes.
17568 mingw* | pw32* | os2*)
17569 # This hack is so that the source file can tell whether it is being
17570 # built for inclusion in a dll (and should export symbols for example).
17571 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17574 darwin* | rhapsody*)
17575 # PIC is the default on this platform
17576 # Common symbols not allowed in MH_DYLIB files
17577 lt_prog_compiler_pic_GCJ='-fno-common'
17581 # Just because we use GCC doesn't mean we suddenly get shared libraries
17582 # on systems that don't support them.
17583 lt_prog_compiler_can_build_shared_GCJ=no
17588 if test -d /usr/nec; then
17589 lt_prog_compiler_pic_GCJ=-Kconform_pic
17594 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17595 # not for PA HP-UX.
17596 case "$host_cpu" in
17601 lt_prog_compiler_pic_GCJ='-fPIC'
17607 lt_prog_compiler_pic_GCJ='-fPIC'
17611 # PORTME Check for flag to pass linker flags through the system compiler.
17614 lt_prog_compiler_wl_GCJ='-Wl,'
17615 if test "$host_cpu" = ia64; then
17616 # AIX 5 now supports IA64 processor
17617 lt_prog_compiler_static_GCJ='-Bstatic'
17619 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17623 mingw* | pw32* | os2*)
17624 # This hack is so that the source file can tell whether it is being
17625 # built for inclusion in a dll (and should export symbols for example).
17626 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17629 hpux9* | hpux10* | hpux11*)
17630 lt_prog_compiler_wl_GCJ='-Wl,'
17631 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17632 # not for PA HP-UX.
17633 case "$host_cpu" in
17638 lt_prog_compiler_pic_GCJ='+Z'
17641 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17642 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17645 irix5* | irix6* | nonstopux*)
17646 lt_prog_compiler_wl_GCJ='-Wl,'
17647 # PIC (with -KPIC) is the default.
17648 lt_prog_compiler_static_GCJ='-non_shared'
17652 lt_prog_compiler_pic_GCJ='-KPIC'
17653 lt_prog_compiler_static_GCJ='-Bstatic'
17659 lt_prog_compiler_wl_GCJ='-Wl,'
17660 lt_prog_compiler_pic_GCJ='-KPIC'
17661 lt_prog_compiler_static_GCJ='-static'
17664 lt_prog_compiler_wl_GCJ='-Wl,'
17665 # All Alpha code is PIC.
17666 lt_prog_compiler_static_GCJ='-non_shared'
17671 osf3* | osf4* | osf5*)
17672 lt_prog_compiler_wl_GCJ='-Wl,'
17673 # All OSF/1 code is PIC.
17674 lt_prog_compiler_static_GCJ='-non_shared'
17678 lt_prog_compiler_pic_GCJ='-Kpic'
17679 lt_prog_compiler_static_GCJ='-dn'
17683 lt_prog_compiler_wl_GCJ='-Wl,'
17684 lt_prog_compiler_pic_GCJ='-KPIC'
17685 lt_prog_compiler_static_GCJ='-Bstatic'
17689 lt_prog_compiler_wl_GCJ='-Qoption ld '
17690 lt_prog_compiler_pic_GCJ='-PIC'
17691 lt_prog_compiler_static_GCJ='-Bstatic'
17694 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17695 lt_prog_compiler_wl_GCJ='-Wl,'
17696 lt_prog_compiler_pic_GCJ='-KPIC'
17697 lt_prog_compiler_static_GCJ='-Bstatic'
17701 if test -d /usr/nec ;then
17702 lt_prog_compiler_pic_GCJ='-Kconform_pic'
17703 lt_prog_compiler_static_GCJ='-Bstatic'
17708 lt_prog_compiler_pic_GCJ='-pic'
17709 lt_prog_compiler_static_GCJ='-Bstatic'
17713 lt_prog_compiler_can_build_shared_GCJ=no
17718 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17719 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17722 # Check to make sure the PIC flag actually works.
17724 if test -n "$lt_prog_compiler_pic_GCJ"; then
17726 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17727 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17728 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 lt_prog_compiler_pic_works_GCJ=no
17732 ac_outfile=conftest.$ac_objext
17733 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17734 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17735 # Insert the option either (1) after the last *FLAGS variable, or
17736 # (2) before a word containing "conftest.", or (3) at the end.
17737 # Note that $ac_compile itself does not contain backslashes and begins
17738 # with a dollar sign (not a hyphen), so the echo should work correctly.
17739 # The option is referenced via a variable to avoid confusing sed.
17740 lt_compile=`echo "$ac_compile" | $SED \
17741 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17743 -e 's:$: $lt_compiler_flag:'`
17744 (eval echo "\"\$as_me:17744: $lt_compile\"" >&5)
17745 (eval "$lt_compile" 2>conftest.err)
17747 cat conftest.err >&5
17748 echo "$as_me:17748: \$? = $ac_status" >&5
17749 if (exit $ac_status) && test -s "$ac_outfile"; then
17750 # The compiler can only warn and ignore the option if not recognized
17751 # So say no if there are warnings
17752 if test ! -s conftest.err; then
17753 lt_prog_compiler_pic_works_GCJ=yes
17759 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17760 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17762 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17763 case $lt_prog_compiler_pic_GCJ in
17765 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17768 lt_prog_compiler_pic_GCJ=
17769 lt_prog_compiler_can_build_shared_GCJ=no
17774 # For platforms which do not support PIC, -DPIC is meaningless:
17776 lt_prog_compiler_pic_GCJ=
17779 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17783 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17784 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17785 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 lt_cv_prog_compiler_c_o_GCJ=no
17789 $rm -r conftest 2>/dev/null
17793 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17795 lt_compiler_flag="-o out/conftest2.$ac_objext"
17796 # Insert the option either (1) after the last *FLAGS variable, or
17797 # (2) before a word containing "conftest.", or (3) at the end.
17798 # Note that $ac_compile itself does not contain backslashes and begins
17799 # with a dollar sign (not a hyphen), so the echo should work correctly.
17800 lt_compile=`echo "$ac_compile" | $SED \
17801 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17803 -e 's:$: $lt_compiler_flag:'`
17804 (eval echo "\"\$as_me:17804: $lt_compile\"" >&5)
17805 (eval "$lt_compile" 2>out/conftest.err)
17807 cat out/conftest.err >&5
17808 echo "$as_me:17808: \$? = $ac_status" >&5
17809 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17811 # The compiler can only warn and ignore the option if not recognized
17812 # So say no if there are warnings
17813 if test ! -s out/conftest.err; then
17814 lt_cv_prog_compiler_c_o_GCJ=yes
17819 # SGI C++ compiler will create directory out/ii_files/ for
17820 # template instantiation
17821 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17822 $rm out/* && rmdir out
17828 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17829 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17832 hard_links="nottested"
17833 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17834 # do not overwrite the value of need_locks provided by the user
17835 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17836 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17839 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17841 ln conftest.a conftest.b 2>&5 || hard_links=no
17842 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17843 echo "$as_me:$LINENO: result: $hard_links" >&5
17844 echo "${ECHO_T}$hard_links" >&6
17845 if test "$hard_links" = no; then
17846 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17847 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17854 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17855 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17858 allow_undefined_flag_GCJ=
17859 enable_shared_with_static_runtimes_GCJ=no
17861 archive_expsym_cmds_GCJ=
17862 old_archive_From_new_cmds_GCJ=
17863 old_archive_from_expsyms_cmds_GCJ=
17864 export_dynamic_flag_spec_GCJ=
17865 whole_archive_flag_spec_GCJ=
17866 thread_safe_flag_spec_GCJ=
17867 hardcode_libdir_flag_spec_GCJ=
17868 hardcode_libdir_flag_spec_ld_GCJ=
17869 hardcode_libdir_separator_GCJ=
17870 hardcode_direct_GCJ=no
17871 hardcode_minus_L_GCJ=no
17872 hardcode_shlibpath_var_GCJ=unsupported
17873 link_all_deplibs_GCJ=unknown
17874 hardcode_automatic_GCJ=no
17876 module_expsym_cmds_GCJ=
17877 always_export_symbols_GCJ=no
17878 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17879 # include_expsyms should be a list of space-separated symbols to be *always*
17880 # included in the symbol list
17881 include_expsyms_GCJ=
17882 # exclude_expsyms can be an extended regexp of symbols to exclude
17883 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17884 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17885 # as well as any symbol that contains `d'.
17886 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17887 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17888 # platforms (ab)use it in PIC code, but their linkers get confused if
17889 # the symbol is explicitly referenced. Since portable code cannot
17890 # rely on this symbol name, it's probably fine to never include it in
17891 # preloaded symbol tables.
17892 extract_expsyms_cmds=
17895 cygwin* | mingw* | pw32*)
17896 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17897 # When not using gcc, we currently assume that we are using
17898 # Microsoft Visual C++.
17899 if test "$GCC" != yes; then
17909 if test "$with_gnu_ld" = yes; then
17910 # If archive_cmds runs LD, not CC, wlarc should be empty
17913 # See if GNU ld supports shared libraries.
17915 aix3* | aix4* | aix5*)
17916 # On AIX/PPC, the GNU linker is very broken
17917 if test "$host_cpu" != ia64; then
17921 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17922 *** to be unable to reliably create shared libraries on AIX.
17923 *** Therefore, libtool is disabling shared libraries support. If you
17924 *** really care for shared libraries, you may want to modify your PATH
17925 *** so that a non-GNU linker is found, and then restart.
17932 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)'
17933 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17934 hardcode_minus_L_GCJ=yes
17936 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17937 # that the semantics of dynamic libraries on AmigaOS, at least up
17938 # to version 4, is to share data among multiple programs linked
17939 # with the same dynamic library. Since this doesn't match the
17940 # behavior of shared libraries on other platforms, we can't use
17946 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17947 allow_undefined_flag_GCJ=unsupported
17948 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17949 # support --undefined. This deserves some investigation. FIXME
17950 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17956 cygwin* | mingw* | pw32*)
17957 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17958 # as there is no search path for DLLs.
17959 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17960 allow_undefined_flag_GCJ=unsupported
17961 always_export_symbols_GCJ=no
17962 enable_shared_with_static_runtimes_GCJ=yes
17963 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17965 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17966 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17967 # If the export-symbols file already is a .def file (1st line
17968 # is EXPORTS), use it as is; otherwise, prepend...
17969 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17970 cp $export_symbols $output_objdir/$soname.def;
17972 echo EXPORTS > $output_objdir/$soname.def;
17973 cat $export_symbols >> $output_objdir/$soname.def;
17975 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17982 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17983 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17986 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17987 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17992 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17996 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17997 *** create shared libraries on Solaris systems. Therefore, libtool
17998 *** is disabling shared libraries support. We urge you to upgrade GNU
17999 *** binutils to release 2.9.1 or newer. Another option is to modify
18000 *** your PATH or compiler configuration so that the native linker is
18001 *** used, and then restart.
18004 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18005 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18006 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18013 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18015 hardcode_direct_GCJ=yes
18016 hardcode_shlibpath_var_GCJ=no
18020 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18021 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18022 archive_cmds_GCJ="$tmp_archive_cmds"
18023 supports_anon_versioning=no
18024 case `$LD -v 2>/dev/null` in
18025 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18026 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18027 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18028 *\ 2.11.*) ;; # other 2.11 versions
18029 *) supports_anon_versioning=yes ;;
18031 if test $supports_anon_versioning = yes; then
18032 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18034 $echo "local: *; };" >> $output_objdir/$libname.ver~
18035 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18037 archive_expsym_cmds_GCJ="$tmp_archive_cmds"
18045 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18046 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18047 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18054 if test "$ld_shlibs_GCJ" = yes; then
18055 runpath_var=LD_RUN_PATH
18056 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18057 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18058 # ancient GNU ld didn't support --whole-archive et. al.
18059 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18060 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18062 whole_archive_flag_spec_GCJ=
18066 # PORTME fill in a description of your system's linker (not GNU ld)
18069 allow_undefined_flag_GCJ=unsupported
18070 always_export_symbols_GCJ=yes
18071 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'
18072 # Note: this linker hardcodes the directories in LIBPATH if there
18073 # are no directories specified by -L.
18074 hardcode_minus_L_GCJ=yes
18075 if test "$GCC" = yes && test -z "$link_static_flag"; then
18076 # Neither direct hardcoding nor static linking is supported with a
18078 hardcode_direct_GCJ=unsupported
18083 if test "$host_cpu" = ia64; then
18084 # On IA64, the linker does run time linking by default, so we don't
18085 # have to do anything special.
18086 aix_use_runtimelinking=no
18087 exp_sym_flag='-Bexport'
18090 # If we're using GNU nm, then we don't want the "-C" option.
18091 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18092 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18093 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'
18095 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'
18097 aix_use_runtimelinking=no
18099 # Test if we are trying to use run time linking or normal
18100 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18101 # need to do runtime linking.
18102 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18103 for ld_flag in $LDFLAGS; do
18104 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18105 aix_use_runtimelinking=yes
18111 exp_sym_flag='-bexport'
18112 no_entry_flag='-bnoentry'
18115 # When large executables or shared objects are built, AIX ld can
18116 # have problems creating the table of contents. If linking a library
18117 # or program results in "error TOC overflow" add -mminimal-toc to
18118 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18119 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18121 archive_cmds_GCJ=''
18122 hardcode_direct_GCJ=yes
18123 hardcode_libdir_separator_GCJ=':'
18124 link_all_deplibs_GCJ=yes
18126 if test "$GCC" = yes; then
18127 case $host_os in aix4.012|aix4.012.*)
18128 # We only want to do this on AIX 4.2 and lower, the check
18129 # below for broken collect2 doesn't work under 4.3+
18130 collect2name=`${CC} -print-prog-name=collect2`
18131 if test -f "$collect2name" && \
18132 strings "$collect2name" | grep resolve_lib_name >/dev/null
18134 # We have reworked collect2
18135 hardcode_direct_GCJ=yes
18137 # We have old collect2
18138 hardcode_direct_GCJ=unsupported
18139 # It fails to find uninstalled libraries when the uninstalled
18140 # path is not listed in the libpath. Setting hardcode_minus_L
18141 # to unsupported forces relinking
18142 hardcode_minus_L_GCJ=yes
18143 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18144 hardcode_libdir_separator_GCJ=
18147 shared_flag='-shared'
18150 if test "$host_cpu" = ia64; then
18151 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18152 # chokes on -Wl,-G. The following line is correct:
18155 if test "$aix_use_runtimelinking" = yes; then
18156 shared_flag='${wl}-G'
18158 shared_flag='${wl}-bM:SRE'
18163 # It seems that -bexpall does not export symbols beginning with
18164 # underscore (_), so it is better to generate a list of symbols to export.
18165 always_export_symbols_GCJ=yes
18166 if test "$aix_use_runtimelinking" = yes; then
18167 # Warning - without using the other runtime loading flags (-brtl),
18168 # -berok will link without error, but may produce a broken library.
18169 allow_undefined_flag_GCJ='-berok'
18170 # Determine the default libpath from the value encoded in an empty executable.
18171 cat >conftest.$ac_ext <<_ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18186 rm -f conftest.$ac_objext conftest$ac_exeext
18187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18188 (eval $ac_link) 2>conftest.er1
18190 grep -v '^ *+' conftest.er1 >conftest.err
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try='test -z "$ac_c_werror_flag"
18196 || test ! -s conftest.err'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; } &&
18202 { ac_try='test -s conftest$ac_exeext'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; }; then
18209 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18211 # Check for a 64-bit object if we didn't find anything.
18212 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; }
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18219 rm -f conftest.err conftest.$ac_objext \
18220 conftest$ac_exeext conftest.$ac_ext
18221 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18223 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18224 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"
18226 if test "$host_cpu" = ia64; then
18227 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18228 allow_undefined_flag_GCJ="-z nodefs"
18229 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"
18231 # Determine the default libpath from the value encoded in an empty executable.
18232 cat >conftest.$ac_ext <<_ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18247 rm -f conftest.$ac_objext conftest$ac_exeext
18248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18249 (eval $ac_link) 2>conftest.er1
18251 grep -v '^ *+' conftest.er1 >conftest.err
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } &&
18256 { ac_try='test -z "$ac_c_werror_flag"
18257 || test ! -s conftest.err'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; } &&
18263 { ac_try='test -s conftest$ac_exeext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18270 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18272 # Check for a 64-bit object if we didn't find anything.
18273 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; }
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.$ac_ext >&5
18280 rm -f conftest.err conftest.$ac_objext \
18281 conftest$ac_exeext conftest.$ac_ext
18282 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18284 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18285 # Warning - without using the other run time loading flags,
18286 # -berok will link without error, but may produce a broken library.
18287 no_undefined_flag_GCJ=' ${wl}-bernotok'
18288 allow_undefined_flag_GCJ=' ${wl}-berok'
18289 # -bexpall does not export symbols beginning with underscore (_)
18290 always_export_symbols_GCJ=yes
18291 # Exported symbols can be pulled into shared objects from archives
18292 whole_archive_flag_spec_GCJ=' '
18293 archive_cmds_need_lc_GCJ=yes
18294 # This is similar to how AIX traditionally builds it's shared libraries.
18295 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'
18301 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)'
18302 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18303 hardcode_minus_L_GCJ=yes
18304 # see comment about different semantics on the GNU ld section
18309 export_dynamic_flag_spec_GCJ=-rdynamic
18312 cygwin* | mingw* | pw32*)
18313 # When not using gcc, we currently assume that we are using
18314 # Microsoft Visual C++.
18315 # hardcode_libdir_flag_spec is actually meaningless, as there is
18316 # no search path for DLLs.
18317 hardcode_libdir_flag_spec_GCJ=' '
18318 allow_undefined_flag_GCJ=unsupported
18319 # Tell ltmain to make .lib files, not .a files.
18321 # Tell ltmain to make .dll files, not .so files.
18323 # FIXME: Setting linknames here is a bad hack.
18324 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18325 # The linker will automatically build a .lib file if we build a DLL.
18326 old_archive_From_new_cmds_GCJ='true'
18327 # FIXME: Should let the user specify the lib program.
18328 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
18329 fix_srcfile_path='`cygpath -w "$srcfile"`'
18330 enable_shared_with_static_runtimes_GCJ=yes
18333 darwin* | rhapsody*)
18334 if test "$GXX" = yes ; then
18335 archive_cmds_need_lc_GCJ=no
18337 rhapsody* | darwin1.[012])
18338 allow_undefined_flag_GCJ='-undefined suppress'
18341 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18342 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
18344 case ${MACOSX_DEPLOYMENT_TARGET} in
18346 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
18349 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
18355 lt_int_apple_cc_single_mod=no
18356 output_verbose_link_cmd='echo'
18357 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18358 lt_int_apple_cc_single_mod=yes
18360 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18361 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18363 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'
18365 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18366 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18367 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18368 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}'
18370 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}'
18372 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}'
18373 hardcode_direct_GCJ=no
18374 hardcode_automatic_GCJ=yes
18375 hardcode_shlibpath_var_GCJ=unsupported
18376 whole_archive_flag_spec_GCJ='-all_load $convenience'
18377 link_all_deplibs_GCJ=yes
18384 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18385 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18386 hardcode_shlibpath_var_GCJ=no
18393 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18394 # support. Future versions do this automatically, but an explicit c++rt0.o
18395 # does not break anything, and helps significantly (at the cost of a little
18398 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18399 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18400 hardcode_direct_GCJ=yes
18401 hardcode_shlibpath_var_GCJ=no
18404 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18406 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18407 hardcode_direct_GCJ=yes
18408 hardcode_minus_L_GCJ=yes
18409 hardcode_shlibpath_var_GCJ=no
18412 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18413 freebsd* | kfreebsd*-gnu)
18414 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18415 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18416 hardcode_direct_GCJ=yes
18417 hardcode_shlibpath_var_GCJ=no
18421 if test "$GCC" = yes; then
18422 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'
18424 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'
18426 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18427 hardcode_libdir_separator_GCJ=:
18428 hardcode_direct_GCJ=yes
18430 # hardcode_minus_L: Not really in the search PATH,
18431 # but as the default location of the library.
18432 hardcode_minus_L_GCJ=yes
18433 export_dynamic_flag_spec_GCJ='${wl}-E'
18437 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18438 case "$host_cpu" in
18440 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18443 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18447 case "$host_cpu" in
18449 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18452 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18456 if test "$with_gnu_ld" = no; then
18457 case "$host_cpu" in
18459 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18460 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18461 hardcode_libdir_separator_GCJ=:
18462 hardcode_direct_GCJ=no
18463 hardcode_shlibpath_var_GCJ=no
18466 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18467 hardcode_direct_GCJ=no
18468 hardcode_shlibpath_var_GCJ=no
18470 # hardcode_minus_L: Not really in the search PATH,
18471 # but as the default location of the library.
18472 hardcode_minus_L_GCJ=yes
18475 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18476 hardcode_libdir_separator_GCJ=:
18477 hardcode_direct_GCJ=yes
18478 export_dynamic_flag_spec_GCJ='${wl}-E'
18480 # hardcode_minus_L: Not really in the search PATH,
18481 # but as the default location of the library.
18482 hardcode_minus_L_GCJ=yes
18488 irix5* | irix6* | nonstopux*)
18489 if test "$GCC" = yes; then
18490 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'
18492 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'
18493 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18495 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18496 hardcode_libdir_separator_GCJ=:
18497 link_all_deplibs_GCJ=yes
18501 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18502 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18504 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18506 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18507 hardcode_direct_GCJ=yes
18508 hardcode_shlibpath_var_GCJ=no
18512 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18513 hardcode_direct_GCJ=yes
18514 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18515 hardcode_libdir_separator_GCJ=:
18516 hardcode_shlibpath_var_GCJ=no
18520 hardcode_direct_GCJ=yes
18521 hardcode_shlibpath_var_GCJ=no
18522 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18523 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18524 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18525 export_dynamic_flag_spec_GCJ='${wl}-E'
18528 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18529 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18530 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18533 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18534 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18541 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18542 hardcode_minus_L_GCJ=yes
18543 allow_undefined_flag_GCJ=unsupported
18544 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'
18545 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18549 if test "$GCC" = yes; then
18550 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18551 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'
18553 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18554 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'
18556 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18557 hardcode_libdir_separator_GCJ=:
18560 osf4* | osf5*) # as osf3* with the addition of -msym flag
18561 if test "$GCC" = yes; then
18562 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18563 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'
18564 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18566 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18567 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'
18568 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~
18569 $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'
18571 # Both c and cxx compiler support -rpath directly
18572 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18574 hardcode_libdir_separator_GCJ=:
18578 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18579 hardcode_shlibpath_var_GCJ=no
18580 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18581 runpath_var=LD_RUN_PATH
18582 hardcode_runpath_var=yes
18586 no_undefined_flag_GCJ=' -z text'
18587 if test "$GCC" = yes; then
18588 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18589 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18590 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18592 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18593 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18594 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18596 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18597 hardcode_shlibpath_var_GCJ=no
18599 solaris2.[0-5] | solaris2.[0-5].*) ;;
18600 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18601 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18603 link_all_deplibs_GCJ=yes
18607 if test "x$host_vendor" = xsequent; then
18608 # Use $CC to link under sequent, because it throws in some extra .o
18609 # files that make .init and .fini sections work.
18610 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18612 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18614 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18615 hardcode_direct_GCJ=yes
18616 hardcode_minus_L_GCJ=yes
18617 hardcode_shlibpath_var_GCJ=no
18621 case $host_vendor in
18623 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18624 hardcode_direct_GCJ=yes # is this really true???
18627 ## LD is ld it makes a PLAMLIB
18628 ## CC just makes a GrossModule.
18629 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18630 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18631 hardcode_direct_GCJ=no
18634 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18635 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18638 runpath_var='LD_RUN_PATH'
18639 hardcode_shlibpath_var_GCJ=no
18643 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18644 hardcode_shlibpath_var_GCJ=no
18645 export_dynamic_flag_spec_GCJ='-Bexport'
18649 if test -d /usr/nec; then
18650 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18651 hardcode_shlibpath_var_GCJ=no
18652 runpath_var=LD_RUN_PATH
18653 hardcode_runpath_var=yes
18659 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18660 hardcode_direct_GCJ=yes
18661 hardcode_minus_L_GCJ=no
18662 hardcode_shlibpath_var_GCJ=no
18663 hardcode_runpath_var=yes
18664 runpath_var=LD_RUN_PATH
18667 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18668 no_undefined_flag_GCJ='${wl}-z ${wl}text'
18669 if test "$GCC" = yes; then
18670 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18672 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18674 runpath_var='LD_RUN_PATH'
18675 hardcode_shlibpath_var_GCJ=no
18679 no_undefined_flag_GCJ=' -z text'
18680 # $CC -shared without GNU ld will not create a library from C++
18681 # object files and a static libstdc++, better avoid it by now
18682 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18683 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18684 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18685 hardcode_libdir_flag_spec_GCJ=
18686 hardcode_shlibpath_var_GCJ=no
18687 runpath_var='LD_RUN_PATH'
18691 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18692 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18693 hardcode_shlibpath_var_GCJ=no
18702 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18703 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18704 test "$ld_shlibs_GCJ" = no && can_build_shared=no
18706 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18707 if test "$GCC" = yes; then
18708 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18712 # Do we need to explicitly link libc?
18714 case "x$archive_cmds_need_lc_GCJ" in
18716 # Assume -lc should be added
18717 archive_cmds_need_lc_GCJ=yes
18719 if test "$enable_shared" = yes && test "$GCC" = yes; then
18720 case $archive_cmds_GCJ in
18722 # FIXME: we may have to deal with multi-command sequences.
18725 # Test whether the compiler implicitly links with -lc since on some
18726 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18727 # to ld, don't add -lc before -lgcc.
18728 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18729 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18731 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } 2>conftest.err; then
18740 libobjs=conftest.$ac_objext
18742 wl=$lt_prog_compiler_wl_GCJ
18748 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18749 allow_undefined_flag_GCJ=
18750 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18751 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }
18756 archive_cmds_need_lc_GCJ=no
18758 archive_cmds_need_lc_GCJ=yes
18760 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18762 cat conftest.err 1>&5
18765 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18766 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18773 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18774 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18775 library_names_spec=
18776 libname_spec='lib$name'
18780 postuninstall_cmds=
18784 shlibpath_overrides_runpath=unknown
18786 dynamic_linker="$host_os ld.so"
18787 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18788 if test "$GCC" = yes; then
18789 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18790 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18791 # if the path contains ";" then we assume it to be the separator
18792 # otherwise default to the standard path separator (i.e. ":") - it is
18793 # assumed that no part of a normal pathname contains ";" but that should
18794 # okay in the real world where ";" in dirpaths is itself problematic.
18795 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18797 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18800 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18802 need_lib_prefix=unknown
18803 hardcode_into_libs=no
18805 # when you set need_version to no, make sure it does not cause -set_version
18806 # flags to be left without arguments
18807 need_version=unknown
18812 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18813 shlibpath_var=LIBPATH
18815 # AIX 3 has no versioning support, so we append a major version to the name.
18816 soname_spec='${libname}${release}${shared_ext}$major'
18823 hardcode_into_libs=yes
18824 if test "$host_cpu" = ia64; then
18825 # AIX 5 supports IA64
18826 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18827 shlibpath_var=LD_LIBRARY_PATH
18829 # With GCC up to 2.95.x, collect2 would create an import file
18830 # for dependence libraries. The import file would start with
18831 # the line `#! .'. This would cause the generated library to
18832 # depend on `.', always an invalid library. This was fixed in
18833 # development snapshots of GCC prior to 3.0.
18835 aix4 | aix4.[01] | aix4.[01].*)
18836 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18838 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18841 can_build_shared=no
18845 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18846 # soname into executable. Probably we can add versioning support to
18847 # collect2, so additional links can be useful in future.
18848 if test "$aix_use_runtimelinking" = yes; then
18849 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18850 # instead of lib<name>.a to let people know that these are not
18851 # typical AIX shared libraries.
18852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18854 # We preserve .a as extension for shared libraries through AIX4.2
18855 # and later when we are not doing run time linking.
18856 library_names_spec='${libname}${release}.a $libname.a'
18857 soname_spec='${libname}${release}${shared_ext}$major'
18859 shlibpath_var=LIBPATH
18864 library_names_spec='$libname.ixlibrary $libname.a'
18865 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18866 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'
18870 library_names_spec='${libname}${shared_ext}'
18871 dynamic_linker="$host_os ld.so"
18872 shlibpath_var=LIBRARY_PATH
18878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18879 soname_spec='${libname}${release}${shared_ext}$major'
18880 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18881 shlibpath_var=LD_LIBRARY_PATH
18882 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18883 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18884 # the default ld.so.conf also contains /usr/contrib/lib and
18885 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18886 # libtool to hard-code these into programs
18889 cygwin* | mingw* | pw32*)
18890 version_type=windows
18895 case $GCC,$host_os in
18896 yes,cygwin* | yes,mingw* | yes,pw32*)
18897 library_names_spec='$libname.dll.a'
18898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18899 postinstall_cmds='base_file=`basename \${file}`~
18900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18901 dldir=$destdir/`dirname \$dlpath`~
18902 test -d \$dldir || mkdir -p \$dldir~
18903 $install_prog $dir/$dlname \$dldir/$dlname'
18904 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18905 dlpath=$dir/\$dldll~
18907 shlibpath_overrides_runpath=yes
18911 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18912 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18913 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18916 # MinGW DLLs use traditional 'lib' prefix
18917 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18918 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18919 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18920 # It is most probably a Windows format PATH printed by
18921 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18922 # path with ; separators, and with drive letters. We can handle the
18923 # drive letters (cygwin fileutils understands them), so leave them,
18924 # especially as we might pass files found there to a mingw objdump,
18925 # which wouldn't understand a cygwinified path. Ahh.
18926 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18928 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18932 # pw32 DLLs use 'pw' prefix rather than 'lib'
18933 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18939 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18942 dynamic_linker='Win32 ld.exe'
18943 # FIXME: first we should search . and the directory the executable is in
18947 darwin* | rhapsody*)
18948 dynamic_linker="$host_os dyld"
18949 version_type=darwin
18952 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18953 soname_spec='${libname}${release}${major}$shared_ext'
18954 shlibpath_overrides_runpath=yes
18955 shlibpath_var=DYLD_LIBRARY_PATH
18956 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18957 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18958 if test "$GCC" = yes; then
18959 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"`
18961 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18963 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
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
18983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18984 soname_spec='${libname}${release}${shared_ext}$major'
18985 shlibpath_var=LD_LIBRARY_PATH
18986 shlibpath_overrides_runpath=no
18987 hardcode_into_libs=yes
18988 dynamic_linker='GNU ld.so'
18992 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18993 version_type=freebsd-$objformat
18994 case $version_type in
18996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19001 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19005 shlibpath_var=LD_LIBRARY_PATH
19008 shlibpath_overrides_runpath=yes
19010 freebsd3.01* | freebsdelf3.01*)
19011 shlibpath_overrides_runpath=yes
19012 hardcode_into_libs=yes
19015 shlibpath_overrides_runpath=no
19016 hardcode_into_libs=yes
19025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19026 soname_spec='${libname}${release}${shared_ext}$major'
19027 shlibpath_var=LD_LIBRARY_PATH
19028 hardcode_into_libs=yes
19031 hpux9* | hpux10* | hpux11*)
19032 # Give a soname corresponding to the major version so that dld.sl refuses to
19033 # link against other versions.
19037 case "$host_cpu" in
19040 hardcode_into_libs=yes
19041 dynamic_linker="$host_os dld.so"
19042 shlibpath_var=LD_LIBRARY_PATH
19043 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19045 soname_spec='${libname}${release}${shared_ext}$major'
19046 if test "X$HPUX_IA64_MODE" = X32; then
19047 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19049 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19051 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19055 hardcode_into_libs=yes
19056 dynamic_linker="$host_os dld.sl"
19057 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19058 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19060 soname_spec='${libname}${release}${shared_ext}$major'
19061 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19062 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19066 dynamic_linker="$host_os dld.sl"
19067 shlibpath_var=SHLIB_PATH
19068 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19070 soname_spec='${libname}${release}${shared_ext}$major'
19073 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19074 postinstall_cmds='chmod 555 $lib'
19077 irix5* | irix6* | nonstopux*)
19079 nonstopux*) version_type=nonstopux ;;
19081 if test "$lt_cv_prog_gnu_ld" = yes; then
19089 soname_spec='${libname}${release}${shared_ext}$major'
19090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19092 irix5* | nonstopux*)
19093 libsuff= shlibsuff=
19096 case $LD in # libtool.m4 will add one of these switches to LD
19097 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19098 libsuff= shlibsuff= libmagic=32-bit;;
19099 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19100 libsuff=32 shlibsuff=N32 libmagic=N32;;
19101 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19102 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19103 *) libsuff= shlibsuff= libmagic=never-match;;
19107 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19108 shlibpath_overrides_runpath=no
19109 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19110 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19111 hardcode_into_libs=yes
19114 # No shared lib support for Linux oldld, aout, or coff.
19115 linux*oldld* | linux*aout* | linux*coff*)
19119 # This must be Linux ELF.
19124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19125 soname_spec='${libname}${release}${shared_ext}$major'
19126 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19127 shlibpath_var=LD_LIBRARY_PATH
19128 shlibpath_overrides_runpath=no
19129 # This implies no fast_install, which is unacceptable.
19130 # Some rework will be needed to allow for fast_install
19131 # before this can be enabled.
19132 hardcode_into_libs=yes
19134 # find out which ABI we are using
19136 case "$host_cpu" in
19137 x86_64*|s390x*|powerpc64*)
19138 echo '#line 19138 "configure"' > conftest.$ac_ext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19140 (eval $ac_compile) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; then
19144 case `/usr/bin/file conftest.$ac_objext` in
19147 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19155 # Append ld.so.conf contents to the search path
19156 if test -f /etc/ld.so.conf; then
19157 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
19158 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19161 # We used to test for /lib/ld.so.1 and disable shared libraries on
19162 # powerpc, because MkLinux only supported shared libraries with the
19163 # GNU dynamic linker. Since this was broken with cross compilers,
19164 # most powerpc-linux boxes support dynamic linking these days and
19165 # people can always --disable-shared, the test was removed, and we
19166 # assume the GNU/Linux dynamic linker is in use.
19167 dynamic_linker='GNU/Linux ld.so'
19174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19175 soname_spec='${libname}${release}${shared_ext}$major'
19176 shlibpath_var=LD_LIBRARY_PATH
19177 shlibpath_overrides_runpath=no
19178 hardcode_into_libs=yes
19179 dynamic_linker='GNU ld.so'
19186 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19189 dynamic_linker='NetBSD (a.out) ld.so'
19191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19192 soname_spec='${libname}${release}${shared_ext}$major'
19193 dynamic_linker='NetBSD ld.elf_so'
19195 shlibpath_var=LD_LIBRARY_PATH
19196 shlibpath_overrides_runpath=yes
19197 hardcode_into_libs=yes
19202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19203 shlibpath_var=LD_LIBRARY_PATH
19204 shlibpath_overrides_runpath=yes
19211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19212 soname_spec='${libname}${release}${shared_ext}$major'
19213 shlibpath_var=LD_LIBRARY_PATH
19214 shlibpath_overrides_runpath=yes
19221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19222 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19223 shlibpath_var=LD_LIBRARY_PATH
19224 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19226 openbsd2.[89] | openbsd2.[89].*)
19227 shlibpath_overrides_runpath=no
19230 shlibpath_overrides_runpath=yes
19234 shlibpath_overrides_runpath=yes
19239 libname_spec='$name'
19242 library_names_spec='$libname${shared_ext} $libname.a'
19243 dynamic_linker='OS/2 ld.exe'
19244 shlibpath_var=LIBPATH
19247 osf3* | osf4* | osf5*)
19251 soname_spec='${libname}${release}${shared_ext}$major'
19252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19253 shlibpath_var=LD_LIBRARY_PATH
19254 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19255 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19260 soname_spec='${libname}${release}${shared_ext}$major'
19261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19262 shlibpath_var=LD_LIBRARY_PATH
19269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19270 soname_spec='${libname}${release}${shared_ext}$major'
19271 shlibpath_var=LD_LIBRARY_PATH
19272 shlibpath_overrides_runpath=yes
19273 hardcode_into_libs=yes
19274 # ldd complains unless libraries are executable
19275 postinstall_cmds='chmod +x $lib'
19280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19281 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19282 shlibpath_var=LD_LIBRARY_PATH
19283 shlibpath_overrides_runpath=yes
19284 if test "$with_gnu_ld" = yes; then
19290 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19293 soname_spec='${libname}${release}${shared_ext}$major'
19294 shlibpath_var=LD_LIBRARY_PATH
19295 case $host_vendor in
19297 shlibpath_overrides_runpath=no
19299 export_dynamic_flag_spec='${wl}-Blargedynsym'
19300 runpath_var=LD_RUN_PATH
19308 shlibpath_overrides_runpath=no
19309 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19315 if test -d /usr/nec ;then
19317 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19318 soname_spec='$libname${shared_ext}.$major'
19319 shlibpath_var=LD_LIBRARY_PATH
19325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19326 soname_spec='${libname}${release}${shared_ext}$major'
19327 shlibpath_var=LD_LIBRARY_PATH
19334 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19335 echo "${ECHO_T}$dynamic_linker" >&6
19336 test "$dynamic_linker" = no && can_build_shared=no
19338 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19339 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19340 hardcode_action_GCJ=
19341 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19342 test -n "$runpath_var GCJ" || \
19343 test "X$hardcode_automatic_GCJ"="Xyes" ; then
19345 # We can hardcode non-existant directories.
19346 if test "$hardcode_direct_GCJ" != no &&
19347 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19348 # have to relink, otherwise we might link with an installed library
19349 # when we should be linking with a yet-to-be-installed one
19350 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19351 test "$hardcode_minus_L_GCJ" != no; then
19352 # Linking always hardcodes the temporary library directory.
19353 hardcode_action_GCJ=relink
19355 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19356 hardcode_action_GCJ=immediate
19359 # We cannot hardcode anything, or else we can only hardcode existing
19361 hardcode_action_GCJ=unsupported
19363 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19364 echo "${ECHO_T}$hardcode_action_GCJ" >&6
19366 if test "$hardcode_action_GCJ" = relink; then
19367 # Fast installation is not supported
19368 enable_fast_install=no
19369 elif test "$shlibpath_overrides_runpath" = yes ||
19370 test "$enable_shared" = no; then
19371 # Fast installation is not necessary
19372 enable_fast_install=needless
19377 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19378 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19379 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19380 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19381 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19382 echo "$as_me:$LINENO: result: yes" >&5
19383 echo "${ECHO_T}yes" >&6
19385 # FIXME - insert some real tests, host_os isn't really good enough
19388 if test -n "$STRIP" ; then
19389 striplib="$STRIP -x"
19390 echo "$as_me:$LINENO: result: yes" >&5
19391 echo "${ECHO_T}yes" >&6
19393 echo "$as_me:$LINENO: result: no" >&5
19394 echo "${ECHO_T}no" >&6
19398 echo "$as_me:$LINENO: result: no" >&5
19399 echo "${ECHO_T}no" >&6
19404 if test "x$enable_dlopen" != xyes; then
19405 enable_dlopen=unknown
19406 enable_dlopen_self=unknown
19407 enable_dlopen_self_static=unknown
19414 lt_cv_dlopen="load_add_on"
19416 lt_cv_dlopen_self=yes
19420 lt_cv_dlopen="LoadLibrary"
19425 lt_cv_dlopen="dlopen"
19430 # if libdl is installed we need to link against it
19431 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19432 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19433 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19434 echo $ECHO_N "(cached) $ECHO_C" >&6
19436 ac_check_lib_save_LIBS=$LIBS
19438 cat >conftest.$ac_ext <<_ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19445 /* Override any gcc2 internal prototype to avoid an error. */
19449 /* We use char because int might match the return type of a gcc2
19450 builtin and then its argument prototype would still apply. */
19460 rm -f conftest.$ac_objext conftest$ac_exeext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19462 (eval $ac_link) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1 >conftest.err
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest$ac_exeext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_lib_dl_dlopen=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 ac_cv_lib_dl_dlopen=no
19489 rm -f conftest.err conftest.$ac_objext \
19490 conftest$ac_exeext conftest.$ac_ext
19491 LIBS=$ac_check_lib_save_LIBS
19493 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19494 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19495 if test $ac_cv_lib_dl_dlopen = yes; then
19496 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19499 lt_cv_dlopen="dyld"
19501 lt_cv_dlopen_self=yes
19508 echo "$as_me:$LINENO: checking for shl_load" >&5
19509 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19510 if test "${ac_cv_func_shl_load+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 cat >conftest.$ac_ext <<_ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19521 #define shl_load innocuous_shl_load
19523 /* System header to define __stub macros and hopefully few prototypes,
19524 which can conflict with char shl_load (); below.
19525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19526 <limits.h> exists even on freestanding compilers. */
19529 # include <limits.h>
19531 # include <assert.h>
19536 /* Override any gcc2 internal prototype to avoid an error. */
19541 /* We use char because int might match the return type of a gcc2
19542 builtin and then its argument prototype would still apply. */
19544 /* The GNU C library defines this for functions which it implements
19545 to always fail with ENOSYS. Some functions are actually named
19546 something starting with __ and the normal name is an alias. */
19547 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19550 char (*f) () = shl_load;
19559 return f != shl_load;
19564 rm -f conftest.$ac_objext conftest$ac_exeext
19565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19566 (eval $ac_link) 2>conftest.er1
19568 grep -v '^ *+' conftest.er1 >conftest.err
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } &&
19573 { ac_try='test -z "$ac_c_werror_flag"
19574 || test ! -s conftest.err'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; } &&
19580 { ac_try='test -s conftest$ac_exeext'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 ac_cv_func_shl_load=yes
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19591 ac_cv_func_shl_load=no
19593 rm -f conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19597 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19598 if test $ac_cv_func_shl_load = yes; then
19599 lt_cv_dlopen="shl_load"
19601 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19602 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19603 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19606 ac_check_lib_save_LIBS=$LIBS
19608 cat >conftest.$ac_ext <<_ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19615 /* Override any gcc2 internal prototype to avoid an error. */
19619 /* We use char because int might match the return type of a gcc2
19620 builtin and then its argument prototype would still apply. */
19630 rm -f conftest.$ac_objext conftest$ac_exeext
19631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19632 (eval $ac_link) 2>conftest.er1
19634 grep -v '^ *+' conftest.er1 >conftest.err
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try='test -z "$ac_c_werror_flag"
19640 || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try='test -s conftest$ac_exeext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 ac_cv_lib_dld_shl_load=yes
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19657 ac_cv_lib_dld_shl_load=no
19659 rm -f conftest.err conftest.$ac_objext \
19660 conftest$ac_exeext conftest.$ac_ext
19661 LIBS=$ac_check_lib_save_LIBS
19663 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19664 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19665 if test $ac_cv_lib_dld_shl_load = yes; then
19666 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19668 echo "$as_me:$LINENO: checking for dlopen" >&5
19669 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19670 if test "${ac_cv_func_dlopen+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 cat >conftest.$ac_ext <<_ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19681 #define dlopen innocuous_dlopen
19683 /* System header to define __stub macros and hopefully few prototypes,
19684 which can conflict with char dlopen (); below.
19685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19686 <limits.h> exists even on freestanding compilers. */
19689 # include <limits.h>
19691 # include <assert.h>
19696 /* Override any gcc2 internal prototype to avoid an error. */
19701 /* We use char because int might match the return type of a gcc2
19702 builtin and then its argument prototype would still apply. */
19704 /* The GNU C library defines this for functions which it implements
19705 to always fail with ENOSYS. Some functions are actually named
19706 something starting with __ and the normal name is an alias. */
19707 #if defined (__stub_dlopen) || defined (__stub___dlopen)
19710 char (*f) () = dlopen;
19719 return f != dlopen;
19724 rm -f conftest.$ac_objext conftest$ac_exeext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19726 (eval $ac_link) 2>conftest.er1
19728 grep -v '^ *+' conftest.er1 >conftest.err
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try='test -z "$ac_c_werror_flag"
19734 || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try='test -s conftest$ac_exeext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_cv_func_dlopen=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_cv_func_dlopen=no
19753 rm -f conftest.err conftest.$ac_objext \
19754 conftest$ac_exeext conftest.$ac_ext
19756 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19757 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19758 if test $ac_cv_func_dlopen = yes; then
19759 lt_cv_dlopen="dlopen"
19761 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19762 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19763 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 ac_check_lib_save_LIBS=$LIBS
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19775 /* Override any gcc2 internal prototype to avoid an error. */
19779 /* We use char because int might match the return type of a gcc2
19780 builtin and then its argument prototype would still apply. */
19790 rm -f conftest.$ac_objext conftest$ac_exeext
19791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19792 (eval $ac_link) 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } &&
19799 { ac_try='test -z "$ac_c_werror_flag"
19800 || test ! -s conftest.err'
19801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19802 (eval $ac_try) 2>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); }; } &&
19806 { ac_try='test -s conftest$ac_exeext'
19807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19808 (eval $ac_try) 2>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); }; }; then
19812 ac_cv_lib_dl_dlopen=yes
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19817 ac_cv_lib_dl_dlopen=no
19819 rm -f conftest.err conftest.$ac_objext \
19820 conftest$ac_exeext conftest.$ac_ext
19821 LIBS=$ac_check_lib_save_LIBS
19823 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19824 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19825 if test $ac_cv_lib_dl_dlopen = yes; then
19826 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19828 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19829 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19830 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 ac_check_lib_save_LIBS=$LIBS
19834 LIBS="-lsvld $LIBS"
19835 cat >conftest.$ac_ext <<_ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19842 /* Override any gcc2 internal prototype to avoid an error. */
19846 /* We use char because int might match the return type of a gcc2
19847 builtin and then its argument prototype would still apply. */
19857 rm -f conftest.$ac_objext conftest$ac_exeext
19858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19859 (eval $ac_link) 2>conftest.er1
19861 grep -v '^ *+' conftest.er1 >conftest.err
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } &&
19866 { ac_try='test -z "$ac_c_werror_flag"
19867 || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try='test -s conftest$ac_exeext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_cv_lib_svld_dlopen=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 ac_cv_lib_svld_dlopen=no
19886 rm -f conftest.err conftest.$ac_objext \
19887 conftest$ac_exeext conftest.$ac_ext
19888 LIBS=$ac_check_lib_save_LIBS
19890 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19891 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19892 if test $ac_cv_lib_svld_dlopen = yes; then
19893 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
19895 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19896 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19897 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 ac_check_lib_save_LIBS=$LIBS
19902 cat >conftest.$ac_ext <<_ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19909 /* Override any gcc2 internal prototype to avoid an error. */
19913 /* We use char because int might match the return type of a gcc2
19914 builtin and then its argument prototype would still apply. */
19924 rm -f conftest.$ac_objext conftest$ac_exeext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19926 (eval $ac_link) 2>conftest.er1
19928 grep -v '^ *+' conftest.er1 >conftest.err
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_c_werror_flag"
19934 || test ! -s conftest.err'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; } &&
19940 { ac_try='test -s conftest$ac_exeext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_cv_lib_dld_dld_link=yes
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19951 ac_cv_lib_dld_dld_link=no
19953 rm -f conftest.err conftest.$ac_objext \
19954 conftest$ac_exeext conftest.$ac_ext
19955 LIBS=$ac_check_lib_save_LIBS
19957 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19958 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19959 if test $ac_cv_lib_dld_dld_link = yes; then
19960 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19981 if test "x$lt_cv_dlopen" != xno; then
19987 case $lt_cv_dlopen in
19989 save_CPPFLAGS="$CPPFLAGS"
19990 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19992 save_LDFLAGS="$LDFLAGS"
19993 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19996 LIBS="$lt_cv_dlopen_libs $LIBS"
19998 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19999 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20000 if test "${lt_cv_dlopen_self+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 if test "$cross_compiling" = yes; then :
20004 lt_cv_dlopen_self=cross
20006 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20007 lt_status=$lt_dlunknown
20008 cat > conftest.$ac_ext <<EOF
20009 #line 20009 "configure"
20010 #include "confdefs.h"
20019 # define LT_DLGLOBAL RTLD_GLOBAL
20022 # define LT_DLGLOBAL DL_GLOBAL
20024 # define LT_DLGLOBAL 0
20028 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20029 find out it does not work in some platform. */
20030 #ifndef LT_DLLAZY_OR_NOW
20032 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20035 # define LT_DLLAZY_OR_NOW DL_LAZY
20038 # define LT_DLLAZY_OR_NOW RTLD_NOW
20041 # define LT_DLLAZY_OR_NOW DL_NOW
20043 # define LT_DLLAZY_OR_NOW 0
20051 extern "C" void exit (int);
20054 void fnord() { int i=42;}
20057 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20058 int status = $lt_dlunknown;
20062 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20063 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20064 /* dlclose (self); */
20070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20071 (eval $ac_link) 2>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20075 (./conftest; exit; ) 2>/dev/null
20077 case x$lt_status in
20078 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20079 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20080 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20083 # compilation failed
20084 lt_cv_dlopen_self=no
20091 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20092 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20094 if test "x$lt_cv_dlopen_self" = xyes; then
20095 LDFLAGS="$LDFLAGS $link_static_flag"
20096 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20097 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20098 if test "${lt_cv_dlopen_self_static+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 if test "$cross_compiling" = yes; then :
20102 lt_cv_dlopen_self_static=cross
20104 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20105 lt_status=$lt_dlunknown
20106 cat > conftest.$ac_ext <<EOF
20107 #line 20107 "configure"
20108 #include "confdefs.h"
20117 # define LT_DLGLOBAL RTLD_GLOBAL
20120 # define LT_DLGLOBAL DL_GLOBAL
20122 # define LT_DLGLOBAL 0
20126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20127 find out it does not work in some platform. */
20128 #ifndef LT_DLLAZY_OR_NOW
20130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20133 # define LT_DLLAZY_OR_NOW DL_LAZY
20136 # define LT_DLLAZY_OR_NOW RTLD_NOW
20139 # define LT_DLLAZY_OR_NOW DL_NOW
20141 # define LT_DLLAZY_OR_NOW 0
20149 extern "C" void exit (int);
20152 void fnord() { int i=42;}
20155 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20156 int status = $lt_dlunknown;
20160 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20161 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20162 /* dlclose (self); */
20168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169 (eval $ac_link) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20173 (./conftest; exit; ) 2>/dev/null
20175 case x$lt_status in
20176 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20177 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20178 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20181 # compilation failed
20182 lt_cv_dlopen_self_static=no
20189 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20190 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20193 CPPFLAGS="$save_CPPFLAGS"
20194 LDFLAGS="$save_LDFLAGS"
20199 case $lt_cv_dlopen_self in
20200 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20201 *) enable_dlopen_self=unknown ;;
20204 case $lt_cv_dlopen_self_static in
20205 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20206 *) enable_dlopen_self_static=unknown ;;
20211 # The else clause should only fire when bootstrapping the
20212 # libtool distribution, otherwise you forgot to ship ltmain.sh
20213 # with your package, and you will get complaints that there are
20214 # no rules to generate ltmain.sh.
20215 if test -f "$ltmain"; then
20216 # See if we are running on zsh, and set the options which allow our commands through
20217 # without removal of \ escapes.
20218 if test -n "${ZSH_VERSION+set}" ; then
20219 setopt NO_GLOB_SUBST
20221 # Now quote all the things that may contain metacharacters while being
20222 # careful not to overquote the AC_SUBSTed values. We take copies of the
20223 # variables and quote the copies for generation of the libtool script.
20224 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20226 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20227 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20228 deplibs_check_method reload_flag reload_cmds need_locks \
20229 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20230 lt_cv_sys_global_symbol_to_c_name_address \
20231 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20232 old_postinstall_cmds old_postuninstall_cmds \
20236 lt_prog_compiler_wl_GCJ \
20237 lt_prog_compiler_pic_GCJ \
20238 lt_prog_compiler_static_GCJ \
20239 lt_prog_compiler_no_builtin_flag_GCJ \
20240 export_dynamic_flag_spec_GCJ \
20241 thread_safe_flag_spec_GCJ \
20242 whole_archive_flag_spec_GCJ \
20243 enable_shared_with_static_runtimes_GCJ \
20244 old_archive_cmds_GCJ \
20245 old_archive_from_new_cmds_GCJ \
20246 predep_objects_GCJ \
20247 postdep_objects_GCJ \
20250 compiler_lib_search_path_GCJ \
20252 archive_expsym_cmds_GCJ \
20253 postinstall_cmds_GCJ \
20254 postuninstall_cmds_GCJ \
20255 old_archive_from_expsyms_cmds_GCJ \
20256 allow_undefined_flag_GCJ \
20257 no_undefined_flag_GCJ \
20258 export_symbols_cmds_GCJ \
20259 hardcode_libdir_flag_spec_GCJ \
20260 hardcode_libdir_flag_spec_ld_GCJ \
20261 hardcode_libdir_separator_GCJ \
20262 hardcode_automatic_GCJ \
20264 module_expsym_cmds_GCJ \
20265 lt_cv_prog_compiler_c_o_GCJ \
20266 exclude_expsyms_GCJ \
20267 include_expsyms_GCJ; do
20270 old_archive_cmds_GCJ | \
20271 old_archive_from_new_cmds_GCJ | \
20272 archive_cmds_GCJ | \
20273 archive_expsym_cmds_GCJ | \
20274 module_cmds_GCJ | \
20275 module_expsym_cmds_GCJ | \
20276 old_archive_from_expsyms_cmds_GCJ | \
20277 export_symbols_cmds_GCJ | \
20278 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20279 postinstall_cmds | postuninstall_cmds | \
20280 old_postinstall_cmds | old_postuninstall_cmds | \
20281 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20282 # Double-quote double-evaled strings.
20283 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20286 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20292 *'\$0 --fallback-echo"')
20293 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20299 cat <<__EOF__ >> "$cfgfile"
20300 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20302 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20304 # Shell to use when invoking shell scripts.
20307 # Whether or not to build shared libraries.
20308 build_libtool_libs=$enable_shared
20310 # Whether or not to build static libraries.
20311 build_old_libs=$enable_static
20313 # Whether or not to add -lc for building shared libraries.
20314 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20316 # Whether or not to disallow shared libs when runtime libs are static
20317 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20319 # Whether or not to optimize for fast installation.
20320 fast_install=$enable_fast_install
20323 host_alias=$host_alias
20326 # An echo program that does not interpret backslashes.
20331 AR_FLAGS=$lt_AR_FLAGS
20336 # A language-specific compiler.
20337 CC=$lt_compiler_GCJ
20339 # Is the compiler the GNU C compiler?
20345 # The linker used to build libraries.
20348 # Whether we need hard or soft links.
20351 # A BSD-compatible nm program.
20354 # A symbol stripping program
20357 # Used to examine libraries when file_magic_cmd begins "file"
20358 MAGIC_CMD=$MAGIC_CMD
20360 # Used on cygwin: DLL creation program.
20363 # Used on cygwin: object dumper.
20366 # Used on cygwin: assembler.
20369 # The name of the directory that contains temporary libtool files.
20372 # How to create reloadable object files.
20373 reload_flag=$lt_reload_flag
20374 reload_cmds=$lt_reload_cmds
20376 # How to pass a linker flag through the compiler.
20377 wl=$lt_lt_prog_compiler_wl_GCJ
20379 # Object file suffix (normally "o").
20380 objext="$ac_objext"
20382 # Old archive suffix (normally "a").
20385 # Shared library suffix (normally ".so").
20386 shrext_cmds='$shrext_cmds'
20388 # Executable file suffix (normally "").
20391 # Additional compiler flags for building library objects.
20392 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20395 # What is the maximum length of a command?
20396 max_cmd_len=$lt_cv_sys_max_cmd_len
20398 # Does compiler simultaneously support -c and -o options?
20399 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20401 # Must we lock files when doing compilation ?
20402 need_locks=$lt_need_locks
20404 # Do we need the lib prefix for modules?
20405 need_lib_prefix=$need_lib_prefix
20407 # Do we need a version for libraries?
20408 need_version=$need_version
20410 # Whether dlopen is supported.
20411 dlopen_support=$enable_dlopen
20413 # Whether dlopen of programs is supported.
20414 dlopen_self=$enable_dlopen_self
20416 # Whether dlopen of statically linked programs is supported.
20417 dlopen_self_static=$enable_dlopen_self_static
20419 # Compiler flag to prevent dynamic linking.
20420 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20422 # Compiler flag to turn off builtin functions.
20423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20425 # Compiler flag to allow reflexive dlopens.
20426 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20428 # Compiler flag to generate shared objects directly from archives.
20429 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20431 # Compiler flag to generate thread-safe objects.
20432 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20434 # Library versioning type.
20435 version_type=$version_type
20437 # Format of library name prefix.
20438 libname_spec=$lt_libname_spec
20440 # List of archive names. First name is the real one, the rest are links.
20441 # The last name is the one that the linker finds with -lNAME.
20442 library_names_spec=$lt_library_names_spec
20444 # The coded name of the library, if different from the real name.
20445 soname_spec=$lt_soname_spec
20447 # Commands used to build and install an old-style archive.
20449 old_archive_cmds=$lt_old_archive_cmds_GCJ
20450 old_postinstall_cmds=$lt_old_postinstall_cmds
20451 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20453 # Create an old-style archive from a shared archive.
20454 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20456 # Create a temporary old-style archive to link instead of a shared archive.
20457 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20459 # Commands used to build and install a shared archive.
20460 archive_cmds=$lt_archive_cmds_GCJ
20461 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20462 postinstall_cmds=$lt_postinstall_cmds
20463 postuninstall_cmds=$lt_postuninstall_cmds
20465 # Commands used to build a loadable module (assumed same as above if empty)
20466 module_cmds=$lt_module_cmds_GCJ
20467 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20469 # Commands to strip libraries.
20470 old_striplib=$lt_old_striplib
20471 striplib=$lt_striplib
20473 # Dependencies to place before the objects being linked to create a
20475 predep_objects=$lt_predep_objects_GCJ
20477 # Dependencies to place after the objects being linked to create a
20479 postdep_objects=$lt_postdep_objects_GCJ
20481 # Dependencies to place before the objects being linked to create a
20483 predeps=$lt_predeps_GCJ
20485 # Dependencies to place after the objects being linked to create a
20487 postdeps=$lt_postdeps_GCJ
20489 # The library search path used internally by the compiler when linking
20490 # a shared library.
20491 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20493 # Method to check whether dependent libraries are shared objects.
20494 deplibs_check_method=$lt_deplibs_check_method
20496 # Command to use when deplibs_check_method == file_magic.
20497 file_magic_cmd=$lt_file_magic_cmd
20499 # Flag that allows shared libraries with undefined symbols to be built.
20500 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20502 # Flag that forces no undefined symbols.
20503 no_undefined_flag=$lt_no_undefined_flag_GCJ
20505 # Commands used to finish a libtool library installation in a directory.
20506 finish_cmds=$lt_finish_cmds
20508 # Same as above, but a single script fragment to be evaled but not shown.
20509 finish_eval=$lt_finish_eval
20511 # Take the output of nm and produce a listing of raw symbols and C names.
20512 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20514 # Transform the output of nm in a proper C declaration
20515 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20517 # Transform the output of nm in a C name address pair
20518 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20520 # This is the shared library runtime path variable.
20521 runpath_var=$runpath_var
20523 # This is the shared library path variable.
20524 shlibpath_var=$shlibpath_var
20526 # Is shlibpath searched before the hard-coded library search path?
20527 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20529 # How to hardcode a shared library path into an executable.
20530 hardcode_action=$hardcode_action_GCJ
20532 # Whether we should hardcode library paths into libraries.
20533 hardcode_into_libs=$hardcode_into_libs
20535 # Flag to hardcode \$libdir into a binary during linking.
20536 # This must work even if \$libdir does not exist.
20537 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20539 # If ld is used when linking, flag to hardcode \$libdir into
20540 # a binary during linking. This must work even if \$libdir does
20542 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20544 # Whether we need a single -rpath flag with a separated argument.
20545 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20547 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20548 # resulting binary.
20549 hardcode_direct=$hardcode_direct_GCJ
20551 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20552 # resulting binary.
20553 hardcode_minus_L=$hardcode_minus_L_GCJ
20555 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20556 # the resulting binary.
20557 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20559 # Set to yes if building a shared library automatically hardcodes DIR into the library
20560 # and all subsequent libraries and executables linked against it.
20561 hardcode_automatic=$hardcode_automatic_GCJ
20563 # Variables whose values should be saved in libtool wrapper scripts and
20564 # restored at relink time.
20565 variables_saved_for_relink="$variables_saved_for_relink"
20567 # Whether libtool must link a program against all its dependency libraries.
20568 link_all_deplibs=$link_all_deplibs_GCJ
20570 # Compile-time system search path for libraries
20571 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20573 # Run-time system search path for libraries
20574 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20576 # Fix the shell variable \$srcfile for the compiler.
20577 fix_srcfile_path="$fix_srcfile_path_GCJ"
20579 # Set to yes if exported symbols are required.
20580 always_export_symbols=$always_export_symbols_GCJ
20582 # The commands to list exported symbols.
20583 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20585 # The commands to extract the exported symbol list from a shared archive.
20586 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20588 # Symbols that should not be listed in the preloaded symbols.
20589 exclude_expsyms=$lt_exclude_expsyms_GCJ
20591 # Symbols that must always be exported.
20592 include_expsyms=$lt_include_expsyms_GCJ
20594 # ### END LIBTOOL TAG CONFIG: $tagname
20600 # If there is no Makefile yet, we rely on a make rule to execute
20601 # `config.status --recheck' to rerun these tests and create the
20602 # libtool script then.
20603 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20604 if test -f "$ltmain_in"; then
20605 test -f Makefile && make "$ltmain"
20611 ac_cpp='$CPP $CPPFLAGS'
20612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20627 # Source file extension for RC test sources.
20630 # Object file extension for compiled RC test sources.
20634 # Code to be used in simple compile tests
20635 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20637 # Code to be used in simple link tests
20638 lt_simple_link_test_code="$lt_simple_compile_test_code"
20640 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20642 # If no C compiler was specified, use CC.
20645 # Allow CC to be a program name with arguments.
20649 # Allow CC to be a program name with arguments.
20654 lt_cv_prog_compiler_c_o_RC=yes
20656 # The else clause should only fire when bootstrapping the
20657 # libtool distribution, otherwise you forgot to ship ltmain.sh
20658 # with your package, and you will get complaints that there are
20659 # no rules to generate ltmain.sh.
20660 if test -f "$ltmain"; then
20661 # See if we are running on zsh, and set the options which allow our commands through
20662 # without removal of \ escapes.
20663 if test -n "${ZSH_VERSION+set}" ; then
20664 setopt NO_GLOB_SUBST
20666 # Now quote all the things that may contain metacharacters while being
20667 # careful not to overquote the AC_SUBSTed values. We take copies of the
20668 # variables and quote the copies for generation of the libtool script.
20669 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20671 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20672 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20673 deplibs_check_method reload_flag reload_cmds need_locks \
20674 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20675 lt_cv_sys_global_symbol_to_c_name_address \
20676 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20677 old_postinstall_cmds old_postuninstall_cmds \
20681 lt_prog_compiler_wl_RC \
20682 lt_prog_compiler_pic_RC \
20683 lt_prog_compiler_static_RC \
20684 lt_prog_compiler_no_builtin_flag_RC \
20685 export_dynamic_flag_spec_RC \
20686 thread_safe_flag_spec_RC \
20687 whole_archive_flag_spec_RC \
20688 enable_shared_with_static_runtimes_RC \
20689 old_archive_cmds_RC \
20690 old_archive_from_new_cmds_RC \
20691 predep_objects_RC \
20692 postdep_objects_RC \
20695 compiler_lib_search_path_RC \
20697 archive_expsym_cmds_RC \
20698 postinstall_cmds_RC \
20699 postuninstall_cmds_RC \
20700 old_archive_from_expsyms_cmds_RC \
20701 allow_undefined_flag_RC \
20702 no_undefined_flag_RC \
20703 export_symbols_cmds_RC \
20704 hardcode_libdir_flag_spec_RC \
20705 hardcode_libdir_flag_spec_ld_RC \
20706 hardcode_libdir_separator_RC \
20707 hardcode_automatic_RC \
20709 module_expsym_cmds_RC \
20710 lt_cv_prog_compiler_c_o_RC \
20711 exclude_expsyms_RC \
20712 include_expsyms_RC; do
20715 old_archive_cmds_RC | \
20716 old_archive_from_new_cmds_RC | \
20717 archive_cmds_RC | \
20718 archive_expsym_cmds_RC | \
20720 module_expsym_cmds_RC | \
20721 old_archive_from_expsyms_cmds_RC | \
20722 export_symbols_cmds_RC | \
20723 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20724 postinstall_cmds | postuninstall_cmds | \
20725 old_postinstall_cmds | old_postuninstall_cmds | \
20726 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20727 # Double-quote double-evaled strings.
20728 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20731 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20737 *'\$0 --fallback-echo"')
20738 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20744 cat <<__EOF__ >> "$cfgfile"
20745 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20749 # Shell to use when invoking shell scripts.
20752 # Whether or not to build shared libraries.
20753 build_libtool_libs=$enable_shared
20755 # Whether or not to build static libraries.
20756 build_old_libs=$enable_static
20758 # Whether or not to add -lc for building shared libraries.
20759 build_libtool_need_lc=$archive_cmds_need_lc_RC
20761 # Whether or not to disallow shared libs when runtime libs are static
20762 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20764 # Whether or not to optimize for fast installation.
20765 fast_install=$enable_fast_install
20768 host_alias=$host_alias
20771 # An echo program that does not interpret backslashes.
20776 AR_FLAGS=$lt_AR_FLAGS
20781 # A language-specific compiler.
20784 # Is the compiler the GNU C compiler?
20790 # The linker used to build libraries.
20793 # Whether we need hard or soft links.
20796 # A BSD-compatible nm program.
20799 # A symbol stripping program
20802 # Used to examine libraries when file_magic_cmd begins "file"
20803 MAGIC_CMD=$MAGIC_CMD
20805 # Used on cygwin: DLL creation program.
20808 # Used on cygwin: object dumper.
20811 # Used on cygwin: assembler.
20814 # The name of the directory that contains temporary libtool files.
20817 # How to create reloadable object files.
20818 reload_flag=$lt_reload_flag
20819 reload_cmds=$lt_reload_cmds
20821 # How to pass a linker flag through the compiler.
20822 wl=$lt_lt_prog_compiler_wl_RC
20824 # Object file suffix (normally "o").
20825 objext="$ac_objext"
20827 # Old archive suffix (normally "a").
20830 # Shared library suffix (normally ".so").
20831 shrext_cmds='$shrext_cmds'
20833 # Executable file suffix (normally "").
20836 # Additional compiler flags for building library objects.
20837 pic_flag=$lt_lt_prog_compiler_pic_RC
20840 # What is the maximum length of a command?
20841 max_cmd_len=$lt_cv_sys_max_cmd_len
20843 # Does compiler simultaneously support -c and -o options?
20844 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20846 # Must we lock files when doing compilation ?
20847 need_locks=$lt_need_locks
20849 # Do we need the lib prefix for modules?
20850 need_lib_prefix=$need_lib_prefix
20852 # Do we need a version for libraries?
20853 need_version=$need_version
20855 # Whether dlopen is supported.
20856 dlopen_support=$enable_dlopen
20858 # Whether dlopen of programs is supported.
20859 dlopen_self=$enable_dlopen_self
20861 # Whether dlopen of statically linked programs is supported.
20862 dlopen_self_static=$enable_dlopen_self_static
20864 # Compiler flag to prevent dynamic linking.
20865 link_static_flag=$lt_lt_prog_compiler_static_RC
20867 # Compiler flag to turn off builtin functions.
20868 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20870 # Compiler flag to allow reflexive dlopens.
20871 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20873 # Compiler flag to generate shared objects directly from archives.
20874 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20876 # Compiler flag to generate thread-safe objects.
20877 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20879 # Library versioning type.
20880 version_type=$version_type
20882 # Format of library name prefix.
20883 libname_spec=$lt_libname_spec
20885 # List of archive names. First name is the real one, the rest are links.
20886 # The last name is the one that the linker finds with -lNAME.
20887 library_names_spec=$lt_library_names_spec
20889 # The coded name of the library, if different from the real name.
20890 soname_spec=$lt_soname_spec
20892 # Commands used to build and install an old-style archive.
20894 old_archive_cmds=$lt_old_archive_cmds_RC
20895 old_postinstall_cmds=$lt_old_postinstall_cmds
20896 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20898 # Create an old-style archive from a shared archive.
20899 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20901 # Create a temporary old-style archive to link instead of a shared archive.
20902 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20904 # Commands used to build and install a shared archive.
20905 archive_cmds=$lt_archive_cmds_RC
20906 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20907 postinstall_cmds=$lt_postinstall_cmds
20908 postuninstall_cmds=$lt_postuninstall_cmds
20910 # Commands used to build a loadable module (assumed same as above if empty)
20911 module_cmds=$lt_module_cmds_RC
20912 module_expsym_cmds=$lt_module_expsym_cmds_RC
20914 # Commands to strip libraries.
20915 old_striplib=$lt_old_striplib
20916 striplib=$lt_striplib
20918 # Dependencies to place before the objects being linked to create a
20920 predep_objects=$lt_predep_objects_RC
20922 # Dependencies to place after the objects being linked to create a
20924 postdep_objects=$lt_postdep_objects_RC
20926 # Dependencies to place before the objects being linked to create a
20928 predeps=$lt_predeps_RC
20930 # Dependencies to place after the objects being linked to create a
20932 postdeps=$lt_postdeps_RC
20934 # The library search path used internally by the compiler when linking
20935 # a shared library.
20936 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20938 # Method to check whether dependent libraries are shared objects.
20939 deplibs_check_method=$lt_deplibs_check_method
20941 # Command to use when deplibs_check_method == file_magic.
20942 file_magic_cmd=$lt_file_magic_cmd
20944 # Flag that allows shared libraries with undefined symbols to be built.
20945 allow_undefined_flag=$lt_allow_undefined_flag_RC
20947 # Flag that forces no undefined symbols.
20948 no_undefined_flag=$lt_no_undefined_flag_RC
20950 # Commands used to finish a libtool library installation in a directory.
20951 finish_cmds=$lt_finish_cmds
20953 # Same as above, but a single script fragment to be evaled but not shown.
20954 finish_eval=$lt_finish_eval
20956 # Take the output of nm and produce a listing of raw symbols and C names.
20957 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20959 # Transform the output of nm in a proper C declaration
20960 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20962 # Transform the output of nm in a C name address pair
20963 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20965 # This is the shared library runtime path variable.
20966 runpath_var=$runpath_var
20968 # This is the shared library path variable.
20969 shlibpath_var=$shlibpath_var
20971 # Is shlibpath searched before the hard-coded library search path?
20972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20974 # How to hardcode a shared library path into an executable.
20975 hardcode_action=$hardcode_action_RC
20977 # Whether we should hardcode library paths into libraries.
20978 hardcode_into_libs=$hardcode_into_libs
20980 # Flag to hardcode \$libdir into a binary during linking.
20981 # This must work even if \$libdir does not exist.
20982 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20984 # If ld is used when linking, flag to hardcode \$libdir into
20985 # a binary during linking. This must work even if \$libdir does
20987 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20989 # Whether we need a single -rpath flag with a separated argument.
20990 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20992 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20993 # resulting binary.
20994 hardcode_direct=$hardcode_direct_RC
20996 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20997 # resulting binary.
20998 hardcode_minus_L=$hardcode_minus_L_RC
21000 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21001 # the resulting binary.
21002 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21004 # Set to yes if building a shared library automatically hardcodes DIR into the library
21005 # and all subsequent libraries and executables linked against it.
21006 hardcode_automatic=$hardcode_automatic_RC
21008 # Variables whose values should be saved in libtool wrapper scripts and
21009 # restored at relink time.
21010 variables_saved_for_relink="$variables_saved_for_relink"
21012 # Whether libtool must link a program against all its dependency libraries.
21013 link_all_deplibs=$link_all_deplibs_RC
21015 # Compile-time system search path for libraries
21016 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21018 # Run-time system search path for libraries
21019 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21021 # Fix the shell variable \$srcfile for the compiler.
21022 fix_srcfile_path="$fix_srcfile_path_RC"
21024 # Set to yes if exported symbols are required.
21025 always_export_symbols=$always_export_symbols_RC
21027 # The commands to list exported symbols.
21028 export_symbols_cmds=$lt_export_symbols_cmds_RC
21030 # The commands to extract the exported symbol list from a shared archive.
21031 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21033 # Symbols that should not be listed in the preloaded symbols.
21034 exclude_expsyms=$lt_exclude_expsyms_RC
21036 # Symbols that must always be exported.
21037 include_expsyms=$lt_include_expsyms_RC
21039 # ### END LIBTOOL TAG CONFIG: $tagname
21045 # If there is no Makefile yet, we rely on a make rule to execute
21046 # `config.status --recheck' to rerun these tests and create the
21047 # libtool script then.
21048 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21049 if test -f "$ltmain_in"; then
21050 test -f Makefile && make "$ltmain"
21056 ac_cpp='$CPP $CPPFLAGS'
21057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21066 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21067 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21068 { (exit 1); exit 1; }; }
21072 # Append the new tag name to the list of available tags.
21073 if test -n "$tagname" ; then
21074 available_tags="$available_tags $tagname"
21080 # Now substitute the updated list of available tags.
21081 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21082 mv "${ofile}T" "$ofile"
21086 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21087 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21088 { (exit 1); exit 1; }; }
21094 # This can be used to rebuild libtool when needed
21095 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21097 # Always use our own libtool.
21098 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21100 # Prevent multiple expansion
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21129 # Checks for typedefs, structures, and compiler characteristics.
21130 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21131 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
21132 if test "${ac_cv_c_const+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 cat >conftest.$ac_ext <<_ACEOF
21138 cat confdefs.h >>conftest.$ac_ext
21139 cat >>conftest.$ac_ext <<_ACEOF
21140 /* end confdefs.h. */
21145 /* FIXME: Include the comments suggested by Paul. */
21146 #ifndef __cplusplus
21147 /* Ultrix mips cc rejects this. */
21148 typedef int charset[2];
21150 /* SunOS 4.1.1 cc rejects this. */
21151 char const *const *ccp;
21153 /* NEC SVR4.0.2 mips cc rejects this. */
21154 struct point {int x, y;};
21155 static struct point const zero = {0,0};
21156 /* AIX XL C 1.02.0.0 rejects this.
21157 It does not let you subtract one const X* pointer from another in
21158 an arm of an if-expression whose if-part is not a constant
21160 const char *g = "string";
21161 ccp = &g + (g ? g-g : 0);
21162 /* HPUX 7.0 cc rejects these. */
21165 ccp = (char const *const *) p;
21166 { /* SCO 3.2v4 cc rejects this. */
21168 char const *s = 0 ? (char *) 0 : (char const *) 0;
21172 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21173 int x[] = {25, 17};
21174 const int *foo = &x[0];
21177 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21178 typedef const int *iptr;
21182 { /* AIX XL C 1.02.0.0 rejects this saying
21183 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21184 struct s { int j; const int *ap[3]; };
21185 struct s *b; b->j = 5;
21187 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21188 const int foo = 10;
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>conftest.er1
21200 grep -v '^ *+' conftest.er1 >conftest.err
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -z "$ac_c_werror_flag"
21206 || test ! -s conftest.err'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; } &&
21212 { ac_try='test -s conftest.$ac_objext'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; }; then
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21227 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21228 echo "${ECHO_T}$ac_cv_c_const" >&6
21229 if test $ac_cv_c_const = no; then
21231 cat >>confdefs.h <<\_ACEOF
21237 echo "$as_me:$LINENO: checking for size_t" >&5
21238 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21239 if test "${ac_cv_type_size_t+set}" = set; then
21240 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 cat >conftest.$ac_ext <<_ACEOF
21245 cat confdefs.h >>conftest.$ac_ext
21246 cat >>conftest.$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 $ac_includes_default
21254 if (sizeof (size_t))
21260 rm -f conftest.$ac_objext
21261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21262 (eval $ac_compile) 2>conftest.er1
21264 grep -v '^ *+' conftest.er1 >conftest.err
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -z "$ac_c_werror_flag"
21270 || test ! -s conftest.err'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; } &&
21276 { ac_try='test -s conftest.$ac_objext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_type_size_t=yes
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 ac_cv_type_size_t=no
21289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21291 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21292 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21293 if test $ac_cv_type_size_t = yes; then
21297 cat >>confdefs.h <<_ACEOF
21298 #define size_t unsigned
21303 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
21304 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
21305 if test "${ac_cv_struct_tm+set}" = set; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 cat >conftest.$ac_ext <<_ACEOF
21311 cat confdefs.h >>conftest.$ac_ext
21312 cat >>conftest.$ac_ext <<_ACEOF
21313 /* end confdefs.h. */
21314 #include <sys/types.h>
21320 struct tm *tp; tp->tm_sec;
21325 rm -f conftest.$ac_objext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21327 (eval $ac_compile) 2>conftest.er1
21329 grep -v '^ *+' conftest.er1 >conftest.err
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -z "$ac_c_werror_flag"
21335 || test ! -s conftest.err'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; } &&
21341 { ac_try='test -s conftest.$ac_objext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_cv_struct_tm=time.h
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_cv_struct_tm=sys/time.h
21354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21356 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
21357 echo "${ECHO_T}$ac_cv_struct_tm" >&6
21358 if test $ac_cv_struct_tm = sys/time.h; then
21360 cat >>confdefs.h <<\_ACEOF
21361 #define TM_IN_SYS_TIME 1
21367 # Checks for library functions.
21369 for ac_func in strftime
21371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21372 echo "$as_me:$LINENO: checking for $ac_func" >&5
21373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21374 if eval "test \"\${$as_ac_var+set}\" = set"; then
21375 echo $ECHO_N "(cached) $ECHO_C" >&6
21377 cat >conftest.$ac_ext <<_ACEOF
21380 cat confdefs.h >>conftest.$ac_ext
21381 cat >>conftest.$ac_ext <<_ACEOF
21382 /* end confdefs.h. */
21383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21385 #define $ac_func innocuous_$ac_func
21387 /* System header to define __stub macros and hopefully few prototypes,
21388 which can conflict with char $ac_func (); below.
21389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21390 <limits.h> exists even on freestanding compilers. */
21393 # include <limits.h>
21395 # include <assert.h>
21400 /* Override any gcc2 internal prototype to avoid an error. */
21405 /* We use char because int might match the return type of a gcc2
21406 builtin and then its argument prototype would still apply. */
21408 /* The GNU C library defines this for functions which it implements
21409 to always fail with ENOSYS. Some functions are actually named
21410 something starting with __ and the normal name is an alias. */
21411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21414 char (*f) () = $ac_func;
21423 return f != $ac_func;
21428 rm -f conftest.$ac_objext conftest$ac_exeext
21429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21430 (eval $ac_link) 2>conftest.er1
21432 grep -v '^ *+' conftest.er1 >conftest.err
21434 cat conftest.err >&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } &&
21437 { ac_try='test -z "$ac_c_werror_flag"
21438 || test ! -s conftest.err'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; } &&
21444 { ac_try='test -s conftest$ac_exeext'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; }; then
21450 eval "$as_ac_var=yes"
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 eval "$as_ac_var=no"
21457 rm -f conftest.err conftest.$ac_objext \
21458 conftest$ac_exeext conftest.$ac_ext
21460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21462 if test `eval echo '${'$as_ac_var'}'` = yes; then
21463 cat >>confdefs.h <<_ACEOF
21464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21468 # strftime is in -lintl on SCO UNIX.
21469 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
21470 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
21471 if test "${ac_cv_lib_intl_strftime+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 ac_check_lib_save_LIBS=$LIBS
21475 LIBS="-lintl $LIBS"
21476 cat >conftest.$ac_ext <<_ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21483 /* Override any gcc2 internal prototype to avoid an error. */
21487 /* We use char because int might match the return type of a gcc2
21488 builtin and then its argument prototype would still apply. */
21498 rm -f conftest.$ac_objext conftest$ac_exeext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21500 (eval $ac_link) 2>conftest.er1
21502 grep -v '^ *+' conftest.er1 >conftest.err
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try='test -z "$ac_c_werror_flag"
21508 || test ! -s conftest.err'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; } &&
21514 { ac_try='test -s conftest$ac_exeext'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 ac_cv_lib_intl_strftime=yes
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21525 ac_cv_lib_intl_strftime=no
21527 rm -f conftest.err conftest.$ac_objext \
21528 conftest$ac_exeext conftest.$ac_ext
21529 LIBS=$ac_check_lib_save_LIBS
21531 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
21532 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
21533 if test $ac_cv_lib_intl_strftime = yes; then
21534 cat >>confdefs.h <<\_ACEOF
21535 #define HAVE_STRFTIME 1
21538 LIBS="-lintl $LIBS"
21544 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
21545 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
21546 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 cat >conftest.$ac_ext <<_ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 $ac_includes_default
21560 char *p = (char *) strerror_r;
21567 rm -f conftest.$ac_objext
21568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21569 (eval $ac_compile) 2>conftest.er1
21571 grep -v '^ *+' conftest.er1 >conftest.err
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } &&
21576 { ac_try='test -z "$ac_c_werror_flag"
21577 || test ! -s conftest.err'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; } &&
21583 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21589 ac_cv_have_decl_strerror_r=yes
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21594 ac_cv_have_decl_strerror_r=no
21596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21598 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
21599 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
21600 if test $ac_cv_have_decl_strerror_r = yes; then
21602 cat >>confdefs.h <<_ACEOF
21603 #define HAVE_DECL_STRERROR_R 1
21608 cat >>confdefs.h <<_ACEOF
21609 #define HAVE_DECL_STRERROR_R 0
21617 for ac_func in strerror_r
21619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21620 echo "$as_me:$LINENO: checking for $ac_func" >&5
21621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21622 if eval "test \"\${$as_ac_var+set}\" = set"; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 cat >conftest.$ac_ext <<_ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21633 #define $ac_func innocuous_$ac_func
21635 /* System header to define __stub macros and hopefully few prototypes,
21636 which can conflict with char $ac_func (); below.
21637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21638 <limits.h> exists even on freestanding compilers. */
21641 # include <limits.h>
21643 # include <assert.h>
21648 /* Override any gcc2 internal prototype to avoid an error. */
21653 /* We use char because int might match the return type of a gcc2
21654 builtin and then its argument prototype would still apply. */
21656 /* The GNU C library defines this for functions which it implements
21657 to always fail with ENOSYS. Some functions are actually named
21658 something starting with __ and the normal name is an alias. */
21659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21662 char (*f) () = $ac_func;
21671 return f != $ac_func;
21676 rm -f conftest.$ac_objext conftest$ac_exeext
21677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21678 (eval $ac_link) 2>conftest.er1
21680 grep -v '^ *+' conftest.er1 >conftest.err
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } &&
21685 { ac_try='test -z "$ac_c_werror_flag"
21686 || test ! -s conftest.err'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; } &&
21692 { ac_try='test -s conftest$ac_exeext'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 eval "$as_ac_var=yes"
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21703 eval "$as_ac_var=no"
21705 rm -f conftest.err conftest.$ac_objext \
21706 conftest$ac_exeext conftest.$ac_ext
21708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21710 if test `eval echo '${'$as_ac_var'}'` = yes; then
21711 cat >>confdefs.h <<_ACEOF
21712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21718 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
21719 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
21720 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
21721 echo $ECHO_N "(cached) $ECHO_C" >&6
21724 ac_cv_func_strerror_r_char_p=no
21725 if test $ac_cv_have_decl_strerror_r = yes; then
21726 cat >conftest.$ac_ext <<_ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21738 char x = *strerror_r (0, buf, sizeof buf);
21739 char *p = strerror_r (0, buf, sizeof buf);
21745 rm -f conftest.$ac_objext
21746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21747 (eval $ac_compile) 2>conftest.er1
21749 grep -v '^ *+' conftest.er1 >conftest.err
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -z "$ac_c_werror_flag"
21755 || test ! -s conftest.err'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; } &&
21761 { ac_try='test -s conftest.$ac_objext'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21767 ac_cv_func_strerror_r_char_p=yes
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21775 # strerror_r is not declared. Choose between
21776 # systems that have relatively inaccessible declarations for the
21777 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
21778 # former has a strerror_r that returns char*, while the latter
21779 # has a strerror_r that returns `int'.
21780 # This test should segfault on the DEC system.
21781 if test "$cross_compiling" = yes; then
21784 cat >conftest.$ac_ext <<_ACEOF
21787 cat confdefs.h >>conftest.$ac_ext
21788 cat >>conftest.$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790 $ac_includes_default
21791 extern char *strerror_r ();
21796 char x = *strerror_r (0, buf, sizeof buf);
21797 exit (!isalpha (x));
21802 rm -f conftest$ac_exeext
21803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21804 (eval $ac_link) 2>&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }; }; then
21813 ac_cv_func_strerror_r_char_p=yes
21815 echo "$as_me: program exited with status $ac_status" >&5
21816 echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.$ac_ext >&5
21820 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21825 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
21826 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
21827 if test $ac_cv_func_strerror_r_char_p = yes; then
21829 cat >>confdefs.h <<\_ACEOF
21830 #define STRERROR_R_CHAR_P 1
21842 for ac_func in strchr strdup strstr timegm gmtime_r strtok_r strcasecmp
21844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21845 echo "$as_me:$LINENO: checking for $ac_func" >&5
21846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21847 if eval "test \"\${$as_ac_var+set}\" = set"; then
21848 echo $ECHO_N "(cached) $ECHO_C" >&6
21850 cat >conftest.$ac_ext <<_ACEOF
21853 cat confdefs.h >>conftest.$ac_ext
21854 cat >>conftest.$ac_ext <<_ACEOF
21855 /* end confdefs.h. */
21856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21858 #define $ac_func innocuous_$ac_func
21860 /* System header to define __stub macros and hopefully few prototypes,
21861 which can conflict with char $ac_func (); below.
21862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21863 <limits.h> exists even on freestanding compilers. */
21866 # include <limits.h>
21868 # include <assert.h>
21873 /* Override any gcc2 internal prototype to avoid an error. */
21878 /* We use char because int might match the return type of a gcc2
21879 builtin and then its argument prototype would still apply. */
21881 /* The GNU C library defines this for functions which it implements
21882 to always fail with ENOSYS. Some functions are actually named
21883 something starting with __ and the normal name is an alias. */
21884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21887 char (*f) () = $ac_func;
21896 return f != $ac_func;
21901 rm -f conftest.$ac_objext conftest$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903 (eval $ac_link) 2>conftest.er1
21905 grep -v '^ *+' conftest.er1 >conftest.err
21907 cat conftest.err >&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } &&
21910 { ac_try='test -z "$ac_c_werror_flag"
21911 || test ! -s conftest.err'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; } &&
21917 { ac_try='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 eval "$as_ac_var=yes"
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21928 eval "$as_ac_var=no"
21930 rm -f conftest.err conftest.$ac_objext \
21931 conftest$ac_exeext conftest.$ac_ext
21933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21935 if test `eval echo '${'$as_ac_var'}'` = yes; then
21936 cat >>confdefs.h <<_ACEOF
21937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21944 # checks for pthreads
21950 ac_cpp='$CPP $CPPFLAGS'
21951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21957 # We used to check for pthread.h first, but this fails if pthread.h
21958 # requires special compiler flags (e.g. on True64 or Sequent).
21959 # It gets checked for in the link test anyway.
21961 # First of all, check if the user has set any of the PTHREAD_LIBS,
21962 # etcetera environment variables, and if threads linking works using
21964 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
21965 save_CFLAGS="$CFLAGS"
21966 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
21968 LIBS="$PTHREAD_LIBS $LIBS"
21969 echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
21970 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6
21971 cat >conftest.$ac_ext <<_ACEOF
21974 cat confdefs.h >>conftest.$ac_ext
21975 cat >>conftest.$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21978 /* Override any gcc2 internal prototype to avoid an error. */
21982 /* We use char because int might match the return type of a gcc2
21983 builtin and then its argument prototype would still apply. */
21984 char pthread_join ();
21993 rm -f conftest.$ac_objext conftest$ac_exeext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21995 (eval $ac_link) 2>conftest.er1
21997 grep -v '^ *+' conftest.er1 >conftest.err
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } &&
22002 { ac_try='test -z "$ac_c_werror_flag"
22003 || test ! -s conftest.err'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; } &&
22009 { ac_try='test -s conftest$ac_exeext'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; }; then
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.$ac_ext >&5
22021 rm -f conftest.err conftest.$ac_objext \
22022 conftest$ac_exeext conftest.$ac_ext
22023 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
22024 echo "${ECHO_T}$acx_pthread_ok" >&6
22025 if test x"$acx_pthread_ok" = xno; then
22030 CFLAGS="$save_CFLAGS"
22033 # We must check for the threads library under a number of different
22034 # names; the ordering is very important because some systems
22035 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
22036 # libraries is broken (non-POSIX).
22038 # Create a list of thread flags to try. Items starting with a "-" are
22039 # C compiler flags, and other items are library names, except for "none"
22040 # which indicates that we try without any flags at all, and "pthread-config"
22041 # which is a program returning the flags for the Pth emulation library.
22043 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
22045 # The ordering *is* (sometimes) important. Some notes on the
22046 # individual items follow:
22048 # pthreads: AIX (must check this before -lpthread)
22049 # none: in case threads are in libc; should be tried before -Kthread and
22050 # other compiler flags to prevent continual compiler warnings
22051 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
22052 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
22053 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
22054 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
22055 # -pthreads: Solaris/gcc
22056 # -mthreads: Mingw32/gcc, Lynx/gcc
22057 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
22058 # doesn't hurt to check since this sometimes defines pthreads too;
22059 # also defines -D_REENTRANT)
22060 # ... -mt is also the pthreads flag for HP/aCC
22061 # pthread: Linux, etcetera
22062 # --thread-safe: KAI C++
22063 # pthread-config: use pthread-config program (for GNU Pth library)
22065 case "${host_cpu}-${host_os}" in
22068 # On Solaris (at least, for some versions), libc contains stubbed
22069 # (non-functional) versions of the pthreads routines, so link-based
22070 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
22071 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
22072 # a function called by this macro, so we could check for that, but
22073 # who knows whether they'll stub that too in a future libc.) So,
22074 # we'll just look for -pthreads and -lpthread first:
22076 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
22080 if test x"$acx_pthread_ok" = xno; then
22081 for flag in $acx_pthread_flags; do
22085 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
22086 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
22090 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
22091 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
22092 PTHREAD_CFLAGS="$flag"
22096 # Extract the first word of "pthread-config", so it can be a program name with args.
22097 set dummy pthread-config; ac_word=$2
22098 echo "$as_me:$LINENO: checking for $ac_word" >&5
22099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22100 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
22101 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 if test -n "$acx_pthread_config"; then
22104 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
22106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22107 for as_dir in $PATH
22110 test -z "$as_dir" && as_dir=.
22111 for ac_exec_ext in '' $ac_executable_extensions; do
22112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22113 ac_cv_prog_acx_pthread_config="yes"
22114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22120 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
22123 acx_pthread_config=$ac_cv_prog_acx_pthread_config
22124 if test -n "$acx_pthread_config"; then
22125 echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
22126 echo "${ECHO_T}$acx_pthread_config" >&6
22128 echo "$as_me:$LINENO: result: no" >&5
22129 echo "${ECHO_T}no" >&6
22132 if test x"$acx_pthread_config" = xno; then continue; fi
22133 PTHREAD_CFLAGS="`pthread-config --cflags`"
22134 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
22138 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
22139 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
22140 PTHREAD_LIBS="-l$flag"
22145 save_CFLAGS="$CFLAGS"
22146 LIBS="$PTHREAD_LIBS $LIBS"
22147 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22149 # Check for various functions. We must include pthread.h,
22150 # since some functions may be macros. (On the Sequent, we
22151 # need a special flag -Kthread to make this header compile.)
22152 # We check for pthread_join because it is in -lpthread on IRIX
22153 # while pthread_create is in libc. We check for pthread_attr_init
22154 # due to DEC craziness with -lpthreads. We check for
22155 # pthread_cleanup_push because it is one of the few pthread
22156 # functions on Solaris that doesn't have a non-functional libc stub.
22157 # We try pthread_create on general principles.
22158 cat >conftest.$ac_ext <<_ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 #include <pthread.h>
22168 pthread_t th; pthread_join(th, 0);
22169 pthread_attr_init(0); pthread_cleanup_push(0, 0);
22170 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
22175 rm -f conftest.$ac_objext conftest$ac_exeext
22176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>conftest.er1
22179 grep -v '^ *+' conftest.er1 >conftest.err
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } &&
22184 { ac_try='test -z "$ac_c_werror_flag"
22185 || test ! -s conftest.err'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try='test -s conftest$ac_exeext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22203 rm -f conftest.err conftest.$ac_objext \
22204 conftest$ac_exeext conftest.$ac_ext
22207 CFLAGS="$save_CFLAGS"
22209 echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
22210 echo "${ECHO_T}$acx_pthread_ok" >&6
22211 if test "x$acx_pthread_ok" = xyes; then
22220 # Various other checks:
22221 if test "x$acx_pthread_ok" = xyes; then
22223 LIBS="$PTHREAD_LIBS $LIBS"
22224 save_CFLAGS="$CFLAGS"
22225 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22227 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
22228 echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
22229 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6
22231 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
22232 cat >conftest.$ac_ext <<_ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 #include <pthread.h>
22242 int attr=$attr; return attr;
22247 rm -f conftest.$ac_objext conftest$ac_exeext
22248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22249 (eval $ac_link) 2>conftest.er1
22251 grep -v '^ *+' conftest.er1 >conftest.err
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } &&
22256 { ac_try='test -z "$ac_c_werror_flag"
22257 || test ! -s conftest.err'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; } &&
22263 { ac_try='test -s conftest$ac_exeext'
22264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22265 (eval $ac_try) 2>&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); }; }; then
22269 attr_name=$attr; break
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.$ac_ext >&5
22275 rm -f conftest.err conftest.$ac_objext \
22276 conftest$ac_exeext conftest.$ac_ext
22278 echo "$as_me:$LINENO: result: $attr_name" >&5
22279 echo "${ECHO_T}$attr_name" >&6
22280 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
22282 cat >>confdefs.h <<_ACEOF
22283 #define PTHREAD_CREATE_JOINABLE $attr_name
22288 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
22289 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
22291 case "${host_cpu}-${host_os}" in
22292 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
22293 *-osf* | *-hpux*) flag="-D_REENTRANT";;
22295 if test "$GCC" = "yes"; then
22296 flag="-D_REENTRANT"
22298 flag="-mt -D_REENTRANT"
22302 echo "$as_me:$LINENO: result: ${flag}" >&5
22303 echo "${ECHO_T}${flag}" >&6
22304 if test "x$flag" != xno; then
22305 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
22309 CFLAGS="$save_CFLAGS"
22311 # More AIX lossage: must compile with xlc_r or cc_r
22312 if test x"$GCC" != xyes; then
22313 for ac_prog in xlc_r cc_r
22315 # Extract the first word of "$ac_prog", so it can be a program name with args.
22316 set dummy $ac_prog; ac_word=$2
22317 echo "$as_me:$LINENO: checking for $ac_word" >&5
22318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22319 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
22320 echo $ECHO_N "(cached) $ECHO_C" >&6
22322 if test -n "$PTHREAD_CC"; then
22323 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
22325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22326 for as_dir in $PATH
22329 test -z "$as_dir" && as_dir=.
22330 for ac_exec_ext in '' $ac_executable_extensions; do
22331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22332 ac_cv_prog_PTHREAD_CC="$ac_prog"
22333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22341 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
22342 if test -n "$PTHREAD_CC"; then
22343 echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
22344 echo "${ECHO_T}$PTHREAD_CC" >&6
22346 echo "$as_me:$LINENO: result: no" >&5
22347 echo "${ECHO_T}no" >&6
22350 test -n "$PTHREAD_CC" && break
22352 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
22365 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
22366 if test x"$acx_pthread_ok" = xyes; then
22367 enable_threads="pthread"
22371 enable_threads="no"
22374 ac_cpp='$CPP $CPPFLAGS'
22375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22380 if test $enable_threads != "pthread"; then
22381 { { echo "$as_me:$LINENO: error: unable to find pthreads, currently this is required" >&5
22382 echo "$as_me: error: unable to find pthreads, currently this is required" >&2;}
22383 { (exit 1); exit 1; }; }
22386 cat >>confdefs.h <<\_ACEOF
22387 #define HAVE_PTHREAD 1
22390 LIBS="$PTHREAD_LIBS $LIBS"
22391 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
22392 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
22395 # Thank you Solaris, really.
22396 echo "$as_me:$LINENO: checking for ctime_r" >&5
22397 echo $ECHO_N "checking for ctime_r... $ECHO_C" >&6
22398 if test -z "$ac_cv_ctime_args"; then
22399 cat >conftest.$ac_ext <<_ACEOF
22402 cat confdefs.h >>conftest.$ac_ext
22403 cat >>conftest.$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22412 ctime_r(&clock, buf);
22418 rm -f conftest.$ac_objext
22419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22420 (eval $ac_compile) 2>conftest.er1
22422 grep -v '^ *+' conftest.er1 >conftest.err
22424 cat conftest.err >&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); } &&
22427 { ac_try='test -z "$ac_c_werror_flag"
22428 || test ! -s conftest.err'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; } &&
22434 { ac_try='test -s conftest.$ac_objext'
22435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436 (eval $ac_try) 2>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); }; }; then
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.$ac_ext >&5
22446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22448 cat >conftest.$ac_ext <<_ACEOF
22451 cat confdefs.h >>conftest.$ac_ext
22452 cat >>conftest.$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22461 ctime_r(&clock, buf, 26);
22467 rm -f conftest.$ac_objext
22468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22469 (eval $ac_compile) 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try='test -z "$ac_c_werror_flag"
22477 || test ! -s conftest.err'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; } &&
22483 { ac_try='test -s conftest.$ac_objext'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; }; then
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.$ac_ext >&5
22495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22497 if test -z "$ac_cv_ctime_args"; then
22498 echo "$as_me:$LINENO: result: no" >&5
22499 echo "${ECHO_T}no" >&6
22501 if test "$ac_cv_ctime_args" = 2; then
22503 cat >>confdefs.h <<\_ACEOF
22504 #define HAVE_CTIME_R_2 1
22507 elif test "$ac_cv_ctime_args" = 3; then
22509 cat >>confdefs.h <<\_ACEOF
22510 #define HAVE_CTIME_R_3 1
22514 echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
22515 echo "${ECHO_T}yes, and it takes $ac_cv_ctime_args arguments" >&6
22520 # Check whether --with-openssl or --without-openssl was given.
22521 if test "${with_openssl+set}" = set; then
22522 withval="$with_openssl"
22523 if test x_$with_openssl != x_/usr; then
22524 SSLFLAGS="-I${with_openssl}/include"
22528 if test "x$SSLFLAGS" = "x" ; then
22529 # Extract the first word of "pkg-config", so it can be a program name with args.
22530 set dummy pkg-config; ac_word=$2
22531 echo "$as_me:$LINENO: checking for $ac_word" >&5
22532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22534 echo $ECHO_N "(cached) $ECHO_C" >&6
22536 case $PKG_CONFIG in
22538 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22542 for as_dir in $PATH
22545 test -z "$as_dir" && as_dir=.
22546 for ac_exec_ext in '' $ac_executable_extensions; do
22547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22548 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22558 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22560 if test -n "$PKG_CONFIG"; then
22561 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22562 echo "${ECHO_T}$PKG_CONFIG" >&6
22564 echo "$as_me:$LINENO: result: no" >&5
22565 echo "${ECHO_T}no" >&6
22568 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
22569 if pkg-config openssl ; then
22570 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
22572 { { echo "$as_me:$LINENO: error: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
22573 echo "$as_me: error: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
22574 { (exit 1); exit 1; }; }
22579 echo "$as_me:$LINENO: checking for OpenSSL cflags" >&5
22580 echo $ECHO_N "checking for OpenSSL cflags... $ECHO_C" >&6
22581 echo "$as_me:$LINENO: result: $SSLFLAGS" >&5
22582 echo "${ECHO_T}$SSLFLAGS" >&6
22583 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
22585 if test "${ac_cv_header_openssl_x509_h+set}" = set; then
22586 echo "$as_me:$LINENO: checking for openssl/x509.h" >&5
22587 echo $ECHO_N "checking for openssl/x509.h... $ECHO_C" >&6
22588 if test "${ac_cv_header_openssl_x509_h+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_x509_h" >&5
22592 echo "${ECHO_T}$ac_cv_header_openssl_x509_h" >&6
22594 # Is the header compilable?
22595 echo "$as_me:$LINENO: checking openssl/x509.h usability" >&5
22596 echo $ECHO_N "checking openssl/x509.h usability... $ECHO_C" >&6
22597 cat >conftest.$ac_ext <<_ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 $ac_includes_default
22604 #include <openssl/x509.h>
22606 rm -f conftest.$ac_objext
22607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22608 (eval $ac_compile) 2>conftest.er1
22610 grep -v '^ *+' conftest.er1 >conftest.err
22612 cat conftest.err >&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } &&
22615 { ac_try='test -z "$ac_c_werror_flag"
22616 || test ! -s conftest.err'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; } &&
22622 { ac_try='test -s conftest.$ac_objext'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; }; then
22628 ac_header_compiler=yes
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22633 ac_header_compiler=no
22635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22637 echo "${ECHO_T}$ac_header_compiler" >&6
22639 # Is the header present?
22640 echo "$as_me:$LINENO: checking openssl/x509.h presence" >&5
22641 echo $ECHO_N "checking openssl/x509.h presence... $ECHO_C" >&6
22642 cat >conftest.$ac_ext <<_ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 #include <openssl/x509.h>
22650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22653 grep -v '^ *+' conftest.er1 >conftest.err
22655 cat conftest.err >&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); } >/dev/null; then
22658 if test -s conftest.err; then
22659 ac_cpp_err=$ac_c_preproc_warn_flag
22660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22667 if test -z "$ac_cpp_err"; then
22668 ac_header_preproc=yes
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22673 ac_header_preproc=no
22675 rm -f conftest.err conftest.$ac_ext
22676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22677 echo "${ECHO_T}$ac_header_preproc" >&6
22679 # So? What about this header?
22680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22682 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: accepted by the compiler, rejected by the preprocessor!" >&5
22683 echo "$as_me: WARNING: openssl/x509.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22684 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: proceeding with the compiler's result" >&5
22685 echo "$as_me: WARNING: openssl/x509.h: proceeding with the compiler's result" >&2;}
22686 ac_header_preproc=yes
22689 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: present but cannot be compiled" >&5
22690 echo "$as_me: WARNING: openssl/x509.h: present but cannot be compiled" >&2;}
22691 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: check for missing prerequisite headers?" >&5
22692 echo "$as_me: WARNING: openssl/x509.h: check for missing prerequisite headers?" >&2;}
22693 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: see the Autoconf documentation" >&5
22694 echo "$as_me: WARNING: openssl/x509.h: see the Autoconf documentation" >&2;}
22695 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: section \"Present But Cannot Be Compiled\"" >&5
22696 echo "$as_me: WARNING: openssl/x509.h: section \"Present But Cannot Be Compiled\"" >&2;}
22697 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: proceeding with the preprocessor's result" >&5
22698 echo "$as_me: WARNING: openssl/x509.h: proceeding with the preprocessor's result" >&2;}
22699 { echo "$as_me:$LINENO: WARNING: openssl/x509.h: in the future, the compiler will take precedence" >&5
22700 echo "$as_me: WARNING: openssl/x509.h: in the future, the compiler will take precedence" >&2;}
22703 ## --------------------------------------------- ##
22704 ## Report this to shibboleth-users@internet2.edu ##
22705 ## --------------------------------------------- ##
22708 sed "s/^/$as_me: WARNING: /" >&2
22711 echo "$as_me:$LINENO: checking for openssl/x509.h" >&5
22712 echo $ECHO_N "checking for openssl/x509.h... $ECHO_C" >&6
22713 if test "${ac_cv_header_openssl_x509_h+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 ac_cv_header_openssl_x509_h=$ac_header_preproc
22718 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_x509_h" >&5
22719 echo "${ECHO_T}$ac_cv_header_openssl_x509_h" >&6
22722 if test $ac_cv_header_openssl_x509_h = yes; then
22725 { { echo "$as_me:$LINENO: error: unable to find openssl header files" >&5
22726 echo "$as_me: error: unable to find openssl header files" >&2;}
22727 { (exit 1); exit 1; }; }
22733 ac_cpp='$CXXCPP $CPPFLAGS'
22734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22740 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
22741 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
22742 if test "${ac_cv_cxx_namespaces+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22748 ac_cpp='$CXXCPP $CPPFLAGS'
22749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22753 cat >conftest.$ac_ext <<_ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 namespace Outer { namespace Inner { int i = 0; }}
22763 using namespace Outer::Inner; return i;
22768 rm -f conftest.$ac_objext
22769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22770 (eval $ac_compile) 2>conftest.er1
22772 grep -v '^ *+' conftest.er1 >conftest.err
22774 cat conftest.err >&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } &&
22777 { ac_try='test -z "$ac_cxx_werror_flag"
22778 || test ! -s conftest.err'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; } &&
22784 { ac_try='test -s conftest.$ac_objext'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 ac_cv_cxx_namespaces=yes
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22795 ac_cv_cxx_namespaces=no
22797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22799 ac_cpp='$CXXCPP $CPPFLAGS'
22800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22806 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
22807 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
22808 if test "$ac_cv_cxx_namespaces" = yes; then
22810 cat >>confdefs.h <<\_ACEOF
22811 #define HAVE_NAMESPACES 1
22816 echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
22817 echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6
22818 if test "${ac_cv_cxx_have_stl+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22825 ac_cpp='$CXXCPP $CPPFLAGS'
22826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22830 cat >conftest.$ac_ext <<_ACEOF
22833 cat confdefs.h >>conftest.$ac_ext
22834 cat >>conftest.$ac_ext <<_ACEOF
22835 /* end confdefs.h. */
22838 #ifdef HAVE_NAMESPACES
22839 using namespace std;
22844 list<int> x; x.push_back(5);
22845 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
22850 rm -f conftest.$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22854 grep -v '^ *+' conftest.er1 >conftest.err
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_cxx_werror_flag"
22860 || test ! -s conftest.err'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; } &&
22866 { ac_try='test -s conftest.$ac_objext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 ac_cv_cxx_have_stl=yes
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22877 ac_cv_cxx_have_stl=no
22879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22888 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
22889 echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6
22890 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
22891 { { echo "$as_me:$LINENO: error: C++ Standard Template Libary unsupported" >&5
22892 echo "$as_me: error: C++ Standard Template Libary unsupported" >&2;}
22893 { (exit 1); exit 1; }; }
22896 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
22897 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
22898 if test "${ac_cv_cxx_namespaces+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909 cat >conftest.$ac_ext <<_ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915 namespace Outer { namespace Inner { int i = 0; }}
22919 using namespace Outer::Inner; return i;
22924 rm -f conftest.$ac_objext
22925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22926 (eval $ac_compile) 2>conftest.er1
22928 grep -v '^ *+' conftest.er1 >conftest.err
22930 cat conftest.err >&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); } &&
22933 { ac_try='test -z "$ac_cxx_werror_flag"
22934 || test ! -s conftest.err'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; } &&
22940 { ac_try='test -s conftest.$ac_objext'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 ac_cv_cxx_namespaces=yes
22948 echo "$as_me: failed program was:" >&5
22949 sed 's/^/| /' conftest.$ac_ext >&5
22951 ac_cv_cxx_namespaces=no
22953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22955 ac_cpp='$CXXCPP $CPPFLAGS'
22956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
22963 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
22964 if test "$ac_cv_cxx_namespaces" = yes; then
22966 cat >>confdefs.h <<\_ACEOF
22967 #define HAVE_NAMESPACES 1
22973 # log4shib settings (favor this version over the log4cpp code)
22974 # Extract the first word of "log4shib-config", so it can be a program name with args.
22975 set dummy log4shib-config; ac_word=$2
22976 echo "$as_me:$LINENO: checking for $ac_word" >&5
22977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22978 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then
22979 echo $ECHO_N "(cached) $ECHO_C" >&6
22981 case $LOG4SHIB_CONFIG in
22983 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
22986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22987 for as_dir in $PATH
22990 test -z "$as_dir" && as_dir=.
22991 for ac_exec_ext in '' $ac_executable_extensions; do
22992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22993 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23003 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
23005 if test -n "$LOG4SHIB_CONFIG"; then
23006 echo "$as_me:$LINENO: result: $LOG4SHIB_CONFIG" >&5
23007 echo "${ECHO_T}$LOG4SHIB_CONFIG" >&6
23009 echo "$as_me:$LINENO: result: no" >&5
23010 echo "${ECHO_T}no" >&6
23014 # Check whether --with-log4shib or --without-log4shib was given.
23015 if test "${with_log4shib+set}" = set; then
23016 withval="$with_log4shib"
23018 LOG4SHIB_CONFIG="${with_log4shib}"
23019 if ! test -f "${LOG4SHIB_CONFIG}" ; then
23020 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
23024 if test -f "${LOG4SHIB_CONFIG}"; then
23025 LDFLAGS="`${LOG4SHIB_CONFIG} --libs` $LDFLAGS"
23026 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
23028 if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then
23029 echo "$as_me:$LINENO: checking for log4shib/CategoryStream.hh" >&5
23030 echo $ECHO_N "checking for log4shib/CategoryStream.hh... $ECHO_C" >&6
23031 if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23034 echo "$as_me:$LINENO: result: $ac_cv_header_log4shib_CategoryStream_hh" >&5
23035 echo "${ECHO_T}$ac_cv_header_log4shib_CategoryStream_hh" >&6
23037 # Is the header compilable?
23038 echo "$as_me:$LINENO: checking log4shib/CategoryStream.hh usability" >&5
23039 echo $ECHO_N "checking log4shib/CategoryStream.hh usability... $ECHO_C" >&6
23040 cat >conftest.$ac_ext <<_ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046 $ac_includes_default
23047 #include <log4shib/CategoryStream.hh>
23049 rm -f conftest.$ac_objext
23050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23051 (eval $ac_compile) 2>conftest.er1
23053 grep -v '^ *+' conftest.er1 >conftest.err
23055 cat conftest.err >&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } &&
23058 { ac_try='test -z "$ac_cxx_werror_flag"
23059 || test ! -s conftest.err'
23060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23061 (eval $ac_try) 2>&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); }; } &&
23065 { ac_try='test -s conftest.$ac_objext'
23066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23067 (eval $ac_try) 2>&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); }; }; then
23071 ac_header_compiler=yes
23073 echo "$as_me: failed program was:" >&5
23074 sed 's/^/| /' conftest.$ac_ext >&5
23076 ac_header_compiler=no
23078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23080 echo "${ECHO_T}$ac_header_compiler" >&6
23082 # Is the header present?
23083 echo "$as_me:$LINENO: checking log4shib/CategoryStream.hh presence" >&5
23084 echo $ECHO_N "checking log4shib/CategoryStream.hh presence... $ECHO_C" >&6
23085 cat >conftest.$ac_ext <<_ACEOF
23088 cat confdefs.h >>conftest.$ac_ext
23089 cat >>conftest.$ac_ext <<_ACEOF
23090 /* end confdefs.h. */
23091 #include <log4shib/CategoryStream.hh>
23093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23096 grep -v '^ *+' conftest.er1 >conftest.err
23098 cat conftest.err >&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } >/dev/null; then
23101 if test -s conftest.err; then
23102 ac_cpp_err=$ac_cxx_preproc_warn_flag
23103 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23110 if test -z "$ac_cpp_err"; then
23111 ac_header_preproc=yes
23113 echo "$as_me: failed program was:" >&5
23114 sed 's/^/| /' conftest.$ac_ext >&5
23116 ac_header_preproc=no
23118 rm -f conftest.err conftest.$ac_ext
23119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23120 echo "${ECHO_T}$ac_header_preproc" >&6
23122 # So? What about this header?
23123 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23125 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&5
23126 echo "$as_me: WARNING: log4shib/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&2;}
23127 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: proceeding with the compiler's result" >&5
23128 echo "$as_me: WARNING: log4shib/CategoryStream.hh: proceeding with the compiler's result" >&2;}
23129 ac_header_preproc=yes
23132 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: present but cannot be compiled" >&5
23133 echo "$as_me: WARNING: log4shib/CategoryStream.hh: present but cannot be compiled" >&2;}
23134 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: check for missing prerequisite headers?" >&5
23135 echo "$as_me: WARNING: log4shib/CategoryStream.hh: check for missing prerequisite headers?" >&2;}
23136 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: see the Autoconf documentation" >&5
23137 echo "$as_me: WARNING: log4shib/CategoryStream.hh: see the Autoconf documentation" >&2;}
23138 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&5
23139 echo "$as_me: WARNING: log4shib/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&2;}
23140 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: proceeding with the preprocessor's result" >&5
23141 echo "$as_me: WARNING: log4shib/CategoryStream.hh: proceeding with the preprocessor's result" >&2;}
23142 { echo "$as_me:$LINENO: WARNING: log4shib/CategoryStream.hh: in the future, the compiler will take precedence" >&5
23143 echo "$as_me: WARNING: log4shib/CategoryStream.hh: in the future, the compiler will take precedence" >&2;}
23146 ## --------------------------------------------- ##
23147 ## Report this to shibboleth-users@internet2.edu ##
23148 ## --------------------------------------------- ##
23151 sed "s/^/$as_me: WARNING: /" >&2
23154 echo "$as_me:$LINENO: checking for log4shib/CategoryStream.hh" >&5
23155 echo $ECHO_N "checking for log4shib/CategoryStream.hh... $ECHO_C" >&6
23156 if test "${ac_cv_header_log4shib_CategoryStream_hh+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 ac_cv_header_log4shib_CategoryStream_hh=$ac_header_preproc
23161 echo "$as_me:$LINENO: result: $ac_cv_header_log4shib_CategoryStream_hh" >&5
23162 echo "${ECHO_T}$ac_cv_header_log4shib_CategoryStream_hh" >&6
23165 if test $ac_cv_header_log4shib_CategoryStream_hh = yes; then
23168 { { echo "$as_me:$LINENO: error: unable to find log4shib header files" >&5
23169 echo "$as_me: error: unable to find log4shib header files" >&2;}
23170 { (exit 1); exit 1; }; }
23174 cat >conftest.$ac_ext <<_ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 #include <log4shib/Category.hh>
23181 #include <log4shib/CategoryStream.hh>
23185 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
23190 rm -f conftest.$ac_objext conftest$ac_exeext
23191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23192 (eval $ac_link) 2>conftest.er1
23194 grep -v '^ *+' conftest.er1 >conftest.err
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try='test -z "$ac_cxx_werror_flag"
23200 || test ! -s conftest.err'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; } &&
23206 { ac_try='test -s conftest$ac_exeext'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23213 cat >>confdefs.h <<\_ACEOF
23214 #define SHIBSP_LOG4SHIB 1
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23221 { { echo "$as_me:$LINENO: error: unable to link with log4shib" >&5
23222 echo "$as_me: error: unable to link with log4shib" >&2;}
23223 { (exit 1); exit 1; }; }
23225 rm -f conftest.err conftest.$ac_objext \
23226 conftest$ac_exeext conftest.$ac_ext
23228 { echo "$as_me:$LINENO: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
23229 echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
23230 { echo "$as_me:$LINENO: WARNING: will look for original log4cpp library" >&5
23231 echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
23234 # Extract the first word of "log4cpp-config", so it can be a program name with args.
23235 set dummy log4cpp-config; ac_word=$2
23236 echo "$as_me:$LINENO: checking for $ac_word" >&5
23237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23238 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then
23239 echo $ECHO_N "(cached) $ECHO_C" >&6
23241 case $LOG4CPP_CONFIG in
23243 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
23246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23247 for as_dir in $PATH
23250 test -z "$as_dir" && as_dir=.
23251 for ac_exec_ext in '' $ac_executable_extensions; do
23252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23253 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23263 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
23265 if test -n "$LOG4CPP_CONFIG"; then
23266 echo "$as_me:$LINENO: result: $LOG4CPP_CONFIG" >&5
23267 echo "${ECHO_T}$LOG4CPP_CONFIG" >&6
23269 echo "$as_me:$LINENO: result: no" >&5
23270 echo "${ECHO_T}no" >&6
23274 # Check whether --with-log4cpp or --without-log4cpp was given.
23275 if test "${with_log4cpp+set}" = set; then
23276 withval="$with_log4cpp"
23278 LOG4CPP_CONFIG="${with_log4cpp}"
23279 if ! test -f "${LOG4CPP_CONFIG}" ; then
23280 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
23284 if test -f "${LOG4CPP_CONFIG}"; then
23285 { echo "$as_me:$LINENO: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
23286 echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
23287 LDFLAGS="`${LOG4CPP_CONFIG} --libs` $LDFLAGS"
23288 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
23289 if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then
23290 echo "$as_me:$LINENO: checking for log4cpp/CategoryStream.hh" >&5
23291 echo $ECHO_N "checking for log4cpp/CategoryStream.hh... $ECHO_C" >&6
23292 if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 echo "$as_me:$LINENO: result: $ac_cv_header_log4cpp_CategoryStream_hh" >&5
23296 echo "${ECHO_T}$ac_cv_header_log4cpp_CategoryStream_hh" >&6
23298 # Is the header compilable?
23299 echo "$as_me:$LINENO: checking log4cpp/CategoryStream.hh usability" >&5
23300 echo $ECHO_N "checking log4cpp/CategoryStream.hh usability... $ECHO_C" >&6
23301 cat >conftest.$ac_ext <<_ACEOF
23304 cat confdefs.h >>conftest.$ac_ext
23305 cat >>conftest.$ac_ext <<_ACEOF
23306 /* end confdefs.h. */
23307 $ac_includes_default
23308 #include <log4cpp/CategoryStream.hh>
23310 rm -f conftest.$ac_objext
23311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23312 (eval $ac_compile) 2>conftest.er1
23314 grep -v '^ *+' conftest.er1 >conftest.err
23316 cat conftest.err >&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } &&
23319 { ac_try='test -z "$ac_cxx_werror_flag"
23320 || test ! -s conftest.err'
23321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23322 (eval $ac_try) 2>&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; } &&
23326 { ac_try='test -s conftest.$ac_objext'
23327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328 (eval $ac_try) 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_header_compiler=yes
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.$ac_ext >&5
23337 ac_header_compiler=no
23339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23341 echo "${ECHO_T}$ac_header_compiler" >&6
23343 # Is the header present?
23344 echo "$as_me:$LINENO: checking log4cpp/CategoryStream.hh presence" >&5
23345 echo $ECHO_N "checking log4cpp/CategoryStream.hh presence... $ECHO_C" >&6
23346 cat >conftest.$ac_ext <<_ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23352 #include <log4cpp/CategoryStream.hh>
23354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23357 grep -v '^ *+' conftest.er1 >conftest.err
23359 cat conftest.err >&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); } >/dev/null; then
23362 if test -s conftest.err; then
23363 ac_cpp_err=$ac_cxx_preproc_warn_flag
23364 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23371 if test -z "$ac_cpp_err"; then
23372 ac_header_preproc=yes
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23377 ac_header_preproc=no
23379 rm -f conftest.err conftest.$ac_ext
23380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23381 echo "${ECHO_T}$ac_header_preproc" >&6
23383 # So? What about this header?
23384 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23386 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&5
23387 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: accepted by the compiler, rejected by the preprocessor!" >&2;}
23388 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: proceeding with the compiler's result" >&5
23389 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: proceeding with the compiler's result" >&2;}
23390 ac_header_preproc=yes
23393 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: present but cannot be compiled" >&5
23394 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: present but cannot be compiled" >&2;}
23395 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: check for missing prerequisite headers?" >&5
23396 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: check for missing prerequisite headers?" >&2;}
23397 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: see the Autoconf documentation" >&5
23398 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: see the Autoconf documentation" >&2;}
23399 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&5
23400 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: section \"Present But Cannot Be Compiled\"" >&2;}
23401 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: proceeding with the preprocessor's result" >&5
23402 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: proceeding with the preprocessor's result" >&2;}
23403 { echo "$as_me:$LINENO: WARNING: log4cpp/CategoryStream.hh: in the future, the compiler will take precedence" >&5
23404 echo "$as_me: WARNING: log4cpp/CategoryStream.hh: in the future, the compiler will take precedence" >&2;}
23407 ## --------------------------------------------- ##
23408 ## Report this to shibboleth-users@internet2.edu ##
23409 ## --------------------------------------------- ##
23412 sed "s/^/$as_me: WARNING: /" >&2
23415 echo "$as_me:$LINENO: checking for log4cpp/CategoryStream.hh" >&5
23416 echo $ECHO_N "checking for log4cpp/CategoryStream.hh... $ECHO_C" >&6
23417 if test "${ac_cv_header_log4cpp_CategoryStream_hh+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 ac_cv_header_log4cpp_CategoryStream_hh=$ac_header_preproc
23422 echo "$as_me:$LINENO: result: $ac_cv_header_log4cpp_CategoryStream_hh" >&5
23423 echo "${ECHO_T}$ac_cv_header_log4cpp_CategoryStream_hh" >&6
23426 if test $ac_cv_header_log4cpp_CategoryStream_hh = yes; then
23429 { { echo "$as_me:$LINENO: error: unable to find log4cpp header files" >&5
23430 echo "$as_me: error: unable to find log4cpp header files" >&2;}
23431 { (exit 1); exit 1; }; }
23435 cat >conftest.$ac_ext <<_ACEOF
23438 cat confdefs.h >>conftest.$ac_ext
23439 cat >>conftest.$ac_ext <<_ACEOF
23440 /* end confdefs.h. */
23441 #include <log4cpp/Category.hh>
23442 #include <log4cpp/CategoryStream.hh>
23446 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
23451 rm -f conftest.$ac_objext conftest$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>conftest.er1
23455 grep -v '^ *+' conftest.er1 >conftest.err
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try='test -z "$ac_cxx_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23474 cat >>confdefs.h <<\_ACEOF
23475 #define SHIBSP_LOG4CPP 1
23479 echo "$as_me: failed program was:" >&5
23480 sed 's/^/| /' conftest.$ac_ext >&5
23482 { { echo "$as_me:$LINENO: error: unable to link with log4cpp, need version 1.0 or later" >&5
23483 echo "$as_me: error: unable to link with log4cpp, need version 1.0 or later" >&2;}
23484 { (exit 1); exit 1; }; }
23486 rm -f conftest.err conftest.$ac_objext \
23487 conftest$ac_exeext conftest.$ac_ext
23489 { { echo "$as_me:$LINENO: error: log4cpp-config not found, may need to use --with-log4cpp option" >&5
23490 echo "$as_me: error: log4cpp-config not found, may need to use --with-log4cpp option" >&2;}
23491 { (exit 1); exit 1; }; }
23497 # Check whether --with-xerces or --without-xerces was given.
23498 if test "${with_xerces+set}" = set; then
23499 withval="$with_xerces"
23500 if test x_$with_xerces != x_/usr; then
23501 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
23502 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
23505 LIBS="-lxerces-c $LIBS"
23506 if test "${ac_cv_header_xercesc_dom_DOM_hpp+set}" = set; then
23507 echo "$as_me:$LINENO: checking for xercesc/dom/DOM.hpp" >&5
23508 echo $ECHO_N "checking for xercesc/dom/DOM.hpp... $ECHO_C" >&6
23509 if test "${ac_cv_header_xercesc_dom_DOM_hpp+set}" = set; then
23510 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 echo "$as_me:$LINENO: result: $ac_cv_header_xercesc_dom_DOM_hpp" >&5
23513 echo "${ECHO_T}$ac_cv_header_xercesc_dom_DOM_hpp" >&6
23515 # Is the header compilable?
23516 echo "$as_me:$LINENO: checking xercesc/dom/DOM.hpp usability" >&5
23517 echo $ECHO_N "checking xercesc/dom/DOM.hpp usability... $ECHO_C" >&6
23518 cat >conftest.$ac_ext <<_ACEOF
23521 cat confdefs.h >>conftest.$ac_ext
23522 cat >>conftest.$ac_ext <<_ACEOF
23523 /* end confdefs.h. */
23524 $ac_includes_default
23525 #include <xercesc/dom/DOM.hpp>
23527 rm -f conftest.$ac_objext
23528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23529 (eval $ac_compile) 2>conftest.er1
23531 grep -v '^ *+' conftest.er1 >conftest.err
23533 cat conftest.err >&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); } &&
23536 { ac_try='test -z "$ac_cxx_werror_flag"
23537 || test ! -s conftest.err'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; } &&
23543 { ac_try='test -s conftest.$ac_objext'
23544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23545 (eval $ac_try) 2>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); }; }; then
23549 ac_header_compiler=yes
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23554 ac_header_compiler=no
23556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23558 echo "${ECHO_T}$ac_header_compiler" >&6
23560 # Is the header present?
23561 echo "$as_me:$LINENO: checking xercesc/dom/DOM.hpp presence" >&5
23562 echo $ECHO_N "checking xercesc/dom/DOM.hpp presence... $ECHO_C" >&6
23563 cat >conftest.$ac_ext <<_ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569 #include <xercesc/dom/DOM.hpp>
23571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23574 grep -v '^ *+' conftest.er1 >conftest.err
23576 cat conftest.err >&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } >/dev/null; then
23579 if test -s conftest.err; then
23580 ac_cpp_err=$ac_cxx_preproc_warn_flag
23581 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23588 if test -z "$ac_cpp_err"; then
23589 ac_header_preproc=yes
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23594 ac_header_preproc=no
23596 rm -f conftest.err conftest.$ac_ext
23597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23598 echo "${ECHO_T}$ac_header_preproc" >&6
23600 # So? What about this header?
23601 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23603 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
23604 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
23605 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: proceeding with the compiler's result" >&5
23606 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: proceeding with the compiler's result" >&2;}
23607 ac_header_preproc=yes
23610 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: present but cannot be compiled" >&5
23611 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: present but cannot be compiled" >&2;}
23612 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: check for missing prerequisite headers?" >&5
23613 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: check for missing prerequisite headers?" >&2;}
23614 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: see the Autoconf documentation" >&5
23615 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: see the Autoconf documentation" >&2;}
23616 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: section \"Present But Cannot Be Compiled\"" >&5
23617 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
23618 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: proceeding with the preprocessor's result" >&5
23619 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: proceeding with the preprocessor's result" >&2;}
23620 { echo "$as_me:$LINENO: WARNING: xercesc/dom/DOM.hpp: in the future, the compiler will take precedence" >&5
23621 echo "$as_me: WARNING: xercesc/dom/DOM.hpp: in the future, the compiler will take precedence" >&2;}
23624 ## --------------------------------------------- ##
23625 ## Report this to shibboleth-users@internet2.edu ##
23626 ## --------------------------------------------- ##
23629 sed "s/^/$as_me: WARNING: /" >&2
23632 echo "$as_me:$LINENO: checking for xercesc/dom/DOM.hpp" >&5
23633 echo $ECHO_N "checking for xercesc/dom/DOM.hpp... $ECHO_C" >&6
23634 if test "${ac_cv_header_xercesc_dom_DOM_hpp+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23637 ac_cv_header_xercesc_dom_DOM_hpp=$ac_header_preproc
23639 echo "$as_me:$LINENO: result: $ac_cv_header_xercesc_dom_DOM_hpp" >&5
23640 echo "${ECHO_T}$ac_cv_header_xercesc_dom_DOM_hpp" >&6
23643 if test $ac_cv_header_xercesc_dom_DOM_hpp = yes; then
23646 { { echo "$as_me:$LINENO: error: unable to find xerces header files" >&5
23647 echo "$as_me: error: unable to find xerces header files" >&2;}
23648 { (exit 1); exit 1; }; }
23652 echo "$as_me:$LINENO: checking Xerces version" >&5
23653 echo $ECHO_N "checking Xerces version... $ECHO_C" >&6
23654 cat >conftest.$ac_ext <<_ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 #include <xercesc/util/XercesVersion.hpp>
23664 #if _XERCES_VERSION != 20600
23667 #error cannot use version 2.6.0
23673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23676 grep -v '^ *+' conftest.er1 >conftest.err
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } >/dev/null; then
23681 if test -s conftest.err; then
23682 ac_cpp_err=$ac_cxx_preproc_warn_flag
23683 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23690 if test -z "$ac_cpp_err"; then
23691 echo "$as_me:$LINENO: result: OK" >&5
23692 echo "${ECHO_T}OK" >&6
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23697 { { echo "$as_me:$LINENO: error: Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
23698 See \`config.log' for more details." >&5
23699 echo "$as_me: error: Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
23700 See \`config.log' for more details." >&2;}
23701 { (exit 1); exit 1; }; }
23703 rm -f conftest.err conftest.$ac_ext
23704 cat >conftest.$ac_ext <<_ACEOF
23707 cat confdefs.h >>conftest.$ac_ext
23708 cat >>conftest.$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23710 #include <xercesc/util/PlatformUtils.hpp>
23714 xercesc::XMLPlatformUtils::Initialize()
23719 rm -f conftest.$ac_objext conftest$ac_exeext
23720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23721 (eval $ac_link) 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } &&
23728 { ac_try='test -z "$ac_cxx_werror_flag"
23729 || test ! -s conftest.err'
23730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23731 (eval $ac_try) 2>&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); }; } &&
23735 { ac_try='test -s conftest$ac_exeext'
23736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23737 (eval $ac_try) 2>&5
23739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740 (exit $ac_status); }; }; then
23742 cat >>confdefs.h <<\_ACEOF
23743 #define HAVE_LIBXERCESC 1
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.$ac_ext >&5
23750 { { echo "$as_me:$LINENO: error: unable to link with Xerces" >&5
23751 echo "$as_me: error: unable to link with Xerces" >&2;}
23752 { (exit 1); exit 1; }; }
23754 rm -f conftest.err conftest.$ac_objext \
23755 conftest$ac_exeext conftest.$ac_ext
23758 #XML-Tooling settings
23760 # Check whether --with-xmltooling or --without-xmltooling was given.
23761 if test "${with_xmltooling+set}" = set; then
23762 withval="$with_xmltooling"
23763 if test x_$with_xmltooling != x_/usr; then
23764 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
23765 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
23768 LITE_LIBS="-lxmltooling-lite"
23769 XMLSEC_LIBS="-lxmltooling"
23770 if test "${ac_cv_header_xmltooling_base_h+set}" = set; then
23771 echo "$as_me:$LINENO: checking for xmltooling/base.h" >&5
23772 echo $ECHO_N "checking for xmltooling/base.h... $ECHO_C" >&6
23773 if test "${ac_cv_header_xmltooling_base_h+set}" = set; then
23774 echo $ECHO_N "(cached) $ECHO_C" >&6
23776 echo "$as_me:$LINENO: result: $ac_cv_header_xmltooling_base_h" >&5
23777 echo "${ECHO_T}$ac_cv_header_xmltooling_base_h" >&6
23779 # Is the header compilable?
23780 echo "$as_me:$LINENO: checking xmltooling/base.h usability" >&5
23781 echo $ECHO_N "checking xmltooling/base.h usability... $ECHO_C" >&6
23782 cat >conftest.$ac_ext <<_ACEOF
23785 cat confdefs.h >>conftest.$ac_ext
23786 cat >>conftest.$ac_ext <<_ACEOF
23787 /* end confdefs.h. */
23788 $ac_includes_default
23789 #include <xmltooling/base.h>
23791 rm -f conftest.$ac_objext
23792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23793 (eval $ac_compile) 2>conftest.er1
23795 grep -v '^ *+' conftest.er1 >conftest.err
23797 cat conftest.err >&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); } &&
23800 { ac_try='test -z "$ac_cxx_werror_flag"
23801 || test ! -s conftest.err'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; } &&
23807 { ac_try='test -s conftest.$ac_objext'
23808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23809 (eval $ac_try) 2>&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); }; }; then
23813 ac_header_compiler=yes
23815 echo "$as_me: failed program was:" >&5
23816 sed 's/^/| /' conftest.$ac_ext >&5
23818 ac_header_compiler=no
23820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23822 echo "${ECHO_T}$ac_header_compiler" >&6
23824 # Is the header present?
23825 echo "$as_me:$LINENO: checking xmltooling/base.h presence" >&5
23826 echo $ECHO_N "checking xmltooling/base.h presence... $ECHO_C" >&6
23827 cat >conftest.$ac_ext <<_ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833 #include <xmltooling/base.h>
23835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23838 grep -v '^ *+' conftest.er1 >conftest.err
23840 cat conftest.err >&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } >/dev/null; then
23843 if test -s conftest.err; then
23844 ac_cpp_err=$ac_cxx_preproc_warn_flag
23845 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23852 if test -z "$ac_cpp_err"; then
23853 ac_header_preproc=yes
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23858 ac_header_preproc=no
23860 rm -f conftest.err conftest.$ac_ext
23861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23862 echo "${ECHO_T}$ac_header_preproc" >&6
23864 # So? What about this header?
23865 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23867 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: accepted by the compiler, rejected by the preprocessor!" >&5
23868 echo "$as_me: WARNING: xmltooling/base.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23869 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: proceeding with the compiler's result" >&5
23870 echo "$as_me: WARNING: xmltooling/base.h: proceeding with the compiler's result" >&2;}
23871 ac_header_preproc=yes
23874 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: present but cannot be compiled" >&5
23875 echo "$as_me: WARNING: xmltooling/base.h: present but cannot be compiled" >&2;}
23876 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: check for missing prerequisite headers?" >&5
23877 echo "$as_me: WARNING: xmltooling/base.h: check for missing prerequisite headers?" >&2;}
23878 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: see the Autoconf documentation" >&5
23879 echo "$as_me: WARNING: xmltooling/base.h: see the Autoconf documentation" >&2;}
23880 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: section \"Present But Cannot Be Compiled\"" >&5
23881 echo "$as_me: WARNING: xmltooling/base.h: section \"Present But Cannot Be Compiled\"" >&2;}
23882 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: proceeding with the preprocessor's result" >&5
23883 echo "$as_me: WARNING: xmltooling/base.h: proceeding with the preprocessor's result" >&2;}
23884 { echo "$as_me:$LINENO: WARNING: xmltooling/base.h: in the future, the compiler will take precedence" >&5
23885 echo "$as_me: WARNING: xmltooling/base.h: in the future, the compiler will take precedence" >&2;}
23888 ## --------------------------------------------- ##
23889 ## Report this to shibboleth-users@internet2.edu ##
23890 ## --------------------------------------------- ##
23893 sed "s/^/$as_me: WARNING: /" >&2
23896 echo "$as_me:$LINENO: checking for xmltooling/base.h" >&5
23897 echo $ECHO_N "checking for xmltooling/base.h... $ECHO_C" >&6
23898 if test "${ac_cv_header_xmltooling_base_h+set}" = set; then
23899 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 ac_cv_header_xmltooling_base_h=$ac_header_preproc
23903 echo "$as_me:$LINENO: result: $ac_cv_header_xmltooling_base_h" >&5
23904 echo "${ECHO_T}$ac_cv_header_xmltooling_base_h" >&6
23907 if test $ac_cv_header_xmltooling_base_h = yes; then
23910 { { echo "$as_me:$LINENO: error: unable to find xmltooling header files" >&5
23911 echo "$as_me: error: unable to find xmltooling header files" >&2;}
23912 { (exit 1); exit 1; }; }
23917 # Establish location of xmltooling catalog.
23918 XMLTOOLINGXMLDIR=""
23919 if test "x$with_xmltooling" = "x" ; then
23920 with_xmltooling="/usr"
23922 if test -f $with_xmltooling/share/xml/xmltooling/catalog.xml ; then
23923 XMLTOOLINGXMLDIR="$with_xmltooling"
23924 elif test -f $with_xerces/share/xml/xmltooling/catalog.xml ; then
23925 XMLTOOLINGXMLDIR="$with_xerces"
23926 elif test -f $with_log4shib/share/xml/xmltooling/catalog.xml ; then
23927 XMLTOOLINGXMLDIR="$with_log4shib"
23929 if test "x$XMLTOOLINGXMLDIR" = "x" ; then
23930 { { echo "$as_me:$LINENO: error: xmltooling XML catalog not found, may need to use --with-xmltooling option" >&5
23931 echo "$as_me: error: xmltooling XML catalog not found, may need to use --with-xmltooling option" >&2;}
23932 { (exit 1); exit 1; }; }
23934 XMLTOOLINGXMLDIR="$XMLTOOLINGXMLDIR/share/xml/xmltooling"
23937 # XML-Security settings
23939 # Check whether --with-xmlsec or --without-xmlsec was given.
23940 if test "${with_xmlsec+set}" = set; then
23941 withval="$with_xmlsec"
23947 if test x_$with_xmlsec != x_/usr; then
23948 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
23949 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
23951 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
23953 # save and append master libs
23955 LIBS="$XMLSEC_LIBS $LIBS"
23957 if test "${ac_cv_header_xsec_utils_XSECPlatformUtils_hpp+set}" = set; then
23958 echo "$as_me:$LINENO: checking for xsec/utils/XSECPlatformUtils.hpp" >&5
23959 echo $ECHO_N "checking for xsec/utils/XSECPlatformUtils.hpp... $ECHO_C" >&6
23960 if test "${ac_cv_header_xsec_utils_XSECPlatformUtils_hpp+set}" = set; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23963 echo "$as_me:$LINENO: result: $ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&5
23964 echo "${ECHO_T}$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&6
23966 # Is the header compilable?
23967 echo "$as_me:$LINENO: checking xsec/utils/XSECPlatformUtils.hpp usability" >&5
23968 echo $ECHO_N "checking xsec/utils/XSECPlatformUtils.hpp usability... $ECHO_C" >&6
23969 cat >conftest.$ac_ext <<_ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 $ac_includes_default
23976 #include <xsec/utils/XSECPlatformUtils.hpp>
23978 rm -f conftest.$ac_objext
23979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23980 (eval $ac_compile) 2>conftest.er1
23982 grep -v '^ *+' conftest.er1 >conftest.err
23984 cat conftest.err >&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } &&
23987 { ac_try='test -z "$ac_cxx_werror_flag"
23988 || test ! -s conftest.err'
23989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23990 (eval $ac_try) 2>&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); }; } &&
23994 { ac_try='test -s conftest.$ac_objext'
23995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23996 (eval $ac_try) 2>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); }; }; then
24000 ac_header_compiler=yes
24002 echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.$ac_ext >&5
24005 ac_header_compiler=no
24007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24009 echo "${ECHO_T}$ac_header_compiler" >&6
24011 # Is the header present?
24012 echo "$as_me:$LINENO: checking xsec/utils/XSECPlatformUtils.hpp presence" >&5
24013 echo $ECHO_N "checking xsec/utils/XSECPlatformUtils.hpp presence... $ECHO_C" >&6
24014 cat >conftest.$ac_ext <<_ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24020 #include <xsec/utils/XSECPlatformUtils.hpp>
24022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24025 grep -v '^ *+' conftest.er1 >conftest.err
24027 cat conftest.err >&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); } >/dev/null; then
24030 if test -s conftest.err; then
24031 ac_cpp_err=$ac_cxx_preproc_warn_flag
24032 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24039 if test -z "$ac_cpp_err"; then
24040 ac_header_preproc=yes
24042 echo "$as_me: failed program was:" >&5
24043 sed 's/^/| /' conftest.$ac_ext >&5
24045 ac_header_preproc=no
24047 rm -f conftest.err conftest.$ac_ext
24048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24049 echo "${ECHO_T}$ac_header_preproc" >&6
24051 # So? What about this header?
24052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24054 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: accepted by the compiler, rejected by the preprocessor!" >&5
24055 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;}
24056 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the compiler's result" >&5
24057 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the compiler's result" >&2;}
24058 ac_header_preproc=yes
24061 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: present but cannot be compiled" >&5
24062 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: present but cannot be compiled" >&2;}
24063 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: check for missing prerequisite headers?" >&5
24064 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: check for missing prerequisite headers?" >&2;}
24065 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: see the Autoconf documentation" >&5
24066 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: see the Autoconf documentation" >&2;}
24067 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: section \"Present But Cannot Be Compiled\"" >&5
24068 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: section \"Present But Cannot Be Compiled\"" >&2;}
24069 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the preprocessor's result" >&5
24070 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: proceeding with the preprocessor's result" >&2;}
24071 { echo "$as_me:$LINENO: WARNING: xsec/utils/XSECPlatformUtils.hpp: in the future, the compiler will take precedence" >&5
24072 echo "$as_me: WARNING: xsec/utils/XSECPlatformUtils.hpp: in the future, the compiler will take precedence" >&2;}
24075 ## --------------------------------------------- ##
24076 ## Report this to shibboleth-users@internet2.edu ##
24077 ## --------------------------------------------- ##
24080 sed "s/^/$as_me: WARNING: /" >&2
24083 echo "$as_me:$LINENO: checking for xsec/utils/XSECPlatformUtils.hpp" >&5
24084 echo $ECHO_N "checking for xsec/utils/XSECPlatformUtils.hpp... $ECHO_C" >&6
24085 if test "${ac_cv_header_xsec_utils_XSECPlatformUtils_hpp+set}" = set; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 ac_cv_header_xsec_utils_XSECPlatformUtils_hpp=$ac_header_preproc
24090 echo "$as_me:$LINENO: result: $ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&5
24091 echo "${ECHO_T}$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" >&6
24094 if test $ac_cv_header_xsec_utils_XSECPlatformUtils_hpp = yes; then
24097 { { echo "$as_me:$LINENO: error: unable to find XML-Security header files" >&5
24098 echo "$as_me: error: unable to find XML-Security header files" >&2;}
24099 { (exit 1); exit 1; }; }
24103 echo "$as_me:$LINENO: checking XML-Security version" >&5
24104 echo $ECHO_N "checking XML-Security version... $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 #include <xsec/utils/XSECPlatformUtils.hpp>
24115 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
24118 #error need version 1.4.0 or later
24124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24127 grep -v '^ *+' conftest.er1 >conftest.err
24129 cat conftest.err >&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); } >/dev/null; then
24132 if test -s conftest.err; then
24133 ac_cpp_err=$ac_cxx_preproc_warn_flag
24134 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24141 if test -z "$ac_cpp_err"; then
24142 echo "$as_me:$LINENO: result: OK" >&5
24143 echo "${ECHO_T}OK" >&6
24145 echo "$as_me: failed program was:" >&5
24146 sed 's/^/| /' conftest.$ac_ext >&5
24148 { { echo "$as_me:$LINENO: error: XML-Security version 1.4.0 or greater is required.
24149 See \`config.log' for more details." >&5
24150 echo "$as_me: error: XML-Security version 1.4.0 or greater is required.
24151 See \`config.log' for more details." >&2;}
24152 { (exit 1); exit 1; }; }
24154 rm -f conftest.err conftest.$ac_ext
24155 cat >conftest.$ac_ext <<_ACEOF
24158 cat confdefs.h >>conftest.$ac_ext
24159 cat >>conftest.$ac_ext <<_ACEOF
24160 /* end confdefs.h. */
24161 #include <xsec/utils/XSECPlatformUtils.hpp>
24165 XSECPlatformUtils::Initialise()
24170 rm -f conftest.$ac_objext conftest$ac_exeext
24171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24172 (eval $ac_link) 2>conftest.er1
24174 grep -v '^ *+' conftest.er1 >conftest.err
24176 cat conftest.err >&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); } &&
24179 { ac_try='test -z "$ac_cxx_werror_flag"
24180 || test ! -s conftest.err'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; } &&
24186 { ac_try='test -s conftest$ac_exeext'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; }; then
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24197 { { echo "$as_me:$LINENO: error: unable to link with XML-Security" >&5
24198 echo "$as_me: error: unable to link with XML-Security" >&2;}
24199 { (exit 1); exit 1; }; }
24201 rm -f conftest.err conftest.$ac_objext \
24202 conftest$ac_exeext conftest.$ac_ext
24204 # restore master libs
24207 # OpenSAML settings
24209 # Check whether --with-saml or --without-saml was given.
24210 if test "${with_saml+set}" = set; then
24211 withval="$with_saml"
24212 if test x_$with_saml != x_/usr; then
24213 LDFLAGS="-L${with_saml}/lib $LDFLAGS"
24214 CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
24217 XMLSEC_LIBS="-lsaml $XMLSEC_LIBS"
24219 # save and append master libs
24221 LIBS="$XMLSEC_LIBS $LIBS"
24223 if test "${ac_cv_header_saml_saml2_metadata_Metadata_h+set}" = set; then
24224 echo "$as_me:$LINENO: checking for saml/saml2/metadata/Metadata.h" >&5
24225 echo $ECHO_N "checking for saml/saml2/metadata/Metadata.h... $ECHO_C" >&6
24226 if test "${ac_cv_header_saml_saml2_metadata_Metadata_h+set}" = set; then
24227 echo $ECHO_N "(cached) $ECHO_C" >&6
24229 echo "$as_me:$LINENO: result: $ac_cv_header_saml_saml2_metadata_Metadata_h" >&5
24230 echo "${ECHO_T}$ac_cv_header_saml_saml2_metadata_Metadata_h" >&6
24232 # Is the header compilable?
24233 echo "$as_me:$LINENO: checking saml/saml2/metadata/Metadata.h usability" >&5
24234 echo $ECHO_N "checking saml/saml2/metadata/Metadata.h usability... $ECHO_C" >&6
24235 cat >conftest.$ac_ext <<_ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24241 $ac_includes_default
24242 #include <saml/saml2/metadata/Metadata.h>
24244 rm -f conftest.$ac_objext
24245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24246 (eval $ac_compile) 2>conftest.er1
24248 grep -v '^ *+' conftest.er1 >conftest.err
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } &&
24253 { ac_try='test -z "$ac_cxx_werror_flag"
24254 || test ! -s conftest.err'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; } &&
24260 { ac_try='test -s conftest.$ac_objext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266 ac_header_compiler=yes
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24271 ac_header_compiler=no
24273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24275 echo "${ECHO_T}$ac_header_compiler" >&6
24277 # Is the header present?
24278 echo "$as_me:$LINENO: checking saml/saml2/metadata/Metadata.h presence" >&5
24279 echo $ECHO_N "checking saml/saml2/metadata/Metadata.h presence... $ECHO_C" >&6
24280 cat >conftest.$ac_ext <<_ACEOF
24283 cat confdefs.h >>conftest.$ac_ext
24284 cat >>conftest.$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 #include <saml/saml2/metadata/Metadata.h>
24288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24291 grep -v '^ *+' conftest.er1 >conftest.err
24293 cat conftest.err >&5
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } >/dev/null; then
24296 if test -s conftest.err; then
24297 ac_cpp_err=$ac_cxx_preproc_warn_flag
24298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24305 if test -z "$ac_cpp_err"; then
24306 ac_header_preproc=yes
24308 echo "$as_me: failed program was:" >&5
24309 sed 's/^/| /' conftest.$ac_ext >&5
24311 ac_header_preproc=no
24313 rm -f conftest.err conftest.$ac_ext
24314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24315 echo "${ECHO_T}$ac_header_preproc" >&6
24317 # So? What about this header?
24318 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24320 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: accepted by the compiler, rejected by the preprocessor!" >&5
24321 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24322 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: proceeding with the compiler's result" >&5
24323 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: proceeding with the compiler's result" >&2;}
24324 ac_header_preproc=yes
24327 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: present but cannot be compiled" >&5
24328 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: present but cannot be compiled" >&2;}
24329 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: check for missing prerequisite headers?" >&5
24330 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: check for missing prerequisite headers?" >&2;}
24331 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: see the Autoconf documentation" >&5
24332 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: see the Autoconf documentation" >&2;}
24333 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: section \"Present But Cannot Be Compiled\"" >&5
24334 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: section \"Present But Cannot Be Compiled\"" >&2;}
24335 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: proceeding with the preprocessor's result" >&5
24336 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: proceeding with the preprocessor's result" >&2;}
24337 { echo "$as_me:$LINENO: WARNING: saml/saml2/metadata/Metadata.h: in the future, the compiler will take precedence" >&5
24338 echo "$as_me: WARNING: saml/saml2/metadata/Metadata.h: in the future, the compiler will take precedence" >&2;}
24341 ## --------------------------------------------- ##
24342 ## Report this to shibboleth-users@internet2.edu ##
24343 ## --------------------------------------------- ##
24346 sed "s/^/$as_me: WARNING: /" >&2
24349 echo "$as_me:$LINENO: checking for saml/saml2/metadata/Metadata.h" >&5
24350 echo $ECHO_N "checking for saml/saml2/metadata/Metadata.h... $ECHO_C" >&6
24351 if test "${ac_cv_header_saml_saml2_metadata_Metadata_h+set}" = set; then
24352 echo $ECHO_N "(cached) $ECHO_C" >&6
24354 ac_cv_header_saml_saml2_metadata_Metadata_h=$ac_header_preproc
24356 echo "$as_me:$LINENO: result: $ac_cv_header_saml_saml2_metadata_Metadata_h" >&5
24357 echo "${ECHO_T}$ac_cv_header_saml_saml2_metadata_Metadata_h" >&6
24360 if test $ac_cv_header_saml_saml2_metadata_Metadata_h = yes; then
24363 { { echo "$as_me:$LINENO: error: unable to find OpenSAML header files" >&5
24364 echo "$as_me: error: unable to find OpenSAML header files" >&2;}
24365 { (exit 1); exit 1; }; }
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 <saml/SAMLConfig.h>
24376 #include <saml/version.h>
24380 #if _OPENSAML_VERSION >= 20000
24381 opensaml::SAMLConfig::getConfig();
24383 #error Need OpenSAML version 2.0 or higher
24389 rm -f conftest.$ac_objext conftest$ac_exeext
24390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24391 (eval $ac_link) 2>conftest.er1
24393 grep -v '^ *+' conftest.er1 >conftest.err
24395 cat conftest.err >&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } &&
24398 { ac_try='test -z "$ac_cxx_werror_flag"
24399 || test ! -s conftest.err'
24400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24401 (eval $ac_try) 2>&5
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); }; } &&
24405 { ac_try='test -s conftest$ac_exeext'
24406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24407 (eval $ac_try) 2>&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); }; }; then
24412 cat >>confdefs.h <<\_ACEOF
24413 #define HAVE_SAML 1
24417 echo "$as_me: failed program was:" >&5
24418 sed 's/^/| /' conftest.$ac_ext >&5
24420 { { echo "$as_me:$LINENO: error: unable to link with OpenSAML, or version was too old" >&5
24421 echo "$as_me: error: unable to link with OpenSAML, or version was too old" >&2;}
24422 { (exit 1); exit 1; }; }
24424 rm -f conftest.err conftest.$ac_objext \
24425 conftest$ac_exeext conftest.$ac_ext
24427 # restore master libs
24430 # Establish location of opensaml catalogs.
24432 if test "x$with_saml" = "x" ; then
24435 if test -f $with_saml/share/xml/opensaml/saml20-catalog.xml ; then
24436 OPENSAMLXMLDIR="$with_saml"
24437 elif test -f $with_xmltooling/share/xml/opensaml/saml20-catalog.xml ; then
24438 OPENSAMLXMLDIR="$with_xmltooling"
24439 elif test -f $with_xerces/share/xml/opensaml/saml20-catalog.xml ; then
24440 OPENSAMLXMLDIR="$with_xerces"
24441 elif test -f $with_log4shib/share/xml/opensaml/saml20-catalog.xml ; then
24442 OPENSAMLXMLDIR="$with_log4shib"
24444 if test "x$OPENSAMLXMLDIR" = "x" ; then
24445 { { echo "$as_me:$LINENO: error: opensaml XML catalogs not found, may need to use --with-saml option" >&5
24446 echo "$as_me: error: opensaml XML catalogs not found, may need to use --with-saml option" >&2;}
24447 { (exit 1); exit 1; }; }
24449 OPENSAMLXMLDIR="$OPENSAMLXMLDIR/share/xml/opensaml"
24455 # output the underlying makefiles
24456 WANT_SUBDIRS="doc schemas configs shibsp shibd util"
24457 ac_config_files="$ac_config_files Makefile doc/Makefile schemas/Makefile configs/Makefile shibsp/Makefile shibd/Makefile util/Makefile selinux/Makefile"
24461 ac_config_files="$ac_config_files adfs/Makefile"
24463 # Check whether --enable-adfs or --disable-adfs was given.
24464 if test "${enable_adfs+set}" = set; then
24465 enableval="$enable_adfs"
24466 adfs_enabled=$enableval
24470 if test "x$adfs_enabled" = "x" ; then
24473 echo "$as_me:$LINENO: checking whether to build the ADFS module" >&5
24474 echo $ECHO_N "checking whether to build the ADFS module... $ECHO_C" >&6
24475 if test "$adfs_enabled" = "no" ; then
24476 echo "$as_me:$LINENO: result: no" >&5
24477 echo "${ECHO_T}no" >&6
24479 echo "$as_me:$LINENO: result: yes" >&5
24480 echo "${ECHO_T}yes" >&6
24481 WANT_SUBDIRS="$WANT_SUBDIRS adfs"
24486 # Build NSAPI module?
24488 echo "$as_me:$LINENO: checking for NSAPI module option" >&5
24489 echo $ECHO_N "checking for NSAPI module option... $ECHO_C" >&6
24491 # Check whether --with-nsapi or --without-nsapi was given.
24492 if test "${with_nsapi+set}" = set; then
24493 withval="$with_nsapi"
24494 WANT_NSAPI=$withval
24498 echo "$as_me:$LINENO: result: $WANT_NSAPI" >&5
24499 echo "${ECHO_T}$WANT_NSAPI" >&6
24501 if test "$WANT_NSAPI" != "no"; then
24502 if test ! -d $WANT_NSAPI/bin ; then
24503 { { echo "$as_me:$LINENO: error: Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR" >&5
24504 echo "$as_me: error: Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR" >&2;}
24505 { (exit 1); exit 1; }; }
24507 echo "$as_me:$LINENO: checking for NSAPI include files" >&5
24508 echo $ECHO_N "checking for NSAPI include files... $ECHO_C" >&6
24509 if test -d $WANT_NSAPI/include ; then
24510 NSAPI_INCLUDE=$WANT_NSAPI/include
24511 echo "$as_me:$LINENO: result: Netscape-Enterprise 3.x style" >&5
24512 echo "${ECHO_T}Netscape-Enterprise 3.x style" >&6
24514 for ac_header in $NSAPI_INCLUDE/nsapi.h
24516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24517 echo "$as_me:$LINENO: checking for $ac_header" >&5
24518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24520 echo $ECHO_N "(cached) $ECHO_C" >&6
24522 cat >conftest.$ac_ext <<_ACEOF
24525 cat confdefs.h >>conftest.$ac_ext
24526 cat >>conftest.$ac_ext <<_ACEOF
24527 /* end confdefs.h. */
24530 #include <$ac_header>
24532 rm -f conftest.$ac_objext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24534 (eval $ac_compile) 2>conftest.er1
24536 grep -v '^ *+' conftest.er1 >conftest.err
24538 cat conftest.err >&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try='test -z "$ac_cxx_werror_flag"
24542 || test ! -s conftest.err'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; } &&
24548 { ac_try='test -s conftest.$ac_objext'
24549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550 (eval $ac_try) 2>&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); }; }; then
24554 eval "$as_ac_Header=yes"
24556 echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.$ac_ext >&5
24559 eval "$as_ac_Header=no"
24561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24566 cat >>confdefs.h <<_ACEOF
24567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24574 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
24576 if test -d $WANT_NSAPI/plugins/include ; then
24577 test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE"
24578 NSAPI_INCLUDE="$WANT_NSAPI/plugins/include"
24579 echo "$as_me:$LINENO: result: iPlanet 4.x / SunONE 6.x style" >&5
24580 echo "${ECHO_T}iPlanet 4.x / SunONE 6.x style" >&6
24582 for ac_header in $NSAPI_INCLUDE/nsapi.h
24584 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24585 echo "$as_me:$LINENO: checking for $ac_header" >&5
24586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24590 cat >conftest.$ac_ext <<_ACEOF
24593 cat confdefs.h >>conftest.$ac_ext
24594 cat >>conftest.$ac_ext <<_ACEOF
24595 /* end confdefs.h. */
24598 #include <$ac_header>
24600 rm -f conftest.$ac_objext
24601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24602 (eval $ac_compile) 2>conftest.er1
24604 grep -v '^ *+' conftest.er1 >conftest.err
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } &&
24609 { ac_try='test -z "$ac_cxx_werror_flag"
24610 || test ! -s conftest.err'
24611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24612 (eval $ac_try) 2>&5
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); }; } &&
24616 { ac_try='test -s conftest.$ac_objext'
24617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24618 (eval $ac_try) 2>&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); }; }; then
24622 eval "$as_ac_Header=yes"
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.$ac_ext >&5
24627 eval "$as_ac_Header=no"
24629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24634 cat >>confdefs.h <<_ACEOF
24635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24642 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
24644 if test "$NSAPI_INCLUDE" = ""; then
24645 { { echo "$as_me:$LINENO: error: Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include" >&5
24646 echo "$as_me: error: Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include" >&2;}
24647 { (exit 1); exit 1; }; }
24653 # always output the Makefile, even if you don't use it
24654 ac_config_files="$ac_config_files nsapi_shib/Makefile"
24658 if test ! "$WANT_NSAPI" = "no"; then
24660 BUILD_NSAPI_FALSE='#'
24662 BUILD_NSAPI_TRUE='#'
24667 # add the NSAPI module to the list of wanted subdirs..
24668 if test ! "$WANT_NSAPI" = "no" ; then
24669 WANT_SUBDIRS="$WANT_SUBDIRS nsapi_shib"
24674 # Build FastCGI support?
24676 echo "$as_me:$LINENO: checking for FastCGI support" >&5
24677 echo $ECHO_N "checking for FastCGI support... $ECHO_C" >&6
24679 # Check whether --with-fastcgi or --without-fastcgi was given.
24680 if test "${with_fastcgi+set}" = set; then
24681 withval="$with_fastcgi"
24682 WANT_FASTCGI=$withval
24686 echo "$as_me:$LINENO: result: $WANT_FASTCGI" >&5
24687 echo "${ECHO_T}$WANT_FASTCGI" >&6
24689 if test "$WANT_FASTCGI" != "no"; then
24690 if test "$WANT_FASTCGI" != "yes"; then
24691 if test x_$WANT_FASTCGI != x_/usr; then
24692 FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
24693 FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
24696 if test "${ac_cv_header_fcgio_h+set}" = set; then
24697 echo "$as_me:$LINENO: checking for fcgio.h" >&5
24698 echo $ECHO_N "checking for fcgio.h... $ECHO_C" >&6
24699 if test "${ac_cv_header_fcgio_h+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 echo "$as_me:$LINENO: result: $ac_cv_header_fcgio_h" >&5
24703 echo "${ECHO_T}$ac_cv_header_fcgio_h" >&6
24705 # Is the header compilable?
24706 echo "$as_me:$LINENO: checking fcgio.h usability" >&5
24707 echo $ECHO_N "checking fcgio.h usability... $ECHO_C" >&6
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 $ac_includes_default
24717 rm -f conftest.$ac_objext
24718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24719 (eval $ac_compile) 2>conftest.er1
24721 grep -v '^ *+' conftest.er1 >conftest.err
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try='test -z "$ac_cxx_werror_flag"
24727 || test ! -s conftest.err'
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); }; } &&
24733 { ac_try='test -s conftest.$ac_objext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 ac_header_compiler=yes
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24744 ac_header_compiler=no
24746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24748 echo "${ECHO_T}$ac_header_compiler" >&6
24750 # Is the header present?
24751 echo "$as_me:$LINENO: checking fcgio.h presence" >&5
24752 echo $ECHO_N "checking fcgio.h presence... $ECHO_C" >&6
24753 cat >conftest.$ac_ext <<_ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24764 grep -v '^ *+' conftest.er1 >conftest.err
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } >/dev/null; then
24769 if test -s conftest.err; then
24770 ac_cpp_err=$ac_cxx_preproc_warn_flag
24771 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24778 if test -z "$ac_cpp_err"; then
24779 ac_header_preproc=yes
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.$ac_ext >&5
24784 ac_header_preproc=no
24786 rm -f conftest.err conftest.$ac_ext
24787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24788 echo "${ECHO_T}$ac_header_preproc" >&6
24790 # So? What about this header?
24791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24793 { echo "$as_me:$LINENO: WARNING: fcgio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24794 echo "$as_me: WARNING: fcgio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24795 { echo "$as_me:$LINENO: WARNING: fcgio.h: proceeding with the compiler's result" >&5
24796 echo "$as_me: WARNING: fcgio.h: proceeding with the compiler's result" >&2;}
24797 ac_header_preproc=yes
24800 { echo "$as_me:$LINENO: WARNING: fcgio.h: present but cannot be compiled" >&5
24801 echo "$as_me: WARNING: fcgio.h: present but cannot be compiled" >&2;}
24802 { echo "$as_me:$LINENO: WARNING: fcgio.h: check for missing prerequisite headers?" >&5
24803 echo "$as_me: WARNING: fcgio.h: check for missing prerequisite headers?" >&2;}
24804 { echo "$as_me:$LINENO: WARNING: fcgio.h: see the Autoconf documentation" >&5
24805 echo "$as_me: WARNING: fcgio.h: see the Autoconf documentation" >&2;}
24806 { echo "$as_me:$LINENO: WARNING: fcgio.h: section \"Present But Cannot Be Compiled\"" >&5
24807 echo "$as_me: WARNING: fcgio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24808 { echo "$as_me:$LINENO: WARNING: fcgio.h: proceeding with the preprocessor's result" >&5
24809 echo "$as_me: WARNING: fcgio.h: proceeding with the preprocessor's result" >&2;}
24810 { echo "$as_me:$LINENO: WARNING: fcgio.h: in the future, the compiler will take precedence" >&5
24811 echo "$as_me: WARNING: fcgio.h: in the future, the compiler will take precedence" >&2;}
24814 ## --------------------------------------------- ##
24815 ## Report this to shibboleth-users@internet2.edu ##
24816 ## --------------------------------------------- ##
24819 sed "s/^/$as_me: WARNING: /" >&2
24822 echo "$as_me:$LINENO: checking for fcgio.h" >&5
24823 echo $ECHO_N "checking for fcgio.h... $ECHO_C" >&6
24824 if test "${ac_cv_header_fcgio_h+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 ac_cv_header_fcgio_h=$ac_header_preproc
24829 echo "$as_me:$LINENO: result: $ac_cv_header_fcgio_h" >&5
24830 echo "${ECHO_T}$ac_cv_header_fcgio_h" >&6
24833 if test $ac_cv_header_fcgio_h = yes; then
24836 { { echo "$as_me:$LINENO: error: unable to find FastCGI header files" >&5
24837 echo "$as_me: error: unable to find FastCGI header files" >&2;}
24838 { (exit 1); exit 1; }; }
24842 FASTCGI_LIBS="-lfcgi -lfcgi++"
24849 # always output the Makefile, even if you don't use it
24850 ac_config_files="$ac_config_files fastcgi/Makefile"
24854 if test ! "$WANT_FASTCGI" = "no"; then
24855 BUILD_FASTCGI_TRUE=
24856 BUILD_FASTCGI_FALSE='#'
24858 BUILD_FASTCGI_TRUE='#'
24859 BUILD_FASTCGI_FALSE=
24863 if test ! "$WANT_FASTCGI" = "no" ; then
24864 WANT_SUBDIRS="$WANT_SUBDIRS fastcgi"
24868 # Build Memcached support?
24870 echo "$as_me:$LINENO: checking for Memcached support" >&5
24871 echo $ECHO_N "checking for Memcached support... $ECHO_C" >&6
24873 # Check whether --with-memcached or --without-memcached was given.
24874 if test "${with_memcached+set}" = set; then
24875 withval="$with_memcached"
24876 WANT_MEMCACHED=$withval
24880 echo "$as_me:$LINENO: result: $WANT_MEMCACHED" >&5
24881 echo "${ECHO_T}$WANT_MEMCACHED" >&6
24883 if test "$WANT_MEMCACHED" != "no"; then
24884 if test "$WANT_MEMCACHED" != "yes"; then
24885 if test x_$WANT_MEMCACHED != x_/usr; then
24886 MEMCACHED_INCLUDE="-I$WANT_MEMCACHED/include"
24887 MEMCACHED_LDFLAGS="-L$WANT_MEMCACHED/lib"
24890 if test "${ac_cv_header_libmemcached_memcached_h+set}" = set; then
24891 echo "$as_me:$LINENO: checking for libmemcached/memcached.h" >&5
24892 echo $ECHO_N "checking for libmemcached/memcached.h... $ECHO_C" >&6
24893 if test "${ac_cv_header_libmemcached_memcached_h+set}" = set; then
24894 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 echo "$as_me:$LINENO: result: $ac_cv_header_libmemcached_memcached_h" >&5
24897 echo "${ECHO_T}$ac_cv_header_libmemcached_memcached_h" >&6
24899 # Is the header compilable?
24900 echo "$as_me:$LINENO: checking libmemcached/memcached.h usability" >&5
24901 echo $ECHO_N "checking libmemcached/memcached.h usability... $ECHO_C" >&6
24902 cat >conftest.$ac_ext <<_ACEOF
24905 cat confdefs.h >>conftest.$ac_ext
24906 cat >>conftest.$ac_ext <<_ACEOF
24907 /* end confdefs.h. */
24908 $ac_includes_default
24909 #include <libmemcached/memcached.h>
24911 rm -f conftest.$ac_objext
24912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24913 (eval $ac_compile) 2>conftest.er1
24915 grep -v '^ *+' conftest.er1 >conftest.err
24917 cat conftest.err >&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); } &&
24920 { ac_try='test -z "$ac_cxx_werror_flag"
24921 || test ! -s conftest.err'
24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 (eval $ac_try) 2>&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); }; } &&
24927 { ac_try='test -s conftest.$ac_objext'
24928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929 (eval $ac_try) 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; }; then
24933 ac_header_compiler=yes
24935 echo "$as_me: failed program was:" >&5
24936 sed 's/^/| /' conftest.$ac_ext >&5
24938 ac_header_compiler=no
24940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24942 echo "${ECHO_T}$ac_header_compiler" >&6
24944 # Is the header present?
24945 echo "$as_me:$LINENO: checking libmemcached/memcached.h presence" >&5
24946 echo $ECHO_N "checking libmemcached/memcached.h presence... $ECHO_C" >&6
24947 cat >conftest.$ac_ext <<_ACEOF
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 #include <libmemcached/memcached.h>
24955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24958 grep -v '^ *+' conftest.er1 >conftest.err
24960 cat conftest.err >&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); } >/dev/null; then
24963 if test -s conftest.err; then
24964 ac_cpp_err=$ac_cxx_preproc_warn_flag
24965 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24972 if test -z "$ac_cpp_err"; then
24973 ac_header_preproc=yes
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.$ac_ext >&5
24978 ac_header_preproc=no
24980 rm -f conftest.err conftest.$ac_ext
24981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24982 echo "${ECHO_T}$ac_header_preproc" >&6
24984 # So? What about this header?
24985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24987 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: accepted by the compiler, rejected by the preprocessor!" >&5
24988 echo "$as_me: WARNING: libmemcached/memcached.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24989 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: proceeding with the compiler's result" >&5
24990 echo "$as_me: WARNING: libmemcached/memcached.h: proceeding with the compiler's result" >&2;}
24991 ac_header_preproc=yes
24994 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: present but cannot be compiled" >&5
24995 echo "$as_me: WARNING: libmemcached/memcached.h: present but cannot be compiled" >&2;}
24996 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: check for missing prerequisite headers?" >&5
24997 echo "$as_me: WARNING: libmemcached/memcached.h: check for missing prerequisite headers?" >&2;}
24998 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: see the Autoconf documentation" >&5
24999 echo "$as_me: WARNING: libmemcached/memcached.h: see the Autoconf documentation" >&2;}
25000 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: section \"Present But Cannot Be Compiled\"" >&5
25001 echo "$as_me: WARNING: libmemcached/memcached.h: section \"Present But Cannot Be Compiled\"" >&2;}
25002 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: proceeding with the preprocessor's result" >&5
25003 echo "$as_me: WARNING: libmemcached/memcached.h: proceeding with the preprocessor's result" >&2;}
25004 { echo "$as_me:$LINENO: WARNING: libmemcached/memcached.h: in the future, the compiler will take precedence" >&5
25005 echo "$as_me: WARNING: libmemcached/memcached.h: in the future, the compiler will take precedence" >&2;}
25008 ## --------------------------------------------- ##
25009 ## Report this to shibboleth-users@internet2.edu ##
25010 ## --------------------------------------------- ##
25013 sed "s/^/$as_me: WARNING: /" >&2
25016 echo "$as_me:$LINENO: checking for libmemcached/memcached.h" >&5
25017 echo $ECHO_N "checking for libmemcached/memcached.h... $ECHO_C" >&6
25018 if test "${ac_cv_header_libmemcached_memcached_h+set}" = set; then
25019 echo $ECHO_N "(cached) $ECHO_C" >&6
25021 ac_cv_header_libmemcached_memcached_h=$ac_header_preproc
25023 echo "$as_me:$LINENO: result: $ac_cv_header_libmemcached_memcached_h" >&5
25024 echo "${ECHO_T}$ac_cv_header_libmemcached_memcached_h" >&6
25027 if test $ac_cv_header_libmemcached_memcached_h = yes; then
25030 { { echo "$as_me:$LINENO: error: unable to find Memcached header files" >&5
25031 echo "$as_me: error: unable to find Memcached header files" >&2;}
25032 { (exit 1); exit 1; }; }
25036 MEMCACHED_LIBS="-lmemcached"
25043 # always output the Makefile, even if you don't use it
25044 ac_config_files="$ac_config_files memcache-store/Makefile"
25048 if test ! "$WANT_MEMCACHED" = "no"; then
25049 BUILD_MEMCACHED_TRUE=
25050 BUILD_MEMCACHED_FALSE='#'
25052 BUILD_MEMCACHED_TRUE='#'
25053 BUILD_MEMCACHED_FALSE=
25057 if test ! "$WANT_MEMCACHED" = "no" ; then
25058 WANT_SUBDIRS="$WANT_SUBDIRS memcache-store"
25063 # If no --enable-apache-xx specified
25064 # find a default and fake the specific parameters
25067 # simple macro to peek at an enable or a with
25070 echo "$as_me:$LINENO: checking if default apache needed" >&5
25071 echo $ECHO_N "checking if default apache needed... $ECHO_C" >&6
25073 if test "${enable_apache_13+set}" = set; then
25074 peekval="${enable_apache_13}"
25077 if test "${enable_apache_20+set}" = set; then
25078 peekval="${enable_apache_20}"
25081 if test "${enable_apache_22+set}" = set; then
25082 peekval="${enable_apache_22}"
25085 echo "$as_me:$LINENO: result: $need_default" >&5
25086 echo "${ECHO_T}$need_default" >&6
25088 if test "$need_default" = "yes"; then
25089 # find an apxs, then the httpd
25091 if test "${with_apxs+set}" = set; then
25092 peekval="${with_apxs}"
25095 if test "${with_apxs2+set}" = set; then
25096 peekval="${with_apxs2}"
25099 if test "${with_apxs22+set}" = set; then
25100 peekval="${with_apxs22}"
25103 if test "x$xs" = "x"; then
25104 for ac_prog in apxs2 apxs
25106 # Extract the first word of "$ac_prog", so it can be a program name with args.
25107 set dummy $ac_prog; ac_word=$2
25108 echo "$as_me:$LINENO: checking for $ac_word" >&5
25109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25110 if test "${ac_cv_path_xs+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 ac_cv_path_xs="$xs" # Let the user override the test with a path.
25118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25119 as_dummy="/usr/local/apache2/bin:/usr/local/apache/bin:/usr/sbin:$PATH"
25120 for as_dir in $as_dummy
25123 test -z "$as_dir" && as_dir=.
25124 for ac_exec_ext in '' $ac_executable_extensions; do
25125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25126 ac_cv_path_xs="$as_dir/$ac_word$ac_exec_ext"
25127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25138 if test -n "$xs"; then
25139 echo "$as_me:$LINENO: result: $xs" >&5
25140 echo "${ECHO_T}$xs" >&6
25142 echo "$as_me:$LINENO: result: no" >&5
25143 echo "${ECHO_T}no" >&6
25146 test -n "$xs" && break
25148 test -n "$xs" || xs="{ { echo "$as_me:$LINENO: error: No apxs" >&5
25149 echo "$as_me: error: No apxs" >&2;}
25150 { (exit no apache found. Try --with-apxs); exit no apache found. Try --with-apxs; }; }"
25153 # ask the daemon for the version and set parameters
25154 echo "$as_me:$LINENO: checking default apache version" >&5
25155 echo $ECHO_N "checking default apache version... $ECHO_C" >&6
25156 httpd="`$xs -q SBINDIR`/`$xs -q TARGET`"
25157 if test "x$httpd" != "x" && test -f $httpd ; then
25158 v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
25160 1.3*) enable_apache_13=yes
25162 echo "$as_me:$LINENO: result: 1.3" >&5
25163 echo "${ECHO_T}1.3" >&6
25165 2.0*) enable_apache_20=yes
25167 echo "$as_me:$LINENO: result: 2.0" >&5
25168 echo "${ECHO_T}2.0" >&6
25170 2.2*) enable_apache_22=yes
25172 echo "$as_me:$LINENO: result: 2.2" >&5
25173 echo "${ECHO_T}2.2" >&6
25175 *) { { echo "$as_me:$LINENO: error: unusable apache versions: $v. Try setting --with-apxs" >&5
25176 echo "$as_me: error: unusable apache versions: $v. Try setting --with-apxs" >&2;}
25177 { (exit 1); exit 1; }; }
25180 echo "$as_me:$LINENO: result: cannot determine version. Try setting --with-apxs" >&5
25181 echo "${ECHO_T}cannot determine version. Try setting --with-apxs" >&6
25185 # Apache 1.3 (mod_shib_13)
25186 # --enable-apache-13
25187 # --with-apxs (DSO build, the normal way, uses apxs to derive build flags)
25189 # Check whether --enable-apache-13 or --disable-apache-13 was given.
25190 if test "${enable_apache_13+set}" = set; then
25191 enableval="$enable_apache_13"
25192 if test "x$enableval" = "x" ; then
25195 WANT_APACHE_13="$enableval"
25201 echo "$as_me:$LINENO: checking whether to build Apache 1.3 module" >&5
25202 echo $ECHO_N "checking whether to build Apache 1.3 module... $ECHO_C" >&6
25203 if test "$WANT_APACHE_13" != yes && test "$WANT_APACHE_13" != no ; then
25206 echo "$as_me:$LINENO: result: $WANT_APACHE_13" >&5
25207 echo "${ECHO_T}$WANT_APACHE_13" >&6
25209 if test "$WANT_APACHE_13" = "yes" ; then
25211 # Check whether --with-apxs or --without-apxs was given.
25212 if test "${with_apxs+set}" = set; then
25213 withval="$with_apxs"
25215 echo "$as_me:$LINENO: checking for user-specified apxs name/location" >&5
25216 echo $ECHO_N "checking for user-specified apxs name/location... $ECHO_C" >&6
25217 if test "$withval" != "no" ; then
25218 if test "$withval" != "yes"; then
25220 echo "$as_me:$LINENO: result: \"$withval\"" >&5
25221 echo "${ECHO_T}\"$withval\"" >&6
25227 # Extract the first word of "apxs", so it can be a program name with args.
25228 set dummy apxs; ac_word=$2
25229 echo "$as_me:$LINENO: checking for $ac_word" >&5
25230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25231 if test "${ac_cv_path_APXS+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25236 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
25239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25240 for as_dir in $PATH
25243 test -z "$as_dir" && as_dir=.
25244 for ac_exec_ext in '' $ac_executable_extensions; do
25245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25246 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
25247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25253 test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="no"
25257 APXS=$ac_cv_path_APXS
25259 if test -n "$APXS"; then
25260 echo "$as_me:$LINENO: result: $APXS" >&5
25261 echo "${ECHO_T}$APXS" >&6
25263 echo "$as_me:$LINENO: result: no" >&5
25264 echo "${ECHO_T}no" >&6
25267 if test "$APXS" = "no" ; then
25268 for i in /usr/sbin /usr/local/apache/bin ; do
25269 if test "$APXS" = "no" && test -f "$i/apxs"; then
25277 echo "$as_me:$LINENO: checking to see if apxs was located" >&5
25278 echo $ECHO_N "checking to see if apxs was located... $ECHO_C" >&6
25279 if test ! -f "$APXS" ; then
25280 echo "$as_me:$LINENO: result: no" >&5
25281 echo "${ECHO_T}no" >&6
25282 { { echo "$as_me:$LINENO: error: Unable to locate apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs option." >&5
25283 echo "$as_me: error: Unable to locate apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs option." >&2;}
25284 { (exit 1); exit 1; }; }
25286 echo "$as_me:$LINENO: result: $APXS" >&5
25287 echo "${ECHO_T}$APXS" >&6
25290 # extract settings we need from APXS -q
25291 APXS_CC="`$APXS -q CC`"
25292 APXS_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB`"
25293 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
25300 # Apache 2.0 (mod_shib_20)
25301 # --enable-apache-20
25302 # --with-apxs2 (DSO build, the normal way, uses apxs to derive build flags)
25303 # --with-apr (DSO build, APR development package installed separately)
25305 # Check whether --enable-apache-20 or --disable-apache-20 was given.
25306 if test "${enable_apache_20+set}" = set; then
25307 enableval="$enable_apache_20"
25308 if test "x$enableval" = "x" ; then
25311 WANT_APACHE_20="$enableval"
25317 echo "$as_me:$LINENO: checking whether to build Apache 2.0 module" >&5
25318 echo $ECHO_N "checking whether to build Apache 2.0 module... $ECHO_C" >&6
25319 if test "$WANT_APACHE_20" != yes && test "$WANT_APACHE_20" != no ; then
25322 echo "$as_me:$LINENO: result: $WANT_APACHE_20" >&5
25323 echo "${ECHO_T}$WANT_APACHE_20" >&6
25325 if test "$WANT_APACHE_20" = "yes" ; then
25327 # Check whether --with-apxs2 or --without-apxs2 was given.
25328 if test "${with_apxs2+set}" = set; then
25329 withval="$with_apxs2"
25331 echo "$as_me:$LINENO: checking for user-specified Apache2 apxs name/location" >&5
25332 echo $ECHO_N "checking for user-specified Apache2 apxs name/location... $ECHO_C" >&6
25333 if test "$withval" != "no" ; then
25334 if test "$withval" != "yes"; then
25336 echo "$as_me:$LINENO: result: \"$withval\"" >&5
25337 echo "${ECHO_T}\"$withval\"" >&6
25343 # Extract the first word of "apxs2", so it can be a program name with args.
25344 set dummy apxs2; ac_word=$2
25345 echo "$as_me:$LINENO: checking for $ac_word" >&5
25346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25347 if test "${ac_cv_path_APXS2+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
25355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25356 for as_dir in $PATH
25359 test -z "$as_dir" && as_dir=.
25360 for ac_exec_ext in '' $ac_executable_extensions; do
25361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25362 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
25363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25369 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
25373 APXS2=$ac_cv_path_APXS2
25375 if test -n "$APXS2"; then
25376 echo "$as_me:$LINENO: result: $APXS2" >&5
25377 echo "${ECHO_T}$APXS2" >&6
25379 echo "$as_me:$LINENO: result: no" >&5
25380 echo "${ECHO_T}no" >&6
25383 if test "$APXS2" = "no" ; then
25384 # Extract the first word of "apxs", so it can be a program name with args.
25385 set dummy apxs; ac_word=$2
25386 echo "$as_me:$LINENO: checking for $ac_word" >&5
25387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25388 if test "${ac_cv_path_APXS2+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
25396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25397 for as_dir in $PATH
25400 test -z "$as_dir" && as_dir=.
25401 for ac_exec_ext in '' $ac_executable_extensions; do
25402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25403 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
25404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25410 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
25414 APXS2=$ac_cv_path_APXS2
25416 if test -n "$APXS2"; then
25417 echo "$as_me:$LINENO: result: $APXS2" >&5
25418 echo "${ECHO_T}$APXS2" >&6
25420 echo "$as_me:$LINENO: result: no" >&5
25421 echo "${ECHO_T}no" >&6
25425 if test "$APXS2" = "no" ; then
25426 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
25427 if test "$APXS2" = "no" && test -f "$i/apxs2" ; then
25431 if test "$APXS2" = "no" ; then
25432 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
25433 if test "$APXS2" = "no" && test -f "$i/apxs" ; then
25442 echo "$as_me:$LINENO: checking to see if Apache2 apxs was located" >&5
25443 echo $ECHO_N "checking to see if Apache2 apxs was located... $ECHO_C" >&6
25444 if test ! -f "$APXS2" ; then
25445 echo "$as_me:$LINENO: result: no" >&5
25446 echo "${ECHO_T}no" >&6
25447 { { echo "$as_me:$LINENO: error: Unable to locate Apache2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs2 option." >&5
25448 echo "$as_me: error: Unable to locate Apache2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs2 option." >&2;}
25449 { (exit 1); exit 1; }; }
25451 echo "$as_me:$LINENO: result: $APXS2" >&5
25452 echo "${ECHO_T}$APXS2" >&6
25457 # Check whether --with-apr or --without-apr was given.
25458 if test "${with_apr+set}" = set; then
25459 withval="$with_apr"
25461 echo "$as_me:$LINENO: checking for user-specified apr-config name/location" >&5
25462 echo $ECHO_N "checking for user-specified apr-config name/location... $ECHO_C" >&6
25463 if test "$withval" != "no" ; then
25464 if test "$withval" != "yes"; then
25465 APR_CONFIG=$withval
25466 echo "$as_me:$LINENO: result: \"$withval\"" >&5
25467 echo "${ECHO_T}\"$withval\"" >&6
25473 # Extract the first word of "apr-config", so it can be a program name with args.
25474 set dummy apr-config; ac_word=$2
25475 echo "$as_me:$LINENO: checking for $ac_word" >&5
25476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25477 if test "${ac_cv_path_APR_CONFIG+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25480 case $APR_CONFIG in
25482 ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
25485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25486 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
25487 for as_dir in $as_dummy
25490 test -z "$as_dir" && as_dir=.
25491 for ac_exec_ext in '' $ac_executable_extensions; do
25492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25493 ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25503 APR_CONFIG=$ac_cv_path_APR_CONFIG
25505 if test -n "$APR_CONFIG"; then
25506 echo "$as_me:$LINENO: result: $APR_CONFIG" >&5
25507 echo "${ECHO_T}$APR_CONFIG" >&6
25509 echo "$as_me:$LINENO: result: no" >&5
25510 echo "${ECHO_T}no" >&6
25515 if test -f "${APR_CONFIG}"; then
25516 APR_CFLAGS="`${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags` `${APR_CONFIG} --includes`"
25518 { { echo "$as_me:$LINENO: error: Unable to locate apr-config, may need --with-apr option." >&5
25519 echo "$as_me: error: Unable to locate apr-config, may need --with-apr option." >&2;}
25520 { (exit 1); exit 1; }; }
25523 # extract settings we need from APXS2 -q
25524 APXS2_CC="`$APXS2 -q CC`"
25525 APXS2_CFLAGS="`$APXS2 -q CPPFLAGS` `$APXS2 -q CFLAGS` $APR_CFLAGS"
25526 APXS2_INCLUDE="`$APXS2 -q INCLUDEDIR`"
25533 # Apache 2.2 (mod_shib_22)
25534 # --enable-apache-22
25535 # --with-apxs22 (DSO build, the normal way, uses apxs to derive build flags)
25536 # --with-apr1 (DSO build, APR development package installed separately)
25538 # Check whether --enable-apache-22 or --disable-apache-22 was given.
25539 if test "${enable_apache_22+set}" = set; then
25540 enableval="$enable_apache_22"
25541 if test "x$enableval" = "x" ; then
25544 WANT_APACHE_22="$enableval"
25550 echo "$as_me:$LINENO: checking whether to build Apache 2.2 module" >&5
25551 echo $ECHO_N "checking whether to build Apache 2.2 module... $ECHO_C" >&6
25552 if test "$WANT_APACHE_22" != yes && test "$WANT_APACHE_22" != no ; then
25555 echo "$as_me:$LINENO: result: $WANT_APACHE_22" >&5
25556 echo "${ECHO_T}$WANT_APACHE_22" >&6
25558 if test "$WANT_APACHE_22" = "yes" ; then
25560 # Check whether --with-apxs22 or --without-apxs22 was given.
25561 if test "${with_apxs22+set}" = set; then
25562 withval="$with_apxs22"
25564 echo "$as_me:$LINENO: checking for user-specified Apache2.2 apxs name/location" >&5
25565 echo $ECHO_N "checking for user-specified Apache2.2 apxs name/location... $ECHO_C" >&6
25566 if test "$withval" != "no" ; then
25567 if test "$withval" != "yes"; then
25569 echo "$as_me:$LINENO: result: \"$withval\"" >&5
25570 echo "${ECHO_T}\"$withval\"" >&6
25576 # Extract the first word of "apxs2", so it can be a program name with args.
25577 set dummy apxs2; ac_word=$2
25578 echo "$as_me:$LINENO: checking for $ac_word" >&5
25579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25580 if test "${ac_cv_path_APXS22+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
25588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25589 for as_dir in $PATH
25592 test -z "$as_dir" && as_dir=.
25593 for ac_exec_ext in '' $ac_executable_extensions; do
25594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25595 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
25596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25602 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
25606 APXS22=$ac_cv_path_APXS22
25608 if test -n "$APXS22"; then
25609 echo "$as_me:$LINENO: result: $APXS22" >&5
25610 echo "${ECHO_T}$APXS22" >&6
25612 echo "$as_me:$LINENO: result: no" >&5
25613 echo "${ECHO_T}no" >&6
25616 if test "$APXS22" = "no" ; then
25617 # Extract the first word of "apxs", so it can be a program name with args.
25618 set dummy apxs; ac_word=$2
25619 echo "$as_me:$LINENO: checking for $ac_word" >&5
25620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25621 if test "${ac_cv_path_APXS22+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
25629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25630 for as_dir in $PATH
25633 test -z "$as_dir" && as_dir=.
25634 for ac_exec_ext in '' $ac_executable_extensions; do
25635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25636 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
25637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25643 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
25647 APXS22=$ac_cv_path_APXS22
25649 if test -n "$APXS22"; then
25650 echo "$as_me:$LINENO: result: $APXS22" >&5
25651 echo "${ECHO_T}$APXS22" >&6
25653 echo "$as_me:$LINENO: result: no" >&5
25654 echo "${ECHO_T}no" >&6
25658 if test "$APXS22" = "no" ; then
25659 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
25660 if test "$APXS22" = "no" && test -f "$i/apxs2" ; then
25664 if test "$APXS22" = "no" ; then
25665 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
25666 if test "$APXS22" = "no" && test -f "$i/apxs" ; then
25675 echo "$as_me:$LINENO: checking to see if Apache2.2 apxs was located" >&5
25676 echo $ECHO_N "checking to see if Apache2.2 apxs was located... $ECHO_C" >&6
25677 if test ! -f "$APXS22" ; then
25678 echo "$as_me:$LINENO: result: no" >&5
25679 echo "${ECHO_T}no" >&6
25680 { { echo "$as_me:$LINENO: error: Unable to locate Apache2.2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs22 option." >&5
25681 echo "$as_me: error: Unable to locate Apache2.2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs22 option." >&2;}
25682 { (exit 1); exit 1; }; }
25684 echo "$as_me:$LINENO: result: $APXS22" >&5
25685 echo "${ECHO_T}$APXS22" >&6
25690 # Check whether --with-apr1 or --without-apr1 was given.
25691 if test "${with_apr1+set}" = set; then
25692 withval="$with_apr1"
25694 echo "$as_me:$LINENO: checking for user-specified apr-1-config name/location" >&5
25695 echo $ECHO_N "checking for user-specified apr-1-config name/location... $ECHO_C" >&6
25696 if test "$withval" != "no" ; then
25697 if test "$withval" != "yes"; then
25698 APR1_CONFIG=$withval
25699 echo "$as_me:$LINENO: result: \"$withval\"" >&5
25700 echo "${ECHO_T}\"$withval\"" >&6
25706 # Extract the first word of "apr-1-config", so it can be a program name with args.
25707 set dummy apr-1-config; ac_word=$2
25708 echo "$as_me:$LINENO: checking for $ac_word" >&5
25709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25710 if test "${ac_cv_path_APR1_CONFIG+set}" = set; then
25711 echo $ECHO_N "(cached) $ECHO_C" >&6
25713 case $APR1_CONFIG in
25715 ac_cv_path_APR1_CONFIG="$APR1_CONFIG" # Let the user override the test with a path.
25718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25719 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
25720 for as_dir in $as_dummy
25723 test -z "$as_dir" && as_dir=.
25724 for ac_exec_ext in '' $ac_executable_extensions; do
25725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25726 ac_cv_path_APR1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25736 APR1_CONFIG=$ac_cv_path_APR1_CONFIG
25738 if test -n "$APR1_CONFIG"; then
25739 echo "$as_me:$LINENO: result: $APR1_CONFIG" >&5
25740 echo "${ECHO_T}$APR1_CONFIG" >&6
25742 echo "$as_me:$LINENO: result: no" >&5
25743 echo "${ECHO_T}no" >&6
25748 if test -f "${APR1_CONFIG}"; then
25749 APR1_CFLAGS="`${APR1_CONFIG} --cflags` `${APR1_CONFIG} --cppflags` `${APR1_CONFIG} --includes`"
25751 { { echo "$as_me:$LINENO: error: Unable to locate apr-1-config, may need --with-apr1 option." >&5
25752 echo "$as_me: error: Unable to locate apr-1-config, may need --with-apr1 option." >&2;}
25753 { (exit 1); exit 1; }; }
25756 # extract settings we need from APXS22 -q
25757 APXS22_CC="`$APXS22 -q CC`"
25758 APXS22_CFLAGS="`$APXS22 -q CPPFLAGS` `$APXS22 -q CFLAGS` $APR1_CFLAGS"
25759 APXS22_INCLUDE="`$APXS22 -q INCLUDEDIR`"
25765 # always output the Makefile, even if you don't use it
25766 ac_config_files="$ac_config_files apache/Makefile"
25770 if test "$WANT_APACHE_13" = "yes"; then
25772 BUILD_AP13_FALSE='#'
25774 BUILD_AP13_TRUE='#'
25780 if test "$WANT_APACHE_20" = "yes"; then
25782 BUILD_AP20_FALSE='#'
25784 BUILD_AP20_TRUE='#'
25790 if test "$WANT_APACHE_22" = "yes"; then
25792 BUILD_AP22_FALSE='#'
25794 BUILD_AP22_TRUE='#'
25799 # add the apache module to the list of wanted subdirs..
25800 if test "$WANT_APACHE_13" = "yes" || test "$WANT_APACHE_20" = "yes" || test "$WANT_APACHE_22" = "yes" ; then
25801 WANT_SUBDIRS="$WANT_SUBDIRS apache"
25806 # Implement the checks of the ODBC Storage Service
25808 # 1) Assume the user wants ODBC; if it's not found then just continue without
25809 # 2) If the user specifically requested odbc, look for it and ERROR if not found
25810 # 3) If the user specifically requested no odbc, don't build it.
25813 ac_config_files="$ac_config_files odbc-store/Makefile"
25816 # determine whether we should enable the odbc ccache
25817 # Check whether --enable-odbc or --disable-odbc was given.
25818 if test "${enable_odbc+set}" = set; then
25819 enableval="$enable_odbc"
25820 odbc_enabled=$enableval
25822 odbc_enabled=default
25825 if test "x$odbc_enabled" = "x" ; then
25829 # Are we trying to build ODBC?
25830 echo "$as_me:$LINENO: checking whether to build the ODBC storage service" >&5
25831 echo $ECHO_N "checking whether to build the ODBC storage service... $ECHO_C" >&6
25832 if test "$odbc_enabled" = "yes" ; then
25834 echo "$as_me:$LINENO: result: yes" >&5
25835 echo "${ECHO_T}yes" >&6
25836 elif test "$odbc_enabled" = "default" ; then
25838 echo "$as_me:$LINENO: result: yes, if it can be found" >&5
25839 echo "${ECHO_T}yes, if it can be found" >&6
25842 echo "$as_me:$LINENO: result: no" >&5
25843 echo "${ECHO_T}no" >&6
25846 # If we're trying to build ODBC, try to find the odbc_config program.
25847 if test "$build_odbc" = "yes" ; then
25850 # Check whether --with-odbc or --without-odbc was given.
25851 if test "${with_odbc+set}" = set; then
25852 withval="$with_odbc"
25853 if test "$with_odbc" = no ; then
25854 { { echo "$as_me:$LINENO: error: Try running --disable-odbc instead." >&5
25855 echo "$as_me: error: Try running --disable-odbc instead." >&2;}
25856 { (exit 1); exit 1; }; }
25857 elif test "$with_odbc" != yes ; then
25858 odbc_dir="$with_odbc/bin"
25859 if test "$with_odbc" != /usr ; then
25860 ODBC_CFLAGS="-I$with_odbc/include"
25861 ODBC_LIBS="-L$with_odbc/lib"
25866 # Extract the first word of "odbc_config", so it can be a program name with args.
25867 set dummy odbc_config; ac_word=$2
25868 echo "$as_me:$LINENO: checking for $ac_word" >&5
25869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25870 if test "${ac_cv_path_ODBC_CONFIG+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 case $ODBC_CONFIG in
25875 ac_cv_path_ODBC_CONFIG="$ODBC_CONFIG" # Let the user override the test with a path.
25878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25879 for as_dir in $odbc_dir $PATH
25882 test -z "$as_dir" && as_dir=.
25883 for ac_exec_ext in '' $ac_executable_extensions; do
25884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25885 ac_cv_path_ODBC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25892 test -z "$ac_cv_path_ODBC_CONFIG" && ac_cv_path_ODBC_CONFIG="no"
25896 ODBC_CONFIG=$ac_cv_path_ODBC_CONFIG
25898 if test -n "$ODBC_CONFIG"; then
25899 echo "$as_me:$LINENO: result: $ODBC_CONFIG" >&5
25900 echo "${ECHO_T}$ODBC_CONFIG" >&6
25902 echo "$as_me:$LINENO: result: no" >&5
25903 echo "${ECHO_T}no" >&6
25906 if test "$ODBC_CONFIG" = no ; then
25907 { echo "$as_me:$LINENO: WARNING: Cannot find odbc_config, will try to guess settings." >&5
25908 echo "$as_me: WARNING: Cannot find odbc_config, will try to guess settings." >&2;}
25909 ODBC_LIBS="$ODBC_LIBS -lodbc"
25911 ODBC_CFLAGS=`$ODBC_CONFIG --cflags`
25912 ODBC_LIBS=`$ODBC_CONFIG --libs`
25915 save_CPPFLAGS="$CPPFLAGS"
25916 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
25918 if test "${ac_cv_header_sql_h+set}" = set; then
25919 echo "$as_me:$LINENO: checking for sql.h" >&5
25920 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25921 if test "${ac_cv_header_sql_h+set}" = set; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25925 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25927 # Is the header compilable?
25928 echo "$as_me:$LINENO: checking sql.h usability" >&5
25929 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25930 cat >conftest.$ac_ext <<_ACEOF
25933 cat confdefs.h >>conftest.$ac_ext
25934 cat >>conftest.$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25936 $ac_includes_default
25939 rm -f conftest.$ac_objext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25941 (eval $ac_compile) 2>conftest.er1
25943 grep -v '^ *+' conftest.er1 >conftest.err
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_cxx_werror_flag"
25949 || test ! -s conftest.err'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; } &&
25955 { ac_try='test -s conftest.$ac_objext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 ac_header_compiler=yes
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25966 ac_header_compiler=no
25968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25970 echo "${ECHO_T}$ac_header_compiler" >&6
25972 # Is the header present?
25973 echo "$as_me:$LINENO: checking sql.h presence" >&5
25974 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25975 cat >conftest.$ac_ext <<_ACEOF
25978 cat confdefs.h >>conftest.$ac_ext
25979 cat >>conftest.$ac_ext <<_ACEOF
25980 /* end confdefs.h. */
25983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25986 grep -v '^ *+' conftest.er1 >conftest.err
25988 cat conftest.err >&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); } >/dev/null; then
25991 if test -s conftest.err; then
25992 ac_cpp_err=$ac_cxx_preproc_warn_flag
25993 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26000 if test -z "$ac_cpp_err"; then
26001 ac_header_preproc=yes
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26006 ac_header_preproc=no
26008 rm -f conftest.err conftest.$ac_ext
26009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26010 echo "${ECHO_T}$ac_header_preproc" >&6
26012 # So? What about this header?
26013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26015 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26016 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26017 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26018 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26019 ac_header_preproc=yes
26022 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26023 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26024 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26025 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26026 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26027 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26028 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26029 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26030 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26031 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26032 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26033 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26036 ## --------------------------------------------- ##
26037 ## Report this to shibboleth-users@internet2.edu ##
26038 ## --------------------------------------------- ##
26041 sed "s/^/$as_me: WARNING: /" >&2
26044 echo "$as_me:$LINENO: checking for sql.h" >&5
26045 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26046 if test "${ac_cv_header_sql_h+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 ac_cv_header_sql_h=$ac_header_preproc
26051 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26052 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26055 if test $ac_cv_header_sql_h = yes; then
26062 if test "$have_sql_h" = no -a "$odbc_enabled" = "yes" ; then
26063 { { echo "$as_me:$LINENO: error: unable to find ODBC header files" >&5
26064 echo "$as_me: error: unable to find ODBC header files" >&2;}
26065 { (exit 1); exit 1; }; }
26068 if test "$have_sql_h" = yes ; then
26070 LIBS="$LIBS $ODBC_LIBS"
26071 echo "$as_me:$LINENO: checking if we can link againt ODBC" >&5
26072 echo $ECHO_N "checking if we can link againt ODBC... $ECHO_C" >&6
26073 cat >conftest.$ac_ext <<_ACEOF
26076 cat confdefs.h >>conftest.$ac_ext
26077 cat >>conftest.$ac_ext <<_ACEOF
26078 /* end confdefs.h. */
26080 #include <sqlext.h>
26085 SQLSetEnvAttr(SQL_NULL_HANDLE, SQL_ATTR_CONNECTION_POOLING, (void*)SQL_CP_ONE_PER_HENV, 0)
26090 rm -f conftest.$ac_objext conftest$ac_exeext
26091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26092 (eval $ac_link) 2>conftest.er1
26094 grep -v '^ *+' conftest.er1 >conftest.err
26096 cat conftest.err >&5
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); } &&
26099 { ac_try='test -z "$ac_cxx_werror_flag"
26100 || test ! -s conftest.err'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; } &&
26106 { ac_try='test -s conftest$ac_exeext'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; }; then
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26119 rm -f conftest.err conftest.$ac_objext \
26120 conftest$ac_exeext conftest.$ac_ext
26123 if test "$have_odbc_libs" = no ; then
26124 if test "$odbc_enabled" = "yes" ; then
26125 { { echo "$as_me:$LINENO: error: unable to link with ODBC Library" >&5
26126 echo "$as_me: error: unable to link with ODBC Library" >&2;}
26127 { (exit 1); exit 1; }; }
26129 echo "$as_me:$LINENO: result: no" >&5
26130 echo "${ECHO_T}no" >&6
26135 CPPFLAGS="$save_CPPFLAGS"
26138 # if have_odbc_libs=yes then go ahead with building ODBC
26139 if test "$have_odbc_libs" = yes ; then
26140 # this AC_MSG_RESULT is from above!
26141 echo "$as_me:$LINENO: result: yes" >&5
26142 echo "${ECHO_T}yes" >&6
26143 WANT_SUBDIRS="$WANT_SUBDIRS odbc-store"
26151 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
26152 echo "=================================================================="
26153 echo "WARNING: You have chosen to compile Apache-1.3 modules with a different"
26154 echo " compiler than the one used to compile Apache."
26156 echo " Current compiler: $CC"
26157 echo " Apache's compiler: $APXS_CC"
26159 echo "This could cause problems."
26160 echo "=================================================================="
26163 if test -n "$APXS2_CC" && test "$APXS2_CC" != "$CC" ; then
26164 echo "=================================================================="
26165 echo "WARNING: You have chosen to compile Apache-2.0 modules with a different"
26166 echo " compiler than the one used to compile Apache."
26168 echo " Current compiler: $CC"
26169 echo " Apache's compiler: $APXS2_CC"
26171 echo "This could cause problems."
26172 echo "=================================================================="
26175 if test -n "$APXS22_CC" && test "$APXS22_CC" != "$CC" ; then
26176 echo "=================================================================="
26177 echo "WARNING: You have chosen to compile Apache-2.2 modules with a different"
26178 echo " compiler than the one used to compile Apache."
26180 echo " Current compiler: $CC"
26181 echo " Apache's compiler: $APXS22_CC"
26183 echo "This could cause problems."
26184 echo "=================================================================="
26187 LIBTOOL="$LIBTOOL --silent"
26189 cat >confcache <<\_ACEOF
26190 # This file is a shell script that caches the results of configure
26191 # tests run on this system so they can be shared between configure
26192 # scripts and configure runs, see configure's option --config-cache.
26193 # It is not useful on other systems. If it contains results you don't
26194 # want to keep, you may remove or edit it.
26196 # config.status only pays attention to the cache file if you give it
26197 # the --recheck option to rerun configure.
26199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26201 # following values.
26205 # The following way of writing the cache mishandles newlines in values,
26206 # but we know of no workaround that is simple, portable, and efficient.
26207 # So, don't put newlines in cache variables' values.
26208 # Ultrix sh set writes to stderr and can't be redirected directly,
26209 # and sets the high bit in the cache file unless we assign to the vars.
26212 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26214 # `set' does not quote correctly, so add quotes (double-quote
26215 # substitution turns \\\\ into \\, and sed turns \\ into \).
26218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26221 # `set' quotes correctly as required by POSIX, so do not add quotes.
26223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26232 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26234 if diff $cache_file confcache >/dev/null 2>&1; then :; else
26235 if test -w $cache_file; then
26236 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26237 cat confcache >$cache_file
26239 echo "not updating unwritable cache $cache_file"
26244 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26245 # Let make expand exec_prefix.
26246 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26248 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26249 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26250 # trailing colons and then remove the whole line if VPATH becomes empty
26251 # (actually we leave an empty line to preserve line numbers).
26252 if test "x$srcdir" = x.; then
26253 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26254 s/:*\$(srcdir):*/:/;
26255 s/:*\${srcdir}:*/:/;
26257 s/^\([^=]*=[ ]*\):*/\1/;
26263 DEFS=-DHAVE_CONFIG_H
26267 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26268 # 1. Remove the extension, and $U if already installed.
26269 ac_i=`echo "$ac_i" |
26270 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
26272 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
26273 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
26275 LIBOBJS=$ac_libobjs
26277 LTLIBOBJS=$ac_ltlibobjs
26280 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
26281 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
26282 Usually this means the macro was only invoked conditionally." >&5
26283 echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
26284 Usually this means the macro was only invoked conditionally." >&2;}
26285 { (exit 1); exit 1; }; }
26287 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
26288 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
26289 Usually this means the macro was only invoked conditionally." >&5
26290 echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
26291 Usually this means the macro was only invoked conditionally." >&2;}
26292 { (exit 1); exit 1; }; }
26294 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
26295 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
26296 Usually this means the macro was only invoked conditionally." >&5
26297 echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
26298 Usually this means the macro was only invoked conditionally." >&2;}
26299 { (exit 1); exit 1; }; }
26301 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
26302 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
26303 Usually this means the macro was only invoked conditionally." >&5
26304 echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
26305 Usually this means the macro was only invoked conditionally." >&2;}
26306 { (exit 1); exit 1; }; }
26308 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
26309 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
26310 Usually this means the macro was only invoked conditionally." >&5
26311 echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
26312 Usually this means the macro was only invoked conditionally." >&2;}
26313 { (exit 1); exit 1; }; }
26315 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
26316 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
26317 Usually this means the macro was only invoked conditionally." >&5
26318 echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
26319 Usually this means the macro was only invoked conditionally." >&2;}
26320 { (exit 1); exit 1; }; }
26322 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
26323 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
26324 Usually this means the macro was only invoked conditionally." >&5
26325 echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
26326 Usually this means the macro was only invoked conditionally." >&2;}
26327 { (exit 1); exit 1; }; }
26329 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
26330 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
26331 Usually this means the macro was only invoked conditionally." >&5
26332 echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
26333 Usually this means the macro was only invoked conditionally." >&2;}
26334 { (exit 1); exit 1; }; }
26336 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
26337 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
26338 Usually this means the macro was only invoked conditionally." >&5
26339 echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
26340 Usually this means the macro was only invoked conditionally." >&2;}
26341 { (exit 1); exit 1; }; }
26343 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
26344 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
26345 Usually this means the macro was only invoked conditionally." >&5
26346 echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
26347 Usually this means the macro was only invoked conditionally." >&2;}
26348 { (exit 1); exit 1; }; }
26350 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
26351 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
26352 Usually this means the macro was only invoked conditionally." >&5
26353 echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
26354 Usually this means the macro was only invoked conditionally." >&2;}
26355 { (exit 1); exit 1; }; }
26357 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
26358 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
26359 Usually this means the macro was only invoked conditionally." >&5
26360 echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
26361 Usually this means the macro was only invoked conditionally." >&2;}
26362 { (exit 1); exit 1; }; }
26364 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
26365 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
26366 Usually this means the macro was only invoked conditionally." >&5
26367 echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
26368 Usually this means the macro was only invoked conditionally." >&2;}
26369 { (exit 1); exit 1; }; }
26371 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
26372 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
26373 Usually this means the macro was only invoked conditionally." >&5
26374 echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
26375 Usually this means the macro was only invoked conditionally." >&2;}
26376 { (exit 1); exit 1; }; }
26378 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
26379 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
26380 Usually this means the macro was only invoked conditionally." >&5
26381 echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
26382 Usually this means the macro was only invoked conditionally." >&2;}
26383 { (exit 1); exit 1; }; }
26385 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
26386 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
26387 Usually this means the macro was only invoked conditionally." >&5
26388 echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
26389 Usually this means the macro was only invoked conditionally." >&2;}
26390 { (exit 1); exit 1; }; }
26392 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
26393 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
26394 Usually this means the macro was only invoked conditionally." >&5
26395 echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
26396 Usually this means the macro was only invoked conditionally." >&2;}
26397 { (exit 1); exit 1; }; }
26399 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
26400 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
26401 Usually this means the macro was only invoked conditionally." >&5
26402 echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
26403 Usually this means the macro was only invoked conditionally." >&2;}
26404 { (exit 1); exit 1; }; }
26406 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
26407 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
26408 Usually this means the macro was only invoked conditionally." >&5
26409 echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
26410 Usually this means the macro was only invoked conditionally." >&2;}
26411 { (exit 1); exit 1; }; }
26413 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
26414 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
26415 Usually this means the macro was only invoked conditionally." >&5
26416 echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
26417 Usually this means the macro was only invoked conditionally." >&2;}
26418 { (exit 1); exit 1; }; }
26420 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
26421 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
26422 Usually this means the macro was only invoked conditionally." >&5
26423 echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
26424 Usually this means the macro was only invoked conditionally." >&2;}
26425 { (exit 1); exit 1; }; }
26427 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
26428 { { echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
26429 Usually this means the macro was only invoked conditionally." >&5
26430 echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
26431 Usually this means the macro was only invoked conditionally." >&2;}
26432 { (exit 1); exit 1; }; }
26434 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26435 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26436 Usually this means the macro was only invoked conditionally." >&5
26437 echo "$as_me: error: conditional \"AMDEP\" was never defined.
26438 Usually this means the macro was only invoked conditionally." >&2;}
26439 { (exit 1); exit 1; }; }
26441 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26442 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26443 Usually this means the macro was only invoked conditionally." >&5
26444 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26445 Usually this means the macro was only invoked conditionally." >&2;}
26446 { (exit 1); exit 1; }; }
26448 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26449 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26450 Usually this means the macro was only invoked conditionally." >&5
26451 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26452 Usually this means the macro was only invoked conditionally." >&2;}
26453 { (exit 1); exit 1; }; }
26455 if test -z "${BUILD_NSAPI_TRUE}" && test -z "${BUILD_NSAPI_FALSE}"; then
26456 { { echo "$as_me:$LINENO: error: conditional \"BUILD_NSAPI\" was never defined.
26457 Usually this means the macro was only invoked conditionally." >&5
26458 echo "$as_me: error: conditional \"BUILD_NSAPI\" was never defined.
26459 Usually this means the macro was only invoked conditionally." >&2;}
26460 { (exit 1); exit 1; }; }
26462 if test -z "${BUILD_FASTCGI_TRUE}" && test -z "${BUILD_FASTCGI_FALSE}"; then
26463 { { echo "$as_me:$LINENO: error: conditional \"BUILD_FASTCGI\" was never defined.
26464 Usually this means the macro was only invoked conditionally." >&5
26465 echo "$as_me: error: conditional \"BUILD_FASTCGI\" was never defined.
26466 Usually this means the macro was only invoked conditionally." >&2;}
26467 { (exit 1); exit 1; }; }
26469 if test -z "${BUILD_MEMCACHED_TRUE}" && test -z "${BUILD_MEMCACHED_FALSE}"; then
26470 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MEMCACHED\" was never defined.
26471 Usually this means the macro was only invoked conditionally." >&5
26472 echo "$as_me: error: conditional \"BUILD_MEMCACHED\" was never defined.
26473 Usually this means the macro was only invoked conditionally." >&2;}
26474 { (exit 1); exit 1; }; }
26476 if test -z "${BUILD_AP13_TRUE}" && test -z "${BUILD_AP13_FALSE}"; then
26477 { { echo "$as_me:$LINENO: error: conditional \"BUILD_AP13\" was never defined.
26478 Usually this means the macro was only invoked conditionally." >&5
26479 echo "$as_me: error: conditional \"BUILD_AP13\" was never defined.
26480 Usually this means the macro was only invoked conditionally." >&2;}
26481 { (exit 1); exit 1; }; }
26483 if test -z "${BUILD_AP20_TRUE}" && test -z "${BUILD_AP20_FALSE}"; then
26484 { { echo "$as_me:$LINENO: error: conditional \"BUILD_AP20\" was never defined.
26485 Usually this means the macro was only invoked conditionally." >&5
26486 echo "$as_me: error: conditional \"BUILD_AP20\" was never defined.
26487 Usually this means the macro was only invoked conditionally." >&2;}
26488 { (exit 1); exit 1; }; }
26490 if test -z "${BUILD_AP22_TRUE}" && test -z "${BUILD_AP22_FALSE}"; then
26491 { { echo "$as_me:$LINENO: error: conditional \"BUILD_AP22\" was never defined.
26492 Usually this means the macro was only invoked conditionally." >&5
26493 echo "$as_me: error: conditional \"BUILD_AP22\" was never defined.
26494 Usually this means the macro was only invoked conditionally." >&2;}
26495 { (exit 1); exit 1; }; }
26498 : ${CONFIG_STATUS=./config.status}
26499 ac_clean_files_save=$ac_clean_files
26500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26501 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26502 echo "$as_me: creating $CONFIG_STATUS" >&6;}
26503 cat >$CONFIG_STATUS <<_ACEOF
26505 # Generated by $as_me.
26506 # Run this file to recreate the current configuration.
26507 # Compiler output produced by configure, useful for debugging
26508 # configure, is in config.log if it exists.
26511 ac_cs_recheck=false
26513 SHELL=\${CONFIG_SHELL-$SHELL}
26516 cat >>$CONFIG_STATUS <<\_ACEOF
26517 ## --------------------- ##
26518 ## M4sh Initialization. ##
26519 ## --------------------- ##
26521 # Be Bourne compatible
26522 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26525 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26526 # is contrary to our usage. Disable this feature.
26527 alias -g '${1+"$@"}'='"$@"'
26528 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26531 DUALCASE=1; export DUALCASE # for MKS sh
26533 # Support unset when possible.
26534 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26541 # Work around bugs in pre-3.0 UWIN ksh.
26542 $as_unset ENV MAIL MAILPATH
26549 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26550 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26551 LC_TELEPHONE LC_TIME
26553 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26554 eval $as_var=C; export $as_var
26560 # Required to use basename.
26561 if expr a : '\(a\)' >/dev/null 2>&1; then
26567 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
26568 as_basename=basename
26574 # Name of the executable.
26575 as_me=`$as_basename "$0" ||
26576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26577 X"$0" : 'X\(//\)$' \| \
26578 X"$0" : 'X\(/\)$' \| \
26579 . : '\(.\)' 2>/dev/null ||
26581 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
26582 /^X\/\(\/\/\)$/{ s//\1/; q; }
26583 /^X\/\(\/\).*/{ s//\1/; q; }
26587 # PATH needs CR, and LINENO needs CR and PATH.
26588 # Avoid depending upon Character Ranges.
26589 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26590 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26591 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26592 as_cr_digits='0123456789'
26593 as_cr_alnum=$as_cr_Letters$as_cr_digits
26595 # The user is always right.
26596 if test "${PATH_SEPARATOR+set}" != set; then
26597 echo "#! /bin/sh" >conf$$.sh
26598 echo "exit 0" >>conf$$.sh
26600 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26609 as_lineno_1=$LINENO
26610 as_lineno_2=$LINENO
26611 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26612 test "x$as_lineno_1" != "x$as_lineno_2" &&
26613 test "x$as_lineno_3" = "x$as_lineno_2" || {
26614 # Find who we are. Look in the path if we contain no path at all
26617 *[\\/]* ) as_myself=$0 ;;
26618 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26619 for as_dir in $PATH
26622 test -z "$as_dir" && as_dir=.
26623 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26628 # We did not find ourselves, most probably we were run as `sh COMMAND'
26629 # in which case we are not to be found in the path.
26630 if test "x$as_myself" = x; then
26633 if test ! -f "$as_myself"; then
26634 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
26635 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
26636 { (exit 1); exit 1; }; }
26638 case $CONFIG_SHELL in
26640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26641 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
26644 test -z "$as_dir" && as_dir=.
26645 for as_base in sh bash ksh sh5; do
26648 if ("$as_dir/$as_base" -c '
26649 as_lineno_1=$LINENO
26650 as_lineno_2=$LINENO
26651 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26652 test "x$as_lineno_1" != "x$as_lineno_2" &&
26653 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
26654 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
26655 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
26656 CONFIG_SHELL=$as_dir/$as_base
26657 export CONFIG_SHELL
26658 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26666 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26667 # uniformly replaced by the line number. The first 'sed' inserts a
26668 # line-number line before each line; the second 'sed' does the real
26669 # work. The second script uses 'N' to pair each line-number line
26670 # with the numbered line, and appends trailing '-' during
26671 # substitution so that $LINENO is not a special case at line end.
26672 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26673 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26674 sed '=' <$as_myself |
26679 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26682 s,^['$as_cr_digits']*\n,,
26683 ' >$as_me.lineno &&
26684 chmod +x $as_me.lineno ||
26685 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
26686 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
26687 { (exit 1); exit 1; }; }
26689 # Don't try to exec as it changes $[0], causing all sort of problems
26690 # (the dirname of $[0] is not the place where we might find the
26691 # original and so on. Autoconf is especially sensible to this).
26693 # Exit status is that of the last command.
26698 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26699 *c*,-n*) ECHO_N= ECHO_C='
26701 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
26702 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
26705 if expr a : '\(a\)' >/dev/null 2>&1; then
26711 rm -f conf$$ conf$$.exe conf$$.file
26713 if ln -s conf$$.file conf$$ 2>/dev/null; then
26714 # We could just check for DJGPP; but this test a) works b) is more generic
26715 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26716 if test -f conf$$.exe; then
26717 # Don't use ln at all; we don't have any links
26722 elif ln conf$$.file conf$$ 2>/dev/null; then
26727 rm -f conf$$ conf$$.exe conf$$.file
26729 if mkdir -p . 2>/dev/null; then
26732 test -d ./-p && rmdir ./-p
26736 as_executable_p="test -f"
26738 # Sed expression to map a string onto a valid CPP name.
26739 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26741 # Sed expression to map a string onto a valid variable name.
26742 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26746 # We need space, tab and new line, in precisely that order.
26756 # Open the log real soon, to keep \$[0] and so on meaningful, and to
26757 # report actual input values of CONFIG_FILES etc. instead of their
26758 # values after options handling. Logging --version etc. is OK.
26762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26763 ## Running $as_me. ##
26768 This file was extended by shibboleth $as_me 2.1, which was
26769 generated by GNU Autoconf 2.59. Invocation command line was
26771 CONFIG_FILES = $CONFIG_FILES
26772 CONFIG_HEADERS = $CONFIG_HEADERS
26773 CONFIG_LINKS = $CONFIG_LINKS
26774 CONFIG_COMMANDS = $CONFIG_COMMANDS
26778 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26782 # Files that config.status was made for.
26783 if test -n "$ac_config_files"; then
26784 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26787 if test -n "$ac_config_headers"; then
26788 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26791 if test -n "$ac_config_links"; then
26792 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26795 if test -n "$ac_config_commands"; then
26796 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26799 cat >>$CONFIG_STATUS <<\_ACEOF
26802 \`$as_me' instantiates files from templates according to the
26803 current configuration.
26805 Usage: $0 [OPTIONS] [FILE]...
26807 -h, --help print this help, then exit
26808 -V, --version print version number, then exit
26809 -q, --quiet do not print progress messages
26810 -d, --debug don't remove temporary files
26811 --recheck update $as_me by reconfiguring in the same conditions
26812 --file=FILE[:TEMPLATE]
26813 instantiate the configuration file FILE
26814 --header=FILE[:TEMPLATE]
26815 instantiate the configuration header FILE
26817 Configuration files:
26820 Configuration headers:
26823 Configuration commands:
26826 Report bugs to <bug-autoconf@gnu.org>."
26829 cat >>$CONFIG_STATUS <<_ACEOF
26831 shibboleth config.status 2.1
26832 configured by $0, generated by GNU Autoconf 2.59,
26833 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26835 Copyright (C) 2003 Free Software Foundation, Inc.
26836 This config.status script is free software; the Free Software Foundation
26837 gives unlimited permission to copy, distribute and modify it."
26842 cat >>$CONFIG_STATUS <<\_ACEOF
26843 # If no file are specified by the user, then we need to provide default
26844 # value. By we need to know if files were specified by the user.
26850 ac_option=`expr "x$1" : 'x\([^=]*\)='`
26851 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
26859 *) # This is not an option, so the user has probably given explicit
26862 ac_need_defaults=false;;
26866 # Handling of the options.
26868 cat >>$CONFIG_STATUS <<\_ACEOF
26869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26871 --version | --vers* | -V )
26872 echo "$ac_cs_version"; exit 0 ;;
26874 # Conflict between --help and --header
26875 { { echo "$as_me:$LINENO: error: ambiguous option: $1
26876 Try \`$0 --help' for more information." >&5
26877 echo "$as_me: error: ambiguous option: $1
26878 Try \`$0 --help' for more information." >&2;}
26879 { (exit 1); exit 1; }; };;
26880 --help | --hel | -h )
26881 echo "$ac_cs_usage"; exit 0 ;;
26882 --debug | --d* | -d )
26884 --file | --fil | --fi | --f )
26886 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26887 ac_need_defaults=false;;
26888 --header | --heade | --head | --hea )
26890 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26891 ac_need_defaults=false;;
26892 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26893 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26896 # This is an error.
26897 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26898 Try \`$0 --help' for more information." >&5
26899 echo "$as_me: error: unrecognized option: $1
26900 Try \`$0 --help' for more information." >&2;}
26901 { (exit 1); exit 1; }; } ;;
26903 *) ac_config_targets="$ac_config_targets $1" ;;
26909 ac_configure_extra_args=
26911 if $ac_cs_silent; then
26913 ac_configure_extra_args="$ac_configure_extra_args --silent"
26917 cat >>$CONFIG_STATUS <<_ACEOF
26918 if \$ac_cs_recheck; then
26919 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26920 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26925 cat >>$CONFIG_STATUS <<_ACEOF
26927 # INIT-COMMANDS section.
26930 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26936 cat >>$CONFIG_STATUS <<\_ACEOF
26937 for ac_config_target in $ac_config_targets
26939 case "$ac_config_target" in
26940 # Handling of arguments.
26941 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26942 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
26943 "schemas/Makefile" ) CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
26944 "configs/Makefile" ) CONFIG_FILES="$CONFIG_FILES configs/Makefile" ;;
26945 "shibsp/Makefile" ) CONFIG_FILES="$CONFIG_FILES shibsp/Makefile" ;;
26946 "shibd/Makefile" ) CONFIG_FILES="$CONFIG_FILES shibd/Makefile" ;;
26947 "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
26948 "selinux/Makefile" ) CONFIG_FILES="$CONFIG_FILES selinux/Makefile" ;;
26949 "adfs/Makefile" ) CONFIG_FILES="$CONFIG_FILES adfs/Makefile" ;;
26950 "nsapi_shib/Makefile" ) CONFIG_FILES="$CONFIG_FILES nsapi_shib/Makefile" ;;
26951 "fastcgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES fastcgi/Makefile" ;;
26952 "memcache-store/Makefile" ) CONFIG_FILES="$CONFIG_FILES memcache-store/Makefile" ;;
26953 "apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES apache/Makefile" ;;
26954 "odbc-store/Makefile" ) CONFIG_FILES="$CONFIG_FILES odbc-store/Makefile" ;;
26955 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26956 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26957 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26958 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26959 { (exit 1); exit 1; }; };;
26963 # If the user did not use the arguments to specify the items to instantiate,
26964 # then the envvar interface is used. Set only those that are not.
26965 # We use the long form for the default assignment because of an extremely
26966 # bizarre bug on SunOS 4.1.3.
26967 if $ac_need_defaults; then
26968 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26969 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26970 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26973 # Have a temporary directory for convenience. Make it in the build tree
26974 # simply because there is no reason to put it here, and in addition,
26975 # creating and moving files from /tmp can sometimes cause problems.
26976 # Create a temporary directory, and hook for its removal unless debugging.
26979 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26980 trap '{ (exit 1); exit 1; }' 1 2 13 15
26983 # Create a (secure) tmp directory for tmp files.
26986 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26987 test -n "$tmp" && test -d "$tmp"
26990 tmp=./confstat$$-$RANDOM
26991 (umask 077 && mkdir $tmp)
26994 echo "$me: cannot create a temporary directory in ." >&2
26995 { (exit 1); exit 1; }
27000 cat >>$CONFIG_STATUS <<_ACEOF
27003 # CONFIG_FILES section.
27006 # No need to generate the scripts if there are no CONFIG_FILES.
27007 # This happens for instance when ./config.status config.h
27008 if test -n "\$CONFIG_FILES"; then
27009 # Protect against being on the right side of a sed subst in config.status.
27010 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
27011 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
27012 s,@SHELL@,$SHELL,;t t
27013 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
27014 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
27015 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
27016 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
27017 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
27018 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
27019 s,@exec_prefix@,$exec_prefix,;t t
27020 s,@prefix@,$prefix,;t t
27021 s,@program_transform_name@,$program_transform_name,;t t
27022 s,@bindir@,$bindir,;t t
27023 s,@sbindir@,$sbindir,;t t
27024 s,@libexecdir@,$libexecdir,;t t
27025 s,@datadir@,$datadir,;t t
27026 s,@sysconfdir@,$sysconfdir,;t t
27027 s,@sharedstatedir@,$sharedstatedir,;t t
27028 s,@localstatedir@,$localstatedir,;t t
27029 s,@libdir@,$libdir,;t t
27030 s,@includedir@,$includedir,;t t
27031 s,@oldincludedir@,$oldincludedir,;t t
27032 s,@infodir@,$infodir,;t t
27033 s,@mandir@,$mandir,;t t
27034 s,@build_alias@,$build_alias,;t t
27035 s,@host_alias@,$host_alias,;t t
27036 s,@target_alias@,$target_alias,;t t
27037 s,@DEFS@,$DEFS,;t t
27038 s,@ECHO_C@,$ECHO_C,;t t
27039 s,@ECHO_N@,$ECHO_N,;t t
27040 s,@ECHO_T@,$ECHO_T,;t t
27041 s,@LIBS@,$LIBS,;t t
27042 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
27043 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
27044 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27045 s,@CYGPATH_W@,$CYGPATH_W,;t t
27046 s,@PACKAGE@,$PACKAGE,;t t
27047 s,@VERSION@,$VERSION,;t t
27048 s,@ACLOCAL@,$ACLOCAL,;t t
27049 s,@AUTOCONF@,$AUTOCONF,;t t
27050 s,@AUTOMAKE@,$AUTOMAKE,;t t
27051 s,@AUTOHEADER@,$AUTOHEADER,;t t
27052 s,@MAKEINFO@,$MAKEINFO,;t t
27053 s,@install_sh@,$install_sh,;t t
27054 s,@STRIP@,$STRIP,;t t
27055 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
27056 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
27057 s,@mkdir_p@,$mkdir_p,;t t
27059 s,@SET_MAKE@,$SET_MAKE,;t t
27060 s,@am__leading_dot@,$am__leading_dot,;t t
27061 s,@AMTAR@,$AMTAR,;t t
27062 s,@am__tar@,$am__tar,;t t
27063 s,@am__untar@,$am__untar,;t t
27064 s,@DX_PROJECT@,$DX_PROJECT,;t t
27065 s,@DX_CONFIG@,$DX_CONFIG,;t t
27066 s,@DX_DOCDIR@,$DX_DOCDIR,;t t
27067 s,@DX_ENV@,$DX_ENV,;t t
27068 s,@DX_FLAG_doc@,$DX_FLAG_doc,;t t
27069 s,@DX_DOXYGEN@,$DX_DOXYGEN,;t t
27070 s,@ac_pt_DX_DOXYGEN@,$ac_pt_DX_DOXYGEN,;t t
27071 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27072 s,@DX_PERL@,$DX_PERL,;t t
27073 s,@ac_pt_DX_PERL@,$ac_pt_DX_PERL,;t t
27074 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27075 s,@DX_COND_doc_TRUE@,$DX_COND_doc_TRUE,;t t
27076 s,@DX_COND_doc_FALSE@,$DX_COND_doc_FALSE,;t t
27077 s,@DX_FLAG_dot@,$DX_FLAG_dot,;t t
27078 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27079 s,@DX_DOT@,$DX_DOT,;t t
27080 s,@ac_pt_DX_DOT@,$ac_pt_DX_DOT,;t t
27081 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27082 s,@DX_COND_dot_TRUE@,$DX_COND_dot_TRUE,;t t
27083 s,@DX_COND_dot_FALSE@,$DX_COND_dot_FALSE,;t t
27084 s,@DX_FLAG_man@,$DX_FLAG_man,;t t
27085 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27086 s,@DX_COND_man_TRUE@,$DX_COND_man_TRUE,;t t
27087 s,@DX_COND_man_FALSE@,$DX_COND_man_FALSE,;t t
27088 s,@DX_FLAG_rtf@,$DX_FLAG_rtf,;t t
27089 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27090 s,@DX_COND_rtf_TRUE@,$DX_COND_rtf_TRUE,;t t
27091 s,@DX_COND_rtf_FALSE@,$DX_COND_rtf_FALSE,;t t
27092 s,@DX_FLAG_xml@,$DX_FLAG_xml,;t t
27093 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27094 s,@DX_COND_xml_TRUE@,$DX_COND_xml_TRUE,;t t
27095 s,@DX_COND_xml_FALSE@,$DX_COND_xml_FALSE,;t t
27096 s,@DX_FLAG_chm@,$DX_FLAG_chm,;t t
27097 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27098 s,@DX_HHC@,$DX_HHC,;t t
27099 s,@ac_pt_DX_HHC@,$ac_pt_DX_HHC,;t t
27100 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27101 s,@DX_COND_chm_TRUE@,$DX_COND_chm_TRUE,;t t
27102 s,@DX_COND_chm_FALSE@,$DX_COND_chm_FALSE,;t t
27103 s,@DX_FLAG_chi@,$DX_FLAG_chi,;t t
27104 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27105 s,@DX_COND_chi_TRUE@,$DX_COND_chi_TRUE,;t t
27106 s,@DX_COND_chi_FALSE@,$DX_COND_chi_FALSE,;t t
27107 s,@DX_FLAG_html@,$DX_FLAG_html,;t t
27108 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27109 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27110 s,@DX_COND_html_TRUE@,$DX_COND_html_TRUE,;t t
27111 s,@DX_COND_html_FALSE@,$DX_COND_html_FALSE,;t t
27112 s,@DX_FLAG_ps@,$DX_FLAG_ps,;t t
27113 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27114 s,@DX_LATEX@,$DX_LATEX,;t t
27115 s,@ac_pt_DX_LATEX@,$ac_pt_DX_LATEX,;t t
27116 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27117 s,@DX_MAKEINDEX@,$DX_MAKEINDEX,;t t
27118 s,@ac_pt_DX_MAKEINDEX@,$ac_pt_DX_MAKEINDEX,;t t
27119 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27120 s,@DX_DVIPS@,$DX_DVIPS,;t t
27121 s,@ac_pt_DX_DVIPS@,$ac_pt_DX_DVIPS,;t t
27122 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27123 s,@DX_EGREP@,$DX_EGREP,;t t
27124 s,@ac_pt_DX_EGREP@,$ac_pt_DX_EGREP,;t t
27125 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27126 s,@DX_COND_ps_TRUE@,$DX_COND_ps_TRUE,;t t
27127 s,@DX_COND_ps_FALSE@,$DX_COND_ps_FALSE,;t t
27128 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27129 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27130 s,@DX_PDFLATEX@,$DX_PDFLATEX,;t t
27131 s,@ac_pt_DX_PDFLATEX@,$ac_pt_DX_PDFLATEX,;t t
27132 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27133 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27134 s,@DX_FLAG_pdf@,$DX_FLAG_pdf,;t t
27135 s,@DX_COND_pdf_TRUE@,$DX_COND_pdf_TRUE,;t t
27136 s,@DX_COND_pdf_FALSE@,$DX_COND_pdf_FALSE,;t t
27137 s,@DX_COND_latex_TRUE@,$DX_COND_latex_TRUE,;t t
27138 s,@DX_COND_latex_FALSE@,$DX_COND_latex_FALSE,;t t
27139 s,@DOXYGEN_PAPER_SIZE@,$DOXYGEN_PAPER_SIZE,;t t
27141 s,@CFLAGS@,$CFLAGS,;t t
27142 s,@LDFLAGS@,$LDFLAGS,;t t
27143 s,@CPPFLAGS@,$CPPFLAGS,;t t
27144 s,@ac_ct_CC@,$ac_ct_CC,;t t
27145 s,@EXEEXT@,$EXEEXT,;t t
27146 s,@OBJEXT@,$OBJEXT,;t t
27147 s,@DEPDIR@,$DEPDIR,;t t
27148 s,@am__include@,$am__include,;t t
27149 s,@am__quote@,$am__quote,;t t
27150 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
27151 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
27152 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
27153 s,@CCDEPMODE@,$CCDEPMODE,;t t
27154 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
27155 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
27157 s,@CXXFLAGS@,$CXXFLAGS,;t t
27158 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
27159 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
27160 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
27161 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
27162 s,@build@,$build,;t t
27163 s,@build_cpu@,$build_cpu,;t t
27164 s,@build_vendor@,$build_vendor,;t t
27165 s,@build_os@,$build_os,;t t
27166 s,@host@,$host,;t t
27167 s,@host_cpu@,$host_cpu,;t t
27168 s,@host_vendor@,$host_vendor,;t t
27169 s,@host_os@,$host_os,;t t
27170 s,@EGREP@,$EGREP,;t t
27171 s,@LN_S@,$LN_S,;t t
27172 s,@ECHO@,$ECHO,;t t
27174 s,@ac_ct_AR@,$ac_ct_AR,;t t
27175 s,@RANLIB@,$RANLIB,;t t
27176 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
27178 s,@CXXCPP@,$CXXCPP,;t t
27180 s,@FFLAGS@,$FFLAGS,;t t
27181 s,@ac_ct_F77@,$ac_ct_F77,;t t
27182 s,@LIBTOOL@,$LIBTOOL,;t t
27183 s,@acx_pthread_config@,$acx_pthread_config,;t t
27184 s,@PTHREAD_CC@,$PTHREAD_CC,;t t
27185 s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
27186 s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
27187 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
27188 s,@LOG4SHIB_CONFIG@,$LOG4SHIB_CONFIG,;t t
27189 s,@LOG4CPP_CONFIG@,$LOG4CPP_CONFIG,;t t
27190 s,@XMLTOOLINGXMLDIR@,$XMLTOOLINGXMLDIR,;t t
27191 s,@OPENSAMLXMLDIR@,$OPENSAMLXMLDIR,;t t
27192 s,@LITE_LIBS@,$LITE_LIBS,;t t
27193 s,@XMLSEC_LIBS@,$XMLSEC_LIBS,;t t
27194 s,@NSAPI_INCLUDE@,$NSAPI_INCLUDE,;t t
27195 s,@BUILD_NSAPI_TRUE@,$BUILD_NSAPI_TRUE,;t t
27196 s,@BUILD_NSAPI_FALSE@,$BUILD_NSAPI_FALSE,;t t
27197 s,@FASTCGI_INCLUDE@,$FASTCGI_INCLUDE,;t t
27198 s,@FASTCGI_LDFLAGS@,$FASTCGI_LDFLAGS,;t t
27199 s,@FASTCGI_LIBS@,$FASTCGI_LIBS,;t t
27200 s,@BUILD_FASTCGI_TRUE@,$BUILD_FASTCGI_TRUE,;t t
27201 s,@BUILD_FASTCGI_FALSE@,$BUILD_FASTCGI_FALSE,;t t
27202 s,@MEMCACHED_INCLUDE@,$MEMCACHED_INCLUDE,;t t
27203 s,@MEMCACHED_LDFLAGS@,$MEMCACHED_LDFLAGS,;t t
27204 s,@MEMCACHED_LIBS@,$MEMCACHED_LIBS,;t t
27205 s,@BUILD_MEMCACHED_TRUE@,$BUILD_MEMCACHED_TRUE,;t t
27206 s,@BUILD_MEMCACHED_FALSE@,$BUILD_MEMCACHED_FALSE,;t t
27208 s,@APXS@,$APXS,;t t
27209 s,@APXS_CFLAGS@,$APXS_CFLAGS,;t t
27210 s,@APXS_INCLUDE@,$APXS_INCLUDE,;t t
27211 s,@APXS2@,$APXS2,;t t
27212 s,@APR_CONFIG@,$APR_CONFIG,;t t
27213 s,@APXS2_CFLAGS@,$APXS2_CFLAGS,;t t
27214 s,@APXS2_INCLUDE@,$APXS2_INCLUDE,;t t
27215 s,@APXS22@,$APXS22,;t t
27216 s,@APR1_CONFIG@,$APR1_CONFIG,;t t
27217 s,@APXS22_CFLAGS@,$APXS22_CFLAGS,;t t
27218 s,@APXS22_INCLUDE@,$APXS22_INCLUDE,;t t
27219 s,@BUILD_AP13_TRUE@,$BUILD_AP13_TRUE,;t t
27220 s,@BUILD_AP13_FALSE@,$BUILD_AP13_FALSE,;t t
27221 s,@BUILD_AP20_TRUE@,$BUILD_AP20_TRUE,;t t
27222 s,@BUILD_AP20_FALSE@,$BUILD_AP20_FALSE,;t t
27223 s,@BUILD_AP22_TRUE@,$BUILD_AP22_TRUE,;t t
27224 s,@BUILD_AP22_FALSE@,$BUILD_AP22_FALSE,;t t
27225 s,@ODBC_CONFIG@,$ODBC_CONFIG,;t t
27226 s,@ODBC_CFLAGS@,$ODBC_CFLAGS,;t t
27227 s,@ODBC_LIBS@,$ODBC_LIBS,;t t
27228 s,@WANT_SUBDIRS@,$WANT_SUBDIRS,;t t
27229 s,@LIBOBJS@,$LIBOBJS,;t t
27230 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
27235 cat >>$CONFIG_STATUS <<\_ACEOF
27236 # Split the substitutions into bite-sized pieces for seds with
27237 # small command number limits, like on Digital OSF/1 and HP-UX.
27238 ac_max_sed_lines=48
27239 ac_sed_frag=1 # Number of current file.
27240 ac_beg=1 # First line for current file.
27241 ac_end=$ac_max_sed_lines # Line after last line for current file.
27244 while $ac_more_lines; do
27245 if test $ac_beg -gt 1; then
27246 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27248 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27250 if test ! -s $tmp/subs.frag; then
27251 ac_more_lines=false
27253 # The purpose of the label and of the branching condition is to
27254 # speed up the sed processing (if there are no `@' at all, there
27255 # is no need to browse any of the substitutions).
27256 # These are the two extra sed commands mentioned above.
27258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
27259 if test -z "$ac_sed_cmds"; then
27260 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
27262 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
27264 ac_sed_frag=`expr $ac_sed_frag + 1`
27266 ac_end=`expr $ac_end + $ac_max_sed_lines`
27269 if test -z "$ac_sed_cmds"; then
27272 fi # test -n "$CONFIG_FILES"
27275 cat >>$CONFIG_STATUS <<\_ACEOF
27276 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
27277 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27279 - | *:- | *:-:* ) # input from stdin
27281 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27282 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27283 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27284 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27285 * ) ac_file_in=$ac_file.in ;;
27288 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
27289 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
27290 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27291 X"$ac_file" : 'X\(//\)[^/]' \| \
27292 X"$ac_file" : 'X\(//\)$' \| \
27293 X"$ac_file" : 'X\(/\)' \| \
27294 . : '\(.\)' 2>/dev/null ||
27296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27298 /^X\(\/\/\)$/{ s//\1/; q; }
27299 /^X\(\/\).*/{ s//\1/; q; }
27301 { if $as_mkdir_p; then
27306 while test ! -d "$as_dir"; do
27307 as_dirs="$as_dir $as_dirs"
27308 as_dir=`(dirname "$as_dir") 2>/dev/null ||
27309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27310 X"$as_dir" : 'X\(//\)[^/]' \| \
27311 X"$as_dir" : 'X\(//\)$' \| \
27312 X"$as_dir" : 'X\(/\)' \| \
27313 . : '\(.\)' 2>/dev/null ||
27315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27317 /^X\(\/\/\)$/{ s//\1/; q; }
27318 /^X\(\/\).*/{ s//\1/; q; }
27321 test ! -n "$as_dirs" || mkdir $as_dirs
27322 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27323 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27324 { (exit 1); exit 1; }; }; }
27328 if test "$ac_dir" != .; then
27329 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27330 # A "../" for each directory in $ac_dir_suffix.
27331 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27333 ac_dir_suffix= ac_top_builddir=
27337 .) # No --srcdir option. We are building in place.
27339 if test -z "$ac_top_builddir"; then
27342 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27344 [\\/]* | ?:[\\/]* ) # Absolute path.
27345 ac_srcdir=$srcdir$ac_dir_suffix;
27346 ac_top_srcdir=$srcdir ;;
27347 *) # Relative path.
27348 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27349 ac_top_srcdir=$ac_top_builddir$srcdir ;;
27352 # Do not use `cd foo && pwd` to compute absolute paths, because
27353 # the directories may not exist.
27355 .) ac_abs_builddir="$ac_dir";;
27358 .) ac_abs_builddir=`pwd`;;
27359 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27360 *) ac_abs_builddir=`pwd`/"$ac_dir";;
27363 case $ac_abs_builddir in
27364 .) ac_abs_top_builddir=${ac_top_builddir}.;;
27366 case ${ac_top_builddir}. in
27367 .) ac_abs_top_builddir=$ac_abs_builddir;;
27368 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27369 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27372 case $ac_abs_builddir in
27373 .) ac_abs_srcdir=$ac_srcdir;;
27376 .) ac_abs_srcdir=$ac_abs_builddir;;
27377 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27378 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27381 case $ac_abs_builddir in
27382 .) ac_abs_top_srcdir=$ac_top_srcdir;;
27384 case $ac_top_srcdir in
27385 .) ac_abs_top_srcdir=$ac_abs_builddir;;
27386 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27387 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27394 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
27397 if test x"$ac_file" != x-; then
27398 { echo "$as_me:$LINENO: creating $ac_file" >&5
27399 echo "$as_me: creating $ac_file" >&6;}
27402 # Let's still pretend it is `configure' which instantiates (i.e., don't
27403 # use $as_me), people would be surprised to read:
27404 # /* config.h. Generated by config.status. */
27405 if test x"$ac_file" = x-; then
27408 configure_input="$ac_file. "
27410 configure_input=$configure_input"Generated from `echo $ac_file_in |
27411 sed 's,.*/,,'` by configure."
27413 # First look for the input files in the build tree, otherwise in the
27415 ac_file_inputs=`IFS=:
27416 for f in $ac_file_in; do
27418 -) echo $tmp/stdin ;;
27420 # Absolute (can't be DOS-style, as IFS=:)
27421 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27422 echo "$as_me: error: cannot find input file: $f" >&2;}
27423 { (exit 1); exit 1; }; }
27426 if test -f "$f"; then
27429 elif test -f "$srcdir/$f"; then
27434 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27435 echo "$as_me: error: cannot find input file: $f" >&2;}
27436 { (exit 1); exit 1; }; }
27439 done` || { (exit 1); exit 1; }
27441 cat >>$CONFIG_STATUS <<_ACEOF
27445 cat >>$CONFIG_STATUS <<\_ACEOF
27447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27448 s,@configure_input@,$configure_input,;t t
27449 s,@srcdir@,$ac_srcdir,;t t
27450 s,@abs_srcdir@,$ac_abs_srcdir,;t t
27451 s,@top_srcdir@,$ac_top_srcdir,;t t
27452 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
27453 s,@builddir@,$ac_builddir,;t t
27454 s,@abs_builddir@,$ac_abs_builddir,;t t
27455 s,@top_builddir@,$ac_top_builddir,;t t
27456 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
27457 s,@INSTALL@,$ac_INSTALL,;t t
27458 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
27460 if test x"$ac_file" != x-; then
27461 mv $tmp/out $ac_file
27469 cat >>$CONFIG_STATUS <<\_ACEOF
27472 # CONFIG_HEADER section.
27475 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
27476 # NAME is the cpp macro being defined and VALUE is the value it is being given.
27478 # ac_d sets the value in "#define NAME VALUE" lines.
27479 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
27480 ac_dB='[ ].*$,\1#\2'
27483 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
27484 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
27485 ac_uB='$,\1#\2define\3'
27489 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
27490 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27492 - | *:- | *:-:* ) # input from stdin
27494 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27495 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27496 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27497 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27498 * ) ac_file_in=$ac_file.in ;;
27501 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
27502 echo "$as_me: creating $ac_file" >&6;}
27504 # First look for the input files in the build tree, otherwise in the
27506 ac_file_inputs=`IFS=:
27507 for f in $ac_file_in; do
27509 -) echo $tmp/stdin ;;
27511 # Absolute (can't be DOS-style, as IFS=:)
27512 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27513 echo "$as_me: error: cannot find input file: $f" >&2;}
27514 { (exit 1); exit 1; }; }
27515 # Do quote $f, to prevent DOS paths from being IFS'd.
27518 if test -f "$f"; then
27521 elif test -f "$srcdir/$f"; then
27526 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27527 echo "$as_me: error: cannot find input file: $f" >&2;}
27528 { (exit 1); exit 1; }; }
27531 done` || { (exit 1); exit 1; }
27532 # Remove the trailing spaces.
27533 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
27537 # Transform confdefs.h into two sed scripts, `conftest.defines' and
27538 # `conftest.undefs', that substitutes the proper values into
27539 # config.h.in to produce config.h. The first handles `#define'
27540 # templates, and the second `#undef' templates.
27541 # And first: Protect against being on the right side of a sed subst in
27542 # config.status. Protect against being in an unquoted here document
27543 # in config.status.
27544 rm -f conftest.defines conftest.undefs
27545 # Using a here document instead of a string reduces the quoting nightmare.
27546 # Putting comments in sed scripts is not portable.
27548 # `end' is used to avoid that the second main sed command (meant for
27549 # 0-ary CPP macros) applies to n-ary macro definitions.
27550 # See the Autoconf documentation for `clear'.
27551 cat >confdef2sed.sed <<\_ACEOF
27556 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
27558 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
27561 # If some macros were called several times there might be several times
27562 # the same #defines, which is useless. Nevertheless, we may not want to
27563 # sort them, since we want the *last* AC-DEFINE to be honored.
27564 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
27565 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
27566 rm -f confdef2sed.sed
27568 # This sed command replaces #undef with comments. This is necessary, for
27569 # example, in the case of _POSIX_SOURCE, which is predefined and required
27570 # on some systems where configure will not decide to define it.
27571 cat >>conftest.undefs <<\_ACEOF
27572 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
27575 # Break up conftest.defines because some shells have a limit on the size
27576 # of here documents, and old seds have small limits too (100 cmds).
27577 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
27578 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
27579 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
27580 echo ' :' >>$CONFIG_STATUS
27581 rm -f conftest.tail
27582 while grep . conftest.defines >/dev/null
27584 # Write a limited-size here document to $tmp/defines.sed.
27585 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
27586 # Speed up: don't consider the non `#define' lines.
27587 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
27588 # Work around the forget-to-reset-the-flag bug.
27589 echo 't clr' >>$CONFIG_STATUS
27590 echo ': clr' >>$CONFIG_STATUS
27591 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
27593 sed -f $tmp/defines.sed $tmp/in >$tmp/out
27595 mv $tmp/out $tmp/in
27597 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
27598 rm -f conftest.defines
27599 mv conftest.tail conftest.defines
27601 rm -f conftest.defines
27602 echo ' fi # grep' >>$CONFIG_STATUS
27603 echo >>$CONFIG_STATUS
27605 # Break up conftest.undefs because some shells have a limit on the size
27606 # of here documents, and old seds have small limits too (100 cmds).
27607 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
27608 rm -f conftest.tail
27609 while grep . conftest.undefs >/dev/null
27611 # Write a limited-size here document to $tmp/undefs.sed.
27612 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
27613 # Speed up: don't consider the non `#undef'
27614 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
27615 # Work around the forget-to-reset-the-flag bug.
27616 echo 't clr' >>$CONFIG_STATUS
27617 echo ': clr' >>$CONFIG_STATUS
27618 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
27620 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
27622 mv $tmp/out $tmp/in
27624 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
27625 rm -f conftest.undefs
27626 mv conftest.tail conftest.undefs
27628 rm -f conftest.undefs
27630 cat >>$CONFIG_STATUS <<\_ACEOF
27631 # Let's still pretend it is `configure' which instantiates (i.e., don't
27632 # use $as_me), people would be surprised to read:
27633 # /* config.h. Generated by config.status. */
27634 if test x"$ac_file" = x-; then
27635 echo "/* Generated by configure. */" >$tmp/config.h
27637 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
27639 cat $tmp/in >>$tmp/config.h
27641 if test x"$ac_file" != x-; then
27642 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
27643 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27644 echo "$as_me: $ac_file is unchanged" >&6;}
27646 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
27647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27648 X"$ac_file" : 'X\(//\)[^/]' \| \
27649 X"$ac_file" : 'X\(//\)$' \| \
27650 X"$ac_file" : 'X\(/\)' \| \
27651 . : '\(.\)' 2>/dev/null ||
27653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27655 /^X\(\/\/\)$/{ s//\1/; q; }
27656 /^X\(\/\).*/{ s//\1/; q; }
27658 { if $as_mkdir_p; then
27663 while test ! -d "$as_dir"; do
27664 as_dirs="$as_dir $as_dirs"
27665 as_dir=`(dirname "$as_dir") 2>/dev/null ||
27666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27667 X"$as_dir" : 'X\(//\)[^/]' \| \
27668 X"$as_dir" : 'X\(//\)$' \| \
27669 X"$as_dir" : 'X\(/\)' \| \
27670 . : '\(.\)' 2>/dev/null ||
27672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27673 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27674 /^X\(\/\/\)$/{ s//\1/; q; }
27675 /^X\(\/\).*/{ s//\1/; q; }
27678 test ! -n "$as_dirs" || mkdir $as_dirs
27679 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27680 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27681 { (exit 1); exit 1; }; }; }
27684 mv $tmp/config.h $ac_file
27688 rm -f $tmp/config.h
27690 # Compute $ac_file's index in $config_headers.
27692 for _am_header in $config_headers :; do
27693 case $_am_header in
27694 $ac_file | $ac_file:* )
27697 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27700 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
27701 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27702 X$ac_file : 'X\(//\)[^/]' \| \
27703 X$ac_file : 'X\(//\)$' \| \
27704 X$ac_file : 'X\(/\)' \| \
27705 . : '\(.\)' 2>/dev/null ||
27707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27709 /^X\(\/\/\)$/{ s//\1/; q; }
27710 /^X\(\/\).*/{ s//\1/; q; }
27711 s/.*/./; q'`/stamp-h$_am_stamp_count
27714 cat >>$CONFIG_STATUS <<\_ACEOF
27717 # CONFIG_COMMANDS section.
27719 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
27720 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
27721 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
27722 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
27723 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27724 X"$ac_dest" : 'X\(//\)[^/]' \| \
27725 X"$ac_dest" : 'X\(//\)$' \| \
27726 X"$ac_dest" : 'X\(/\)' \| \
27727 . : '\(.\)' 2>/dev/null ||
27729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27731 /^X\(\/\/\)$/{ s//\1/; q; }
27732 /^X\(\/\).*/{ s//\1/; q; }
27734 { if $as_mkdir_p; then
27739 while test ! -d "$as_dir"; do
27740 as_dirs="$as_dir $as_dirs"
27741 as_dir=`(dirname "$as_dir") 2>/dev/null ||
27742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27743 X"$as_dir" : 'X\(//\)[^/]' \| \
27744 X"$as_dir" : 'X\(//\)$' \| \
27745 X"$as_dir" : 'X\(/\)' \| \
27746 . : '\(.\)' 2>/dev/null ||
27748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27750 /^X\(\/\/\)$/{ s//\1/; q; }
27751 /^X\(\/\).*/{ s//\1/; q; }
27754 test ! -n "$as_dirs" || mkdir $as_dirs
27755 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27756 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27757 { (exit 1); exit 1; }; }; }
27761 if test "$ac_dir" != .; then
27762 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27763 # A "../" for each directory in $ac_dir_suffix.
27764 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27766 ac_dir_suffix= ac_top_builddir=
27770 .) # No --srcdir option. We are building in place.
27772 if test -z "$ac_top_builddir"; then
27775 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27777 [\\/]* | ?:[\\/]* ) # Absolute path.
27778 ac_srcdir=$srcdir$ac_dir_suffix;
27779 ac_top_srcdir=$srcdir ;;
27780 *) # Relative path.
27781 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27782 ac_top_srcdir=$ac_top_builddir$srcdir ;;
27785 # Do not use `cd foo && pwd` to compute absolute paths, because
27786 # the directories may not exist.
27788 .) ac_abs_builddir="$ac_dir";;
27791 .) ac_abs_builddir=`pwd`;;
27792 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27793 *) ac_abs_builddir=`pwd`/"$ac_dir";;
27796 case $ac_abs_builddir in
27797 .) ac_abs_top_builddir=${ac_top_builddir}.;;
27799 case ${ac_top_builddir}. in
27800 .) ac_abs_top_builddir=$ac_abs_builddir;;
27801 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27802 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27805 case $ac_abs_builddir in
27806 .) ac_abs_srcdir=$ac_srcdir;;
27809 .) ac_abs_srcdir=$ac_abs_builddir;;
27810 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27811 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27814 case $ac_abs_builddir in
27815 .) ac_abs_top_srcdir=$ac_top_srcdir;;
27817 case $ac_top_srcdir in
27818 .) ac_abs_top_srcdir=$ac_abs_builddir;;
27819 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27820 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27825 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
27826 echo "$as_me: executing $ac_dest commands" >&6;}
27828 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27829 # Strip MF so we end up with the name of the file.
27830 mf=`echo "$mf" | sed -e 's/:.*$//'`
27831 # Check whether this is an Automake generated Makefile or not.
27832 # We used to match only the files named `Makefile.in', but
27833 # some people rename them; so instead we look at the file content.
27834 # Grep'ing the first line is not enough: some people post-process
27835 # each Makefile.in and add a new line on top of each file to say so.
27836 # So let's grep whole file.
27837 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
27838 dirpart=`(dirname "$mf") 2>/dev/null ||
27839 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27840 X"$mf" : 'X\(//\)[^/]' \| \
27841 X"$mf" : 'X\(//\)$' \| \
27842 X"$mf" : 'X\(/\)' \| \
27843 . : '\(.\)' 2>/dev/null ||
27845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27847 /^X\(\/\/\)$/{ s//\1/; q; }
27848 /^X\(\/\).*/{ s//\1/; q; }
27853 # Extract the definition of DEPDIR, am__include, and am__quote
27854 # from the Makefile without running `make'.
27855 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27856 test -z "$DEPDIR" && continue
27857 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27858 test -z "am__include" && continue
27859 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27860 # When using ansi2knr, U may be empty or an underscore; expand it
27861 U=`sed -n 's/^U = //p' < "$mf"`
27862 # Find all dependency output files, they are included files with
27863 # $(DEPDIR) in their names. We invoke sed twice because it is the
27864 # simplest approach to changing $(DEPDIR) to its actual value in the
27866 for file in `sed -n "
27867 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27868 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27869 # Make sure the directory exists.
27870 test -f "$dirpart/$file" && continue
27871 fdir=`(dirname "$file") 2>/dev/null ||
27872 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27873 X"$file" : 'X\(//\)[^/]' \| \
27874 X"$file" : 'X\(//\)$' \| \
27875 X"$file" : 'X\(/\)' \| \
27876 . : '\(.\)' 2>/dev/null ||
27878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27880 /^X\(\/\/\)$/{ s//\1/; q; }
27881 /^X\(\/\).*/{ s//\1/; q; }
27883 { if $as_mkdir_p; then
27884 mkdir -p $dirpart/$fdir
27886 as_dir=$dirpart/$fdir
27888 while test ! -d "$as_dir"; do
27889 as_dirs="$as_dir $as_dirs"
27890 as_dir=`(dirname "$as_dir") 2>/dev/null ||
27891 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27892 X"$as_dir" : 'X\(//\)[^/]' \| \
27893 X"$as_dir" : 'X\(//\)$' \| \
27894 X"$as_dir" : 'X\(/\)' \| \
27895 . : '\(.\)' 2>/dev/null ||
27897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27899 /^X\(\/\/\)$/{ s//\1/; q; }
27900 /^X\(\/\).*/{ s//\1/; q; }
27903 test ! -n "$as_dirs" || mkdir $as_dirs
27904 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27905 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27906 { (exit 1); exit 1; }; }; }
27908 # echo "creating $dirpart/$file"
27909 echo '# dummy' > "$dirpart/$file"
27917 cat >>$CONFIG_STATUS <<\_ACEOF
27919 { (exit 0); exit 0; }
27921 chmod +x $CONFIG_STATUS
27922 ac_clean_files=$ac_clean_files_save
27925 # configure is writing to config.log, and then calls config.status.
27926 # config.status does its own redirection, appending to config.log.
27927 # Unfortunately, on DOS this fails, as config.log is still kept open
27928 # by configure, so config.status won't be able to write to it; its
27929 # output is simply discarded. So we exec the FD to /dev/null,
27930 # effectively closing config.log, so it can be properly (re)opened and
27931 # appended to by config.status. When coming back to configure, we
27932 # need to make the FD available again.
27933 if test "$no_create" != yes; then
27935 ac_config_status_args=
27936 test "$silent" = yes &&
27937 ac_config_status_args="$ac_config_status_args --quiet"
27939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27942 # would make configure fail if this is the last instruction.
27943 $ac_cs_success || { (exit 1); exit 1; }