2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for courier-authlib 0.59.3.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
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 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
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
='courier-authlib'
425 PACKAGE_TARNAME
='courier-authlib'
426 PACKAGE_VERSION
='0.59.3'
427 PACKAGE_STRING
='courier-authlib 0.59.3'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="courierauth.h"
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subdirs_all
="$ac_subdirs_all libltdl bdbobj gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog"
469 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S SYSCONFTOOL_PERL SYSCONFTOOL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LTDLINCL LIBLTDL PERL COURIERCONFIG EXPECT PASSWD MD5LIB HAVE_MD5_TRUE HAVE_MD5_FALSE SHA1LIB HAVE_SHA1_TRUE HAVE_SHA1_FALSE HMACLIB HAVE_HMACLIB_TRUE HAVE_HMACLIB_FALSE NETLIBS DBSUBDIR USE_GDBM USE_DB LIBDB LIBGDBM dblibrary LIBAUTHUSERDB userdb LIBDL AUTHPAMCRYPT LIBAUTHPAM authldaprc LDAPLIBS LIBAUTHLDAP HAVE_LDAP_TRUE HAVE_LDAP_FALSE SHADOWLIBS LIBAUTHSHADOW LIBAUTHPWD vpopmail_home VPOPMAILLIBS LIBAUTHVCHKPW authpgsqlrc PG_CONFIG PGSQL_LIBS LIBAUTHPGSQL HAVE_AUTHPGSQL_TRUE HAVE_AUTHPGSQL_FALSE authmysqlrc MYSQL_CONFIG LIBAUTHMYSQL MYSQL_LIBS HAVE_AUTHMYSQL_TRUE HAVE_AUTHMYSQL_FALSE HAVE_CUSTOM_TRUE HAVE_CUSTOM_FALSE LIBAUTHCUSTOM authProg HAVE_PIPE_TRUE HAVE_PIPE_FALSE LIBAUTHPIPE CRYPTLIBS authdaemonrc authdaemonvar LIBM mailuser mailgroup LIBLTDL_SUBDIR REPOSITORY HAVE_SGML_TRUE HAVE_SGML_FALSE subdirs LIBOBJS LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version
=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name
=s
,x
,x
,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir
='${exec_prefix}/bin'
498 sbindir
='${exec_prefix}/sbin'
499 libexecdir
='${exec_prefix}/libexec'
500 datadir
='${prefix}/share'
501 sysconfdir
='${prefix}/etc'
502 sharedstatedir
='${prefix}/com'
503 localstatedir
='${prefix}/var'
504 libdir
='${exec_prefix}/lib'
505 includedir
='${prefix}/include'
506 oldincludedir
='/usr/include'
507 infodir
='${prefix}/info'
508 mandir
='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
528 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
531 -build |
--build |
--buil |
--bui |
--bu)
532 ac_prev
=build_alias
;;
533 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
534 build_alias
=$ac_optarg ;;
536 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
537 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
538 ac_prev
=cache_file
;;
539 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
540 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
541 cache_file
=$ac_optarg ;;
544 cache_file
=config.cache
;;
546 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
548 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
550 datadir
=$ac_optarg ;;
552 -disable-* |
--disable-*)
553 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* |
--enable-*)
562 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
575 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
576 |
--exec |
--exe |
--ex)
577 ac_prev
=exec_prefix
;;
578 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
579 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
580 |
--exec=* |
--exe=* |
--ex=*)
581 exec_prefix
=$ac_optarg ;;
583 -gas |
--gas |
--ga |
--g)
584 # Obsolete; use --with-gas.
587 -help |
--help |
--hel |
--he |
-h)
589 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
590 ac_init_help
=recursive
;;
591 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
592 ac_init_help
=short
;;
594 -host |
--host |
--hos |
--ho)
595 ac_prev
=host_alias
;;
596 -host=* |
--host=* |
--hos=* |
--ho=*)
597 host_alias
=$ac_optarg ;;
599 -includedir |
--includedir |
--includedi |
--included |
--include \
600 |
--includ |
--inclu |
--incl |
--inc)
601 ac_prev
=includedir
;;
602 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
603 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
604 includedir
=$ac_optarg ;;
606 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
608 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
609 infodir
=$ac_optarg ;;
611 -libdir |
--libdir |
--libdi |
--libd)
613 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
616 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
617 |
--libexe |
--libex |
--libe)
618 ac_prev
=libexecdir
;;
619 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
620 |
--libexe=* |
--libex=* |
--libe=*)
621 libexecdir
=$ac_optarg ;;
623 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
624 |
--localstate |
--localstat |
--localsta |
--localst \
625 |
--locals |
--local |
--loca |
--loc |
--lo)
626 ac_prev
=localstatedir
;;
627 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
628 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
629 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
630 localstatedir
=$ac_optarg ;;
632 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
634 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
638 # Obsolete; use --without-fp.
641 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
642 |
--no-cr |
--no-c |
-n)
645 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
646 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
649 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
650 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
651 |
--oldin |
--oldi |
--old |
--ol |
--o)
652 ac_prev
=oldincludedir
;;
653 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
654 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
655 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
656 oldincludedir
=$ac_optarg ;;
658 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
660 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
663 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
664 |
--program-pre |
--program-pr |
--program-p)
665 ac_prev
=program_prefix
;;
666 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
667 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
668 program_prefix
=$ac_optarg ;;
670 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
671 |
--program-suf |
--program-su |
--program-s)
672 ac_prev
=program_suffix
;;
673 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
674 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
675 program_suffix
=$ac_optarg ;;
677 -program-transform-name |
--program-transform-name \
678 |
--program-transform-nam |
--program-transform-na \
679 |
--program-transform-n |
--program-transform- \
680 |
--program-transform |
--program-transfor \
681 |
--program-transfo |
--program-transf \
682 |
--program-trans |
--program-tran \
683 |
--progr-tra |
--program-tr |
--program-t)
684 ac_prev
=program_transform_name
;;
685 -program-transform-name=* |
--program-transform-name=* \
686 |
--program-transform-nam=* |
--program-transform-na=* \
687 |
--program-transform-n=* |
--program-transform-=* \
688 |
--program-transform=* |
--program-transfor=* \
689 |
--program-transfo=* |
--program-transf=* \
690 |
--program-trans=* |
--program-tran=* \
691 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
692 program_transform_name
=$ac_optarg ;;
694 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
695 |
-silent |
--silent |
--silen |
--sile |
--sil)
698 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
700 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
702 sbindir
=$ac_optarg ;;
704 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
705 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
706 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
708 ac_prev
=sharedstatedir
;;
709 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
710 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
711 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
713 sharedstatedir
=$ac_optarg ;;
715 -site |
--site |
--sit)
717 -site=* |
--site=* |
--sit=*)
720 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
722 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
725 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
726 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
727 ac_prev
=sysconfdir
;;
728 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
729 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
730 sysconfdir
=$ac_optarg ;;
732 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
733 ac_prev
=target_alias
;;
734 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
735 target_alias
=$ac_optarg ;;
737 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
740 -version |
--version |
--versio |
--versi |
--vers |
-V)
744 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package
=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* |
--without-*)
757 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package
=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
770 |
--x-incl |
--x-inc |
--x-in |
--x-i)
771 ac_prev
=x_includes
;;
772 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
773 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
774 x_includes
=$ac_optarg ;;
776 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
777 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
778 ac_prev
=x_libraries
;;
779 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
780 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
781 x_libraries
=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var
in exec_prefix prefix
818 eval ac_val
=$
`echo $ac_var`
820 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val
=$
`echo $ac_var`
832 [\\/$
]* | ?
:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x
; then
847 if test "x$build_alias" = x
; then
848 cross_compiling
=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
859 test "$silent" = yes && exec 6>/dev
/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted
=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir
=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted
=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set
=${build_alias+set}
899 ac_env_build_alias_value
=$build_alias
900 ac_cv_env_build_alias_set
=${build_alias+set}
901 ac_cv_env_build_alias_value
=$build_alias
902 ac_env_host_alias_set
=${host_alias+set}
903 ac_env_host_alias_value
=$host_alias
904 ac_cv_env_host_alias_set
=${host_alias+set}
905 ac_cv_env_host_alias_value
=$host_alias
906 ac_env_target_alias_set
=${target_alias+set}
907 ac_env_target_alias_value
=$target_alias
908 ac_cv_env_target_alias_set
=${target_alias+set}
909 ac_cv_env_target_alias_value
=$target_alias
910 ac_env_CC_set
=${CC+set}
912 ac_cv_env_CC_set
=${CC+set}
913 ac_cv_env_CC_value
=$CC
914 ac_env_CFLAGS_set
=${CFLAGS+set}
915 ac_env_CFLAGS_value
=$CFLAGS
916 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
917 ac_cv_env_CFLAGS_value
=$CFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
922 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
926 ac_env_CPP_set
=${CPP+set}
927 ac_env_CPP_value
=$CPP
928 ac_cv_env_CPP_set
=${CPP+set}
929 ac_cv_env_CPP_value
=$CPP
930 ac_env_CXX_set
=${CXX+set}
931 ac_env_CXX_value
=$CXX
932 ac_cv_env_CXX_set
=${CXX+set}
933 ac_cv_env_CXX_value
=$CXX
934 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
935 ac_env_CXXFLAGS_value
=$CXXFLAGS
936 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
937 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
938 ac_env_CXXCPP_set
=${CXXCPP+set}
939 ac_env_CXXCPP_value
=$CXXCPP
940 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value
=$CXXCPP
942 ac_env_F77_set
=${F77+set}
943 ac_env_F77_value
=$F77
944 ac_cv_env_F77_set
=${F77+set}
945 ac_cv_env_F77_value
=$F77
946 ac_env_FFLAGS_set
=${FFLAGS+set}
947 ac_env_FFLAGS_value
=$FFLAGS
948 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value
=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures courier-authlib 0.59.3 to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1017 --build=BUILD configure
for building on BUILD
[guessed
]
1018 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1022 if test -n "$ac_init_help"; then
1023 case $ac_init_help in
1024 short | recursive
) echo "Configuration of courier-authlib 0.59.3:";;
1029 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1030 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1031 --disable-dependency-tracking speeds up one-time build
1032 --enable-dependency-tracking do not reject slow dependency extractors
1033 --enable-shared[=PKGS
]
1034 build shared libraries
[default
=yes]
1035 --enable-static[=PKGS
]
1036 build static libraries
[default
=yes]
1037 --enable-fast-install[=PKGS
]
1038 optimize
for fast installation
[default
=yes]
1039 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1042 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1043 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1044 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1045 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1048 include additional configurations
[automatic
]
1050 --with-pkgconfdir=d Install config files
in directory
1051 --with-db=gdbm Use the GDBM library.
1052 --with-db=db Use the libdb.a library.
1053 --without-authuserdb Do not include the authuserdb module
1055 --without-authpam Do not include the authpam module
1056 --with-authpam-libraries="libs" Link
'libs' with authpam
, this may be
1057 required
for FreeBSD
3.3
1058 --without-authldap Do not include the authldap module
1059 --with-authldaprc=filename Expect to
find authldaprc here
1060 --without-authpwd Do not include the authpwd module
1061 --without-authshadow Do not include the authshadow module
1062 --without-authvchkpw Do not include the authvchkpw module
1063 --with-authpgsqlrc=filename Expect to
find authpgsql here
1064 --without-authpgsql Do not include the authpgsql module
1065 --with-pgsql-libs=DIR Look
for pgsql libs
in this dir
1066 --with-pgsql-includes=DIR Look
for pgsql includes
in this dir
1067 --with-authmysqlrc=filename Expect to
find authmysql here
1068 --without-authmysql Do not include the authmysql module
1069 --with-mysql-libs=DIR Look
for mysql libs
in this dir
1070 --with-mysql-includes=DIR Look
for mysql includes
in this dir
1071 --without-authcustom Do not include the authcustom module
1072 --with-pipeprog=filename Expect to
find the pipe-prog here
1073 --without-authpipe Do not include the authpipe module
1074 --with-authdaemonrc=filename Expect to
find authdaemonrc here
1075 --with-authdaemonvar=directory Directory where authdaemon.pid and
1076 the listening socket is created
1077 --with-mailuser=user Specify
mail user name
(defaults to
1078 courier
, daemon
, admin
, bin
, or root
)
1079 --with-mailgroup=group Specify
mail group name
(defaults to courier
,
1080 daemon
, sys
, adm
, or root
)
1081 --without-stdheaderdir Header files will be installed into a directory
1082 not
in the compiler
's default search path.
1084 Some influential environment variables:
1085 CC C compiler command
1086 CFLAGS C compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CXXCPP C++ preprocessor
1095 F77 Fortran 77 compiler command
1096 FFLAGS Fortran 77 compiler flags
1098 Use these variables to override the choices made by `configure' or to
help
1099 it to
find libraries and programs with nonstandard names
/locations.
1101 Report bugs to
<courier-users@lists.sourceforge.net
>.
1105 if test "$ac_init_help" = "recursive"; then
1106 # If there are subdirs, report their specific --help.
1108 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1109 test -d $ac_dir ||
continue
1112 if test "$ac_dir" != .
; then
1113 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1114 # A "../" for each directory in $ac_dir_suffix.
1115 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 ac_dir_suffix
= ac_top_builddir
=
1121 .
) # No --srcdir option. We are building in place.
1123 if test -z "$ac_top_builddir"; then
1126 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1128 [\\/]* | ?
:[\\/]* ) # Absolute path.
1129 ac_srcdir
=$srcdir$ac_dir_suffix;
1130 ac_top_srcdir
=$srcdir ;;
1132 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1133 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1136 # Do not use `cd foo && pwd` to compute absolute paths, because
1137 # the directories may not exist.
1139 .
) ac_abs_builddir
="$ac_dir";;
1142 .
) ac_abs_builddir
=`pwd`;;
1143 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1144 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1147 case $ac_abs_builddir in
1148 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1150 case ${ac_top_builddir}.
in
1151 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1152 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1156 case $ac_abs_builddir in
1157 .
) ac_abs_srcdir
=$ac_srcdir;;
1160 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1161 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1162 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1165 case $ac_abs_builddir in
1166 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1168 case $ac_top_srcdir in
1169 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1170 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1176 # Check for guested configure; otherwise get Cygnus style configure.
1177 if test -f $ac_srcdir/configure.gnu
; then
1179 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1180 elif test -f $ac_srcdir/configure
; then
1182 $SHELL $ac_srcdir/configure
--help=recursive
1183 elif test -f $ac_srcdir/configure.ac ||
1184 test -f $ac_srcdir/configure.
in; then
1186 $ac_configure --help
1188 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1194 test -n "$ac_init_help" && exit 0
1195 if $ac_init_version; then
1197 courier-authlib configure
0.59.3
1198 generated by GNU Autoconf
2.59
1200 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1201 This configure
script is free software
; the Free Software Foundation
1202 gives unlimited permission to copy
, distribute and modify it.
1208 This file contains any messages produced by compilers while
1209 running configure, to aid debugging if configure makes a mistake.
1211 It was created by courier-authlib $as_me 0.59.3, which was
1212 generated by GNU Autoconf 2.59. Invocation command line was
1223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1235 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1246 test -z "$as_dir" && as_dir
=.
1247 echo "PATH: $as_dir"
1262 # Keep a trace of the command line.
1263 # Strip out --no-create and --no-recursion so they do not pile up.
1264 # Strip out --silent because we don't want to record it for future runs.
1265 # Also quote any args containing shell meta-characters.
1266 # Make two passes to allow for proper duplicate-argument suppression.
1271 ac_must_keep_next
=false
1277 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1278 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1279 |
-silent |
--silent |
--silen |
--sile |
--sil)
1281 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1285 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1287 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1288 if test $ac_must_keep_next = true
; then
1289 ac_must_keep_next
=false
# Got value, back to normal.
1292 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1293 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1294 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1295 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1296 case "$ac_configure_args0 " in
1297 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1300 -* ) ac_must_keep_next
=true
;;
1303 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1304 # Get rid of the leading space.
1310 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1311 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1313 # When interrupted or exit'd, cleanup temporary files, and complete
1314 # config.log. We remove comments because anyway the quotes in there
1315 # would cause problems or look ugly.
1316 # WARNING: Be sure not to use single quotes in there, as some shells,
1317 # such as our DU 5.0 friend, will then `close' the trap.
1318 trap 'exit_status=$?
1319 # Save into config.log some information that might help in debugging.
1324 ## ---------------- ##
1325 ## Cache variables. ##
1326 ## ---------------- ##
1329 # The following way of writing the cache mishandles newlines in values,
1332 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1335 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1347 ## ----------------- ##
1348 ## Output variables. ##
1349 ## ----------------- ##
1352 for ac_var in $ac_subst_vars
1354 eval ac_val=$`echo $ac_var`
1355 echo "$ac_var='"'"'$ac_val'"'"'"
1359 if test -n "$ac_subst_files"; then
1366 for ac_var in $ac_subst_files
1368 eval ac_val=$`echo $ac_var`
1369 echo "$ac_var='"'"'$ac_val'"'"'"
1374 if test -s confdefs.h; then
1381 sed "/^$/d" confdefs.h | sort
1384 test "$ac_signal" != 0 &&
1385 echo "$as_me: caught signal $ac_signal"
1386 echo "$as_me: exit $exit_status"
1388 rm -f core *.core &&
1389 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1392 for ac_signal
in 1 2 13 15; do
1393 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1398 rm -rf conftest
* confdefs.h
1399 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1402 # Predefined preprocessor variables.
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 cat >>confdefs.h
<<_ACEOF
1420 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 cat >>confdefs.h
<<_ACEOF
1425 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 # Let the site file select an alternate cache file if it wants to.
1430 # Prefer explicitly selected file to automatically selected ones.
1431 if test -z "$CONFIG_SITE"; then
1432 if test "x$prefix" != xNONE
; then
1433 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1435 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1438 for ac_site_file
in $CONFIG_SITE; do
1439 if test -r "$ac_site_file"; then
1440 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1441 echo "$as_me: loading site script $ac_site_file" >&6;}
1442 sed 's/^/| /' "$ac_site_file" >&5
1447 if test -r "$cache_file"; then
1448 # Some versions of bash will fail to source /dev/null (special
1449 # files actually), so we avoid doing that.
1450 if test -f "$cache_file"; then
1451 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1452 echo "$as_me: loading cache $cache_file" >&6;}
1454 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1455 *) . .
/$cache_file;;
1459 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1460 echo "$as_me: creating cache $cache_file" >&6;}
1464 # Check that the precious variables saved in the cache have kept the same
1466 ac_cache_corrupted
=false
1467 for ac_var
in `(set) 2>&1 |
1468 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1469 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1470 eval ac_new_set
=\
$ac_env_${ac_var}_set
1471 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1472 eval ac_new_val
="\$ac_env_${ac_var}_value"
1473 case $ac_old_set,$ac_new_set in
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1477 ac_cache_corrupted
=: ;;
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1484 if test "x$ac_old_val" != "x$ac_new_val"; then
1485 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1486 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1487 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1488 echo "$as_me: former value: $ac_old_val" >&2;}
1489 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1490 echo "$as_me: current value: $ac_new_val" >&2;}
1491 ac_cache_corrupted
=:
1494 # Pass precious variables to config.status.
1495 if test "$ac_new_set" = set; then
1497 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1498 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1499 *) ac_arg
=$ac_var=$ac_new_val ;;
1501 case " $ac_configure_args " in
1502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1503 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1507 if $ac_cache_corrupted; then
1508 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1509 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1510 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1511 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1512 { (exit 1); exit 1; }; }
1516 ac_cpp
='$CPP $CPPFLAGS'
1517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1549 ac_config_headers
="$ac_config_headers courier_auth_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.
1858 PACKAGE
='courier-authlib'
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 -'
1989 >confdefs.h
# Kill PACKAGE_ macros
1991 LPATH
="$PATH:/usr/local/bin"
1993 for ac_prog
in gawk mawk nawk
awk
1995 # Extract the first word of "$ac_prog", so it can be a program name with args.
1996 set dummy
$ac_prog; ac_word
=$2
1997 echo "$as_me:$LINENO: checking for $ac_word" >&5
1998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1999 if test "${ac_cv_prog_AWK+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 if test -n "$AWK"; then
2003 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2009 test -z "$as_dir" && as_dir
=.
2010 for ac_exec_ext
in '' $ac_executable_extensions; do
2011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2012 ac_cv_prog_AWK
="$ac_prog"
2013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 if test -n "$AWK"; then
2023 echo "$as_me:$LINENO: result: $AWK" >&5
2024 echo "${ECHO_T}$AWK" >&6
2026 echo "$as_me:$LINENO: result: no" >&5
2027 echo "${ECHO_T}no" >&6
2030 test -n "$AWK" && break
2034 ac_cpp
='$CPP $CPPFLAGS'
2035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2040 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_prog_CC+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC
="$CC" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 if test -n "$CC"; then
2067 echo "$as_me:$LINENO: result: $CC" >&5
2068 echo "${ECHO_T}$CC" >&6
2070 echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6
2075 if test -z "$ac_cv_prog_CC"; then
2077 # Extract the first word of "gcc", so it can be a program name with args.
2078 set dummy gcc
; ac_word
=$2
2079 echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2081 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 if test -n "$ac_ct_CC"; then
2085 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir
=.
2092 for ac_exec_ext
in '' $ac_executable_extensions; do
2093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2094 ac_cv_prog_ac_ct_CC
="gcc"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2104 if test -n "$ac_ct_CC"; then
2105 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2106 echo "${ECHO_T}$ac_ct_CC" >&6
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2117 if test -z "$CC"; then
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2120 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2121 echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2123 if test "${ac_cv_prog_CC+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC
="$CC" # Let the user override the test.
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_exec_ext
in '' $ac_executable_extensions; do
2135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test -n "$CC"; then
2147 echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6
2150 echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6
2155 if test -z "$ac_cv_prog_CC"; then
2157 # Extract the first word of "cc", so it can be a program name with args.
2158 set dummy cc
; ac_word
=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$ac_ct_CC"; then
2165 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_ac_ct_CC
="cc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2186 echo "${ECHO_T}$ac_ct_CC" >&6
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2198 if test -z "$CC"; then
2199 # Extract the first word of "cc", so it can be a program name with args.
2200 set dummy cc
; ac_word
=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC
="$CC" # Let the user override the test.
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 for ac_exec_ext
in '' $ac_executable_extensions; do
2216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2218 ac_prog_rejected
=yes
2222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 if test $ac_prog_rejected = yes; then
2229 # We found a bogon in the path, so make sure we never use it.
2230 set dummy
$ac_cv_prog_CC
2232 if test $# != 0; then
2233 # We chose a different compiler from the bogus one.
2234 # However, it has the same basename, so the bogon will be chosen
2235 # first if we set CC to just the basename; use the full file name.
2237 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2243 if test -n "$CC"; then
2244 echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6
2247 echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2252 if test -z "$CC"; then
2253 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2257 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC
="$CC" # Let the user override the test.
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 for ac_exec_ext
in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 if test -n "$CC"; then
2284 echo "$as_me:$LINENO: result: $CC" >&5
2285 echo "${ECHO_T}$CC" >&6
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2291 test -n "$CC" && break
2294 if test -z "$CC"; then
2298 # Extract the first word of "$ac_prog", so it can be a program name with args.
2299 set dummy
$ac_prog; ac_word
=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$ac_ct_CC"; then
2306 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_ac_ct_CC
="$ac_prog"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2325 if test -n "$ac_ct_CC"; then
2326 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2327 echo "${ECHO_T}$ac_ct_CC" >&6
2329 echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6
2333 test -n "$ac_ct_CC" && break
2342 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2343 See \`config.log' for more details." >&5
2344 echo "$as_me: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&2;}
2346 { (exit 1); exit 1; }; }
2348 # Provide some information about the compiler.
2349 echo "$as_me:$LINENO:" \
2350 "checking for C compiler version" >&5
2351 ac_compiler
=`set X $ac_compile; echo $2`
2352 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2353 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2358 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }
2362 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2363 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2383 ac_clean_files_save
=$ac_clean_files
2384 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2388 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2390 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2391 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2392 (eval $ac_link_default) 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; then
2396 # Find the output, starting from the most likely. This scheme is
2397 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # Be careful to initialize this variable, since it used to be cached.
2401 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2403 # b.out is created by i960 compilers.
2404 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2406 test -f "$ac_file" ||
continue
2408 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2411 # This is the source file.
2414 # We found the default executable, but exeext='' is most
2418 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2419 # FIXME: I believe we export ac_cv_exeext for Libtool,
2420 # but it would be cool to find out if it's true. Does anybody
2421 # maintain Libtool? --akim.
2429 echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.
$ac_ext >&5
2432 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&2;}
2436 { (exit 77); exit 77; }; }
2439 ac_exeext
=$ac_cv_exeext
2440 echo "$as_me:$LINENO: result: $ac_file" >&5
2441 echo "${ECHO_T}$ac_file" >&6
2443 # Check the compiler produces executables we can run. If not, either
2444 # the compiler is broken, or we cross compile.
2445 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2446 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2447 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2448 # If not cross compiling, check that we can run a simple program.
2449 if test "$cross_compiling" != yes; then
2450 if { ac_try
='./$ac_file'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; }; then
2458 if test "$cross_compiling" = maybe
; then
2461 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2462 If you meant to cross compile, use \`--host'.
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2474 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2475 ac_clean_files
=$ac_clean_files_save
2476 # Check the compiler produces executables we can run. If not, either
2477 # the compiler is broken, or we cross compile.
2478 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2479 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2480 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2481 echo "${ECHO_T}$cross_compiling" >&6
2483 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2484 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2486 (eval $ac_link) 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; then
2490 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2491 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2492 # work properly (i.e., refer to `conftest.exe'), while it won't with
2494 for ac_file
in conftest.exe conftest conftest.
*; do
2495 test -f "$ac_file" ||
continue
2497 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2498 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2506 See \`config.log' for more details." >&5
2507 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2512 rm -f conftest
$ac_cv_exeext
2513 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2514 echo "${ECHO_T}$ac_cv_exeext" >&6
2516 rm -f conftest.
$ac_ext
2517 EXEEXT
=$ac_cv_exeext
2519 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2520 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2521 if test "${ac_cv_objext+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 cat >conftest.
$ac_ext <<_ACEOF
2527 cat confdefs.h
>>conftest.
$ac_ext
2528 cat >>conftest.
$ac_ext <<_ACEOF
2529 /* end confdefs.h. */
2539 rm -f conftest.o conftest.obj
2540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2541 (eval $ac_compile) 2>&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2547 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2548 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.
$ac_ext >&5
2556 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2557 See \`config.log' for more details." >&5
2558 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2559 See \`config.log' for more details." >&2;}
2560 { (exit 1); exit 1; }; }
2563 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2565 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2566 echo "${ECHO_T}$ac_cv_objext" >&6
2567 OBJEXT
=$ac_cv_objext
2569 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2570 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2571 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 cat >conftest.
$ac_ext <<_ACEOF
2577 cat confdefs.h
>>conftest.
$ac_ext
2578 cat >>conftest.
$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2592 rm -f conftest.
$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>conftest.er1
2596 grep -v '^ *+' conftest.er1
>conftest.err
2598 cat conftest.err
>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } &&
2601 { ac_try
='test -z "$ac_c_werror_flag"
2602 || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try
='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2622 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2625 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2626 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2627 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2628 ac_test_CFLAGS
=${CFLAGS+set}
2629 ac_save_CFLAGS
=$CFLAGS
2631 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2632 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2633 if test "${ac_cv_prog_cc_g+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 cat >conftest.
$ac_ext <<_ACEOF
2639 cat confdefs.h
>>conftest.
$ac_ext
2640 cat >>conftest.
$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2651 rm -f conftest.
$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1
>conftest.err
2657 cat conftest.err
>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -z "$ac_c_werror_flag"
2661 || test ! -s conftest.err'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; } &&
2667 { ac_try
='test -s conftest.$ac_objext'
2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }; }; then
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.
$ac_ext >&5
2680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2682 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2683 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2684 if test "$ac_test_CFLAGS" = set; then
2685 CFLAGS
=$ac_save_CFLAGS
2686 elif test $ac_cv_prog_cc_g = yes; then
2687 if test "$GCC" = yes; then
2693 if test "$GCC" = yes; then
2699 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2700 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2701 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 ac_cv_prog_cc_stdc
=no
2706 cat >conftest.
$ac_ext <<_ACEOF
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2714 #include <sys/types.h>
2715 #include <sys/stat.h>
2716 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2717 struct buf { int x; };
2718 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2719 static char *e (p, i)
2725 static char *f (char * (*g) (char **, int), char **p, ...)
2730 s = g (p, va_arg (v,int));
2735 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2736 function prototypes and stuff, but not '\xHH' hex character constants.
2737 These don't provoke an error unfortunately, instead are silently treated
2738 as 'x'. The following induces an error, until -std1 is added to get
2739 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2740 array size at least. It's necessary to write '\x00'==0 to get something
2741 that's true only with -std1. */
2742 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2744 int test (int i, double x);
2745 struct s1 {int (*f) (int a);};
2746 struct s2 {int (*f) (double a);};
2747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2758 # Don't try gcc -ansi; that turns off useful extensions and
2759 # breaks some systems' header files.
2760 # AIX -qlanglvl=ansi
2761 # Ultrix and OSF/1 -std1
2762 # HP-UX 10.20 and later -Ae
2763 # HP-UX older versions -Aa -D_HPUX_SOURCE
2764 # SVR4 -Xc -D__EXTENSIONS__
2765 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2767 CC
="$ac_save_CC $ac_arg"
2768 rm -f conftest.
$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try
='test -z "$ac_c_werror_flag"
2778 || test ! -s conftest.err'
2779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try
='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2790 ac_cv_prog_cc_stdc
=$ac_arg
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2797 rm -f conftest.err conftest.
$ac_objext
2799 rm -f conftest.
$ac_ext conftest.
$ac_objext
2804 case "x$ac_cv_prog_cc_stdc" in
2806 echo "$as_me:$LINENO: result: none needed" >&5
2807 echo "${ECHO_T}none needed" >&6 ;;
2809 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2810 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2811 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2814 # Some people use a C++ compiler to compile C. Since we use `exit',
2815 # in C++ we need to declare it. In case someone uses the same compiler
2816 # for both compiling C and C++ we need to have the C++ compiler decide
2817 # the declaration of exit, since it's the most demanding environment.
2818 cat >conftest.
$ac_ext <<_ACEOF
2823 rm -f conftest.
$ac_objext
2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2825 (eval $ac_compile) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try
='test -z "$ac_c_werror_flag"
2833 || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try
='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2845 for ac_declaration
in \
2847 'extern "C" void std::exit (int) throw (); using std::exit;' \
2848 'extern "C" void std::exit (int); using std::exit;' \
2849 'extern "C" void exit (int) throw ();' \
2850 'extern "C" void exit (int);' \
2853 cat >conftest.
$ac_ext <<_ACEOF
2856 cat confdefs.h
>>conftest.
$ac_ext
2857 cat >>conftest.
$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2869 rm -f conftest.
$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1
>conftest.err
2875 cat conftest.err
>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2899 cat >conftest.
$ac_ext <<_ACEOF
2902 cat confdefs.h
>>conftest.
$ac_ext
2903 cat >>conftest.
$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2914 rm -f conftest.
$ac_objext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2916 (eval $ac_compile) 2>conftest.er1
2918 grep -v '^ *+' conftest.er1
>conftest.err
2920 cat conftest.err
>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try
='test -z "$ac_c_werror_flag"
2924 || test ! -s conftest.err'
2925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; } &&
2930 { ac_try
='test -s conftest.$ac_objext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2938 echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.
$ac_ext >&5
2942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2945 if test -n "$ac_declaration"; then
2946 echo '#ifdef __cplusplus' >>confdefs.h
2947 echo $ac_declaration >>confdefs.h
2948 echo '#endif' >>confdefs.h
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.
$ac_ext >&5
2956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2958 ac_cpp
='$CPP $CPPFLAGS'
2959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2962 DEPDIR
="${am__leading_dot}deps"
2964 ac_config_commands
="$ac_config_commands depfiles"
2967 am_make
=${MAKE-make}
2968 cat > confinc
<< 'END'
2973 # If we don't find an include directive, just comment out the code.
2974 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2975 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2979 # First try GNU make style include.
2980 echo "include confinc" > confmf
2981 # We grep out `Entering directory' and `Leaving directory'
2982 # messages which can occur if `w' ends up in MAKEFLAGS.
2983 # In particular we don't look at `^make:' because GNU make might
2984 # be invoked under some other name (usually "gmake"), in which
2985 # case it prints its new name instead of `make'.
2986 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2991 # Now try BSD make style include.
2992 if test "$am__include" = "#"; then
2993 echo '.include "confinc"' > confmf
2994 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2995 am__include
=.include
3002 echo "$as_me:$LINENO: result: $_am_result" >&5
3003 echo "${ECHO_T}$_am_result" >&6
3004 rm -f confinc confmf
3006 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3007 if test "${enable_dependency_tracking+set}" = set; then
3008 enableval
="$enable_dependency_tracking"
3011 if test "x$enable_dependency_tracking" != xno
; then
3012 am_depcomp
="$ac_aux_dir/depcomp"
3017 if test "x$enable_dependency_tracking" != xno; then
3028 depcc
="$CC" am_compiler_list
=
3030 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3031 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3032 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3036 # We make a subdir and do the tests there. Otherwise we can end up
3037 # making bogus files that we don't know about and never remove. For
3038 # instance it was reported that on HP-UX the gcc test will end up
3039 # making a dummy file named `D' -- because `-MD' means `put the output
3042 # Copy depcomp to subdir because otherwise we won't find it if we're
3043 # using a relative directory.
3044 cp "$am_depcomp" conftest.dir
3046 # We will build objects and dependencies in a subdirectory because
3047 # it helps to detect inapplicable dependency modes. For instance
3048 # both Tru64's cc and ICC support -MD to output dependencies as a
3049 # side effect of compilation, but ICC will put the dependencies in
3050 # the current directory while Tru64 will put them in the object
3054 am_cv_CC_dependencies_compiler_type
=none
3055 if test "$am_compiler_list" = ""; then
3056 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3058 for depmode
in $am_compiler_list; do
3059 # Setup a source with many dependencies, because some compilers
3060 # like to wrap large dependency lists on column 80 (with \), and
3061 # we should not choose a depcomp mode which is confused by this.
3063 # We need to recreate these files for each test, as the compiler may
3064 # overwrite some of them when testing with obscure command lines.
3065 # This happens at least with the AIX C compiler.
3067 for i
in 1 2 3 4 5 6; do
3068 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3069 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3070 # Solaris 8's {/usr,}/bin/sh.
3071 touch sub
/conftst
$i.h
3073 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3077 # after this tag, mechanisms are not by side-effect, so they'll
3078 # only be used when explicitly requested
3079 if test "x$enable_dependency_tracking" = xyes
; then
3087 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3088 # mode. It turns out that the SunPro C++ compiler does not properly
3089 # handle `-M -o', and we need to detect this.
3090 if depmode
=$depmode \
3091 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3092 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3093 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3094 >/dev
/null
2>conftest.err
&&
3095 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3096 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3097 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3098 # icc doesn't choke on unknown options, it will just issue warnings
3099 # or remarks (even with -Werror). So we grep stderr for any message
3100 # that says an option was ignored or not supported.
3101 # When given -MP, icc 7.0 and 7.1 complain thusly:
3102 # icc: Command line warning: ignoring option '-M'; no argument required
3103 # The diagnosis changed in icc 8.0:
3104 # icc: Command line remark: option '-MP' not supported
3105 if (grep 'ignoring option' conftest.err ||
3106 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3107 am_cv_CC_dependencies_compiler_type
=$depmode
3116 am_cv_CC_dependencies_compiler_type
=none
3120 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3121 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3122 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3127 test "x$enable_dependency_tracking" != xno \
3128 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3130 am__fastdepCC_FALSE
='#'
3132 am__fastdepCC_TRUE
='#'
3133 am__fastdepCC_FALSE
=
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3142 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3143 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3144 # On Suns, sometimes $CPP names a directory.
3145 if test -n "$CPP" && test -d "$CPP"; then
3148 if test -z "$CPP"; then
3149 if test "${ac_cv_prog_CPP+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 # Double quotes because CPP needs to be expanded
3153 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3156 for ac_c_preproc_warn_flag
in '' yes
3158 # Use a header file that comes with gcc, so configuring glibc
3159 # with a fresh cross-compiler works.
3160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3161 # <limits.h> exists even on freestanding compilers.
3162 # On the NeXT, cc -E runs the code through the compiler's parser,
3163 # not just through cpp. "Syntax error" is here to catch this case.
3164 cat >conftest.
$ac_ext <<_ACEOF
3167 cat confdefs.h
>>conftest.
$ac_ext
3168 cat >>conftest.
$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3171 # include <limits.h>
3173 # include <assert.h>
3177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3180 grep -v '^ *+' conftest.er1
>conftest.err
3182 cat conftest.err
>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } >/dev
/null
; then
3185 if test -s conftest.err
; then
3186 ac_cpp_err
=$ac_c_preproc_warn_flag
3187 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3194 if test -z "$ac_cpp_err"; then
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3200 # Broken: fails on valid input.
3203 rm -f conftest.err conftest.
$ac_ext
3205 # OK, works on sane cases. Now check whether non-existent headers
3206 # can be detected and how.
3207 cat >conftest.
$ac_ext <<_ACEOF
3210 cat confdefs.h
>>conftest.
$ac_ext
3211 cat >>conftest.
$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3213 #include <ac_nonexistent.h>
3215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3218 grep -v '^ *+' conftest.er1
>conftest.err
3220 cat conftest.err
>&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } >/dev
/null
; then
3223 if test -s conftest.err
; then
3224 ac_cpp_err
=$ac_c_preproc_warn_flag
3225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3232 if test -z "$ac_cpp_err"; then
3233 # Broken: success on invalid input.
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.
$ac_ext >&5
3239 # Passes both tests.
3243 rm -f conftest.err conftest.
$ac_ext
3246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3247 rm -f conftest.err conftest.
$ac_ext
3248 if $ac_preproc_ok; then
3260 echo "$as_me:$LINENO: result: $CPP" >&5
3261 echo "${ECHO_T}$CPP" >&6
3263 for ac_c_preproc_warn_flag
in '' yes
3265 # Use a header file that comes with gcc, so configuring glibc
3266 # with a fresh cross-compiler works.
3267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3268 # <limits.h> exists even on freestanding compilers.
3269 # On the NeXT, cc -E runs the code through the compiler's parser,
3270 # not just through cpp. "Syntax error" is here to catch this case.
3271 cat >conftest.
$ac_ext <<_ACEOF
3274 cat confdefs.h
>>conftest.
$ac_ext
3275 cat >>conftest.
$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3278 # include <limits.h>
3280 # include <assert.h>
3284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } >/dev
/null
; then
3292 if test -s conftest.err
; then
3293 ac_cpp_err
=$ac_c_preproc_warn_flag
3294 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3301 if test -z "$ac_cpp_err"; then
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.
$ac_ext >&5
3307 # Broken: fails on valid input.
3310 rm -f conftest.err conftest.
$ac_ext
3312 # OK, works on sane cases. Now check whether non-existent headers
3313 # can be detected and how.
3314 cat >conftest.
$ac_ext <<_ACEOF
3317 cat confdefs.h
>>conftest.
$ac_ext
3318 cat >>conftest.
$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3320 #include <ac_nonexistent.h>
3322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3325 grep -v '^ *+' conftest.er1
>conftest.err
3327 cat conftest.err
>&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); } >/dev
/null
; then
3330 if test -s conftest.err
; then
3331 ac_cpp_err
=$ac_c_preproc_warn_flag
3332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3339 if test -z "$ac_cpp_err"; then
3340 # Broken: success on invalid input.
3343 echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.
$ac_ext >&5
3346 # Passes both tests.
3350 rm -f conftest.err conftest.
$ac_ext
3353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3354 rm -f conftest.err conftest.
$ac_ext
3355 if $ac_preproc_ok; then
3358 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3359 See \`config.log' for more details." >&5
3360 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3361 See \`config.log' for more details." >&2;}
3362 { (exit 1); exit 1; }; }
3366 ac_cpp
='$CPP $CPPFLAGS'
3367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3371 # Find a good install program. We prefer a C program (faster),
3372 # so one script is as good as another. But avoid the broken or
3373 # incompatible versions:
3374 # SysV /etc/install, /usr/sbin/install
3375 # SunOS /usr/etc/install
3376 # IRIX /sbin/install
3378 # AmigaOS /C/install, which installs bootblocks on floppy discs
3379 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3380 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3381 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3382 # OS/2's system install, which has a completely different semantic
3383 # ./install, which can be erroneously created by make from ./install.sh.
3384 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3385 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3386 if test -z "$INSTALL"; then
3387 if test "${ac_cv_path_install+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 # Account for people who put trailing slashes in PATH elements.
3397 .
/ | .
// |
/cC
/* | \
3398 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3399 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3402 # OSF1 and SCO ODT 3.0 have their own names for install.
3403 # Don't use installbsd from OSF since it installs stuff as root
3405 for ac_prog
in ginstall scoinst
install; do
3406 for ac_exec_ext
in '' $ac_executable_extensions; do
3407 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3408 if test $ac_prog = install &&
3409 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3410 # AIX install. It has an incompatible calling convention.
3412 elif test $ac_prog = install &&
3413 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3414 # program-specific install script used by HP pwplus--don't use.
3417 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3429 if test "${ac_cv_path_install+set}" = set; then
3430 INSTALL
=$ac_cv_path_install
3432 # As a last resort, use the slow shell script. We don't cache a
3433 # path for INSTALL within a source directory, because that will
3434 # break other packages using the cache if that directory is
3435 # removed, or if the path is relative.
3436 INSTALL
=$ac_install_sh
3439 echo "$as_me:$LINENO: result: $INSTALL" >&5
3440 echo "${ECHO_T}$INSTALL" >&6
3442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3443 # It thinks the first close brace ends the variable substitution.
3444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3448 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3450 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3451 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3453 if test "$LN_S" = "ln -s"; then
3454 echo "$as_me:$LINENO: result: yes" >&5
3455 echo "${ECHO_T}yes" >&6
3457 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3458 echo "${ECHO_T}no, using $LN_S" >&6
3463 for ac_prog
in perl5 perl
3465 # Extract the first word of "$ac_prog", so it can be a program name with args.
3466 set dummy
$ac_prog; ac_word
=$2
3467 echo "$as_me:$LINENO: checking for $ac_word" >&5
3468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3469 if test "${ac_cv_path_SYSCONFTOOL_PERL+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 case $SYSCONFTOOL_PERL in
3474 ac_cv_path_SYSCONFTOOL_PERL
="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
3477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir
=.
3482 for ac_exec_ext
in '' $ac_executable_extensions; do
3483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3484 ac_cv_path_SYSCONFTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
3485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 SYSCONFTOOL_PERL
=$ac_cv_path_SYSCONFTOOL_PERL
3496 if test -n "$SYSCONFTOOL_PERL"; then
3497 echo "$as_me:$LINENO: result: $SYSCONFTOOL_PERL" >&5
3498 echo "${ECHO_T}$SYSCONFTOOL_PERL" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3504 test -n "$SYSCONFTOOL_PERL" && break
3506 test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL
="perl"
3509 if test "$SYSCONFTOOL_PERL" = "perl"
3511 { { echo "$as_me:$LINENO: error: perl not found - please install perl" >&5
3512 echo "$as_me: error: perl not found - please install perl" >&2;}
3513 { (exit 1); exit 1; }; }
3516 echo "$as_me:$LINENO: checking for sysconftool..." >&5
3517 echo $ECHO_N "checking for sysconftool...... $ECHO_C" >&6
3519 for sysconf_dir
in $ac_aux_dir . .. ..
/..
3521 if test -f $srcdir/$sysconf_dir/sysconftool
3523 SYSCONFTOOL
=$srcdir/$sysconf_dir/sysconftool
3528 if test "$SYSCONFTOOL" = ""
3530 { { echo "$as_me:$LINENO: error: sysconftool missing - not in the package" >&5
3531 echo "$as_me: error: sysconftool missing - not in the package" >&2;}
3532 { (exit 1); exit 1; }; }
3535 echo "$as_me:$LINENO: result: $SYSCONFTOOL" >&5
3536 echo "${ECHO_T}$SYSCONFTOOL" >&6
3537 SYSCONFTOOL
="$SYSCONFTOOL_PERL $SYSCONFTOOL"
3542 echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
3543 echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6
3544 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 ac_check_lib_save_LIBS
=$LIBS
3549 cat >conftest.
$ac_ext <<_ACEOF
3552 cat confdefs.h
>>conftest.
$ac_ext
3553 cat >>conftest.
$ac_ext <<_ACEOF
3554 /* end confdefs.h. */
3556 /* Override any gcc2 internal prototype to avoid an error. */
3560 /* We use char because int might match the return type of a gcc2
3561 builtin and then its argument prototype would still apply. */
3571 rm -f conftest.
$ac_objext conftest
$ac_exeext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3573 (eval $ac_link) 2>conftest.er1
3575 grep -v '^ *+' conftest.er1
>conftest.err
3577 cat conftest.err
>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try
='test -z "$ac_c_werror_flag"
3581 || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try
='test -s conftest$ac_exeext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3593 ac_cv_lib_ltdl_lt_dlinit
=yes
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.
$ac_ext >&5
3598 ac_cv_lib_ltdl_lt_dlinit
=no
3600 rm -f conftest.err conftest.
$ac_objext \
3601 conftest
$ac_exeext conftest.
$ac_ext
3602 LIBS
=$ac_check_lib_save_LIBS
3604 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
3605 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6
3606 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
3607 test x
"$enable_ltdl_install" != xyes
&& enable_ltdl_install
=no
3609 if test x
"$enable_ltdl_install" = xno
; then
3610 { echo "$as_me:$LINENO: WARNING: libltdl not installed, but installation disabled" >&5
3611 echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
3613 enable_ltdl_install
=yes
3618 if test x
"$enable_ltdl_install" = x
"yes"; then
3619 ac_configure_args
="$ac_configure_args --enable-ltdl-install"
3620 LIBLTDL
='${top_builddir}/''libltdl'/libltdl.la
3621 LTDLINCL
='-I${top_srcdir}/''libltdl'
3623 ac_configure_args
="$ac_configure_args --enable-ltdl-install=no"
3627 # For backwards non-gettext consistent compatibility...
3632 # Check whether --enable-shared or --disable-shared was given.
3633 if test "${enable_shared+set}" = set; then
3634 enableval
="$enable_shared"
3635 p
=${PACKAGE-default}
3637 yes) enable_shared
=yes ;;
3638 no
) enable_shared
=no
;;
3641 # Look at the argument we got. We use all the common list separators.
3642 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3643 for pkg
in $enableval; do
3645 if test "X$pkg" = "X$p"; then
3656 # Check whether --enable-static or --disable-static was given.
3657 if test "${enable_static+set}" = set; then
3658 enableval
="$enable_static"
3659 p
=${PACKAGE-default}
3661 yes) enable_static
=yes ;;
3662 no
) enable_static
=no
;;
3665 # Look at the argument we got. We use all the common list separators.
3666 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3667 for pkg
in $enableval; do
3669 if test "X$pkg" = "X$p"; then
3680 # Check whether --enable-fast-install or --disable-fast-install was given.
3681 if test "${enable_fast_install+set}" = set; then
3682 enableval
="$enable_fast_install"
3683 p
=${PACKAGE-default}
3685 yes) enable_fast_install
=yes ;;
3686 no
) enable_fast_install
=no
;;
3688 enable_fast_install
=no
3689 # Look at the argument we got. We use all the common list separators.
3690 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3691 for pkg
in $enableval; do
3693 if test "X$pkg" = "X$p"; then
3694 enable_fast_install
=yes
3701 enable_fast_install
=yes
3704 # Make sure we can run config.sub.
3705 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3706 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3707 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3708 { (exit 1); exit 1; }; }
3710 echo "$as_me:$LINENO: checking build system type" >&5
3711 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3712 if test "${ac_cv_build+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 ac_cv_build_alias
=$build_alias
3716 test -z "$ac_cv_build_alias" &&
3717 ac_cv_build_alias
=`$ac_config_guess`
3718 test -z "$ac_cv_build_alias" &&
3719 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3720 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3721 { (exit 1); exit 1; }; }
3722 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3723 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3724 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3725 { (exit 1); exit 1; }; }
3728 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3729 echo "${ECHO_T}$ac_cv_build" >&6
3731 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3732 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3733 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3736 echo "$as_me:$LINENO: checking host system type" >&5
3737 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3738 if test "${ac_cv_host+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_cv_host_alias
=$host_alias
3742 test -z "$ac_cv_host_alias" &&
3743 ac_cv_host_alias
=$ac_cv_build_alias
3744 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3745 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3746 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3747 { (exit 1); exit 1; }; }
3750 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3751 echo "${ECHO_T}$ac_cv_host" >&6
3753 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3754 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3755 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3758 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3759 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3760 if test "${lt_cv_path_SED+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 # Loop through the user's path and test for sed and gsed.
3764 # Then use that list of sed's as ones to test for truncation.
3765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3769 test -z "$as_dir" && as_dir
=.
3770 for lt_ac_prog
in sed gsed
; do
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3773 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3781 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3782 # along with /bin/sed that truncates output.
3783 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3784 test ! -f $lt_ac_sed && continue
3785 cat /dev
/null
> conftest.
in
3787 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3788 # Check for GNU sed and select it if it is found.
3789 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3790 lt_cv_path_SED
=$lt_ac_sed
3794 cat conftest.
in conftest.
in >conftest.tmp
3795 mv conftest.tmp conftest.
in
3796 cp conftest.
in conftest.
nl
3798 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3799 cmp -s conftest.out conftest.
nl ||
break
3800 # 10000 chars as input seems more than enough
3801 test $lt_ac_count -gt 10 && break
3802 lt_ac_count
=`expr $lt_ac_count + 1`
3803 if test $lt_ac_count -gt $lt_ac_max; then
3804 lt_ac_max
=$lt_ac_count
3805 lt_cv_path_SED
=$lt_ac_sed
3814 echo "$as_me:$LINENO: result: $SED" >&5
3815 echo "${ECHO_T}$SED" >&6
3817 echo "$as_me:$LINENO: checking for egrep" >&5
3818 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3819 if test "${ac_cv_prog_egrep+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3823 then ac_cv_prog_egrep
='grep -E'
3824 else ac_cv_prog_egrep
='egrep'
3827 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3828 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3829 EGREP
=$ac_cv_prog_egrep
3833 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3834 if test "${with_gnu_ld+set}" = set; then
3835 withval
="$with_gnu_ld"
3836 test "$withval" = no || with_gnu_ld
=yes
3841 if test "$GCC" = yes; then
3842 # Check if gcc -print-prog-name=ld gives a path.
3843 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3844 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3847 # gcc leaves a trailing carriage return which upsets mingw
3848 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3850 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3853 # Accept absolute paths.
3855 re_direlt
='/[^/][^/]*/\.\./'
3856 # Canonicalize the pathname of ld
3857 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3858 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3859 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3861 test -z "$LD" && LD
="$ac_prog"
3864 # If it fails, then pretend we aren't using GCC.
3868 # If it is relative, then search for the first ld in PATH.
3872 elif test "$with_gnu_ld" = yes; then
3873 echo "$as_me:$LINENO: checking for GNU ld" >&5
3874 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3876 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3877 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3879 if test "${lt_cv_path_LD+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 if test -z "$LD"; then
3883 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3884 for ac_dir
in $PATH; do
3886 test -z "$ac_dir" && ac_dir
=.
3887 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3888 lt_cv_path_LD
="$ac_dir/$ac_prog"
3889 # Check to see if the program is GNU ld. I'd rather use --version,
3890 # but apparently some variants of GNU ld only accept -v.
3891 # Break only if it was the GNU/non-GNU ld that we prefer.
3892 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3893 *GNU
* |
*'with BFD'*)
3894 test "$with_gnu_ld" != no
&& break
3897 test "$with_gnu_ld" != yes && break
3904 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3909 if test -n "$LD"; then
3910 echo "$as_me:$LINENO: result: $LD" >&5
3911 echo "${ECHO_T}$LD" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3916 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3917 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3918 { (exit 1); exit 1; }; }
3919 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3920 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3921 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3925 case `$LD -v 2>&1 </dev/null` in
3926 *GNU
* |
*'with BFD'*)
3927 lt_cv_prog_gnu_ld
=yes
3930 lt_cv_prog_gnu_ld
=no
3934 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3935 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3936 with_gnu_ld
=$lt_cv_prog_gnu_ld
3939 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3940 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3941 if test "${lt_cv_ld_reload_flag+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 lt_cv_ld_reload_flag
='-r'
3946 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3947 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3948 reload_flag
=$lt_cv_ld_reload_flag
3949 case $reload_flag in
3951 *) reload_flag
=" $reload_flag" ;;
3953 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3956 if test "$GCC" = yes; then
3957 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3959 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3964 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3965 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3966 if test "${lt_cv_path_NM+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 if test -n "$NM"; then
3970 # Let the user override the test.
3973 lt_nm_to_check
="${ac_tool_prefix}nm"
3974 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3975 lt_nm_to_check
="$lt_nm_to_check nm"
3977 for lt_tmp_nm
in $lt_nm_to_check; do
3978 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3979 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3981 test -z "$ac_dir" && ac_dir
=.
3982 tmp_nm
="$ac_dir/$lt_tmp_nm"
3983 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3984 # Check to see if the nm accepts a BSD-compat flag.
3985 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3986 # nm: unknown option "B" ignored
3987 # Tru64's nm complains that /dev/null is an invalid object file
3988 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3989 */dev
/null
* |
*'Invalid file or object type'*)
3990 lt_cv_path_NM
="$tmp_nm -B"
3994 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3996 lt_cv_path_NM
="$tmp_nm -p"
4000 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4001 continue # so that we can try to find one that supports BSD flags
4010 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4013 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4014 echo "${ECHO_T}$lt_cv_path_NM" >&6
4017 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4018 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4019 if test "${lt_cv_deplibs_check_method+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4023 lt_cv_file_magic_test_file
=
4024 lt_cv_deplibs_check_method
='unknown'
4025 # Need to set the preceding variable on all platforms that support
4026 # interlibrary dependencies.
4027 # 'none' -- dependencies not supported.
4028 # `unknown' -- same as none, but documents that we really don't know.
4029 # 'pass_all' -- all dependencies passed with no checks.
4030 # 'test_compile' -- check by making test program.
4031 # 'file_magic [[regex]]' -- check by looking for files in library path
4032 # which responds to the $file_magic_cmd with a given extended regex.
4033 # If you have `file' or equivalent on your system and you're not sure
4034 # whether `pass_all' will *always* work, you probably want this one.
4038 lt_cv_deplibs_check_method
=pass_all
4042 lt_cv_deplibs_check_method
=pass_all
4046 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4047 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4048 lt_cv_file_magic_test_file
=/shlib
/libc.so
4052 # func_win32_libid is a shell function defined in ltmain.sh
4053 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4054 lt_cv_file_magic_cmd
='func_win32_libid'
4058 # Base MSYS/MinGW do not provide the 'file' command needed by
4059 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4060 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4061 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4064 darwin
* | rhapsody
*)
4065 lt_cv_deplibs_check_method
=pass_all
4068 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4069 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4072 # Not sure whether the presence of OpenBSD here was a mistake.
4073 # Let's accept both of them until this is cleared up.
4074 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4075 lt_cv_file_magic_cmd
=/usr
/bin
/file
4076 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4080 lt_cv_deplibs_check_method
=pass_all
4085 lt_cv_deplibs_check_method
=pass_all
4088 hpux10.20
* | hpux11
*)
4089 lt_cv_file_magic_cmd
=/usr
/bin
/file
4092 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4093 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4096 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]'
4097 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4100 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4101 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4107 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4108 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4111 irix5
* | irix6
* | nonstopux
*)
4113 *-32|
*"-32 ") libmagic
=32-bit;;
4114 *-n32|
*"-n32 ") libmagic
=N32
;;
4115 *-64|
*"-64 ") libmagic
=64-bit;;
4116 *) libmagic
=never-match
;;
4118 lt_cv_deplibs_check_method
=pass_all
4121 # This must be Linux ELF.
4123 lt_cv_deplibs_check_method
=pass_all
4127 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4128 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4130 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4135 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4136 lt_cv_file_magic_cmd
=/usr
/bin
/file
4137 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4141 lt_cv_deplibs_check_method
=unknown
4145 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4146 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4148 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4152 osf3
* | osf4
* | osf5
*)
4153 lt_cv_deplibs_check_method
=pass_all
4157 lt_cv_deplibs_check_method
=pass_all
4161 case $host_vendor in
4163 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]'
4164 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4167 lt_cv_deplibs_check_method
=pass_all
4170 lt_cv_file_magic_cmd
='/bin/file'
4171 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4174 lt_cv_file_magic_cmd
='/bin/file'
4175 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4176 lt_cv_file_magic_test_file
=/lib
/libc.so
4179 lt_cv_deplibs_check_method
=pass_all
4182 lt_cv_deplibs_check_method
=pass_all
4187 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4188 lt_cv_deplibs_check_method
=pass_all
4193 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4194 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4195 file_magic_cmd
=$lt_cv_file_magic_cmd
4196 deplibs_check_method
=$lt_cv_deplibs_check_method
4197 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4202 # If no C compiler was specified, use CC.
4205 # If no C compiler flags were specified, use CFLAGS.
4206 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4208 # Allow CC to be a program name with arguments.
4211 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4212 if test "${enable_libtool_lock+set}" = set; then
4213 enableval
="$enable_libtool_lock"
4216 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4218 # Some flags need to be propagated to the compiler or linker for good
4222 # Find out which ABI we are using.
4223 echo 'int i;' > conftest.
$ac_ext
4224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4225 (eval $ac_compile) 2>&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; then
4229 case `/usr/bin/file conftest.$ac_objext` in
4241 # Find out which ABI we are using.
4242 echo '#line 4242 "configure"' > conftest.
$ac_ext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4244 (eval $ac_compile) 2>&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; then
4248 if test "$lt_cv_prog_gnu_ld" = yes; then
4249 case `/usr/bin/file conftest.$ac_objext` in
4251 LD
="${LD-ld} -melf32bsmip"
4254 LD
="${LD-ld} -melf32bmipn32"
4257 LD
="${LD-ld} -melf64bmip"
4261 case `/usr/bin/file conftest.$ac_objext` in
4277 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4278 # Find out which ABI we are using.
4279 echo 'int i;' > conftest.
$ac_ext
4280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4281 (eval $ac_compile) 2>&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; then
4285 case `/usr/bin/file conftest.o` in
4289 LD
="${LD-ld} -m elf_i386"
4291 ppc64-
*linux
*|powerpc64-
*linux
*)
4292 LD
="${LD-ld} -m elf32ppclinux"
4295 LD
="${LD-ld} -m elf_s390"
4298 LD
="${LD-ld} -m elf32_sparc"
4305 LD
="${LD-ld} -m elf_x86_64"
4307 ppc
*-*linux
*|powerpc
*-*linux
*)
4308 LD
="${LD-ld} -m elf64ppc"
4311 LD
="${LD-ld} -m elf64_s390"
4314 LD
="${LD-ld} -m elf64_sparc"
4324 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4325 SAVE_CFLAGS
="$CFLAGS"
4326 CFLAGS
="$CFLAGS -belf"
4327 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4328 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4329 if test "${lt_cv_cc_needs_belf+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 ac_cpp
='$CPP $CPPFLAGS'
4334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4338 cat >conftest.
$ac_ext <<_ACEOF
4341 cat confdefs.h
>>conftest.
$ac_ext
4342 cat >>conftest.
$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4353 rm -f conftest.
$ac_objext conftest
$ac_exeext
4354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4355 (eval $ac_link) 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } &&
4362 { ac_try
='test -z "$ac_c_werror_flag"
4363 || test ! -s conftest.err'
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; } &&
4369 { ac_try
='test -s conftest$ac_exeext'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 lt_cv_cc_needs_belf
=yes
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4380 lt_cv_cc_needs_belf
=no
4382 rm -f conftest.err conftest.
$ac_objext \
4383 conftest
$ac_exeext conftest.
$ac_ext
4385 ac_cpp
='$CPP $CPPFLAGS'
4386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4391 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4392 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4393 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4394 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4395 CFLAGS
="$SAVE_CFLAGS"
4399 # Find out which ABI we are using.
4400 echo 'int i;' > conftest.
$ac_ext
4401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402 (eval $ac_compile) 2>&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; then
4406 case `/usr/bin/file conftest.o` in
4408 case $lt_cv_prog_gnu_ld in
4409 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
4410 *) LD
="${LD-ld} -64" ;;
4421 need_locks
="$enable_libtool_lock"
4425 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4426 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4427 if test "${ac_cv_header_stdc+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 cat >conftest.
$ac_ext <<_ACEOF
4433 cat confdefs.h
>>conftest.
$ac_ext
4434 cat >>conftest.
$ac_ext <<_ACEOF
4435 /* end confdefs.h. */
4449 rm -f conftest.
$ac_objext
4450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4451 (eval $ac_compile) 2>conftest.er1
4453 grep -v '^ *+' conftest.er1
>conftest.err
4455 cat conftest.err
>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } &&
4458 { ac_try
='test -z "$ac_c_werror_flag"
4459 || test ! -s conftest.err'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try
='test -s conftest.$ac_objext'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; }; then
4471 ac_cv_header_stdc
=yes
4473 echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.
$ac_ext >&5
4476 ac_cv_header_stdc
=no
4478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4480 if test $ac_cv_header_stdc = yes; then
4481 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4492 $EGREP "memchr" >/dev
/null
2>&1; then
4495 ac_cv_header_stdc
=no
4501 if test $ac_cv_header_stdc = yes; then
4502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4503 cat >conftest.
$ac_ext <<_ACEOF
4506 cat confdefs.h
>>conftest.
$ac_ext
4507 cat >>conftest.
$ac_ext <<_ACEOF
4508 /* end confdefs.h. */
4512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4513 $EGREP "free" >/dev
/null
2>&1; then
4516 ac_cv_header_stdc
=no
4522 if test $ac_cv_header_stdc = yes; then
4523 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4524 if test "$cross_compiling" = yes; then
4527 cat >conftest.
$ac_ext <<_ACEOF
4530 cat confdefs.h
>>conftest.
$ac_ext
4531 cat >>conftest.
$ac_ext <<_ACEOF
4532 /* end confdefs.h. */
4534 #if ((' ' & 0x0FF) == 0x020)
4535 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4536 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4538 # define ISLOWER(c) \
4539 (('a' <= (c) && (c) <= 'i') \
4540 || ('j' <= (c) && (c) <= 'r') \
4541 || ('s' <= (c) && (c) <= 'z'))
4542 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4545 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4550 for (i = 0; i < 256; i++)
4551 if (XOR (islower (i), ISLOWER (i))
4552 || toupper (i) != TOUPPER (i))
4557 rm -f conftest
$ac_exeext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4559 (eval $ac_link) 2>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }; }; then
4570 echo "$as_me: program exited with status $ac_status" >&5
4571 echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.
$ac_ext >&5
4575 ac_cv_header_stdc
=no
4577 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4581 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4582 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4583 if test $ac_cv_header_stdc = yes; then
4585 cat >>confdefs.h
<<\_ACEOF
4586 #define STDC_HEADERS 1
4591 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4601 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4602 inttypes.h stdint.h unistd.h
4604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4605 echo "$as_me:$LINENO: checking for $ac_header" >&5
4606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 $ac_includes_default
4618 #include <$ac_header>
4620 rm -f conftest.
$ac_objext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1
>conftest.err
4626 cat conftest.err
>&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try
='test -z "$ac_c_werror_flag"
4630 || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try
='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 eval "$as_ac_Header=yes"
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4647 eval "$as_ac_Header=no"
4649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4654 cat >>confdefs.h
<<_ACEOF
4655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4664 for ac_header
in dlfcn.h
4666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4668 echo "$as_me:$LINENO: checking for $ac_header" >&5
4669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4676 # Is the header compilable?
4677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4685 $ac_includes_default
4686 #include <$ac_header>
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 ac_header_compiler
=yes
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.
$ac_ext >&5
4715 ac_header_compiler
=no
4717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4719 echo "${ECHO_T}$ac_header_compiler" >&6
4721 # Is the header present?
4722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4724 cat >conftest.
$ac_ext <<_ACEOF
4727 cat confdefs.h
>>conftest.
$ac_ext
4728 cat >>conftest.
$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4730 #include <$ac_header>
4732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4735 grep -v '^ *+' conftest.er1
>conftest.err
4737 cat conftest.err
>&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } >/dev
/null
; then
4740 if test -s conftest.err
; then
4741 ac_cpp_err
=$ac_c_preproc_warn_flag
4742 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4749 if test -z "$ac_cpp_err"; then
4750 ac_header_preproc
=yes
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.
$ac_ext >&5
4755 ac_header_preproc
=no
4757 rm -f conftest.err conftest.
$ac_ext
4758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4759 echo "${ECHO_T}$ac_header_preproc" >&6
4761 # So? What about this header?
4762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4768 ac_header_preproc
=yes
4771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4785 ## -------------------------------------------------- ##
4786 ## Report this to courier-users@lists.sourceforge.net ##
4787 ## -------------------------------------------------- ##
4790 sed "s/^/$as_me: WARNING: /" >&2
4793 echo "$as_me:$LINENO: checking for $ac_header" >&5
4794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 eval "$as_ac_Header=\$ac_header_preproc"
4800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4805 cat >>confdefs.h
<<_ACEOF
4806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4814 ac_cpp
='$CXXCPP $CPPFLAGS'
4815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4818 if test -n "$ac_tool_prefix"; then
4819 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4823 echo "$as_me:$LINENO: checking for $ac_word" >&5
4824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4825 if test "${ac_cv_prog_CXX+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 if test -n "$CXX"; then
4829 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir
=.
4836 for ac_exec_ext
in '' $ac_executable_extensions; do
4837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 if test -n "$CXX"; then
4849 echo "$as_me:$LINENO: result: $CXX" >&5
4850 echo "${ECHO_T}$CXX" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4856 test -n "$CXX" && break
4859 if test -z "$CXX"; then
4861 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4863 # Extract the first word of "$ac_prog", so it can be a program name with args.
4864 set dummy
$ac_prog; ac_word
=$2
4865 echo "$as_me:$LINENO: checking for $ac_word" >&5
4866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4867 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4870 if test -n "$ac_ct_CXX"; then
4871 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_exec_ext
in '' $ac_executable_extensions; do
4879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4890 if test -n "$ac_ct_CXX"; then
4891 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4892 echo "${ECHO_T}$ac_ct_CXX" >&6
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4898 test -n "$ac_ct_CXX" && break
4900 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4906 # Provide some information about the compiler.
4907 echo "$as_me:$LINENO:" \
4908 "checking for C++ compiler version" >&5
4909 ac_compiler
=`set X $ac_compile; echo $2`
4910 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4911 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }
4915 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4916 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }
4920 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4921 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }
4926 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4927 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4928 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 cat >conftest.
$ac_ext <<_ACEOF
4934 cat confdefs.h
>>conftest.
$ac_ext
4935 cat >>conftest.
$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4949 rm -f conftest.
$ac_objext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>conftest.er1
4953 grep -v '^ *+' conftest.er1
>conftest.err
4955 cat conftest.err
>&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } &&
4958 { ac_try
='test -z "$ac_cxx_werror_flag"
4959 || test ! -s conftest.err'
4960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); }; } &&
4965 { ac_try
='test -s conftest.$ac_objext'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.
$ac_ext >&5
4978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4979 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4982 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4983 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4984 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4985 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4986 ac_save_CXXFLAGS
=$CXXFLAGS
4988 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4989 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4990 if test "${ac_cv_prog_cxx_g+set}" = set; then
4991 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 cat >conftest.
$ac_ext <<_ACEOF
4996 cat confdefs.h
>>conftest.
$ac_ext
4997 cat >>conftest.
$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
5008 rm -f conftest.
$ac_objext
5009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5010 (eval $ac_compile) 2>conftest.er1
5012 grep -v '^ *+' conftest.er1
>conftest.err
5014 cat conftest.err
>&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } &&
5017 { ac_try
='test -z "$ac_cxx_werror_flag"
5018 || test ! -s conftest.err'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; } &&
5024 { ac_try
='test -s conftest.$ac_objext'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then
5030 ac_cv_prog_cxx_g
=yes
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.
$ac_ext >&5
5037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5040 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5041 if test "$ac_test_CXXFLAGS" = set; then
5042 CXXFLAGS
=$ac_save_CXXFLAGS
5043 elif test $ac_cv_prog_cxx_g = yes; then
5044 if test "$GXX" = yes; then
5050 if test "$GXX" = yes; then
5056 for ac_declaration
in \
5058 'extern "C" void std::exit (int) throw (); using std::exit;' \
5059 'extern "C" void std::exit (int); using std::exit;' \
5060 'extern "C" void exit (int) throw ();' \
5061 'extern "C" void exit (int);' \
5064 cat >conftest.
$ac_ext <<_ACEOF
5067 cat confdefs.h
>>conftest.
$ac_ext
5068 cat >>conftest.
$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5080 rm -f conftest.
$ac_objext
5081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5082 (eval $ac_compile) 2>conftest.er1
5084 grep -v '^ *+' conftest.er1
>conftest.err
5086 cat conftest.err
>&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } &&
5089 { ac_try
='test -z "$ac_cxx_werror_flag"
5090 || test ! -s conftest.err'
5091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); }; } &&
5096 { ac_try
='test -s conftest.$ac_objext'
5097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); }; }; then
5104 echo "$as_me: failed program was:" >&5
5105 sed 's/^/| /' conftest.
$ac_ext >&5
5109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5110 cat >conftest.
$ac_ext <<_ACEOF
5113 cat confdefs.h
>>conftest.
$ac_ext
5114 cat >>conftest.
$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5125 rm -f conftest.
$ac_objext
5126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5127 (eval $ac_compile) 2>conftest.er1
5129 grep -v '^ *+' conftest.er1
>conftest.err
5131 cat conftest.err
>&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } &&
5134 { ac_try
='test -z "$ac_cxx_werror_flag"
5135 || test ! -s conftest.err'
5136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); }; } &&
5141 { ac_try
='test -s conftest.$ac_objext'
5142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); }; }; then
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.
$ac_ext >&5
5153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5156 if test -n "$ac_declaration"; then
5157 echo '#ifdef __cplusplus' >>confdefs.h
5158 echo $ac_declaration >>confdefs.h
5159 echo '#endif' >>confdefs.h
5163 ac_cpp
='$CXXCPP $CPPFLAGS'
5164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5168 depcc
="$CXX" am_compiler_list
=
5170 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5171 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5172 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5176 # We make a subdir and do the tests there. Otherwise we can end up
5177 # making bogus files that we don't know about and never remove. For
5178 # instance it was reported that on HP-UX the gcc test will end up
5179 # making a dummy file named `D' -- because `-MD' means `put the output
5182 # Copy depcomp to subdir because otherwise we won't find it if we're
5183 # using a relative directory.
5184 cp "$am_depcomp" conftest.dir
5186 # We will build objects and dependencies in a subdirectory because
5187 # it helps to detect inapplicable dependency modes. For instance
5188 # both Tru64's cc and ICC support -MD to output dependencies as a
5189 # side effect of compilation, but ICC will put the dependencies in
5190 # the current directory while Tru64 will put them in the object
5194 am_cv_CXX_dependencies_compiler_type
=none
5195 if test "$am_compiler_list" = ""; then
5196 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5198 for depmode
in $am_compiler_list; do
5199 # Setup a source with many dependencies, because some compilers
5200 # like to wrap large dependency lists on column 80 (with \), and
5201 # we should not choose a depcomp mode which is confused by this.
5203 # We need to recreate these files for each test, as the compiler may
5204 # overwrite some of them when testing with obscure command lines.
5205 # This happens at least with the AIX C compiler.
5207 for i
in 1 2 3 4 5 6; do
5208 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5209 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5210 # Solaris 8's {/usr,}/bin/sh.
5211 touch sub
/conftst
$i.h
5213 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5217 # after this tag, mechanisms are not by side-effect, so they'll
5218 # only be used when explicitly requested
5219 if test "x$enable_dependency_tracking" = xyes
; then
5227 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5228 # mode. It turns out that the SunPro C++ compiler does not properly
5229 # handle `-M -o', and we need to detect this.
5230 if depmode
=$depmode \
5231 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5232 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5233 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5234 >/dev
/null
2>conftest.err
&&
5235 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5236 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5237 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5238 # icc doesn't choke on unknown options, it will just issue warnings
5239 # or remarks (even with -Werror). So we grep stderr for any message
5240 # that says an option was ignored or not supported.
5241 # When given -MP, icc 7.0 and 7.1 complain thusly:
5242 # icc: Command line warning: ignoring option '-M'; no argument required
5243 # The diagnosis changed in icc 8.0:
5244 # icc: Command line remark: option '-MP' not supported
5245 if (grep 'ignoring option' conftest.err ||
5246 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5247 am_cv_CXX_dependencies_compiler_type
=$depmode
5256 am_cv_CXX_dependencies_compiler_type
=none
5260 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5261 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5262 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5267 test "x$enable_dependency_tracking" != xno \
5268 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5269 am__fastdepCXX_TRUE
=
5270 am__fastdepCXX_FALSE
='#'
5272 am__fastdepCXX_TRUE
='#'
5273 am__fastdepCXX_FALSE
=
5279 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5280 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5281 (test "X$CXX" != "Xg++"))) ; then
5283 ac_cpp
='$CXXCPP $CPPFLAGS'
5284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5287 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5288 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5289 if test -z "$CXXCPP"; then
5290 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 # Double quotes because CXXCPP needs to be expanded
5294 for CXXCPP
in "$CXX -E" "/lib/cpp"
5297 for ac_cxx_preproc_warn_flag
in '' yes
5299 # Use a header file that comes with gcc, so configuring glibc
5300 # with a fresh cross-compiler works.
5301 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5302 # <limits.h> exists even on freestanding compilers.
5303 # On the NeXT, cc -E runs the code through the compiler's parser,
5304 # not just through cpp. "Syntax error" is here to catch this case.
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5312 # include <limits.h>
5314 # include <assert.h>
5318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5319 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5321 grep -v '^ *+' conftest.er1
>conftest.err
5323 cat conftest.err
>&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } >/dev
/null
; then
5326 if test -s conftest.err
; then
5327 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5328 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5335 if test -z "$ac_cpp_err"; then
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.
$ac_ext >&5
5341 # Broken: fails on valid input.
5344 rm -f conftest.err conftest.
$ac_ext
5346 # OK, works on sane cases. Now check whether non-existent headers
5347 # can be detected and how.
5348 cat >conftest.
$ac_ext <<_ACEOF
5351 cat confdefs.h
>>conftest.
$ac_ext
5352 cat >>conftest.
$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5354 #include <ac_nonexistent.h>
5356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5359 grep -v '^ *+' conftest.er1
>conftest.err
5361 cat conftest.err
>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } >/dev
/null
; then
5364 if test -s conftest.err
; then
5365 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5366 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5373 if test -z "$ac_cpp_err"; then
5374 # Broken: success on invalid input.
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.
$ac_ext >&5
5380 # Passes both tests.
5384 rm -f conftest.err conftest.
$ac_ext
5387 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5388 rm -f conftest.err conftest.
$ac_ext
5389 if $ac_preproc_ok; then
5394 ac_cv_prog_CXXCPP
=$CXXCPP
5397 CXXCPP
=$ac_cv_prog_CXXCPP
5399 ac_cv_prog_CXXCPP
=$CXXCPP
5401 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5402 echo "${ECHO_T}$CXXCPP" >&6
5404 for ac_cxx_preproc_warn_flag
in '' yes
5406 # Use a header file that comes with gcc, so configuring glibc
5407 # with a fresh cross-compiler works.
5408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5409 # <limits.h> exists even on freestanding compilers.
5410 # On the NeXT, cc -E runs the code through the compiler's parser,
5411 # not just through cpp. "Syntax error" is here to catch this case.
5412 cat >conftest.
$ac_ext <<_ACEOF
5415 cat confdefs.h
>>conftest.
$ac_ext
5416 cat >>conftest.
$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5419 # include <limits.h>
5421 # include <assert.h>
5425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5428 grep -v '^ *+' conftest.er1
>conftest.err
5430 cat conftest.err
>&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); } >/dev
/null
; then
5433 if test -s conftest.err
; then
5434 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5435 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5442 if test -z "$ac_cpp_err"; then
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.
$ac_ext >&5
5448 # Broken: fails on valid input.
5451 rm -f conftest.err conftest.
$ac_ext
5453 # OK, works on sane cases. Now check whether non-existent headers
5454 # can be detected and how.
5455 cat >conftest.
$ac_ext <<_ACEOF
5458 cat confdefs.h
>>conftest.
$ac_ext
5459 cat >>conftest.
$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 #include <ac_nonexistent.h>
5463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5466 grep -v '^ *+' conftest.er1
>conftest.err
5468 cat conftest.err
>&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } >/dev
/null
; then
5471 if test -s conftest.err
; then
5472 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5473 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5480 if test -z "$ac_cpp_err"; then
5481 # Broken: success on invalid input.
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.
$ac_ext >&5
5487 # Passes both tests.
5491 rm -f conftest.err conftest.
$ac_ext
5494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5495 rm -f conftest.err conftest.
$ac_ext
5496 if $ac_preproc_ok; then
5499 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5500 See \`config.log' for more details." >&5
5501 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5502 See \`config.log' for more details." >&2;}
5503 { (exit 1); exit 1; }; }
5507 ac_cpp
='$CXXCPP $CPPFLAGS'
5508 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5509 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5510 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5516 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5517 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5518 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5519 if test -n "$ac_tool_prefix"; then
5520 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5523 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5524 echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5526 if test "${ac_cv_prog_F77+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 if test -n "$F77"; then
5530 ac_cv_prog_F77
="$F77" # Let the user override the test.
5532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir
=.
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 if test -n "$F77"; then
5550 echo "$as_me:$LINENO: result: $F77" >&5
5551 echo "${ECHO_T}$F77" >&6
5553 echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6
5557 test -n "$F77" && break
5560 if test -z "$F77"; then
5562 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5564 # Extract the first word of "$ac_prog", so it can be a program name with args.
5565 set dummy
$ac_prog; ac_word
=$2
5566 echo "$as_me:$LINENO: checking for $ac_word" >&5
5567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5568 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 if test -n "$ac_ct_F77"; then
5572 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 test -z "$as_dir" && as_dir
=.
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_ac_ct_F77
="$ac_prog"
5582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5591 if test -n "$ac_ct_F77"; then
5592 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5593 echo "${ECHO_T}$ac_ct_F77" >&6
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5599 test -n "$ac_ct_F77" && break
5606 # Provide some information about the compiler.
5607 echo "$as_me:5607:" \
5608 "checking for Fortran 77 compiler version" >&5
5609 ac_compiler
=`set X $ac_compile; echo $2`
5610 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5611 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }
5615 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5616 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }
5620 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5621 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }
5627 # If we don't use `.F' as extension, the preprocessor is not run on the
5628 # input file. (Note that this only needs to work for GNU compilers.)
5631 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5632 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5633 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 cat >conftest.
$ac_ext <<_ACEOF
5644 rm -f conftest.
$ac_objext
5645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5646 (eval $ac_compile) 2>conftest.er1
5648 grep -v '^ *+' conftest.er1
>conftest.err
5650 cat conftest.err
>&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); } &&
5653 { ac_try
='test -z "$ac_f77_werror_flag"
5654 || test ! -s conftest.err'
5655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); }; } &&
5660 { ac_try
='test -s conftest.$ac_objext'
5661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); }; }; then
5668 echo "$as_me: failed program was:" >&5
5669 sed 's/^/| /' conftest.
$ac_ext >&5
5673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5674 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5677 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5678 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5680 ac_test_FFLAGS
=${FFLAGS+set}
5681 ac_save_FFLAGS
=$FFLAGS
5683 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5684 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5685 if test "${ac_cv_prog_f77_g+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 cat >conftest.
$ac_ext <<_ACEOF
5694 rm -f conftest.
$ac_objext
5695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5696 (eval $ac_compile) 2>conftest.er1
5698 grep -v '^ *+' conftest.er1
>conftest.err
5700 cat conftest.err
>&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); } &&
5703 { ac_try
='test -z "$ac_f77_werror_flag"
5704 || test ! -s conftest.err'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; } &&
5710 { ac_try
='test -s conftest.$ac_objext'
5711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); }; }; then
5716 ac_cv_prog_f77_g
=yes
5718 echo "$as_me: failed program was:" >&5
5719 sed 's/^/| /' conftest.
$ac_ext >&5
5723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5726 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5727 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5728 if test "$ac_test_FFLAGS" = set; then
5729 FFLAGS
=$ac_save_FFLAGS
5730 elif test $ac_cv_prog_f77_g = yes; then
5731 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5737 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5744 G77
=`test $ac_compiler_gnu = yes && echo yes`
5746 ac_cpp
='$CPP $CPPFLAGS'
5747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5753 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5755 # find the maximum length of command line arguments
5756 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5757 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5758 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 # On DJGPP, this test can blow up pretty badly due to problems in libc
5767 # (any single argument exceeding 2000 bytes causes a buffer overrun
5768 # during glob expansion). Even if it were fixed, the result of this
5769 # check would be larger than it should be.
5770 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5774 # Under GNU Hurd, this test is not required because there is
5775 # no limit to the length of command line arguments.
5776 # Libtool will interpret -1 as no limit whatsoever
5777 lt_cv_sys_max_cmd_len
=-1;
5781 # On Win9x/ME, this test blows up -- it succeeds, but takes
5782 # about 5 minutes as the teststring grows exponentially.
5783 # Worse, since 9x/ME are not pre-emptively multitasking,
5784 # you end up with a "frozen" computer, even though with patience
5785 # the test eventually succeeds (with a max line length of 256k).
5786 # Instead, let's just punt: use the minimum linelength reported by
5787 # all of the supported platforms: 8192 (on NT/2K/XP).
5788 lt_cv_sys_max_cmd_len
=8192;
5792 # On AmigaOS with pdksh, this test takes hours, literally.
5793 # So we just punt and use a minimum line length of 8192.
5794 lt_cv_sys_max_cmd_len
=8192;
5797 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5798 # This has been around since 386BSD, at least. Likely further.
5799 if test -x /sbin
/sysctl
; then
5800 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5801 elif test -x /usr
/sbin
/sysctl
; then
5802 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5804 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5806 # And add a safety zone
5807 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5808 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5812 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5813 lt_cv_sys_max_cmd_len
=196608
5817 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5818 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5819 # nice to cause kernel panics so lets avoid the loop below.
5820 # First set a reasonable default.
5821 lt_cv_sys_max_cmd_len
=16384
5823 if test -x /sbin
/sysconfig
; then
5824 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5825 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5830 lt_cv_sys_max_cmd_len
=102400
5832 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5833 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5834 if test -n "$kargmax"; then
5835 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5837 lt_cv_sys_max_cmd_len
=32768
5841 # If test is not a shell built-in, we'll probably end up computing a
5842 # maximum length that is only half of the actual maximum length, but
5844 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5845 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5846 = "XX$teststring") >/dev
/null
2>&1 &&
5847 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5848 lt_cv_sys_max_cmd_len
=$new_result &&
5849 test $i != 17 # 1/2 MB should be enough
5852 teststring
=$teststring$teststring
5855 # Add a significant safety factor because C++ compilers can tack on massive
5856 # amounts of additional arguments before passing them to the linker.
5857 # It appears as though 1/2 is a usable value.
5858 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5864 if test -n $lt_cv_sys_max_cmd_len ; then
5865 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5866 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5868 echo "$as_me:$LINENO: result: none" >&5
5869 echo "${ECHO_T}none" >&6
5875 # Check for command to grab the raw symbol name followed by C symbol from nm.
5876 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5877 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5878 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5879 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 # These are sane defaults that work on at least a few old systems.
5883 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5885 # Character class describing NM global symbol codes.
5886 symcode
='[BCDEGRST]'
5888 # Regexp to match symbols that can be accessed directly from C.
5889 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5891 # Transform an extracted symbol line into a proper C declaration
5892 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5894 # Transform an extracted symbol line into symbol name and symbol address
5895 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'"
5897 # Define system-specific variables.
5902 cygwin
* | mingw
* | pw32
*)
5903 symcode
='[ABCDGISTW]'
5905 hpux
*) # Its linker distinguishes data from code symbols
5906 if test "$host_cpu" = ia64
; then
5907 symcode
='[ABCDEGRST]'
5909 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5910 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'"
5913 if test "$host_cpu" = ia64
; then
5914 symcode
='[ABCDGIRSTW]'
5915 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5916 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'"
5920 symcode
='[BCDEGRST]'
5923 symcode
='[BCDEGQRST]'
5934 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5942 # Handle CRLF in mingw tool chain
5946 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5950 # If we're using GNU nm, then use its standard symbol codes.
5951 case `$NM -V 2>&1` in
5952 *GNU
* |
*'with BFD'*)
5953 symcode
='[ABCDGIRSTW]' ;;
5956 # Try without a prefix undercore, then with it.
5957 for ac_symprfx
in "" "_"; do
5959 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5960 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5962 # Write the raw and C identifiers.
5963 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5965 # Check to see that the pipe works correctly.
5969 cat > conftest.
$ac_ext <<EOF
5974 void nm_test_func(){}
5978 int main(){nm_test_var='a';nm_test_func();return(0);}
5981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5982 (eval $ac_compile) 2>&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; then
5986 # Now try to grab the symbols.
5988 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5989 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } && test -s "$nlist"; then
5993 # Try sorting and uniquifying the output.
5994 if sort "$nlist" |
uniq > "$nlist"T
; then
5995 mv -f "$nlist"T
"$nlist"
6000 # Make sure that we snagged all the symbols we need.
6001 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6002 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6003 cat <<EOF > conftest.$ac_ext
6009 # Now generate the symbol file.
6010 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6012 cat <<EOF >> conftest.$ac_ext
6013 #if defined (__STDC__) && __STDC__
6014 # define lt_ptr_t void *
6016 # define lt_ptr_t char *
6020 /* The mapping between symbol names and symbols. */
6025 lt_preloaded_symbols[] =
6028 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6029 cat <<\EOF
>> conftest.
$ac_ext
6037 # Now try linking the two files.
6038 mv conftest.
$ac_objext conftstm.
$ac_objext
6039 lt_save_LIBS
="$LIBS"
6040 lt_save_CFLAGS
="$CFLAGS"
6041 LIBS
="conftstm.$ac_objext"
6042 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6044 (eval $ac_link) 2>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6050 LIBS
="$lt_save_LIBS"
6051 CFLAGS
="$lt_save_CFLAGS"
6053 echo "cannot find nm_test_func in $nlist" >&5
6056 echo "cannot find nm_test_var in $nlist" >&5
6059 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6062 echo "$progname: failed program was:" >&5
6063 cat conftest.
$ac_ext >&5
6065 rm -f conftest
* conftst
*
6067 # Do not use the global_symbol_pipe unless it works.
6068 if test "$pipe_works" = yes; then
6071 lt_cv_sys_global_symbol_pipe
=
6077 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6078 lt_cv_sys_global_symbol_to_cdecl
=
6080 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6081 echo "$as_me:$LINENO: result: failed" >&5
6082 echo "${ECHO_T}failed" >&6
6084 echo "$as_me:$LINENO: result: ok" >&5
6085 echo "${ECHO_T}ok" >&6
6088 echo "$as_me:$LINENO: checking for objdir" >&5
6089 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6090 if test "${lt_cv_objdir+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 rm -f .libs
2>/dev
/null
6094 mkdir .libs
2>/dev
/null
6095 if test -d .libs
; then
6098 # MS-DOS does not allow filenames that begin with a dot.
6101 rmdir .libs
2>/dev
/null
6103 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6104 echo "${ECHO_T}$lt_cv_objdir" >&6
6105 objdir
=$lt_cv_objdir
6113 # AIX sometimes has problems with the GCC collect2 program. For some
6114 # reason, if we set the COLLECT_NAMES environment variable, the problems
6115 # vanish in a puff of smoke.
6116 if test "X${COLLECT_NAMES+set}" != Xset
; then
6118 export COLLECT_NAMES
6123 # Sed substitution that helps us do robust quoting. It backslashifies
6124 # metacharacters that are still active within double-quoted strings.
6125 Xsed
='sed -e 1s/^X//'
6126 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6128 # Same as above, but do not quote variable references.
6129 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6131 # Sed substitution to delay expansion of an escaped shell variable in a
6132 # double_quote_subst'ed string.
6133 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6135 # Sed substitution to avoid accidental globbing in evaled expressions
6136 no_glob_subst
='s/\*/\\\*/g'
6142 default_ofile
=libtool
6143 can_build_shared
=yes
6145 # All known linkers require a `.a' archive for static linking (except MSVC,
6146 # which needs '.lib').
6148 ltmain
="$ac_aux_dir/ltmain.sh"
6149 ofile
="$default_ofile"
6150 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6152 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6154 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6155 echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6157 if test "${ac_cv_prog_AR+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 if test -n "$AR"; then
6161 ac_cv_prog_AR
="$AR" # Let the user override the test.
6163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir
=.
6168 for ac_exec_ext
in '' $ac_executable_extensions; do
6169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6170 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 if test -n "$AR"; then
6181 echo "$as_me:$LINENO: result: $AR" >&5
6182 echo "${ECHO_T}$AR" >&6
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6189 if test -z "$ac_cv_prog_AR"; then
6191 # Extract the first word of "ar", so it can be a program name with args.
6192 set dummy
ar; ac_word
=$2
6193 echo "$as_me:$LINENO: checking for $ac_word" >&5
6194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6195 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 if test -n "$ac_ct_AR"; then
6199 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6205 test -z "$as_dir" && as_dir
=.
6206 for ac_exec_ext
in '' $ac_executable_extensions; do
6207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_ac_ct_AR
="ar"
6209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6218 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6219 if test -n "$ac_ct_AR"; then
6220 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6221 echo "${ECHO_T}$ac_ct_AR" >&6
6223 echo "$as_me:$LINENO: result: no" >&5
6224 echo "${ECHO_T}no" >&6
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6234 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6235 echo "$as_me:$LINENO: checking for $ac_word" >&5
6236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6237 if test "${ac_cv_prog_RANLIB+set}" = set; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 if test -n "$RANLIB"; then
6241 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6247 test -z "$as_dir" && as_dir
=.
6248 for ac_exec_ext
in '' $ac_executable_extensions; do
6249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 RANLIB
=$ac_cv_prog_RANLIB
6260 if test -n "$RANLIB"; then
6261 echo "$as_me:$LINENO: result: $RANLIB" >&5
6262 echo "${ECHO_T}$RANLIB" >&6
6264 echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6
6269 if test -z "$ac_cv_prog_RANLIB"; then
6270 ac_ct_RANLIB
=$RANLIB
6271 # Extract the first word of "ranlib", so it can be a program name with args.
6272 set dummy ranlib
; ac_word
=$2
6273 echo "$as_me:$LINENO: checking for $ac_word" >&5
6274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6275 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 if test -n "$ac_ct_RANLIB"; then
6279 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir
=.
6286 for ac_exec_ext
in '' $ac_executable_extensions; do
6287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6298 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6299 if test -n "$ac_ct_RANLIB"; then
6300 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6301 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6307 RANLIB
=$ac_ct_RANLIB
6309 RANLIB
="$ac_cv_prog_RANLIB"
6312 if test -n "$ac_tool_prefix"; then
6313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6314 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6315 echo "$as_me:$LINENO: checking for $ac_word" >&5
6316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6317 if test "${ac_cv_prog_STRIP+set}" = set; then
6318 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 if test -n "$STRIP"; then
6321 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir
=.
6328 for ac_exec_ext
in '' $ac_executable_extensions; do
6329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 STRIP
=$ac_cv_prog_STRIP
6340 if test -n "$STRIP"; then
6341 echo "$as_me:$LINENO: result: $STRIP" >&5
6342 echo "${ECHO_T}$STRIP" >&6
6344 echo "$as_me:$LINENO: result: no" >&5
6345 echo "${ECHO_T}no" >&6
6349 if test -z "$ac_cv_prog_STRIP"; then
6351 # Extract the first word of "strip", so it can be a program name with args.
6352 set dummy strip
; ac_word
=$2
6353 echo "$as_me:$LINENO: checking for $ac_word" >&5
6354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 if test -n "$ac_ct_STRIP"; then
6359 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6365 test -z "$as_dir" && as_dir
=.
6366 for ac_exec_ext
in '' $ac_executable_extensions; do
6367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6368 ac_cv_prog_ac_ct_STRIP
="strip"
6369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6378 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6379 if test -n "$ac_ct_STRIP"; then
6380 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6381 echo "${ECHO_T}$ac_ct_STRIP" >&6
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6389 STRIP
="$ac_cv_prog_STRIP"
6394 old_CFLAGS
="$CFLAGS"
6396 # Set sane defaults for various variables
6397 test -z "$AR" && AR
=ar
6398 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6399 test -z "$AS" && AS
=as
6400 test -z "$CC" && CC
=cc
6401 test -z "$LTCC" && LTCC
=$CC
6402 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6403 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6404 test -z "$LD" && LD
=ld
6405 test -z "$LN_S" && LN_S
="ln -s"
6406 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6407 test -z "$NM" && NM
=nm
6408 test -z "$SED" && SED
=sed
6409 test -z "$OBJDUMP" && OBJDUMP
=objdump
6410 test -z "$RANLIB" && RANLIB
=:
6411 test -z "$STRIP" && STRIP
=:
6412 test -z "$ac_objext" && ac_objext
=o
6414 # Determine commands to create old-style static archives.
6415 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6416 old_postinstall_cmds
='chmod 644 $oldlib'
6417 old_postuninstall_cmds
=
6419 if test -n "$RANLIB"; then
6422 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6425 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6428 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6431 for cc_temp
in $compiler""; do
6433 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6434 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6439 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6442 # Only perform the check for file, if the check method requires it
6443 case $deplibs_check_method in
6445 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6446 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6447 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6448 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6456 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6457 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6458 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6459 for ac_dir
in $ac_dummy; do
6461 test -z "$ac_dir" && ac_dir
=.
6462 if test -f $ac_dir/${ac_tool_prefix}file; then
6463 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6464 if test -n "$file_magic_test_file"; then
6465 case $deplibs_check_method in
6467 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6468 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6469 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6470 $EGREP "$file_magic_regex" > /dev
/null
; then
6475 *** Warning: the command libtool uses to detect shared libraries,
6476 *** $file_magic_cmd, produces output that libtool cannot recognize.
6477 *** The result is that libtool may fail to recognize shared libraries
6478 *** as such. This will affect the creation of libtool libraries that
6479 *** depend on shared libraries, but programs linked with such libtool
6480 *** libraries will work regardless of this problem. Nevertheless, you
6481 *** may want to report the problem to your system manager and/or to
6482 *** bug-libtool@gnu.org
6492 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6497 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6498 if test -n "$MAGIC_CMD"; then
6499 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6500 echo "${ECHO_T}$MAGIC_CMD" >&6
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6506 if test -z "$lt_cv_path_MAGIC_CMD"; then
6507 if test -n "$ac_tool_prefix"; then
6508 echo "$as_me:$LINENO: checking for file" >&5
6509 echo $ECHO_N "checking for file... $ECHO_C" >&6
6510 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6518 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6519 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6520 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6521 for ac_dir
in $ac_dummy; do
6523 test -z "$ac_dir" && ac_dir
=.
6524 if test -f $ac_dir/file; then
6525 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6526 if test -n "$file_magic_test_file"; then
6527 case $deplibs_check_method in
6529 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6530 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6531 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6532 $EGREP "$file_magic_regex" > /dev
/null
; then
6537 *** Warning: the command libtool uses to detect shared libraries,
6538 *** $file_magic_cmd, produces output that libtool cannot recognize.
6539 *** The result is that libtool may fail to recognize shared libraries
6540 *** as such. This will affect the creation of libtool libraries that
6541 *** depend on shared libraries, but programs linked with such libtool
6542 *** libraries will work regardless of this problem. Nevertheless, you
6543 *** may want to report the problem to your system manager and/or to
6544 *** bug-libtool@gnu.org
6554 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6559 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6560 if test -n "$MAGIC_CMD"; then
6561 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6562 echo "${ECHO_T}$MAGIC_CMD" >&6
6564 echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6
6580 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6581 if test "${enable_libtool_lock+set}" = set; then
6582 enableval
="$enable_libtool_lock"
6585 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6588 # Check whether --with-pic or --without-pic was given.
6589 if test "${with_pic+set}" = set; then
6595 test -z "$pic_mode" && pic_mode
=default
6597 # Use C for the default configuration in the libtool script
6601 ac_cpp
='$CPP $CPPFLAGS'
6602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6607 # Source file extension for C test sources.
6610 # Object file extension for compiled C test sources.
6614 # Code to be used in simple compile tests
6615 lt_simple_compile_test_code
="int some_variable = 0;\n"
6617 # Code to be used in simple link tests
6618 lt_simple_link_test_code
='int main(){return(0);}\n'
6621 # If no C compiler was specified, use CC.
6624 # If no C compiler flags were specified, use CFLAGS.
6625 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6627 # Allow CC to be a program name with arguments.
6631 # save warnings/boilerplate of simple test code
6632 ac_outfile
=conftest.
$ac_objext
6633 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6634 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6635 _lt_compiler_boilerplate
=`cat conftest.err`
6638 ac_outfile
=conftest.
$ac_objext
6639 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6640 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6641 _lt_linker_boilerplate
=`cat conftest.err`
6646 lt_prog_compiler_no_builtin_flag
=
6648 if test "$GCC" = yes; then
6649 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6652 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6653 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6654 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 lt_cv_prog_compiler_rtti_exceptions
=no
6658 ac_outfile
=conftest.
$ac_objext
6659 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6660 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6661 # Insert the option either (1) after the last *FLAGS variable, or
6662 # (2) before a word containing "conftest.", or (3) at the end.
6663 # Note that $ac_compile itself does not contain backslashes and begins
6664 # with a dollar sign (not a hyphen), so the echo should work correctly.
6665 # The option is referenced via a variable to avoid confusing sed.
6666 lt_compile
=`echo "$ac_compile" | $SED \
6667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6669 -e 's:$: $lt_compiler_flag:'`
6670 (eval echo "\"\$as_me:6670: $lt_compile\"" >&5)
6671 (eval "$lt_compile" 2>conftest.err
)
6673 cat conftest.err
>&5
6674 echo "$as_me:6674: \$? = $ac_status" >&5
6675 if (exit $ac_status) && test -s "$ac_outfile"; then
6676 # The compiler can only warn and ignore the option if not recognized
6677 # So say no if there are warnings other than the usual output.
6678 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6679 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6680 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6681 lt_cv_prog_compiler_rtti_exceptions
=yes
6687 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6688 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6690 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6691 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6698 lt_prog_compiler_wl
=
6699 lt_prog_compiler_pic
=
6700 lt_prog_compiler_static
=
6702 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6703 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6705 if test "$GCC" = yes; then
6706 lt_prog_compiler_wl
='-Wl,'
6707 lt_prog_compiler_static
='-static'
6711 # All AIX code is PIC.
6712 if test "$host_cpu" = ia64
; then
6713 # AIX 5 now supports IA64 processor
6714 lt_prog_compiler_static
='-Bstatic'
6719 # FIXME: we need at least 68020 code to build shared libraries, but
6720 # adding the `-m68020' flag to GCC prevents building anything better,
6722 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6725 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6726 # PIC is the default for these OSes.
6729 mingw
* | pw32
* | os2
*)
6730 # This hack is so that the source file can tell whether it is being
6731 # built for inclusion in a dll (and should export symbols for example).
6732 lt_prog_compiler_pic
='-DDLL_EXPORT'
6735 darwin
* | rhapsody
*)
6736 # PIC is the default on this platform
6737 # Common symbols not allowed in MH_DYLIB files
6738 lt_prog_compiler_pic
='-fno-common'
6742 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6743 # Instead, we relocate shared libraries at runtime.
6747 # Just because we use GCC doesn't mean we suddenly get shared libraries
6748 # on systems that don't support them.
6749 lt_prog_compiler_can_build_shared
=no
6754 if test -d /usr
/nec
; then
6755 lt_prog_compiler_pic
=-Kconform_pic
6760 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6767 lt_prog_compiler_pic
='-fPIC'
6773 lt_prog_compiler_pic
='-fPIC'
6777 # PORTME Check for flag to pass linker flags through the system compiler.
6780 lt_prog_compiler_wl
='-Wl,'
6781 if test "$host_cpu" = ia64
; then
6782 # AIX 5 now supports IA64 processor
6783 lt_prog_compiler_static
='-Bstatic'
6785 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6789 # PIC is the default on this platform
6790 # Common symbols not allowed in MH_DYLIB files
6791 case $cc_basename in
6793 lt_prog_compiler_pic
='-qnocommon'
6794 lt_prog_compiler_wl
='-Wl,'
6799 mingw
* | pw32
* | os2
*)
6800 # This hack is so that the source file can tell whether it is being
6801 # built for inclusion in a dll (and should export symbols for example).
6802 lt_prog_compiler_pic
='-DDLL_EXPORT'
6805 hpux9
* | hpux10
* | hpux11
*)
6806 lt_prog_compiler_wl
='-Wl,'
6807 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6814 lt_prog_compiler_pic
='+Z'
6817 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6818 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6821 irix5
* | irix6
* | nonstopux
*)
6822 lt_prog_compiler_wl
='-Wl,'
6823 # PIC (with -KPIC) is the default.
6824 lt_prog_compiler_static
='-non_shared'
6828 lt_prog_compiler_pic
='-KPIC'
6829 lt_prog_compiler_static
='-Bstatic'
6833 case $cc_basename in
6835 lt_prog_compiler_wl
='-Wl,'
6836 lt_prog_compiler_pic
='-KPIC'
6837 lt_prog_compiler_static
='-static'
6839 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6840 # Portland Group compilers (*not* the Pentium gcc compiler,
6841 # which looks to be a dead project)
6842 lt_prog_compiler_wl
='-Wl,'
6843 lt_prog_compiler_pic
='-fpic'
6844 lt_prog_compiler_static
='-Bstatic'
6847 lt_prog_compiler_wl
='-Wl,'
6848 # All Alpha code is PIC.
6849 lt_prog_compiler_static
='-non_shared'
6854 osf3
* | osf4
* | osf5
*)
6855 lt_prog_compiler_wl
='-Wl,'
6856 # All OSF/1 code is PIC.
6857 lt_prog_compiler_static
='-non_shared'
6861 lt_prog_compiler_pic
='-KPIC'
6862 lt_prog_compiler_static
='-Bstatic'
6863 case $cc_basename in
6865 lt_prog_compiler_wl
='-Qoption ld ';;
6867 lt_prog_compiler_wl
='-Wl,';;
6872 lt_prog_compiler_wl
='-Qoption ld '
6873 lt_prog_compiler_pic
='-PIC'
6874 lt_prog_compiler_static
='-Bstatic'
6877 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6878 lt_prog_compiler_wl
='-Wl,'
6879 lt_prog_compiler_pic
='-KPIC'
6880 lt_prog_compiler_static
='-Bstatic'
6884 if test -d /usr
/nec
;then
6885 lt_prog_compiler_pic
='-Kconform_pic'
6886 lt_prog_compiler_static
='-Bstatic'
6890 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6891 lt_prog_compiler_wl
='-Wl,'
6892 lt_prog_compiler_pic
='-KPIC'
6893 lt_prog_compiler_static
='-Bstatic'
6897 lt_prog_compiler_wl
='-Wl,'
6898 lt_prog_compiler_can_build_shared
=no
6902 lt_prog_compiler_pic
='-pic'
6903 lt_prog_compiler_static
='-Bstatic'
6907 lt_prog_compiler_can_build_shared
=no
6912 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6913 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6916 # Check to make sure the PIC flag actually works.
6918 if test -n "$lt_prog_compiler_pic"; then
6920 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6921 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6922 if test "${lt_prog_compiler_pic_works+set}" = set; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 lt_prog_compiler_pic_works
=no
6926 ac_outfile
=conftest.
$ac_objext
6927 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6928 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6929 # Insert the option either (1) after the last *FLAGS variable, or
6930 # (2) before a word containing "conftest.", or (3) at the end.
6931 # Note that $ac_compile itself does not contain backslashes and begins
6932 # with a dollar sign (not a hyphen), so the echo should work correctly.
6933 # The option is referenced via a variable to avoid confusing sed.
6934 lt_compile
=`echo "$ac_compile" | $SED \
6935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6937 -e 's:$: $lt_compiler_flag:'`
6938 (eval echo "\"\$as_me:6938: $lt_compile\"" >&5)
6939 (eval "$lt_compile" 2>conftest.err
)
6941 cat conftest.err
>&5
6942 echo "$as_me:6942: \$? = $ac_status" >&5
6943 if (exit $ac_status) && test -s "$ac_outfile"; then
6944 # The compiler can only warn and ignore the option if not recognized
6945 # So say no if there are warnings other than the usual output.
6946 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6947 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6948 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6949 lt_prog_compiler_pic_works
=yes
6955 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6956 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6958 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6959 case $lt_prog_compiler_pic in
6961 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6964 lt_prog_compiler_pic
=
6965 lt_prog_compiler_can_build_shared
=no
6970 # For platforms which do not support PIC, -DPIC is meaningless:
6972 lt_prog_compiler_pic
=
6975 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6980 # Check to make sure the static flag actually works.
6982 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6983 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6984 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6985 if test "${lt_prog_compiler_static_works+set}" = set; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 lt_prog_compiler_static_works
=no
6989 save_LDFLAGS
="$LDFLAGS"
6990 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6991 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6992 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6993 # The linker can only warn and ignore the option if not recognized
6994 # So say no if there are warnings
6995 if test -s conftest.err
; then
6996 # Append any errors to the config.log.
6997 cat conftest.err
1>&5
6998 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6999 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7000 if diff conftest.exp conftest.er2
>/dev
/null
; then
7001 lt_prog_compiler_static_works
=yes
7004 lt_prog_compiler_static_works
=yes
7008 LDFLAGS
="$save_LDFLAGS"
7011 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7012 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7014 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7017 lt_prog_compiler_static
=
7021 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7022 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7023 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 lt_cv_prog_compiler_c_o
=no
7027 $rm -r conftest
2>/dev
/null
7031 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7033 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7034 # Insert the option either (1) after the last *FLAGS variable, or
7035 # (2) before a word containing "conftest.", or (3) at the end.
7036 # Note that $ac_compile itself does not contain backslashes and begins
7037 # with a dollar sign (not a hyphen), so the echo should work correctly.
7038 lt_compile
=`echo "$ac_compile" | $SED \
7039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7041 -e 's:$: $lt_compiler_flag:'`
7042 (eval echo "\"\$as_me:7042: $lt_compile\"" >&5)
7043 (eval "$lt_compile" 2>out
/conftest.err
)
7045 cat out
/conftest.err
>&5
7046 echo "$as_me:7046: \$? = $ac_status" >&5
7047 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7049 # The compiler can only warn and ignore the option if not recognized
7050 # So say no if there are warnings
7051 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7052 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7053 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7054 lt_cv_prog_compiler_c_o
=yes
7059 # SGI C++ compiler will create directory out/ii_files/ for
7060 # template instantiation
7061 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7062 $rm out
/* && rmdir out
7068 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7069 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7072 hard_links
="nottested"
7073 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7074 # do not overwrite the value of need_locks provided by the user
7075 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7076 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7081 ln conftest.a conftest.b
2>&5 || hard_links
=no
7082 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7083 echo "$as_me:$LINENO: result: $hard_links" >&5
7084 echo "${ECHO_T}$hard_links" >&6
7085 if test "$hard_links" = no
; then
7086 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7087 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7094 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7095 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7098 allow_undefined_flag
=
7099 enable_shared_with_static_runtimes
=no
7101 archive_expsym_cmds
=
7102 old_archive_From_new_cmds
=
7103 old_archive_from_expsyms_cmds
=
7104 export_dynamic_flag_spec
=
7105 whole_archive_flag_spec
=
7106 thread_safe_flag_spec
=
7107 hardcode_libdir_flag_spec
=
7108 hardcode_libdir_flag_spec_ld
=
7109 hardcode_libdir_separator
=
7112 hardcode_shlibpath_var
=unsupported
7113 link_all_deplibs
=unknown
7114 hardcode_automatic
=no
7117 always_export_symbols
=no
7118 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7119 # include_expsyms should be a list of space-separated symbols to be *always*
7120 # included in the symbol list
7122 # exclude_expsyms can be an extended regexp of symbols to exclude
7123 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7124 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7125 # as well as any symbol that contains `d'.
7126 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7127 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7128 # platforms (ab)use it in PIC code, but their linkers get confused if
7129 # the symbol is explicitly referenced. Since portable code cannot
7130 # rely on this symbol name, it's probably fine to never include it in
7131 # preloaded symbol tables.
7132 extract_expsyms_cmds
=
7133 # Just being paranoid about ensuring that cc_basename is set.
7134 for cc_temp
in $compiler""; do
7136 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7137 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7142 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7145 cygwin
* | mingw
* | pw32
*)
7146 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7147 # When not using gcc, we currently assume that we are using
7148 # Microsoft Visual C++.
7149 if test "$GCC" != yes; then
7154 # we just hope/assume this is gcc and not c89 (= MSVC++)
7163 if test "$with_gnu_ld" = yes; then
7164 # If archive_cmds runs LD, not CC, wlarc should be empty
7167 # Set some defaults for GNU ld with shared library support. These
7168 # are reset later if shared libraries are not supported. Putting them
7169 # here allows them to be overridden if necessary.
7170 runpath_var
=LD_RUN_PATH
7171 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7172 export_dynamic_flag_spec
='${wl}--export-dynamic'
7173 # ancient GNU ld didn't support --whole-archive et. al.
7174 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7175 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7177 whole_archive_flag_spec
=
7179 supports_anon_versioning
=no
7180 case `$LD -v 2>/dev/null` in
7181 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7182 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7183 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7184 *\
2.11.
*) ;; # other 2.11 versions
7185 *) supports_anon_versioning
=yes ;;
7188 # See if GNU ld supports shared libraries.
7190 aix3
* | aix4
* | aix5
*)
7191 # On AIX/PPC, the GNU linker is very broken
7192 if test "$host_cpu" != ia64
; then
7196 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7197 *** to be unable to reliably create shared libraries on AIX.
7198 *** Therefore, libtool is disabling shared libraries support. If you
7199 *** really care for shared libraries, you may want to modify your PATH
7200 *** so that a non-GNU linker is found, and then restart.
7207 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)'
7208 hardcode_libdir_flag_spec
='-L$libdir'
7209 hardcode_minus_L
=yes
7211 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7212 # that the semantics of dynamic libraries on AmigaOS, at least up
7213 # to version 4, is to share data among multiple programs linked
7214 # with the same dynamic library. Since this doesn't match the
7215 # behavior of shared libraries on other platforms, we can't use
7221 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7222 allow_undefined_flag
=unsupported
7223 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7224 # support --undefined. This deserves some investigation. FIXME
7225 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7231 cygwin
* | mingw
* | pw32
*)
7232 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7233 # as there is no search path for DLLs.
7234 hardcode_libdir_flag_spec
='-L$libdir'
7235 allow_undefined_flag
=unsupported
7236 always_export_symbols
=no
7237 enable_shared_with_static_runtimes
=yes
7238 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7240 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7242 # If the export-symbols file already is a .def file (1st line
7243 # is EXPORTS), use it as is; otherwise, prepend...
7244 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7245 cp $export_symbols $output_objdir/$soname.def;
7247 echo EXPORTS > $output_objdir/$soname.def;
7248 cat $export_symbols >> $output_objdir/$soname.def;
7250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7258 hardcode_shlibpath_var
=no
7259 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7260 export_dynamic_flag_spec
='${wl}-E'
7261 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7262 # Instead, shared libraries are loaded at an image base (0x10000000 by
7263 # default) and relocated if they conflict, which is a slow very memory
7264 # consuming and fragmenting process. To avoid this, we pick a random,
7265 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7266 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7267 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7268 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7272 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7274 case $cc_basename,$host_cpu in
7275 pgcc
*) # Portland Group C compiler
7276 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7277 tmp_addflag
=' $pic_flag'
7279 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7280 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7281 tmp_addflag
=' $pic_flag -Mnomain' ;;
7282 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7283 tmp_addflag
=' -i_dynamic' ;;
7284 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7285 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7286 ifc
* | ifort
*) # Intel Fortran compiler
7287 tmp_addflag
=' -nofor_main' ;;
7289 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7291 if test $supports_anon_versioning = yes; then
7292 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7293 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7294 $echo "local: *; };" >> $output_objdir/$libname.ver~
7295 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7303 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7304 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7308 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7313 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7317 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7318 *** create shared libraries on Solaris systems. Therefore, libtool
7319 *** is disabling shared libraries support. We urge you to upgrade GNU
7320 *** binutils to release 2.9.1 or newer. Another option is to modify
7321 *** your PATH or compiler configuration so that the native linker is
7322 *** used, and then restart.
7325 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7326 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7327 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7334 case `$LD -v 2>&1` in
7335 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7339 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7340 *** reliably create shared libraries on SCO systems. Therefore, libtool
7341 *** is disabling shared libraries support. We urge you to upgrade GNU
7342 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7343 *** your PATH or compiler configuration so that the native linker is
7344 *** used, and then restart.
7349 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7350 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7351 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7352 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7361 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7364 hardcode_shlibpath_var
=no
7368 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7369 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7370 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7377 if test "$ld_shlibs" = no
; then
7379 hardcode_libdir_flag_spec
=
7380 export_dynamic_flag_spec
=
7381 whole_archive_flag_spec
=
7384 # PORTME fill in a description of your system's linker (not GNU ld)
7387 allow_undefined_flag
=unsupported
7388 always_export_symbols
=yes
7389 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'
7390 # Note: this linker hardcodes the directories in LIBPATH if there
7391 # are no directories specified by -L.
7392 hardcode_minus_L
=yes
7393 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7394 # Neither direct hardcoding nor static linking is supported with a
7396 hardcode_direct
=unsupported
7401 if test "$host_cpu" = ia64
; then
7402 # On IA64, the linker does run time linking by default, so we don't
7403 # have to do anything special.
7404 aix_use_runtimelinking
=no
7405 exp_sym_flag
='-Bexport'
7408 # If we're using GNU nm, then we don't want the "-C" option.
7409 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7410 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7411 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'
7413 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'
7415 aix_use_runtimelinking
=no
7417 # Test if we are trying to use run time linking or normal
7418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7419 # need to do runtime linking.
7420 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7421 for ld_flag
in $LDFLAGS; do
7422 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7423 aix_use_runtimelinking
=yes
7430 exp_sym_flag
='-bexport'
7431 no_entry_flag
='-bnoentry'
7434 # When large executables or shared objects are built, AIX ld can
7435 # have problems creating the table of contents. If linking a library
7436 # or program results in "error TOC overflow" add -mminimal-toc to
7437 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7438 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7442 hardcode_libdir_separator
=':'
7443 link_all_deplibs
=yes
7445 if test "$GCC" = yes; then
7446 case $host_os in aix4.
[012]|aix4.
[012].
*)
7447 # We only want to do this on AIX 4.2 and lower, the check
7448 # below for broken collect2 doesn't work under 4.3+
7449 collect2name
=`${CC} -print-prog-name=collect2`
7450 if test -f "$collect2name" && \
7451 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7453 # We have reworked collect2
7456 # We have old collect2
7457 hardcode_direct
=unsupported
7458 # It fails to find uninstalled libraries when the uninstalled
7459 # path is not listed in the libpath. Setting hardcode_minus_L
7460 # to unsupported forces relinking
7461 hardcode_minus_L
=yes
7462 hardcode_libdir_flag_spec
='-L$libdir'
7463 hardcode_libdir_separator
=
7467 shared_flag
='-shared'
7468 if test "$aix_use_runtimelinking" = yes; then
7469 shared_flag
="$shared_flag "'${wl}-G'
7473 if test "$host_cpu" = ia64
; then
7474 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7475 # chokes on -Wl,-G. The following line is correct:
7478 if test "$aix_use_runtimelinking" = yes; then
7479 shared_flag
='${wl}-G'
7481 shared_flag
='${wl}-bM:SRE'
7486 # It seems that -bexpall does not export symbols beginning with
7487 # underscore (_), so it is better to generate a list of symbols to export.
7488 always_export_symbols
=yes
7489 if test "$aix_use_runtimelinking" = yes; then
7490 # Warning - without using the other runtime loading flags (-brtl),
7491 # -berok will link without error, but may produce a broken library.
7492 allow_undefined_flag
='-berok'
7493 # Determine the default libpath from the value encoded in an empty executable.
7494 cat >conftest.
$ac_ext <<_ACEOF
7497 cat confdefs.h
>>conftest.
$ac_ext
7498 cat >>conftest.
$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7509 rm -f conftest.
$ac_objext conftest
$ac_exeext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7511 (eval $ac_link) 2>conftest.er1
7513 grep -v '^ *+' conftest.er1
>conftest.err
7515 cat conftest.err
>&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } &&
7518 { ac_try
='test -z "$ac_c_werror_flag"
7519 || test ! -s conftest.err'
7520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; } &&
7525 { ac_try
='test -s conftest$ac_exeext'
7526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); }; }; then
7532 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7534 # Check for a 64-bit object if we didn't find anything.
7535 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; }
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.
$ac_ext >&5
7542 rm -f conftest.err conftest.
$ac_objext \
7543 conftest
$ac_exeext conftest.
$ac_ext
7544 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7546 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7547 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7549 if test "$host_cpu" = ia64
; then
7550 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7551 allow_undefined_flag
="-z nodefs"
7552 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7554 # Determine the default libpath from the value encoded in an empty executable.
7555 cat >conftest.
$ac_ext <<_ACEOF
7558 cat confdefs.h
>>conftest.
$ac_ext
7559 cat >>conftest.
$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7570 rm -f conftest.
$ac_objext conftest
$ac_exeext
7571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7572 (eval $ac_link) 2>conftest.er1
7574 grep -v '^ *+' conftest.er1
>conftest.err
7576 cat conftest.err
>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } &&
7579 { ac_try
='test -z "$ac_c_werror_flag"
7580 || test ! -s conftest.err'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; } &&
7586 { ac_try
='test -s conftest$ac_exeext'
7587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); }; }; then
7593 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7595 # Check for a 64-bit object if we didn't find anything.
7596 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; }
7599 echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.
$ac_ext >&5
7603 rm -f conftest.err conftest.
$ac_objext \
7604 conftest
$ac_exeext conftest.
$ac_ext
7605 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7607 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7608 # Warning - without using the other run time loading flags,
7609 # -berok will link without error, but may produce a broken library.
7610 no_undefined_flag
=' ${wl}-bernotok'
7611 allow_undefined_flag
=' ${wl}-berok'
7612 # Exported symbols can be pulled into shared objects from archives
7613 whole_archive_flag_spec
='$convenience'
7614 archive_cmds_need_lc
=yes
7615 # This is similar to how AIX traditionally builds its shared libraries.
7616 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7622 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)'
7623 hardcode_libdir_flag_spec
='-L$libdir'
7624 hardcode_minus_L
=yes
7625 # see comment about different semantics on the GNU ld section
7630 export_dynamic_flag_spec
=-rdynamic
7633 cygwin
* | mingw
* | pw32
*)
7634 # When not using gcc, we currently assume that we are using
7635 # Microsoft Visual C++.
7636 # hardcode_libdir_flag_spec is actually meaningless, as there is
7637 # no search path for DLLs.
7638 hardcode_libdir_flag_spec
=' '
7639 allow_undefined_flag
=unsupported
7640 # Tell ltmain to make .lib files, not .a files.
7642 # Tell ltmain to make .dll files, not .so files.
7644 # FIXME: Setting linknames here is a bad hack.
7645 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7646 # The linker will automatically build a .lib file if we build a DLL.
7647 old_archive_From_new_cmds
='true'
7648 # FIXME: Should let the user specify the lib program.
7649 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7650 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7651 enable_shared_with_static_runtimes
=yes
7654 darwin
* | rhapsody
*)
7656 rhapsody
* | darwin1.
[012])
7657 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7660 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7661 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7663 case ${MACOSX_DEPLOYMENT_TARGET} in
7665 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7668 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7674 archive_cmds_need_lc
=no
7676 hardcode_automatic
=yes
7677 hardcode_shlibpath_var
=unsupported
7678 whole_archive_flag_spec
=''
7679 link_all_deplibs
=yes
7680 if test "$GCC" = yes ; then
7681 output_verbose_link_cmd
='echo'
7682 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7683 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7684 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7685 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}'
7686 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}'
7688 case $cc_basename in
7690 output_verbose_link_cmd
='echo'
7691 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7692 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7693 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7694 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7695 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}'
7705 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7706 hardcode_libdir_flag_spec
='-L$libdir'
7707 hardcode_shlibpath_var
=no
7714 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7715 # support. Future versions do this automatically, but an explicit c++rt0.o
7716 # does not break anything, and helps significantly (at the cost of a little
7719 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7720 hardcode_libdir_flag_spec
='-R$libdir'
7722 hardcode_shlibpath_var
=no
7725 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7727 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7729 hardcode_minus_L
=yes
7730 hardcode_shlibpath_var
=no
7733 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7734 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7735 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7736 hardcode_libdir_flag_spec
='-R$libdir'
7738 hardcode_shlibpath_var
=no
7742 if test "$GCC" = yes; then
7743 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'
7745 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'
7747 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7748 hardcode_libdir_separator
=:
7751 # hardcode_minus_L: Not really in the search PATH,
7752 # but as the default location of the library.
7753 hardcode_minus_L
=yes
7754 export_dynamic_flag_spec
='${wl}-E'
7758 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7759 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7761 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7763 if test "$with_gnu_ld" = no
; then
7764 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7765 hardcode_libdir_separator
=:
7768 export_dynamic_flag_spec
='${wl}-E'
7770 # hardcode_minus_L: Not really in the search PATH,
7771 # but as the default location of the library.
7772 hardcode_minus_L
=yes
7777 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7780 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7783 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7786 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7792 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7795 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7798 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7802 if test "$with_gnu_ld" = no
; then
7803 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7804 hardcode_libdir_separator
=:
7808 hardcode_libdir_flag_spec_ld
='+b $libdir'
7810 hardcode_shlibpath_var
=no
7814 export_dynamic_flag_spec
='${wl}-E'
7816 # hardcode_minus_L: Not really in the search PATH,
7817 # but as the default location of the library.
7818 hardcode_minus_L
=yes
7824 irix5
* | irix6
* | nonstopux
*)
7825 if test "$GCC" = yes; then
7826 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'
7828 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'
7829 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7831 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7832 hardcode_libdir_separator
=:
7833 link_all_deplibs
=yes
7837 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7838 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7840 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7842 hardcode_libdir_flag_spec
='-R$libdir'
7844 hardcode_shlibpath_var
=no
7848 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7850 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7851 hardcode_libdir_separator
=:
7852 hardcode_shlibpath_var
=no
7857 hardcode_shlibpath_var
=no
7858 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7859 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7860 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7861 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7862 export_dynamic_flag_spec
='${wl}-E'
7865 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7866 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7867 hardcode_libdir_flag_spec
='-R$libdir'
7870 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7871 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7878 hardcode_libdir_flag_spec
='-L$libdir'
7879 hardcode_minus_L
=yes
7880 allow_undefined_flag
=unsupported
7881 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'
7882 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7886 if test "$GCC" = yes; then
7887 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7888 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'
7890 allow_undefined_flag
=' -expect_unresolved \*'
7891 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'
7893 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7894 hardcode_libdir_separator
=:
7897 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7898 if test "$GCC" = yes; then
7899 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7900 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'
7901 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7903 allow_undefined_flag
=' -expect_unresolved \*'
7904 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'
7905 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7906 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7908 # Both c and cxx compiler support -rpath directly
7909 hardcode_libdir_flag_spec
='-rpath $libdir'
7911 hardcode_libdir_separator
=:
7915 no_undefined_flag
=' -z text'
7916 if test "$GCC" = yes; then
7918 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7919 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7920 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7923 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7924 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7925 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7927 hardcode_libdir_flag_spec
='-R$libdir'
7928 hardcode_shlibpath_var
=no
7930 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7932 # The compiler driver will combine linker options so we
7933 # cannot just pass the convience library names through
7934 # without $wl, iff we do not link with $LD.
7935 # Luckily, gcc supports the same syntax we need for Sun Studio.
7936 # Supported since Solaris 2.6 (maybe 2.5.1?)
7939 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7941 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7944 link_all_deplibs
=yes
7948 if test "x$host_vendor" = xsequent
; then
7949 # Use $CC to link under sequent, because it throws in some extra .o
7950 # files that make .init and .fini sections work.
7951 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7953 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7955 hardcode_libdir_flag_spec
='-L$libdir'
7957 hardcode_minus_L
=yes
7958 hardcode_shlibpath_var
=no
7962 case $host_vendor in
7964 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7965 hardcode_direct
=yes # is this really true???
7968 ## LD is ld it makes a PLAMLIB
7969 ## CC just makes a GrossModule.
7970 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7971 reload_cmds
='$CC -r -o $output$reload_objs'
7975 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7976 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7979 runpath_var
='LD_RUN_PATH'
7980 hardcode_shlibpath_var
=no
7984 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7985 hardcode_shlibpath_var
=no
7986 export_dynamic_flag_spec
='-Bexport'
7990 if test -d /usr
/nec
; then
7991 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7992 hardcode_shlibpath_var
=no
7993 runpath_var
=LD_RUN_PATH
7994 hardcode_runpath_var
=yes
7999 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8000 no_undefined_flag
='${wl}-z,text'
8001 archive_cmds_need_lc
=no
8002 hardcode_shlibpath_var
=no
8003 runpath_var
='LD_RUN_PATH'
8005 if test "$GCC" = yes; then
8006 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8007 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8009 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8010 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8014 sysv5
* | sco3.2v5
* | sco5v6
*)
8015 # Note: We can NOT use -z defs as we might desire, because we do not
8016 # link with -lc, and that would cause any symbols used from libc to
8017 # always be unresolved, which means just about no library would
8018 # ever link correctly. If we're not using GNU ld we use -z text
8019 # though, which does catch some bad symbols but isn't as heavy-handed
8021 no_undefined_flag
='${wl}-z,text'
8022 allow_undefined_flag
='${wl}-z,nodefs'
8023 archive_cmds_need_lc
=no
8024 hardcode_shlibpath_var
=no
8025 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8026 hardcode_libdir_separator
=':'
8027 link_all_deplibs
=yes
8028 export_dynamic_flag_spec
='${wl}-Bexport'
8029 runpath_var
='LD_RUN_PATH'
8031 if test "$GCC" = yes; then
8032 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8033 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8035 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8036 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8041 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8042 hardcode_libdir_flag_spec
='-L$libdir'
8043 hardcode_shlibpath_var
=no
8052 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8053 echo "${ECHO_T}$ld_shlibs" >&6
8054 test "$ld_shlibs" = no
&& can_build_shared
=no
8057 # Do we need to explicitly link libc?
8059 case "x$archive_cmds_need_lc" in
8061 # Assume -lc should be added
8062 archive_cmds_need_lc
=yes
8064 if test "$enable_shared" = yes && test "$GCC" = yes; then
8065 case $archive_cmds in
8067 # FIXME: we may have to deal with multi-command sequences.
8070 # Test whether the compiler implicitly links with -lc since on some
8071 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8072 # to ld, don't add -lc before -lgcc.
8073 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8074 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8076 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8079 (eval $ac_compile) 2>&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); } 2>conftest.err
; then
8085 libobjs
=conftest.
$ac_objext
8087 wl
=$lt_prog_compiler_wl
8088 pic_flag
=$lt_prog_compiler_pic
8094 lt_save_allow_undefined_flag
=$allow_undefined_flag
8095 allow_undefined_flag
=
8096 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8097 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }
8102 archive_cmds_need_lc
=no
8104 archive_cmds_need_lc
=yes
8106 allow_undefined_flag
=$lt_save_allow_undefined_flag
8108 cat conftest.err
1>&5
8111 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8112 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8119 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8120 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8122 libname_spec
='lib$name'
8130 shlibpath_overrides_runpath
=unknown
8132 dynamic_linker
="$host_os ld.so"
8133 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8134 if test "$GCC" = yes; then
8135 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8136 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8137 # if the path contains ";" then we assume it to be the separator
8138 # otherwise default to the standard path separator (i.e. ":") - it is
8139 # assumed that no part of a normal pathname contains ";" but that should
8140 # okay in the real world where ";" in dirpaths is itself problematic.
8141 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8143 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8146 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8148 need_lib_prefix
=unknown
8149 hardcode_into_libs
=no
8151 # when you set need_version to no, make sure it does not cause -set_version
8152 # flags to be left without arguments
8153 need_version
=unknown
8158 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8159 shlibpath_var
=LIBPATH
8161 # AIX 3 has no versioning support, so we append a major version to the name.
8162 soname_spec
='${libname}${release}${shared_ext}$major'
8169 hardcode_into_libs
=yes
8170 if test "$host_cpu" = ia64
; then
8171 # AIX 5 supports IA64
8172 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8173 shlibpath_var
=LD_LIBRARY_PATH
8175 # With GCC up to 2.95.x, collect2 would create an import file
8176 # for dependence libraries. The import file would start with
8177 # the line `#! .'. This would cause the generated library to
8178 # depend on `.', always an invalid library. This was fixed in
8179 # development snapshots of GCC prior to 3.0.
8181 aix4 | aix4.
[01] | aix4.
[01].
*)
8182 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8184 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8191 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8192 # soname into executable. Probably we can add versioning support to
8193 # collect2, so additional links can be useful in future.
8194 if test "$aix_use_runtimelinking" = yes; then
8195 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8196 # instead of lib<name>.a to let people know that these are not
8197 # typical AIX shared libraries.
8198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8200 # We preserve .a as extension for shared libraries through AIX4.2
8201 # and later when we are not doing run time linking.
8202 library_names_spec
='${libname}${release}.a $libname.a'
8203 soname_spec
='${libname}${release}${shared_ext}$major'
8205 shlibpath_var
=LIBPATH
8210 library_names_spec
='$libname.ixlibrary $libname.a'
8211 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8212 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'
8216 library_names_spec
='${libname}${shared_ext}'
8217 dynamic_linker
="$host_os ld.so"
8218 shlibpath_var
=LIBRARY_PATH
8224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8225 soname_spec
='${libname}${release}${shared_ext}$major'
8226 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8227 shlibpath_var
=LD_LIBRARY_PATH
8228 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8229 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8230 # the default ld.so.conf also contains /usr/contrib/lib and
8231 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8232 # libtool to hard-code these into programs
8235 cygwin
* | mingw
* | pw32
*)
8236 version_type
=windows
8241 case $GCC,$host_os in
8242 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8243 library_names_spec
='$libname.dll.a'
8244 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8245 postinstall_cmds
='base_file=`basename \${file}`~
8246 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8247 dldir=$destdir/`dirname \$dlpath`~
8248 test -d \$dldir || mkdir -p \$dldir~
8249 $install_prog $dir/$dlname \$dldir/$dlname~
8250 chmod a+x \$dldir/$dlname'
8251 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8252 dlpath=$dir/\$dldll~
8254 shlibpath_overrides_runpath
=yes
8258 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8259 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8260 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8263 # MinGW DLLs use traditional 'lib' prefix
8264 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8265 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8266 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8267 # It is most probably a Windows format PATH printed by
8268 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8269 # path with ; separators, and with drive letters. We can handle the
8270 # drive letters (cygwin fileutils understands them), so leave them,
8271 # especially as we might pass files found there to a mingw objdump,
8272 # which wouldn't understand a cygwinified path. Ahh.
8273 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8275 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8279 # pw32 DLLs use 'pw' prefix rather than 'lib'
8280 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8286 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8289 dynamic_linker
='Win32 ld.exe'
8290 # FIXME: first we should search . and the directory the executable is in
8294 darwin
* | rhapsody
*)
8295 dynamic_linker
="$host_os dyld"
8299 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8300 soname_spec
='${libname}${release}${major}$shared_ext'
8301 shlibpath_overrides_runpath
=yes
8302 shlibpath_var
=DYLD_LIBRARY_PATH
8303 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8304 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8305 if test "$GCC" = yes; then
8306 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"`
8308 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8310 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8318 soname_spec
='${libname}${release}${shared_ext}$major'
8319 shlibpath_var
=LD_LIBRARY_PATH
8330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8331 soname_spec
='${libname}${release}${shared_ext}$major'
8332 shlibpath_var
=LD_LIBRARY_PATH
8333 shlibpath_overrides_runpath
=no
8334 hardcode_into_libs
=yes
8335 dynamic_linker
='GNU ld.so'
8338 freebsd
* | dragonfly
*)
8339 # DragonFly does not have aout. When/if they implement a new
8340 # versioning mechanism, adjust this.
8341 if test -x /usr
/bin
/objformat
; then
8342 objformat
=`/usr/bin/objformat`
8345 freebsd
[123]*) objformat
=aout
;;
8349 version_type
=freebsd-
$objformat
8350 case $version_type in
8352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8357 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8361 shlibpath_var
=LD_LIBRARY_PATH
8364 shlibpath_overrides_runpath
=yes
8366 freebsd3.
[01]* | freebsdelf3.
[01]*)
8367 shlibpath_overrides_runpath
=yes
8368 hardcode_into_libs
=yes
8370 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8371 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8372 shlibpath_overrides_runpath
=no
8373 hardcode_into_libs
=yes
8375 freebsd
*) # from 4.6 on
8376 shlibpath_overrides_runpath
=yes
8377 hardcode_into_libs
=yes
8386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8387 soname_spec
='${libname}${release}${shared_ext}$major'
8388 shlibpath_var
=LD_LIBRARY_PATH
8389 hardcode_into_libs
=yes
8392 hpux9
* | hpux10
* | hpux11
*)
8393 # Give a soname corresponding to the major version so that dld.sl refuses to
8394 # link against other versions.
8401 hardcode_into_libs
=yes
8402 dynamic_linker
="$host_os dld.so"
8403 shlibpath_var
=LD_LIBRARY_PATH
8404 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8406 soname_spec
='${libname}${release}${shared_ext}$major'
8407 if test "X$HPUX_IA64_MODE" = X32
; then
8408 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8410 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8412 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8416 hardcode_into_libs
=yes
8417 dynamic_linker
="$host_os dld.sl"
8418 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8419 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8421 soname_spec
='${libname}${release}${shared_ext}$major'
8422 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8423 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8427 dynamic_linker
="$host_os dld.sl"
8428 shlibpath_var
=SHLIB_PATH
8429 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8431 soname_spec
='${libname}${release}${shared_ext}$major'
8434 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8435 postinstall_cmds
='chmod 555 $lib'
8442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8443 soname_spec
='${libname}${release}${shared_ext}$major'
8444 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8445 shlibpath_var
=LD_LIBRARY_PATH
8446 shlibpath_overrides_runpath
=no
8447 hardcode_into_libs
=yes
8450 irix5
* | irix6
* | nonstopux
*)
8452 nonstopux
*) version_type
=nonstopux
;;
8454 if test "$lt_cv_prog_gnu_ld" = yes; then
8462 soname_spec
='${libname}${release}${shared_ext}$major'
8463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8465 irix5
* | nonstopux
*)
8469 case $LD in # libtool.m4 will add one of these switches to LD
8470 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8471 libsuff
= shlibsuff
= libmagic
=32-bit;;
8472 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8473 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8474 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8475 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8476 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8480 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8481 shlibpath_overrides_runpath
=no
8482 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8483 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8484 hardcode_into_libs
=yes
8487 # No shared lib support for Linux oldld, aout, or coff.
8488 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8492 # This must be Linux ELF.
8497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8498 soname_spec
='${libname}${release}${shared_ext}$major'
8499 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8500 shlibpath_var
=LD_LIBRARY_PATH
8501 shlibpath_overrides_runpath
=no
8502 # This implies no fast_install, which is unacceptable.
8503 # Some rework will be needed to allow for fast_install
8504 # before this can be enabled.
8505 hardcode_into_libs
=yes
8507 # find out which ABI we are using
8510 x86_64
*|s390x
*|powerpc64
*)
8511 echo '#line 8511 "configure"' > conftest.
$ac_ext
8512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8513 (eval $ac_compile) 2>&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; then
8517 case `/usr/bin/file conftest.$ac_objext` in
8520 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8528 # Append ld.so.conf contents to the search path
8529 if test -f /etc
/ld.so.conf
; then
8530 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8531 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8534 # We used to test for /lib/ld.so.1 and disable shared libraries on
8535 # powerpc, because MkLinux only supported shared libraries with the
8536 # GNU dynamic linker. Since this was broken with cross compilers,
8537 # most powerpc-linux boxes support dynamic linking these days and
8538 # people can always --disable-shared, the test was removed, and we
8539 # assume the GNU/Linux dynamic linker is in use.
8540 dynamic_linker
='GNU/Linux ld.so'
8547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8548 soname_spec
='${libname}${release}${shared_ext}$major'
8549 shlibpath_var
=LD_LIBRARY_PATH
8550 shlibpath_overrides_runpath
=no
8551 hardcode_into_libs
=yes
8552 dynamic_linker
='GNU ld.so'
8559 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8562 dynamic_linker
='NetBSD (a.out) ld.so'
8564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8565 soname_spec
='${libname}${release}${shared_ext}$major'
8566 dynamic_linker
='NetBSD ld.elf_so'
8568 shlibpath_var
=LD_LIBRARY_PATH
8569 shlibpath_overrides_runpath
=yes
8570 hardcode_into_libs
=yes
8575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8576 shlibpath_var
=LD_LIBRARY_PATH
8577 shlibpath_overrides_runpath
=yes
8584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8585 soname_spec
='${libname}${release}${shared_ext}$major'
8586 shlibpath_var
=LD_LIBRARY_PATH
8587 shlibpath_overrides_runpath
=yes
8592 sys_lib_dlsearch_path_spec
="/usr/lib"
8594 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8596 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8597 *) need_version
=no
;;
8599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8600 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8601 shlibpath_var
=LD_LIBRARY_PATH
8602 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8604 openbsd2.
[89] | openbsd2.
[89].
*)
8605 shlibpath_overrides_runpath
=no
8608 shlibpath_overrides_runpath
=yes
8612 shlibpath_overrides_runpath
=yes
8617 libname_spec
='$name'
8620 library_names_spec
='$libname${shared_ext} $libname.a'
8621 dynamic_linker
='OS/2 ld.exe'
8622 shlibpath_var
=LIBPATH
8625 osf3
* | osf4
* | osf5
*)
8629 soname_spec
='${libname}${release}${shared_ext}$major'
8630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8631 shlibpath_var
=LD_LIBRARY_PATH
8632 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8633 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8641 soname_spec
='${libname}${release}${shared_ext}$major'
8642 shlibpath_var
=LD_LIBRARY_PATH
8643 shlibpath_overrides_runpath
=yes
8644 hardcode_into_libs
=yes
8645 # ldd complains unless libraries are executable
8646 postinstall_cmds
='chmod +x $lib'
8651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8652 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8653 shlibpath_var
=LD_LIBRARY_PATH
8654 shlibpath_overrides_runpath
=yes
8655 if test "$with_gnu_ld" = yes; then
8663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8664 soname_spec
='${libname}${release}${shared_ext}$major'
8665 shlibpath_var
=LD_LIBRARY_PATH
8666 case $host_vendor in
8668 shlibpath_overrides_runpath
=no
8670 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8671 runpath_var
=LD_RUN_PATH
8679 shlibpath_overrides_runpath
=no
8680 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8686 if test -d /usr
/nec
;then
8688 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8689 soname_spec
='$libname${shared_ext}.$major'
8690 shlibpath_var
=LD_LIBRARY_PATH
8694 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8695 version_type
=freebsd-elf
8698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8699 soname_spec
='${libname}${release}${shared_ext}$major'
8700 shlibpath_var
=LD_LIBRARY_PATH
8701 hardcode_into_libs
=yes
8702 if test "$with_gnu_ld" = yes; then
8703 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8704 shlibpath_overrides_runpath
=no
8706 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8707 shlibpath_overrides_runpath
=yes
8710 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8714 sys_lib_dlsearch_path_spec
='/usr/lib'
8719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8720 soname_spec
='${libname}${release}${shared_ext}$major'
8721 shlibpath_var
=LD_LIBRARY_PATH
8728 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8729 echo "${ECHO_T}$dynamic_linker" >&6
8730 test "$dynamic_linker" = no
&& can_build_shared
=no
8732 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8733 if test "$GCC" = yes; then
8734 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8737 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8738 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8740 if test -n "$hardcode_libdir_flag_spec" || \
8741 test -n "$runpath_var" || \
8742 test "X$hardcode_automatic" = "Xyes" ; then
8744 # We can hardcode non-existant directories.
8745 if test "$hardcode_direct" != no
&&
8746 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8747 # have to relink, otherwise we might link with an installed library
8748 # when we should be linking with a yet-to-be-installed one
8749 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8750 test "$hardcode_minus_L" != no
; then
8751 # Linking always hardcodes the temporary library directory.
8752 hardcode_action
=relink
8754 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8755 hardcode_action
=immediate
8758 # We cannot hardcode anything, or else we can only hardcode existing
8760 hardcode_action
=unsupported
8762 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8763 echo "${ECHO_T}$hardcode_action" >&6
8765 if test "$hardcode_action" = relink
; then
8766 # Fast installation is not supported
8767 enable_fast_install
=no
8768 elif test "$shlibpath_overrides_runpath" = yes ||
8769 test "$enable_shared" = no
; then
8770 # Fast installation is not necessary
8771 enable_fast_install
=needless
8776 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8777 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8778 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8779 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8780 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8784 # FIXME - insert some real tests, host_os isn't really good enough
8787 if test -n "$STRIP" ; then
8788 striplib
="$STRIP -x"
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8797 echo "$as_me:$LINENO: result: no" >&5
8798 echo "${ECHO_T}no" >&6
8803 if test "x$enable_dlopen" != xyes
; then
8804 enable_dlopen
=unknown
8805 enable_dlopen_self
=unknown
8806 enable_dlopen_self_static
=unknown
8813 lt_cv_dlopen
="load_add_on"
8815 lt_cv_dlopen_self
=yes
8819 lt_cv_dlopen
="LoadLibrary"
8824 lt_cv_dlopen
="dlopen"
8829 # if libdl is installed we need to link against it
8830 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8831 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8832 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8833 echo $ECHO_N "(cached) $ECHO_C" >&6
8835 ac_check_lib_save_LIBS
=$LIBS
8837 cat >conftest.
$ac_ext <<_ACEOF
8840 cat confdefs.h
>>conftest.
$ac_ext
8841 cat >>conftest.
$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8844 /* Override any gcc2 internal prototype to avoid an error. */
8848 /* We use char because int might match the return type of a gcc2
8849 builtin and then its argument prototype would still apply. */
8859 rm -f conftest.
$ac_objext conftest
$ac_exeext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8861 (eval $ac_link) 2>conftest.er1
8863 grep -v '^ *+' conftest.er1
>conftest.err
8865 cat conftest.err
>&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } &&
8868 { ac_try
='test -z "$ac_c_werror_flag"
8869 || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try
='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_lib_dl_dlopen
=yes
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.
$ac_ext >&5
8886 ac_cv_lib_dl_dlopen
=no
8888 rm -f conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8890 LIBS
=$ac_check_lib_save_LIBS
8892 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8893 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8894 if test $ac_cv_lib_dl_dlopen = yes; then
8895 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8900 lt_cv_dlopen_self
=yes
8907 echo "$as_me:$LINENO: checking for shl_load" >&5
8908 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8909 if test "${ac_cv_func_shl_load+set}" = set; then
8910 echo $ECHO_N "(cached) $ECHO_C" >&6
8912 cat >conftest.
$ac_ext <<_ACEOF
8915 cat confdefs.h
>>conftest.
$ac_ext
8916 cat >>conftest.
$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8918 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8920 #define shl_load innocuous_shl_load
8922 /* System header to define __stub macros and hopefully few prototypes,
8923 which can conflict with char shl_load (); below.
8924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8925 <limits.h> exists even on freestanding compilers. */
8928 # include <limits.h>
8930 # include <assert.h>
8935 /* Override any gcc2 internal prototype to avoid an error. */
8940 /* We use char because int might match the return type of a gcc2
8941 builtin and then its argument prototype would still apply. */
8943 /* The GNU C library defines this for functions which it implements
8944 to always fail with ENOSYS. Some functions are actually named
8945 something starting with __ and the normal name is an alias. */
8946 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8949 char (*f) () = shl_load;
8958 return f != shl_load;
8963 rm -f conftest.
$ac_objext conftest
$ac_exeext
8964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8965 (eval $ac_link) 2>conftest.er1
8967 grep -v '^ *+' conftest.er1
>conftest.err
8969 cat conftest.err
>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try
='test -z "$ac_c_werror_flag"
8973 || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try
='test -s conftest$ac_exeext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_cv_func_shl_load
=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.
$ac_ext >&5
8990 ac_cv_func_shl_load
=no
8992 rm -f conftest.err conftest.
$ac_objext \
8993 conftest
$ac_exeext conftest.
$ac_ext
8995 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8996 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8997 if test $ac_cv_func_shl_load = yes; then
8998 lt_cv_dlopen
="shl_load"
9000 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9001 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9002 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 ac_check_lib_save_LIBS
=$LIBS
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9014 /* Override any gcc2 internal prototype to avoid an error. */
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9029 rm -f conftest.
$ac_objext conftest
$ac_exeext
9030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9031 (eval $ac_link) 2>conftest.er1
9033 grep -v '^ *+' conftest.er1
>conftest.err
9035 cat conftest.err
>&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } &&
9038 { ac_try
='test -z "$ac_c_werror_flag"
9039 || test ! -s conftest.err'
9040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); }; } &&
9045 { ac_try
='test -s conftest$ac_exeext'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; }; then
9051 ac_cv_lib_dld_shl_load
=yes
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.
$ac_ext >&5
9056 ac_cv_lib_dld_shl_load
=no
9058 rm -f conftest.err conftest.
$ac_objext \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 LIBS
=$ac_check_lib_save_LIBS
9062 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9063 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9064 if test $ac_cv_lib_dld_shl_load = yes; then
9065 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9067 echo "$as_me:$LINENO: checking for dlopen" >&5
9068 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9069 if test "${ac_cv_func_dlopen+set}" = set; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 cat >conftest.
$ac_ext <<_ACEOF
9075 cat confdefs.h
>>conftest.
$ac_ext
9076 cat >>conftest.
$ac_ext <<_ACEOF
9077 /* end confdefs.h. */
9078 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9080 #define dlopen innocuous_dlopen
9082 /* System header to define __stub macros and hopefully few prototypes,
9083 which can conflict with char dlopen (); below.
9084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9085 <limits.h> exists even on freestanding compilers. */
9088 # include <limits.h>
9090 # include <assert.h>
9095 /* Override any gcc2 internal prototype to avoid an error. */
9100 /* We use char because int might match the return type of a gcc2
9101 builtin and then its argument prototype would still apply. */
9103 /* The GNU C library defines this for functions which it implements
9104 to always fail with ENOSYS. Some functions are actually named
9105 something starting with __ and the normal name is an alias. */
9106 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9109 char (*f) () = dlopen;
9123 rm -f conftest.
$ac_objext conftest
$ac_exeext
9124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9125 (eval $ac_link) 2>conftest.er1
9127 grep -v '^ *+' conftest.er1
>conftest.err
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try
='test -z "$ac_c_werror_flag"
9133 || test ! -s conftest.err'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } &&
9139 { ac_try
='test -s conftest$ac_exeext'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then
9145 ac_cv_func_dlopen
=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.
$ac_ext >&5
9150 ac_cv_func_dlopen
=no
9152 rm -f conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9155 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9156 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9157 if test $ac_cv_func_dlopen = yes; then
9158 lt_cv_dlopen
="dlopen"
9160 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9161 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9162 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 ac_check_lib_save_LIBS
=$LIBS
9167 cat >conftest.
$ac_ext <<_ACEOF
9170 cat confdefs.h
>>conftest.
$ac_ext
9171 cat >>conftest.
$ac_ext <<_ACEOF
9172 /* end confdefs.h. */
9174 /* Override any gcc2 internal prototype to avoid an error. */
9178 /* We use char because int might match the return type of a gcc2
9179 builtin and then its argument prototype would still apply. */
9189 rm -f conftest.
$ac_objext conftest
$ac_exeext
9190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9191 (eval $ac_link) 2>conftest.er1
9193 grep -v '^ *+' conftest.er1
>conftest.err
9195 cat conftest.err
>&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } &&
9198 { ac_try
='test -z "$ac_c_werror_flag"
9199 || test ! -s conftest.err'
9200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); }; } &&
9205 { ac_try
='test -s conftest$ac_exeext'
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; }; then
9211 ac_cv_lib_dl_dlopen
=yes
9213 echo "$as_me: failed program was:" >&5
9214 sed 's/^/| /' conftest.
$ac_ext >&5
9216 ac_cv_lib_dl_dlopen
=no
9218 rm -f conftest.err conftest.
$ac_objext \
9219 conftest
$ac_exeext conftest.
$ac_ext
9220 LIBS
=$ac_check_lib_save_LIBS
9222 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9223 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9224 if test $ac_cv_lib_dl_dlopen = yes; then
9225 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9227 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9228 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9229 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 ac_check_lib_save_LIBS
=$LIBS
9234 cat >conftest.
$ac_ext <<_ACEOF
9237 cat confdefs.h
>>conftest.
$ac_ext
9238 cat >>conftest.
$ac_ext <<_ACEOF
9239 /* end confdefs.h. */
9241 /* Override any gcc2 internal prototype to avoid an error. */
9245 /* We use char because int might match the return type of a gcc2
9246 builtin and then its argument prototype would still apply. */
9256 rm -f conftest.
$ac_objext conftest
$ac_exeext
9257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9258 (eval $ac_link) 2>conftest.er1
9260 grep -v '^ *+' conftest.er1
>conftest.err
9262 cat conftest.err
>&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); } &&
9265 { ac_try
='test -z "$ac_c_werror_flag"
9266 || test ! -s conftest.err'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; } &&
9272 { ac_try
='test -s conftest$ac_exeext'
9273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }; }; then
9278 ac_cv_lib_svld_dlopen
=yes
9280 echo "$as_me: failed program was:" >&5
9281 sed 's/^/| /' conftest.
$ac_ext >&5
9283 ac_cv_lib_svld_dlopen
=no
9285 rm -f conftest.err conftest.
$ac_objext \
9286 conftest
$ac_exeext conftest.
$ac_ext
9287 LIBS
=$ac_check_lib_save_LIBS
9289 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9290 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9291 if test $ac_cv_lib_svld_dlopen = yes; then
9292 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9294 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9295 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9296 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 ac_check_lib_save_LIBS
=$LIBS
9301 cat >conftest.
$ac_ext <<_ACEOF
9304 cat confdefs.h
>>conftest.
$ac_ext
9305 cat >>conftest.
$ac_ext <<_ACEOF
9306 /* end confdefs.h. */
9308 /* Override any gcc2 internal prototype to avoid an error. */
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9323 rm -f conftest.
$ac_objext conftest
$ac_exeext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9325 (eval $ac_link) 2>conftest.er1
9327 grep -v '^ *+' conftest.er1
>conftest.err
9329 cat conftest.err
>&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } &&
9332 { ac_try
='test -z "$ac_c_werror_flag"
9333 || test ! -s conftest.err'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; } &&
9339 { ac_try
='test -s conftest$ac_exeext'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; }; then
9345 ac_cv_lib_dld_dld_link
=yes
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.
$ac_ext >&5
9350 ac_cv_lib_dld_dld_link
=no
9352 rm -f conftest.err conftest.
$ac_objext \
9353 conftest
$ac_exeext conftest.
$ac_ext
9354 LIBS
=$ac_check_lib_save_LIBS
9356 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9357 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9358 if test $ac_cv_lib_dld_dld_link = yes; then
9359 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9380 if test "x$lt_cv_dlopen" != xno
; then
9386 case $lt_cv_dlopen in
9388 save_CPPFLAGS
="$CPPFLAGS"
9389 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9391 save_LDFLAGS
="$LDFLAGS"
9392 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9395 LIBS
="$lt_cv_dlopen_libs $LIBS"
9397 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9398 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9399 if test "${lt_cv_dlopen_self+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9402 if test "$cross_compiling" = yes; then :
9403 lt_cv_dlopen_self
=cross
9405 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9406 lt_status
=$lt_dlunknown
9407 cat > conftest.
$ac_ext <<EOF
9408 #line 9408 "configure"
9409 #include "confdefs.h"
9418 # define LT_DLGLOBAL RTLD_GLOBAL
9421 # define LT_DLGLOBAL DL_GLOBAL
9423 # define LT_DLGLOBAL 0
9427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9428 find out it does not work in some platform. */
9429 #ifndef LT_DLLAZY_OR_NOW
9431 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9434 # define LT_DLLAZY_OR_NOW DL_LAZY
9437 # define LT_DLLAZY_OR_NOW RTLD_NOW
9440 # define LT_DLLAZY_OR_NOW DL_NOW
9442 # define LT_DLLAZY_OR_NOW 0
9450 extern "C" void exit (int);
9453 void fnord() { int i=42;}
9456 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9457 int status = $lt_dlunknown;
9461 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9462 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9463 /* dlclose (self); */
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9476 (.
/conftest
; exit; ) >&5 2>/dev
/null
9479 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9480 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9481 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9484 # compilation failed
9485 lt_cv_dlopen_self
=no
9492 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9493 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9495 if test "x$lt_cv_dlopen_self" = xyes
; then
9496 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9497 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9498 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9499 if test "${lt_cv_dlopen_self_static+set}" = set; then
9500 echo $ECHO_N "(cached) $ECHO_C" >&6
9502 if test "$cross_compiling" = yes; then :
9503 lt_cv_dlopen_self_static
=cross
9505 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9506 lt_status
=$lt_dlunknown
9507 cat > conftest.
$ac_ext <<EOF
9508 #line 9508 "configure"
9509 #include "confdefs.h"
9518 # define LT_DLGLOBAL RTLD_GLOBAL
9521 # define LT_DLGLOBAL DL_GLOBAL
9523 # define LT_DLGLOBAL 0
9527 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9528 find out it does not work in some platform. */
9529 #ifndef LT_DLLAZY_OR_NOW
9531 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9534 # define LT_DLLAZY_OR_NOW DL_LAZY
9537 # define LT_DLLAZY_OR_NOW RTLD_NOW
9540 # define LT_DLLAZY_OR_NOW DL_NOW
9542 # define LT_DLLAZY_OR_NOW 0
9550 extern "C" void exit (int);
9553 void fnord() { int i=42;}
9556 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9557 int status = $lt_dlunknown;
9561 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9562 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9563 /* dlclose (self); */
9571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9572 (eval $ac_link) 2>&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9576 (.
/conftest
; exit; ) >&5 2>/dev
/null
9579 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9580 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9581 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9584 # compilation failed
9585 lt_cv_dlopen_self_static
=no
9592 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9593 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9596 CPPFLAGS
="$save_CPPFLAGS"
9597 LDFLAGS
="$save_LDFLAGS"
9602 case $lt_cv_dlopen_self in
9603 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9604 *) enable_dlopen_self
=unknown
;;
9607 case $lt_cv_dlopen_self_static in
9608 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9609 *) enable_dlopen_self_static
=unknown
;;
9614 # Report which library types will actually be built
9615 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9616 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9617 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9618 echo "${ECHO_T}$can_build_shared" >&6
9620 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9621 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9622 test "$can_build_shared" = "no" && enable_shared
=no
9624 # On AIX, shared libraries and static libraries use the same namespace, and
9625 # are all built from PIC.
9628 test "$enable_shared" = yes && enable_static
=no
9629 if test -n "$RANLIB"; then
9630 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9631 postinstall_cmds
='$RANLIB $lib'
9636 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9637 test "$enable_shared" = yes && enable_static
=no
9641 echo "$as_me:$LINENO: result: $enable_shared" >&5
9642 echo "${ECHO_T}$enable_shared" >&6
9644 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9645 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9646 # Make sure either enable_shared or enable_static is yes.
9647 test "$enable_shared" = yes || enable_static
=yes
9648 echo "$as_me:$LINENO: result: $enable_static" >&5
9649 echo "${ECHO_T}$enable_static" >&6
9651 # The else clause should only fire when bootstrapping the
9652 # libtool distribution, otherwise you forgot to ship ltmain.sh
9653 # with your package, and you will get complaints that there are
9654 # no rules to generate ltmain.sh.
9655 if test -f "$ltmain"; then
9656 # See if we are running on zsh, and set the options which allow our commands through
9657 # without removal of \ escapes.
9658 if test -n "${ZSH_VERSION+set}" ; then
9659 setopt NO_GLOB_SUBST
9661 # Now quote all the things that may contain metacharacters while being
9662 # careful not to overquote the AC_SUBSTed values. We take copies of the
9663 # variables and quote the copies for generation of the libtool script.
9664 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9666 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9667 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9668 deplibs_check_method reload_flag reload_cmds need_locks \
9669 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9670 lt_cv_sys_global_symbol_to_c_name_address \
9671 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9672 old_postinstall_cmds old_postuninstall_cmds \
9676 lt_prog_compiler_wl \
9677 lt_prog_compiler_pic \
9678 lt_prog_compiler_static \
9679 lt_prog_compiler_no_builtin_flag \
9680 export_dynamic_flag_spec \
9681 thread_safe_flag_spec \
9682 whole_archive_flag_spec \
9683 enable_shared_with_static_runtimes \
9685 old_archive_from_new_cmds \
9690 compiler_lib_search_path \
9692 archive_expsym_cmds \
9694 postuninstall_cmds \
9695 old_archive_from_expsyms_cmds \
9696 allow_undefined_flag \
9698 export_symbols_cmds \
9699 hardcode_libdir_flag_spec \
9700 hardcode_libdir_flag_spec_ld \
9701 hardcode_libdir_separator \
9702 hardcode_automatic \
9704 module_expsym_cmds \
9705 lt_cv_prog_compiler_c_o \
9710 old_archive_cmds | \
9711 old_archive_from_new_cmds | \
9713 archive_expsym_cmds | \
9715 module_expsym_cmds | \
9716 old_archive_from_expsyms_cmds | \
9717 export_symbols_cmds | \
9718 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9719 postinstall_cmds | postuninstall_cmds | \
9720 old_postinstall_cmds | old_postuninstall_cmds | \
9721 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9722 # Double-quote double-evaled strings.
9723 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9726 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9732 *'\$0 --fallback-echo"')
9733 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9738 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9740 { echo "$as_me:$LINENO: creating $ofile" >&5
9741 echo "$as_me: creating $ofile" >&6;}
9743 cat <<__EOF__ >> "$cfgfile"
9746 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9747 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9748 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9750 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9751 # Free Software Foundation, Inc.
9753 # This file is part of GNU Libtool:
9754 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9756 # This program is free software; you can redistribute it and/or modify
9757 # it under the terms of the GNU General Public License as published by
9758 # the Free Software Foundation; either version 2 of the License, or
9759 # (at your option) any later version.
9761 # This program is distributed in the hope that it will be useful, but
9762 # WITHOUT ANY WARRANTY; without even the implied warranty of
9763 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9764 # General Public License for more details.
9766 # You should have received a copy of the GNU General Public License
9767 # along with this program; if not, write to the Free Software
9768 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9770 # As a special exception to the GNU General Public License, if you
9771 # distribute this file as part of a program that contains a
9772 # configuration script generated by Autoconf, you may include it under
9773 # the same distribution terms that you use for the rest of that program.
9775 # A sed program that does not truncate output.
9778 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9779 Xsed="$SED -e 1s/^X//"
9781 # The HP-UX ksh and POSIX shell print the target directory to stdout
9783 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9785 # The names of the tagged configurations supported by this script.
9788 # ### BEGIN LIBTOOL CONFIG
9790 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9792 # Shell to use when invoking shell scripts.
9795 # Whether or not to build shared libraries.
9796 build_libtool_libs=$enable_shared
9798 # Whether or not to build static libraries.
9799 build_old_libs=$enable_static
9801 # Whether or not to add -lc for building shared libraries.
9802 build_libtool_need_lc=$archive_cmds_need_lc
9804 # Whether or not to disallow shared libs when runtime libs are static
9805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9807 # Whether or not to optimize for fast installation.
9808 fast_install=$enable_fast_install
9811 host_alias=$host_alias
9816 build_alias=$build_alias
9820 # An echo program that does not interpret backslashes.
9825 AR_FLAGS=$lt_AR_FLAGS
9830 # LTCC compiler flags.
9831 LTCFLAGS=$lt_LTCFLAGS
9833 # A language-specific compiler.
9836 # Is the compiler the GNU C compiler?
9839 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9840 gcc_ver=\`gcc -dumpversion\`
9845 # The linker used to build libraries.
9848 # Whether we need hard or soft links.
9851 # A BSD-compatible nm program.
9854 # A symbol stripping program
9857 # Used to examine libraries when file_magic_cmd begins "file"
9858 MAGIC_CMD=$MAGIC_CMD
9860 # Used on cygwin: DLL creation program.
9863 # Used on cygwin: object dumper.
9866 # Used on cygwin: assembler.
9869 # The name of the directory that contains temporary libtool files.
9872 # How to create reloadable object files.
9873 reload_flag=$lt_reload_flag
9874 reload_cmds=$lt_reload_cmds
9876 # How to pass a linker flag through the compiler.
9877 wl=$lt_lt_prog_compiler_wl
9879 # Object file suffix (normally "o").
9882 # Old archive suffix (normally "a").
9885 # Shared library suffix (normally ".so").
9886 shrext_cmds='$shrext_cmds'
9888 # Executable file suffix (normally "").
9891 # Additional compiler flags for building library objects.
9892 pic_flag=$lt_lt_prog_compiler_pic
9895 # What is the maximum length of a command?
9896 max_cmd_len=$lt_cv_sys_max_cmd_len
9898 # Does compiler simultaneously support -c and -o options?
9899 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9901 # Must we lock files when doing compilation?
9902 need_locks=$lt_need_locks
9904 # Do we need the lib prefix for modules?
9905 need_lib_prefix=$need_lib_prefix
9907 # Do we need a version for libraries?
9908 need_version=$need_version
9910 # Whether dlopen is supported.
9911 dlopen_support=$enable_dlopen
9913 # Whether dlopen of programs is supported.
9914 dlopen_self=$enable_dlopen_self
9916 # Whether dlopen of statically linked programs is supported.
9917 dlopen_self_static=$enable_dlopen_self_static
9919 # Compiler flag to prevent dynamic linking.
9920 link_static_flag=$lt_lt_prog_compiler_static
9922 # Compiler flag to turn off builtin functions.
9923 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9925 # Compiler flag to allow reflexive dlopens.
9926 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9928 # Compiler flag to generate shared objects directly from archives.
9929 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9931 # Compiler flag to generate thread-safe objects.
9932 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9934 # Library versioning type.
9935 version_type=$version_type
9937 # Format of library name prefix.
9938 libname_spec=$lt_libname_spec
9940 # List of archive names. First name is the real one, the rest are links.
9941 # The last name is the one that the linker finds with -lNAME.
9942 library_names_spec=$lt_library_names_spec
9944 # The coded name of the library, if different from the real name.
9945 soname_spec=$lt_soname_spec
9947 # Commands used to build and install an old-style archive.
9949 old_archive_cmds=$lt_old_archive_cmds
9950 old_postinstall_cmds=$lt_old_postinstall_cmds
9951 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9953 # Create an old-style archive from a shared archive.
9954 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9956 # Create a temporary old-style archive to link instead of a shared archive.
9957 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9959 # Commands used to build and install a shared archive.
9960 archive_cmds=$lt_archive_cmds
9961 archive_expsym_cmds=$lt_archive_expsym_cmds
9962 postinstall_cmds=$lt_postinstall_cmds
9963 postuninstall_cmds=$lt_postuninstall_cmds
9965 # Commands used to build a loadable module (assumed same as above if empty)
9966 module_cmds=$lt_module_cmds
9967 module_expsym_cmds=$lt_module_expsym_cmds
9969 # Commands to strip libraries.
9970 old_striplib=$lt_old_striplib
9971 striplib=$lt_striplib
9973 # Dependencies to place before the objects being linked to create a
9975 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9977 # Dependencies to place after the objects being linked to create a
9979 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9981 # Dependencies to place before the objects being linked to create a
9985 # Dependencies to place after the objects being linked to create a
9987 postdeps=$lt_postdeps
9989 # The library search path used internally by the compiler when linking
9991 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
9993 # Method to check whether dependent libraries are shared objects.
9994 deplibs_check_method=$lt_deplibs_check_method
9996 # Command to use when deplibs_check_method == file_magic.
9997 file_magic_cmd=$lt_file_magic_cmd
9999 # Flag that allows shared libraries with undefined symbols to be built.
10000 allow_undefined_flag=$lt_allow_undefined_flag
10002 # Flag that forces no undefined symbols.
10003 no_undefined_flag=$lt_no_undefined_flag
10005 # Commands used to finish a libtool library installation in a directory.
10006 finish_cmds=$lt_finish_cmds
10008 # Same as above, but a single script fragment to be evaled but not shown.
10009 finish_eval=$lt_finish_eval
10011 # Take the output of nm and produce a listing of raw symbols and C names.
10012 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10014 # Transform the output of nm in a proper C declaration
10015 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10017 # Transform the output of nm in a C name address pair
10018 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10020 # This is the shared library runtime path variable.
10021 runpath_var=$runpath_var
10023 # This is the shared library path variable.
10024 shlibpath_var=$shlibpath_var
10026 # Is shlibpath searched before the hard-coded library search path?
10027 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10029 # How to hardcode a shared library path into an executable.
10030 hardcode_action=$hardcode_action
10032 # Whether we should hardcode library paths into libraries.
10033 hardcode_into_libs=$hardcode_into_libs
10035 # Flag to hardcode \$libdir into a binary during linking.
10036 # This must work even if \$libdir does not exist.
10037 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10039 # If ld is used when linking, flag to hardcode \$libdir into
10040 # a binary during linking. This must work even if \$libdir does
10042 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10044 # Whether we need a single -rpath flag with a separated argument.
10045 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10047 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10048 # resulting binary.
10049 hardcode_direct=$hardcode_direct
10051 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10052 # resulting binary.
10053 hardcode_minus_L=$hardcode_minus_L
10055 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10056 # the resulting binary.
10057 hardcode_shlibpath_var=$hardcode_shlibpath_var
10059 # Set to yes if building a shared library automatically hardcodes DIR into the library
10060 # and all subsequent libraries and executables linked against it.
10061 hardcode_automatic=$hardcode_automatic
10063 # Variables whose values should be saved in libtool wrapper scripts and
10064 # restored at relink time.
10065 variables_saved_for_relink="$variables_saved_for_relink"
10067 # Whether libtool must link a program against all its dependency libraries.
10068 link_all_deplibs=$link_all_deplibs
10070 # Compile-time system search path for libraries
10071 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10073 # Run-time system search path for libraries
10074 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10076 # Fix the shell variable \$srcfile for the compiler.
10077 fix_srcfile_path="$fix_srcfile_path"
10079 # Set to yes if exported symbols are required.
10080 always_export_symbols=$always_export_symbols
10082 # The commands to list exported symbols.
10083 export_symbols_cmds=$lt_export_symbols_cmds
10085 # The commands to extract the exported symbol list from a shared archive.
10086 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10088 # Symbols that should not be listed in the preloaded symbols.
10089 exclude_expsyms=$lt_exclude_expsyms
10091 # Symbols that must always be exported.
10092 include_expsyms=$lt_include_expsyms
10094 # ### END LIBTOOL CONFIG
10101 cat <<\EOF
>> "$cfgfile"
10103 # AIX sometimes has problems with the GCC collect2 program. For some
10104 # reason, if we set the COLLECT_NAMES environment variable, the problems
10105 # vanish in a puff of smoke.
10106 if test "X${COLLECT_NAMES+set}" != Xset
; then
10108 export COLLECT_NAMES
10114 # We use sed instead of cat because bash on DJGPP gets confused if
10115 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10116 # text mode, it properly converts lines to CR/LF. This bash problem
10117 # is reportedly fixed, but why not run on old versions too?
10118 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10120 mv -f "$cfgfile" "$ofile" || \
10121 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10125 # If there is no Makefile yet, we rely on a make rule to execute
10126 # `config.status --recheck' to rerun these tests and create the
10127 # libtool script then.
10128 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10129 if test -f "$ltmain_in"; then
10130 test -f Makefile
&& make "$ltmain"
10136 ac_cpp
='$CPP $CPPFLAGS'
10137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10144 # Check whether --with-tags or --without-tags was given.
10145 if test "${with_tags+set}" = set; then
10146 withval
="$with_tags"
10147 tagnames
="$withval"
10150 if test -f "$ltmain" && test -n "$tagnames"; then
10151 if test ! -f "${ofile}"; then
10152 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10153 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10156 if test -z "$LTCC"; then
10157 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10158 if test -z "$LTCC"; then
10159 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10160 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10163 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10166 if test -z "$LTCFLAGS"; then
10167 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10170 # Extract list of available tagged configurations in $ofile.
10171 # Note that this assumes the entire list is on one line.
10172 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10174 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10175 for tagname
in $tagnames; do
10177 # Check whether tagname contains only valid characters
10178 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10180 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10181 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10182 { (exit 1); exit 1; }; }
10186 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10188 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10189 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10190 { (exit 1); exit 1; }; }
10193 # Update the list of available tags.
10194 if test -n "$tagname"; then
10195 echo appending configuration tag
\"$tagname\" to
$ofile
10199 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10200 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10201 (test "X$CXX" != "Xg++"))) ; then
10203 ac_cpp
='$CXXCPP $CPPFLAGS'
10204 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10205 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10206 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10211 archive_cmds_need_lc_CXX
=no
10212 allow_undefined_flag_CXX
=
10213 always_export_symbols_CXX
=no
10214 archive_expsym_cmds_CXX
=
10215 export_dynamic_flag_spec_CXX
=
10216 hardcode_direct_CXX
=no
10217 hardcode_libdir_flag_spec_CXX
=
10218 hardcode_libdir_flag_spec_ld_CXX
=
10219 hardcode_libdir_separator_CXX
=
10220 hardcode_minus_L_CXX
=no
10221 hardcode_shlibpath_var_CXX
=unsupported
10222 hardcode_automatic_CXX
=no
10224 module_expsym_cmds_CXX
=
10225 link_all_deplibs_CXX
=unknown
10226 old_archive_cmds_CXX
=$old_archive_cmds
10227 no_undefined_flag_CXX
=
10228 whole_archive_flag_spec_CXX
=
10229 enable_shared_with_static_runtimes_CXX
=no
10231 # Dependencies to place before and after the object being linked:
10232 predep_objects_CXX
=
10233 postdep_objects_CXX
=
10236 compiler_lib_search_path_CXX
=
10238 # Source file extension for C++ test sources.
10241 # Object file extension for compiled C++ test sources.
10245 # Code to be used in simple compile tests
10246 lt_simple_compile_test_code
="int some_variable = 0;\n"
10248 # Code to be used in simple link tests
10249 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
10251 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10253 # If no C compiler was specified, use CC.
10256 # If no C compiler flags were specified, use CFLAGS.
10257 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10259 # Allow CC to be a program name with arguments.
10263 # save warnings/boilerplate of simple test code
10264 ac_outfile
=conftest.
$ac_objext
10265 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10266 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10267 _lt_compiler_boilerplate
=`cat conftest.err`
10270 ac_outfile
=conftest.
$ac_objext
10271 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10272 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10273 _lt_linker_boilerplate
=`cat conftest.err`
10277 # Allow CC to be a program name with arguments.
10282 lt_save_with_gnu_ld
=$with_gnu_ld
10283 lt_save_path_LD
=$lt_cv_path_LD
10284 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10285 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10287 $as_unset lt_cv_prog_gnu_ld
10289 if test -n "${lt_cv_path_LDCXX+set}"; then
10290 lt_cv_path_LD
=$lt_cv_path_LDCXX
10292 $as_unset lt_cv_path_LD
10294 test -z "${LDCXX+set}" || LD
=$LDCXX
10298 for cc_temp
in $compiler""; do
10300 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10301 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10306 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10309 # We don't want -fno-exception wen compiling C++ code, so set the
10310 # no_builtin_flag separately
10311 if test "$GXX" = yes; then
10312 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10314 lt_prog_compiler_no_builtin_flag_CXX
=
10317 if test "$GXX" = yes; then
10318 # Set up default GNU C++ configuration
10321 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10322 if test "${with_gnu_ld+set}" = set; then
10323 withval
="$with_gnu_ld"
10324 test "$withval" = no || with_gnu_ld
=yes
10329 if test "$GCC" = yes; then
10330 # Check if gcc -print-prog-name=ld gives a path.
10331 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10332 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10335 # gcc leaves a trailing carriage return which upsets mingw
10336 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10338 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10341 # Accept absolute paths.
10343 re_direlt
='/[^/][^/]*/\.\./'
10344 # Canonicalize the pathname of ld
10345 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10346 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10347 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10349 test -z "$LD" && LD
="$ac_prog"
10352 # If it fails, then pretend we aren't using GCC.
10356 # If it is relative, then search for the first ld in PATH.
10357 with_gnu_ld
=unknown
10360 elif test "$with_gnu_ld" = yes; then
10361 echo "$as_me:$LINENO: checking for GNU ld" >&5
10362 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10364 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10365 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10367 if test "${lt_cv_path_LD+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 if test -z "$LD"; then
10371 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10372 for ac_dir
in $PATH; do
10374 test -z "$ac_dir" && ac_dir
=.
10375 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10376 lt_cv_path_LD
="$ac_dir/$ac_prog"
10377 # Check to see if the program is GNU ld. I'd rather use --version,
10378 # but apparently some variants of GNU ld only accept -v.
10379 # Break only if it was the GNU/non-GNU ld that we prefer.
10380 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10381 *GNU
* |
*'with BFD'*)
10382 test "$with_gnu_ld" != no
&& break
10385 test "$with_gnu_ld" != yes && break
10392 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10396 LD
="$lt_cv_path_LD"
10397 if test -n "$LD"; then
10398 echo "$as_me:$LINENO: result: $LD" >&5
10399 echo "${ECHO_T}$LD" >&6
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10404 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10405 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10406 { (exit 1); exit 1; }; }
10407 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10408 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10409 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10413 case `$LD -v 2>&1 </dev/null` in
10414 *GNU
* |
*'with BFD'*)
10415 lt_cv_prog_gnu_ld
=yes
10418 lt_cv_prog_gnu_ld
=no
10422 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10423 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10424 with_gnu_ld
=$lt_cv_prog_gnu_ld
10428 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10429 # archiving commands below assume that GNU ld is being used.
10430 if test "$with_gnu_ld" = yes; then
10431 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10432 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'
10434 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10435 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10437 # If archive_cmds runs LD, not CC, wlarc should be empty
10438 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10439 # investigate it a little bit more. (MM)
10442 # ancient GNU ld didn't support --whole-archive et. al.
10443 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10444 grep 'no-whole-archive' > /dev
/null
; then
10445 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10447 whole_archive_flag_spec_CXX
=
10453 # A generic and very simple default shared library creation
10454 # command for GNU C++ for the case where it uses the native
10455 # linker, instead of GNU ld. If possible, this setting should
10456 # overridden to take advantage of the native linker features on
10457 # the platform it is being used on.
10458 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10461 # Commands to make compiler produce verbose output that lists
10462 # what "hidden" libraries, object files and flags are used when
10463 # linking a shared library.
10464 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10472 # PORTME: fill in a description of your system's C++ link characteristics
10473 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10474 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10478 # FIXME: insert proper C++ library support
10482 if test "$host_cpu" = ia64
; then
10483 # On IA64, the linker does run time linking by default, so we don't
10484 # have to do anything special.
10485 aix_use_runtimelinking
=no
10486 exp_sym_flag
='-Bexport'
10489 aix_use_runtimelinking
=no
10491 # Test if we are trying to use run time linking or normal
10492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10493 # need to do runtime linking.
10494 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10495 for ld_flag
in $LDFLAGS; do
10498 aix_use_runtimelinking
=yes
10506 exp_sym_flag
='-bexport'
10507 no_entry_flag
='-bnoentry'
10510 # When large executables or shared objects are built, AIX ld can
10511 # have problems creating the table of contents. If linking a library
10512 # or program results in "error TOC overflow" add -mminimal-toc to
10513 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10514 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10516 archive_cmds_CXX
=''
10517 hardcode_direct_CXX
=yes
10518 hardcode_libdir_separator_CXX
=':'
10519 link_all_deplibs_CXX
=yes
10521 if test "$GXX" = yes; then
10522 case $host_os in aix4.
[012]|aix4.
[012].
*)
10523 # We only want to do this on AIX 4.2 and lower, the check
10524 # below for broken collect2 doesn't work under 4.3+
10525 collect2name
=`${CC} -print-prog-name=collect2`
10526 if test -f "$collect2name" && \
10527 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10529 # We have reworked collect2
10530 hardcode_direct_CXX
=yes
10532 # We have old collect2
10533 hardcode_direct_CXX
=unsupported
10534 # It fails to find uninstalled libraries when the uninstalled
10535 # path is not listed in the libpath. Setting hardcode_minus_L
10536 # to unsupported forces relinking
10537 hardcode_minus_L_CXX
=yes
10538 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10539 hardcode_libdir_separator_CXX
=
10543 shared_flag
='-shared'
10544 if test "$aix_use_runtimelinking" = yes; then
10545 shared_flag
="$shared_flag "'${wl}-G'
10549 if test "$host_cpu" = ia64
; then
10550 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10551 # chokes on -Wl,-G. The following line is correct:
10554 if test "$aix_use_runtimelinking" = yes; then
10555 shared_flag
='${wl}-G'
10557 shared_flag
='${wl}-bM:SRE'
10562 # It seems that -bexpall does not export symbols beginning with
10563 # underscore (_), so it is better to generate a list of symbols to export.
10564 always_export_symbols_CXX
=yes
10565 if test "$aix_use_runtimelinking" = yes; then
10566 # Warning - without using the other runtime loading flags (-brtl),
10567 # -berok will link without error, but may produce a broken library.
10568 allow_undefined_flag_CXX
='-berok'
10569 # Determine the default libpath from the value encoded in an empty executable.
10570 cat >conftest.
$ac_ext <<_ACEOF
10573 cat confdefs.h
>>conftest.
$ac_ext
10574 cat >>conftest.
$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10585 rm -f conftest.
$ac_objext conftest
$ac_exeext
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>conftest.er1
10589 grep -v '^ *+' conftest.er1
>conftest.err
10591 cat conftest.err
>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } &&
10594 { ac_try
='test -z "$ac_cxx_werror_flag"
10595 || test ! -s conftest.err'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; } &&
10601 { ac_try
='test -s conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10608 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10610 # Check for a 64-bit object if we didn't find anything.
10611 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; }
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.
$ac_ext >&5
10618 rm -f conftest.err conftest.
$ac_objext \
10619 conftest
$ac_exeext conftest.
$ac_ext
10620 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10622 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10624 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10626 if test "$host_cpu" = ia64
; then
10627 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10628 allow_undefined_flag_CXX
="-z nodefs"
10629 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10631 # Determine the default libpath from the value encoded in an empty executable.
10632 cat >conftest.
$ac_ext <<_ACEOF
10635 cat confdefs.h
>>conftest.
$ac_ext
10636 cat >>conftest.
$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10647 rm -f conftest.
$ac_objext conftest
$ac_exeext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10649 (eval $ac_link) 2>conftest.er1
10651 grep -v '^ *+' conftest.er1
>conftest.err
10653 cat conftest.err
>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); } &&
10656 { ac_try
='test -z "$ac_cxx_werror_flag"
10657 || test ! -s conftest.err'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; } &&
10663 { ac_try
='test -s conftest$ac_exeext'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; }; then
10670 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10672 # Check for a 64-bit object if we didn't find anything.
10673 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; }
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.
$ac_ext >&5
10680 rm -f conftest.err conftest.
$ac_objext \
10681 conftest
$ac_exeext conftest.
$ac_ext
10682 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10684 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10685 # Warning - without using the other run time loading flags,
10686 # -berok will link without error, but may produce a broken library.
10687 no_undefined_flag_CXX
=' ${wl}-bernotok'
10688 allow_undefined_flag_CXX
=' ${wl}-berok'
10689 # Exported symbols can be pulled into shared objects from archives
10690 whole_archive_flag_spec_CXX
='$convenience'
10691 archive_cmds_need_lc_CXX
=yes
10692 # This is similar to how AIX traditionally builds its shared libraries.
10693 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10699 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
10700 allow_undefined_flag_CXX
=unsupported
10701 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10702 # support --undefined. This deserves some investigation. FIXME
10703 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10710 case $cc_basename in
10712 # FIXME: insert proper C++ library support
10718 cygwin
* | mingw
* | pw32
*)
10719 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10720 # as there is no search path for DLLs.
10721 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10722 allow_undefined_flag_CXX
=unsupported
10723 always_export_symbols_CXX
=no
10724 enable_shared_with_static_runtimes_CXX
=yes
10726 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
10727 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10728 # If the export-symbols file already is a .def file (1st line
10729 # is EXPORTS), use it as is; otherwise, prepend...
10730 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10731 cp $export_symbols $output_objdir/$soname.def;
10733 echo EXPORTS > $output_objdir/$soname.def;
10734 cat $export_symbols >> $output_objdir/$soname.def;
10736 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10741 darwin
* | rhapsody
*)
10743 rhapsody
* | darwin1.
[012])
10744 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
10747 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10748 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10750 case ${MACOSX_DEPLOYMENT_TARGET} in
10752 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10755 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
10761 archive_cmds_need_lc_CXX
=no
10762 hardcode_direct_CXX
=no
10763 hardcode_automatic_CXX
=yes
10764 hardcode_shlibpath_var_CXX
=unsupported
10765 whole_archive_flag_spec_CXX
=''
10766 link_all_deplibs_CXX
=yes
10768 if test "$GXX" = yes ; then
10769 lt_int_apple_cc_single_mod
=no
10770 output_verbose_link_cmd
='echo'
10771 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
10772 lt_int_apple_cc_single_mod
=yes
10774 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10775 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10777 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10779 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10780 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10781 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
10782 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}'
10784 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10786 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}'
10788 case $cc_basename in
10790 output_verbose_link_cmd
='echo'
10791 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10792 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10793 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10794 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10795 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}'
10805 case $cc_basename in
10807 # FIXME: insert proper C++ library support
10811 # Green Hills C++ Compiler
10812 # FIXME: insert proper C++ library support
10816 # FIXME: insert proper C++ library support
10822 # C++ shared libraries reported to be fairly broken before switch to ELF
10826 archive_cmds_need_lc_CXX
=no
10828 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10829 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10836 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10837 hardcode_libdir_separator_CXX
=:
10838 export_dynamic_flag_spec_CXX
='${wl}-E'
10839 hardcode_direct_CXX
=yes
10840 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10841 # but as the default
10842 # location of the library.
10844 case $cc_basename in
10846 # FIXME: insert proper C++ library support
10850 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'
10851 # Commands to make compiler produce verbose output that lists
10852 # what "hidden" libraries, object files and flags are used when
10853 # linking a shared library.
10855 # There doesn't appear to be a way to prevent this compiler from
10856 # explicitly linking system object files so we need to strip them
10857 # from the output so that they don't get included in the library
10859 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'
10862 if test "$GXX" = yes; then
10863 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'
10865 # FIXME: insert proper C++ library support
10872 if test $with_gnu_ld = no
; then
10873 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10874 hardcode_libdir_separator_CXX
=:
10878 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10881 export_dynamic_flag_spec_CXX
='${wl}-E'
10887 hardcode_direct_CXX
=no
10888 hardcode_shlibpath_var_CXX
=no
10891 hardcode_direct_CXX
=yes
10892 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10893 # but as the default
10894 # location of the library.
10898 case $cc_basename in
10900 # FIXME: insert proper C++ library support
10906 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10909 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10912 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10915 # Commands to make compiler produce verbose output that lists
10916 # what "hidden" libraries, object files and flags are used when
10917 # linking a shared library.
10919 # There doesn't appear to be a way to prevent this compiler from
10920 # explicitly linking system object files so we need to strip them
10921 # from the output so that they don't get included in the library
10923 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'
10926 if test "$GXX" = yes; then
10927 if test $with_gnu_ld = no
; then
10930 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10933 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10936 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'
10941 # FIXME: insert proper C++ library support
10948 hardcode_direct_CXX
=no
10949 hardcode_shlibpath_var_CXX
=no
10950 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10951 export_dynamic_flag_spec_CXX
='${wl}-E'
10952 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10953 # Instead, shared libraries are loaded at an image base (0x10000000 by
10954 # default) and relocated if they conflict, which is a slow very memory
10955 # consuming and fragmenting process. To avoid this, we pick a random,
10956 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10957 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10958 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10959 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10962 case $cc_basename in
10965 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10967 # Archives containing C++ object files must be created using
10968 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10969 # necessary to make sure instantiated templates are included
10971 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10974 if test "$GXX" = yes; then
10975 if test "$with_gnu_ld" = no
; then
10976 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10978 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'
10981 link_all_deplibs_CXX
=yes
10984 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10985 hardcode_libdir_separator_CXX
=:
10988 case $cc_basename in
10990 # Kuck and Associates, Inc. (KAI) C++ Compiler
10992 # KCC will only create a shared library if the output file
10993 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10994 # to its proper name (with version) after linking.
10995 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'
10996 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'
10997 # Commands to make compiler produce verbose output that lists
10998 # what "hidden" libraries, object files and flags are used when
10999 # linking a shared library.
11001 # There doesn't appear to be a way to prevent this compiler from
11002 # explicitly linking system object files so we need to strip them
11003 # from the output so that they don't get included in the library
11005 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'
11007 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11008 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11010 # Archives containing C++ object files must be created using
11011 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11012 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11017 # version 8.0 and above of icpc choke on multiply defined symbols
11018 # if we add $predep_objects and $postdep_objects, however 7.1 and
11019 # earlier do not add the objects themselves.
11020 case `$CC -V 2>&1` in
11022 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11023 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'
11025 *) # Version 8.0 or newer
11028 ia64
*) tmp_idyn
=' -i_dynamic';;
11030 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11031 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11034 archive_cmds_need_lc_CXX
=no
11035 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11036 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11037 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11040 # Portland Group C++ compiler
11041 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11042 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11044 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11045 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11046 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11050 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11051 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'
11053 runpath_var
=LD_RUN_PATH
11054 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11055 hardcode_libdir_separator_CXX
=:
11057 # Commands to make compiler produce verbose output that lists
11058 # what "hidden" libraries, object files and flags are used when
11059 # linking a shared library.
11061 # There doesn't appear to be a way to prevent this compiler from
11062 # explicitly linking system object files so we need to strip them
11063 # from the output so that they don't get included in the library
11065 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'
11070 # FIXME: insert proper C++ library support
11074 # FIXME: insert proper C++ library support
11078 case $cc_basename in
11080 # FIXME: insert proper C++ library support
11084 # FIXME: insert proper C++ library support
11090 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11091 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11093 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11094 hardcode_direct_CXX
=yes
11095 hardcode_shlibpath_var_CXX
=no
11097 # Workaround some broken pre-1.5 toolchains
11098 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11101 # C++ shared libraries are fairly broken
11105 hardcode_direct_CXX
=yes
11106 hardcode_shlibpath_var_CXX
=no
11107 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11108 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11109 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11110 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11111 export_dynamic_flag_spec_CXX
='${wl}-E'
11112 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11114 output_verbose_link_cmd
='echo'
11117 case $cc_basename in
11119 # Kuck and Associates, Inc. (KAI) C++ Compiler
11121 # KCC will only create a shared library if the output file
11122 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11123 # to its proper name (with version) after linking.
11124 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'
11126 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11127 hardcode_libdir_separator_CXX
=:
11129 # Archives containing C++ object files must be created using
11130 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11131 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11135 # Rational C++ 2.4.1
11136 # FIXME: insert proper C++ library support
11140 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11141 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11143 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11144 hardcode_libdir_separator_CXX
=:
11146 # Commands to make compiler produce verbose output that lists
11147 # what "hidden" libraries, object files and flags are used when
11148 # linking a shared library.
11150 # There doesn't appear to be a way to prevent this compiler from
11151 # explicitly linking system object files so we need to strip them
11152 # from the output so that they don't get included in the library
11154 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'
11157 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11158 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11159 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11161 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11162 hardcode_libdir_separator_CXX
=:
11164 # Commands to make compiler produce verbose output that lists
11165 # what "hidden" libraries, object files and flags are used when
11166 # linking a shared library.
11167 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11170 # FIXME: insert proper C++ library support
11177 case $cc_basename in
11179 # Kuck and Associates, Inc. (KAI) C++ Compiler
11181 # KCC will only create a shared library if the output file
11182 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11183 # to its proper name (with version) after linking.
11184 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'
11186 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11187 hardcode_libdir_separator_CXX
=:
11189 # Archives containing C++ object files must be created using
11190 # the KAI C++ compiler.
11191 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11194 # Rational C++ 2.4.1
11195 # FIXME: insert proper C++ library support
11199 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11200 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11201 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11202 echo "-hidden">> $lib.exp~
11203 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11206 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11207 hardcode_libdir_separator_CXX
=:
11209 # Commands to make compiler produce verbose output that lists
11210 # what "hidden" libraries, object files and flags are used when
11211 # linking a shared library.
11213 # There doesn't appear to be a way to prevent this compiler from
11214 # explicitly linking system object files so we need to strip them
11215 # from the output so that they don't get included in the library
11217 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'
11220 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11221 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11222 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11224 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11225 hardcode_libdir_separator_CXX
=:
11227 # Commands to make compiler produce verbose output that lists
11228 # what "hidden" libraries, object files and flags are used when
11229 # linking a shared library.
11230 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11233 # FIXME: insert proper C++ library support
11240 # FIXME: insert proper C++ library support
11244 case $cc_basename in
11247 # FIXME: insert proper C++ library support
11252 # FIXME: insert proper C++ library support
11256 # FIXME: insert proper C++ library support
11262 case $cc_basename in
11264 # Sun C++ 4.2, 5.x and Centerline C++
11265 archive_cmds_need_lc_CXX
=yes
11266 no_undefined_flag_CXX
=' -zdefs'
11267 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11268 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11269 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11271 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11272 hardcode_shlibpath_var_CXX
=no
11274 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11276 # The C++ compiler is used as linker so we must use $wl
11277 # flag to pass the commands to the underlying system
11278 # linker. We must also pass each convience library through
11279 # to the system linker between allextract/defaultextract.
11280 # The C++ compiler will combine linker options so we
11281 # cannot just pass the convience library names through
11283 # Supported since Solaris 2.6 (maybe 2.5.1?)
11284 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11287 link_all_deplibs_CXX
=yes
11289 output_verbose_link_cmd
='echo'
11291 # Archives containing C++ object files must be created using
11292 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11293 # necessary to make sure instantiated templates are included
11295 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11298 # Green Hills C++ Compiler
11299 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11301 # The C++ compiler must be used to create the archive.
11302 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11305 # GNU C++ compiler with Solaris linker
11306 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11307 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11308 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11309 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11310 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11311 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11313 # Commands to make compiler produce verbose output that lists
11314 # what "hidden" libraries, object files and flags are used when
11315 # linking a shared library.
11316 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11318 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11320 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11321 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11322 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11324 # Commands to make compiler produce verbose output that lists
11325 # what "hidden" libraries, object files and flags are used when
11326 # linking a shared library.
11327 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11330 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11335 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11336 no_undefined_flag_CXX
='${wl}-z,text'
11337 archive_cmds_need_lc_CXX
=no
11338 hardcode_shlibpath_var_CXX
=no
11339 runpath_var
='LD_RUN_PATH'
11341 case $cc_basename in
11343 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11344 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11347 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11348 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11352 sysv5
* | sco3.2v5
* | sco5v6
*)
11353 # Note: We can NOT use -z defs as we might desire, because we do not
11354 # link with -lc, and that would cause any symbols used from libc to
11355 # always be unresolved, which means just about no library would
11356 # ever link correctly. If we're not using GNU ld we use -z text
11357 # though, which does catch some bad symbols but isn't as heavy-handed
11359 # For security reasons, it is highly recommended that you always
11360 # use absolute paths for naming shared libraries, and exclude the
11361 # DT_RUNPATH tag from executables and libraries. But doing so
11362 # requires that you compile everything twice, which is a pain.
11363 # So that behaviour is only enabled if SCOABSPATH is set to a
11364 # non-empty value in the environment. Most likely only useful for
11365 # creating official distributions of packages.
11366 # This is a hack until libtool officially supports absolute path
11367 # names for shared libraries.
11368 no_undefined_flag_CXX
='${wl}-z,text'
11369 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11370 archive_cmds_need_lc_CXX
=no
11371 hardcode_shlibpath_var_CXX
=no
11372 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11373 hardcode_libdir_separator_CXX
=':'
11374 link_all_deplibs_CXX
=yes
11375 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11376 runpath_var
='LD_RUN_PATH'
11378 case $cc_basename in
11380 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11381 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11384 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11385 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11390 case $cc_basename in
11392 # NonStop-UX NCC 3.20
11393 # FIXME: insert proper C++ library support
11397 # FIXME: insert proper C++ library support
11403 # FIXME: insert proper C++ library support
11407 # FIXME: insert proper C++ library support
11411 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11412 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11413 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11419 cat > conftest.
$ac_ext <<EOF
11423 Foo (void) { a = 0; }
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; then
11434 # Parse the compiler output and extract the necessary
11435 # objects, libraries and library flags.
11437 # Sentinel used to keep track of whether or not we are before
11438 # the conftest object file.
11439 pre_test_object_deps_done
=no
11441 # The `*' in the case matches for architectures that use `case' in
11442 # $output_verbose_cmd can trigger glob expansion during the loop
11443 # eval without this substitution.
11444 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11446 for p
in `eval $output_verbose_link_cmd`; do
11450 # Some compilers place space between "-{L,R}" and the path.
11451 # Remove the space.
11452 if test $p = "-L" \
11453 ||
test $p = "-R"; then
11460 if test "$pre_test_object_deps_done" = no
; then
11463 # Internal compiler library paths should come after those
11464 # provided the user. The postdeps already come after the
11465 # user supplied libs so there is no need to process them.
11466 if test -z "$compiler_lib_search_path_CXX"; then
11467 compiler_lib_search_path_CXX
="${prev}${p}"
11469 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11472 # The "-l" case would never come before the object being
11473 # linked, so don't bother handling this case.
11476 if test -z "$postdeps_CXX"; then
11477 postdeps_CXX
="${prev}${p}"
11479 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11485 # This assumes that the test object file only shows up
11486 # once in the compiler output.
11487 if test "$p" = "conftest.$objext"; then
11488 pre_test_object_deps_done
=yes
11492 if test "$pre_test_object_deps_done" = no
; then
11493 if test -z "$predep_objects_CXX"; then
11494 predep_objects_CXX
="$p"
11496 predep_objects_CXX
="$predep_objects_CXX $p"
11499 if test -z "$postdep_objects_CXX"; then
11500 postdep_objects_CXX
="$p"
11502 postdep_objects_CXX
="$postdep_objects_CXX $p"
11507 *) ;; # Ignore the rest.
11515 echo "libtool.m4: error: problem compiling CXX test program"
11518 $rm -f confest.
$objext
11520 # PORTME: override above test on systems where it is broken
11523 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11524 # hack all around it, let's just trust "g++" to DTRT.
11525 predep_objects_CXX
=
11526 postdep_objects_CXX
=
11531 case $cc_basename in
11533 # Adding this requires a known-good setup of shared libraries for
11534 # Sun compiler versions before 5.6, else PIC objects from an old
11535 # archive will be linked into the output, leading to subtle bugs.
11536 postdeps_CXX
='-lCstd -lCrun'
11543 case " $postdeps_CXX " in
11544 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11547 lt_prog_compiler_wl_CXX
=
11548 lt_prog_compiler_pic_CXX
=
11549 lt_prog_compiler_static_CXX
=
11551 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11552 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11554 # C++ specific cases for pic, static, wl, etc.
11555 if test "$GXX" = yes; then
11556 lt_prog_compiler_wl_CXX
='-Wl,'
11557 lt_prog_compiler_static_CXX
='-static'
11561 # All AIX code is PIC.
11562 if test "$host_cpu" = ia64
; then
11563 # AIX 5 now supports IA64 processor
11564 lt_prog_compiler_static_CXX
='-Bstatic'
11568 # FIXME: we need at least 68020 code to build shared libraries, but
11569 # adding the `-m68020' flag to GCC prevents building anything better,
11571 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11573 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11574 # PIC is the default for these OSes.
11576 mingw
* | os2
* | pw32
*)
11577 # This hack is so that the source file can tell whether it is being
11578 # built for inclusion in a dll (and should export symbols for example).
11579 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11581 darwin
* | rhapsody
*)
11582 # PIC is the default on this platform
11583 # Common symbols not allowed in MH_DYLIB files
11584 lt_prog_compiler_pic_CXX
='-fno-common'
11587 # DJGPP does not support shared libraries at all
11588 lt_prog_compiler_pic_CXX
=
11591 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11592 # Instead, we relocate shared libraries at runtime.
11595 if test -d /usr
/nec
; then
11596 lt_prog_compiler_pic_CXX
=-Kconform_pic
11600 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11601 # not for PA HP-UX.
11606 lt_prog_compiler_pic_CXX
='-fPIC'
11611 lt_prog_compiler_pic_CXX
='-fPIC'
11617 # All AIX code is PIC.
11618 if test "$host_cpu" = ia64
; then
11619 # AIX 5 now supports IA64 processor
11620 lt_prog_compiler_static_CXX
='-Bstatic'
11622 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11626 case $cc_basename in
11628 # Green Hills C++ Compiler
11629 # _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"
11634 # PIC is the default on this platform
11635 # Common symbols not allowed in MH_DYLIB files
11636 case $cc_basename in
11638 lt_prog_compiler_pic_CXX
='-qnocommon'
11639 lt_prog_compiler_wl_CXX
='-Wl,'
11644 case $cc_basename in
11646 lt_prog_compiler_pic_CXX
='-KPIC'
11649 # Green Hills C++ Compiler
11650 lt_prog_compiler_pic_CXX
='-pic'
11656 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11657 # FreeBSD uses GNU C++
11659 hpux9
* | hpux10
* | hpux11
*)
11660 case $cc_basename in
11662 lt_prog_compiler_wl_CXX
='-Wl,'
11663 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11664 if test "$host_cpu" != ia64
; then
11665 lt_prog_compiler_pic_CXX
='+Z'
11669 lt_prog_compiler_wl_CXX
='-Wl,'
11670 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11676 lt_prog_compiler_pic_CXX
='+Z'
11685 # This is c89, which is MS Visual C++ (no shared libs)
11686 # Anyone wants to do a port?
11688 irix5
* | irix6
* | nonstopux
*)
11689 case $cc_basename in
11691 lt_prog_compiler_wl_CXX
='-Wl,'
11692 lt_prog_compiler_static_CXX
='-non_shared'
11693 # CC pic flag -KPIC is the default.
11700 case $cc_basename in
11703 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11704 lt_prog_compiler_pic_CXX
='-fPIC'
11708 lt_prog_compiler_wl_CXX
='-Wl,'
11709 lt_prog_compiler_pic_CXX
='-KPIC'
11710 lt_prog_compiler_static_CXX
='-static'
11713 # Portland Group C++ compiler.
11714 lt_prog_compiler_wl_CXX
='-Wl,'
11715 lt_prog_compiler_pic_CXX
='-fpic'
11716 lt_prog_compiler_static_CXX
='-Bstatic'
11720 # Make sure the PIC flag is empty. It appears that all Alpha
11721 # Linux and Compaq Tru64 Unix objects are PIC.
11722 lt_prog_compiler_pic_CXX
=
11723 lt_prog_compiler_static_CXX
='-non_shared'
11734 case $cc_basename in
11736 lt_prog_compiler_pic_CXX
='-W c,exportall'
11744 osf3
* | osf4
* | osf5
*)
11745 case $cc_basename in
11747 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11750 # Rational C++ 2.4.1
11751 lt_prog_compiler_pic_CXX
='-pic'
11754 # Digital/Compaq C++
11755 lt_prog_compiler_wl_CXX
='-Wl,'
11756 # Make sure the PIC flag is empty. It appears that all Alpha
11757 # Linux and Compaq Tru64 Unix objects are PIC.
11758 lt_prog_compiler_pic_CXX
=
11759 lt_prog_compiler_static_CXX
='-non_shared'
11768 case $cc_basename in
11770 # Sun C++ 4.2, 5.x and Centerline C++
11771 lt_prog_compiler_pic_CXX
='-KPIC'
11772 lt_prog_compiler_static_CXX
='-Bstatic'
11773 lt_prog_compiler_wl_CXX
='-Qoption ld '
11776 # Green Hills C++ Compiler
11777 lt_prog_compiler_pic_CXX
='-PIC'
11784 case $cc_basename in
11787 lt_prog_compiler_pic_CXX
='-pic'
11788 lt_prog_compiler_static_CXX
='-Bstatic'
11792 lt_prog_compiler_pic_CXX
='-pic'
11799 case $cc_basename in
11801 # NonStop-UX NCC 3.20
11802 lt_prog_compiler_pic_CXX
='-KPIC'
11808 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11809 case $cc_basename in
11811 lt_prog_compiler_wl_CXX
='-Wl,'
11812 lt_prog_compiler_pic_CXX
='-KPIC'
11813 lt_prog_compiler_static_CXX
='-Bstatic'
11820 lt_prog_compiler_can_build_shared_CXX
=no
11825 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11826 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11829 # Check to make sure the PIC flag actually works.
11831 if test -n "$lt_prog_compiler_pic_CXX"; then
11833 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11834 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11835 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 lt_prog_compiler_pic_works_CXX
=no
11839 ac_outfile
=conftest.
$ac_objext
11840 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11841 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11842 # Insert the option either (1) after the last *FLAGS variable, or
11843 # (2) before a word containing "conftest.", or (3) at the end.
11844 # Note that $ac_compile itself does not contain backslashes and begins
11845 # with a dollar sign (not a hyphen), so the echo should work correctly.
11846 # The option is referenced via a variable to avoid confusing sed.
11847 lt_compile
=`echo "$ac_compile" | $SED \
11848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11850 -e 's:$: $lt_compiler_flag:'`
11851 (eval echo "\"\$as_me:11851: $lt_compile\"" >&5)
11852 (eval "$lt_compile" 2>conftest.err
)
11854 cat conftest.err
>&5
11855 echo "$as_me:11855: \$? = $ac_status" >&5
11856 if (exit $ac_status) && test -s "$ac_outfile"; then
11857 # The compiler can only warn and ignore the option if not recognized
11858 # So say no if there are warnings other than the usual output.
11859 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11860 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11861 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11862 lt_prog_compiler_pic_works_CXX
=yes
11868 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11869 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11871 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11872 case $lt_prog_compiler_pic_CXX in
11874 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11877 lt_prog_compiler_pic_CXX
=
11878 lt_prog_compiler_can_build_shared_CXX
=no
11883 # For platforms which do not support PIC, -DPIC is meaningless:
11885 lt_prog_compiler_pic_CXX
=
11888 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11893 # Check to make sure the static flag actually works.
11895 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11896 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11897 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11898 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 lt_prog_compiler_static_works_CXX
=no
11902 save_LDFLAGS
="$LDFLAGS"
11903 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11904 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
11905 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11906 # The linker can only warn and ignore the option if not recognized
11907 # So say no if there are warnings
11908 if test -s conftest.err
; then
11909 # Append any errors to the config.log.
11910 cat conftest.err
1>&5
11911 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11912 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11913 if diff conftest.exp conftest.er2
>/dev
/null
; then
11914 lt_prog_compiler_static_works_CXX
=yes
11917 lt_prog_compiler_static_works_CXX
=yes
11921 LDFLAGS
="$save_LDFLAGS"
11924 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11925 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11927 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11930 lt_prog_compiler_static_CXX
=
11934 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11935 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11936 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11937 echo $ECHO_N "(cached) $ECHO_C" >&6
11939 lt_cv_prog_compiler_c_o_CXX
=no
11940 $rm -r conftest
2>/dev
/null
11944 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11946 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11947 # Insert the option either (1) after the last *FLAGS variable, or
11948 # (2) before a word containing "conftest.", or (3) at the end.
11949 # Note that $ac_compile itself does not contain backslashes and begins
11950 # with a dollar sign (not a hyphen), so the echo should work correctly.
11951 lt_compile
=`echo "$ac_compile" | $SED \
11952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11954 -e 's:$: $lt_compiler_flag:'`
11955 (eval echo "\"\$as_me:11955: $lt_compile\"" >&5)
11956 (eval "$lt_compile" 2>out
/conftest.err
)
11958 cat out
/conftest.err
>&5
11959 echo "$as_me:11959: \$? = $ac_status" >&5
11960 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11962 # The compiler can only warn and ignore the option if not recognized
11963 # So say no if there are warnings
11964 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11965 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11966 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11967 lt_cv_prog_compiler_c_o_CXX
=yes
11972 # SGI C++ compiler will create directory out/ii_files/ for
11973 # template instantiation
11974 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11975 $rm out
/* && rmdir out
11981 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11982 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11985 hard_links
="nottested"
11986 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11987 # do not overwrite the value of need_locks provided by the user
11988 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11989 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11992 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11994 ln conftest.a conftest.b
2>&5 || hard_links
=no
11995 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11996 echo "$as_me:$LINENO: result: $hard_links" >&5
11997 echo "${ECHO_T}$hard_links" >&6
11998 if test "$hard_links" = no
; then
11999 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12000 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12007 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12008 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12010 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12013 # If we're using GNU nm, then we don't want the "-C" option.
12014 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12015 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12016 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'
12018 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'
12022 export_symbols_cmds_CXX
="$ltdll_cmds"
12025 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12028 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12032 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12033 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12034 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12037 # Do we need to explicitly link libc?
12039 case "x$archive_cmds_need_lc_CXX" in
12041 # Assume -lc should be added
12042 archive_cmds_need_lc_CXX
=yes
12044 if test "$enable_shared" = yes && test "$GCC" = yes; then
12045 case $archive_cmds_CXX in
12047 # FIXME: we may have to deal with multi-command sequences.
12050 # Test whether the compiler implicitly links with -lc since on some
12051 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12052 # to ld, don't add -lc before -lgcc.
12053 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12054 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12056 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12059 (eval $ac_compile) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } 2>conftest.err
; then
12065 libobjs
=conftest.
$ac_objext
12067 wl
=$lt_prog_compiler_wl_CXX
12068 pic_flag
=$lt_prog_compiler_pic_CXX
12074 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12075 allow_undefined_flag_CXX
=
12076 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12077 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }
12082 archive_cmds_need_lc_CXX
=no
12084 archive_cmds_need_lc_CXX
=yes
12086 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12088 cat conftest.err
1>&5
12091 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12092 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12099 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12100 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12101 library_names_spec
=
12102 libname_spec
='lib$name'
12106 postuninstall_cmds
=
12110 shlibpath_overrides_runpath
=unknown
12112 dynamic_linker
="$host_os ld.so"
12113 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12114 if test "$GCC" = yes; then
12115 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12116 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12117 # if the path contains ";" then we assume it to be the separator
12118 # otherwise default to the standard path separator (i.e. ":") - it is
12119 # assumed that no part of a normal pathname contains ";" but that should
12120 # okay in the real world where ";" in dirpaths is itself problematic.
12121 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12123 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12126 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12128 need_lib_prefix
=unknown
12129 hardcode_into_libs
=no
12131 # when you set need_version to no, make sure it does not cause -set_version
12132 # flags to be left without arguments
12133 need_version
=unknown
12138 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12139 shlibpath_var
=LIBPATH
12141 # AIX 3 has no versioning support, so we append a major version to the name.
12142 soname_spec
='${libname}${release}${shared_ext}$major'
12149 hardcode_into_libs
=yes
12150 if test "$host_cpu" = ia64
; then
12151 # AIX 5 supports IA64
12152 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12153 shlibpath_var
=LD_LIBRARY_PATH
12155 # With GCC up to 2.95.x, collect2 would create an import file
12156 # for dependence libraries. The import file would start with
12157 # the line `#! .'. This would cause the generated library to
12158 # depend on `.', always an invalid library. This was fixed in
12159 # development snapshots of GCC prior to 3.0.
12161 aix4 | aix4.
[01] | aix4.
[01].
*)
12162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12164 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12167 can_build_shared
=no
12171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12172 # soname into executable. Probably we can add versioning support to
12173 # collect2, so additional links can be useful in future.
12174 if test "$aix_use_runtimelinking" = yes; then
12175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12176 # instead of lib<name>.a to let people know that these are not
12177 # typical AIX shared libraries.
12178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12180 # We preserve .a as extension for shared libraries through AIX4.2
12181 # and later when we are not doing run time linking.
12182 library_names_spec
='${libname}${release}.a $libname.a'
12183 soname_spec
='${libname}${release}${shared_ext}$major'
12185 shlibpath_var
=LIBPATH
12190 library_names_spec
='$libname.ixlibrary $libname.a'
12191 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12192 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'
12196 library_names_spec
='${libname}${shared_ext}'
12197 dynamic_linker
="$host_os ld.so"
12198 shlibpath_var
=LIBRARY_PATH
12204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12205 soname_spec
='${libname}${release}${shared_ext}$major'
12206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12207 shlibpath_var
=LD_LIBRARY_PATH
12208 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12209 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12210 # the default ld.so.conf also contains /usr/contrib/lib and
12211 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12212 # libtool to hard-code these into programs
12215 cygwin
* | mingw
* | pw32
*)
12216 version_type
=windows
12221 case $GCC,$host_os in
12222 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12223 library_names_spec
='$libname.dll.a'
12224 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12225 postinstall_cmds
='base_file=`basename \${file}`~
12226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12227 dldir=$destdir/`dirname \$dlpath`~
12228 test -d \$dldir || mkdir -p \$dldir~
12229 $install_prog $dir/$dlname \$dldir/$dlname~
12230 chmod a+x \$dldir/$dlname'
12231 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12232 dlpath=$dir/\$dldll~
12234 shlibpath_overrides_runpath
=yes
12238 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12239 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12240 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12243 # MinGW DLLs use traditional 'lib' prefix
12244 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12245 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12246 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12247 # It is most probably a Windows format PATH printed by
12248 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12249 # path with ; separators, and with drive letters. We can handle the
12250 # drive letters (cygwin fileutils understands them), so leave them,
12251 # especially as we might pass files found there to a mingw objdump,
12252 # which wouldn't understand a cygwinified path. Ahh.
12253 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12255 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12259 # pw32 DLLs use 'pw' prefix rather than 'lib'
12260 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12266 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12269 dynamic_linker
='Win32 ld.exe'
12270 # FIXME: first we should search . and the directory the executable is in
12274 darwin
* | rhapsody
*)
12275 dynamic_linker
="$host_os dyld"
12276 version_type
=darwin
12279 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12280 soname_spec
='${libname}${release}${major}$shared_ext'
12281 shlibpath_overrides_runpath
=yes
12282 shlibpath_var
=DYLD_LIBRARY_PATH
12283 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12284 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12285 if test "$GCC" = yes; then
12286 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"`
12288 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12290 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12298 soname_spec
='${libname}${release}${shared_ext}$major'
12299 shlibpath_var
=LD_LIBRARY_PATH
12310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12311 soname_spec
='${libname}${release}${shared_ext}$major'
12312 shlibpath_var
=LD_LIBRARY_PATH
12313 shlibpath_overrides_runpath
=no
12314 hardcode_into_libs
=yes
12315 dynamic_linker
='GNU ld.so'
12318 freebsd
* | dragonfly
*)
12319 # DragonFly does not have aout. When/if they implement a new
12320 # versioning mechanism, adjust this.
12321 if test -x /usr
/bin
/objformat
; then
12322 objformat
=`/usr/bin/objformat`
12325 freebsd
[123]*) objformat
=aout
;;
12326 *) objformat
=elf
;;
12329 version_type
=freebsd-
$objformat
12330 case $version_type in
12332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12337 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12341 shlibpath_var
=LD_LIBRARY_PATH
12344 shlibpath_overrides_runpath
=yes
12346 freebsd3.
[01]* | freebsdelf3.
[01]*)
12347 shlibpath_overrides_runpath
=yes
12348 hardcode_into_libs
=yes
12350 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12351 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12352 shlibpath_overrides_runpath
=no
12353 hardcode_into_libs
=yes
12355 freebsd
*) # from 4.6 on
12356 shlibpath_overrides_runpath
=yes
12357 hardcode_into_libs
=yes
12366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12367 soname_spec
='${libname}${release}${shared_ext}$major'
12368 shlibpath_var
=LD_LIBRARY_PATH
12369 hardcode_into_libs
=yes
12372 hpux9
* | hpux10
* | hpux11
*)
12373 # Give a soname corresponding to the major version so that dld.sl refuses to
12374 # link against other versions.
12381 hardcode_into_libs
=yes
12382 dynamic_linker
="$host_os dld.so"
12383 shlibpath_var
=LD_LIBRARY_PATH
12384 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12386 soname_spec
='${libname}${release}${shared_ext}$major'
12387 if test "X$HPUX_IA64_MODE" = X32
; then
12388 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12390 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12392 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12396 hardcode_into_libs
=yes
12397 dynamic_linker
="$host_os dld.sl"
12398 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12401 soname_spec
='${libname}${release}${shared_ext}$major'
12402 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12403 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12407 dynamic_linker
="$host_os dld.sl"
12408 shlibpath_var
=SHLIB_PATH
12409 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12411 soname_spec
='${libname}${release}${shared_ext}$major'
12414 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12415 postinstall_cmds
='chmod 555 $lib'
12422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12423 soname_spec
='${libname}${release}${shared_ext}$major'
12424 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 shlibpath_overrides_runpath
=no
12427 hardcode_into_libs
=yes
12430 irix5
* | irix6
* | nonstopux
*)
12432 nonstopux
*) version_type
=nonstopux
;;
12434 if test "$lt_cv_prog_gnu_ld" = yes; then
12442 soname_spec
='${libname}${release}${shared_ext}$major'
12443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12445 irix5
* | nonstopux
*)
12446 libsuff
= shlibsuff
=
12449 case $LD in # libtool.m4 will add one of these switches to LD
12450 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12451 libsuff
= shlibsuff
= libmagic
=32-bit;;
12452 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12453 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12454 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12455 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12456 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12460 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12461 shlibpath_overrides_runpath
=no
12462 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12463 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12464 hardcode_into_libs
=yes
12467 # No shared lib support for Linux oldld, aout, or coff.
12468 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12472 # This must be Linux ELF.
12477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12478 soname_spec
='${libname}${release}${shared_ext}$major'
12479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12480 shlibpath_var
=LD_LIBRARY_PATH
12481 shlibpath_overrides_runpath
=no
12482 # This implies no fast_install, which is unacceptable.
12483 # Some rework will be needed to allow for fast_install
12484 # before this can be enabled.
12485 hardcode_into_libs
=yes
12487 # find out which ABI we are using
12489 case "$host_cpu" in
12490 x86_64
*|s390x
*|powerpc64
*)
12491 echo '#line 12491 "configure"' > conftest.
$ac_ext
12492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12493 (eval $ac_compile) 2>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; then
12497 case `/usr/bin/file conftest.$ac_objext` in
12500 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12508 # Append ld.so.conf contents to the search path
12509 if test -f /etc
/ld.so.conf
; then
12510 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12511 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12514 # We used to test for /lib/ld.so.1 and disable shared libraries on
12515 # powerpc, because MkLinux only supported shared libraries with the
12516 # GNU dynamic linker. Since this was broken with cross compilers,
12517 # most powerpc-linux boxes support dynamic linking these days and
12518 # people can always --disable-shared, the test was removed, and we
12519 # assume the GNU/Linux dynamic linker is in use.
12520 dynamic_linker
='GNU/Linux ld.so'
12527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12528 soname_spec
='${libname}${release}${shared_ext}$major'
12529 shlibpath_var
=LD_LIBRARY_PATH
12530 shlibpath_overrides_runpath
=no
12531 hardcode_into_libs
=yes
12532 dynamic_linker
='GNU ld.so'
12539 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12541 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12542 dynamic_linker
='NetBSD (a.out) ld.so'
12544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12545 soname_spec
='${libname}${release}${shared_ext}$major'
12546 dynamic_linker
='NetBSD ld.elf_so'
12548 shlibpath_var
=LD_LIBRARY_PATH
12549 shlibpath_overrides_runpath
=yes
12550 hardcode_into_libs
=yes
12555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12556 shlibpath_var
=LD_LIBRARY_PATH
12557 shlibpath_overrides_runpath
=yes
12564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12565 soname_spec
='${libname}${release}${shared_ext}$major'
12566 shlibpath_var
=LD_LIBRARY_PATH
12567 shlibpath_overrides_runpath
=yes
12572 sys_lib_dlsearch_path_spec
="/usr/lib"
12574 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12576 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12577 *) need_version
=no
;;
12579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12580 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12581 shlibpath_var
=LD_LIBRARY_PATH
12582 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12584 openbsd2.
[89] | openbsd2.
[89].
*)
12585 shlibpath_overrides_runpath
=no
12588 shlibpath_overrides_runpath
=yes
12592 shlibpath_overrides_runpath
=yes
12597 libname_spec
='$name'
12600 library_names_spec
='$libname${shared_ext} $libname.a'
12601 dynamic_linker
='OS/2 ld.exe'
12602 shlibpath_var
=LIBPATH
12605 osf3
* | osf4
* | osf5
*)
12609 soname_spec
='${libname}${release}${shared_ext}$major'
12610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12611 shlibpath_var
=LD_LIBRARY_PATH
12612 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12613 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12621 soname_spec
='${libname}${release}${shared_ext}$major'
12622 shlibpath_var
=LD_LIBRARY_PATH
12623 shlibpath_overrides_runpath
=yes
12624 hardcode_into_libs
=yes
12625 # ldd complains unless libraries are executable
12626 postinstall_cmds
='chmod +x $lib'
12631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12632 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12633 shlibpath_var
=LD_LIBRARY_PATH
12634 shlibpath_overrides_runpath
=yes
12635 if test "$with_gnu_ld" = yes; then
12643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12644 soname_spec
='${libname}${release}${shared_ext}$major'
12645 shlibpath_var
=LD_LIBRARY_PATH
12646 case $host_vendor in
12648 shlibpath_overrides_runpath
=no
12650 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12651 runpath_var
=LD_RUN_PATH
12659 shlibpath_overrides_runpath
=no
12660 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12666 if test -d /usr
/nec
;then
12668 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12669 soname_spec
='$libname${shared_ext}.$major'
12670 shlibpath_var
=LD_LIBRARY_PATH
12674 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12675 version_type
=freebsd-elf
12678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12679 soname_spec
='${libname}${release}${shared_ext}$major'
12680 shlibpath_var
=LD_LIBRARY_PATH
12681 hardcode_into_libs
=yes
12682 if test "$with_gnu_ld" = yes; then
12683 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12684 shlibpath_overrides_runpath
=no
12686 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12687 shlibpath_overrides_runpath
=yes
12690 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12694 sys_lib_dlsearch_path_spec
='/usr/lib'
12699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12700 soname_spec
='${libname}${release}${shared_ext}$major'
12701 shlibpath_var
=LD_LIBRARY_PATH
12708 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12709 echo "${ECHO_T}$dynamic_linker" >&6
12710 test "$dynamic_linker" = no
&& can_build_shared
=no
12712 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12713 if test "$GCC" = yes; then
12714 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12717 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12718 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12719 hardcode_action_CXX
=
12720 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12721 test -n "$runpath_var_CXX" || \
12722 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12724 # We can hardcode non-existant directories.
12725 if test "$hardcode_direct_CXX" != no
&&
12726 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12727 # have to relink, otherwise we might link with an installed library
12728 # when we should be linking with a yet-to-be-installed one
12729 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12730 test "$hardcode_minus_L_CXX" != no
; then
12731 # Linking always hardcodes the temporary library directory.
12732 hardcode_action_CXX
=relink
12734 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12735 hardcode_action_CXX
=immediate
12738 # We cannot hardcode anything, or else we can only hardcode existing
12740 hardcode_action_CXX
=unsupported
12742 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12743 echo "${ECHO_T}$hardcode_action_CXX" >&6
12745 if test "$hardcode_action_CXX" = relink
; then
12746 # Fast installation is not supported
12747 enable_fast_install
=no
12748 elif test "$shlibpath_overrides_runpath" = yes ||
12749 test "$enable_shared" = no
; then
12750 # Fast installation is not necessary
12751 enable_fast_install
=needless
12755 # The else clause should only fire when bootstrapping the
12756 # libtool distribution, otherwise you forgot to ship ltmain.sh
12757 # with your package, and you will get complaints that there are
12758 # no rules to generate ltmain.sh.
12759 if test -f "$ltmain"; then
12760 # See if we are running on zsh, and set the options which allow our commands through
12761 # without removal of \ escapes.
12762 if test -n "${ZSH_VERSION+set}" ; then
12763 setopt NO_GLOB_SUBST
12765 # Now quote all the things that may contain metacharacters while being
12766 # careful not to overquote the AC_SUBSTed values. We take copies of the
12767 # variables and quote the copies for generation of the libtool script.
12768 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12770 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12771 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12772 deplibs_check_method reload_flag reload_cmds need_locks \
12773 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12774 lt_cv_sys_global_symbol_to_c_name_address \
12775 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12776 old_postinstall_cmds old_postuninstall_cmds \
12780 lt_prog_compiler_wl_CXX \
12781 lt_prog_compiler_pic_CXX \
12782 lt_prog_compiler_static_CXX \
12783 lt_prog_compiler_no_builtin_flag_CXX \
12784 export_dynamic_flag_spec_CXX \
12785 thread_safe_flag_spec_CXX \
12786 whole_archive_flag_spec_CXX \
12787 enable_shared_with_static_runtimes_CXX \
12788 old_archive_cmds_CXX \
12789 old_archive_from_new_cmds_CXX \
12790 predep_objects_CXX \
12791 postdep_objects_CXX \
12794 compiler_lib_search_path_CXX \
12796 archive_expsym_cmds_CXX \
12797 postinstall_cmds_CXX \
12798 postuninstall_cmds_CXX \
12799 old_archive_from_expsyms_cmds_CXX \
12800 allow_undefined_flag_CXX \
12801 no_undefined_flag_CXX \
12802 export_symbols_cmds_CXX \
12803 hardcode_libdir_flag_spec_CXX \
12804 hardcode_libdir_flag_spec_ld_CXX \
12805 hardcode_libdir_separator_CXX \
12806 hardcode_automatic_CXX \
12808 module_expsym_cmds_CXX \
12809 lt_cv_prog_compiler_c_o_CXX \
12810 exclude_expsyms_CXX \
12811 include_expsyms_CXX
; do
12814 old_archive_cmds_CXX | \
12815 old_archive_from_new_cmds_CXX | \
12816 archive_cmds_CXX | \
12817 archive_expsym_cmds_CXX | \
12818 module_cmds_CXX | \
12819 module_expsym_cmds_CXX | \
12820 old_archive_from_expsyms_cmds_CXX | \
12821 export_symbols_cmds_CXX | \
12822 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12823 postinstall_cmds | postuninstall_cmds | \
12824 old_postinstall_cmds | old_postuninstall_cmds | \
12825 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12826 # Double-quote double-evaled strings.
12827 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12830 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12836 *'\$0 --fallback-echo"')
12837 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12843 cat <<__EOF__ >> "$cfgfile"
12844 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12846 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12848 # Shell to use when invoking shell scripts.
12851 # Whether or not to build shared libraries.
12852 build_libtool_libs=$enable_shared
12854 # Whether or not to build static libraries.
12855 build_old_libs=$enable_static
12857 # Whether or not to add -lc for building shared libraries.
12858 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12860 # Whether or not to disallow shared libs when runtime libs are static
12861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12863 # Whether or not to optimize for fast installation.
12864 fast_install=$enable_fast_install
12867 host_alias=$host_alias
12871 # The build system.
12872 build_alias=$build_alias
12876 # An echo program that does not interpret backslashes.
12881 AR_FLAGS=$lt_AR_FLAGS
12886 # LTCC compiler flags.
12887 LTCFLAGS=$lt_LTCFLAGS
12889 # A language-specific compiler.
12890 CC=$lt_compiler_CXX
12892 # Is the compiler the GNU C compiler?
12895 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12896 gcc_ver=\`gcc -dumpversion\`
12901 # The linker used to build libraries.
12904 # Whether we need hard or soft links.
12907 # A BSD-compatible nm program.
12910 # A symbol stripping program
12913 # Used to examine libraries when file_magic_cmd begins "file"
12914 MAGIC_CMD=$MAGIC_CMD
12916 # Used on cygwin: DLL creation program.
12919 # Used on cygwin: object dumper.
12922 # Used on cygwin: assembler.
12925 # The name of the directory that contains temporary libtool files.
12928 # How to create reloadable object files.
12929 reload_flag=$lt_reload_flag
12930 reload_cmds=$lt_reload_cmds
12932 # How to pass a linker flag through the compiler.
12933 wl=$lt_lt_prog_compiler_wl_CXX
12935 # Object file suffix (normally "o").
12936 objext="$ac_objext"
12938 # Old archive suffix (normally "a").
12941 # Shared library suffix (normally ".so").
12942 shrext_cmds='$shrext_cmds'
12944 # Executable file suffix (normally "").
12947 # Additional compiler flags for building library objects.
12948 pic_flag=$lt_lt_prog_compiler_pic_CXX
12951 # What is the maximum length of a command?
12952 max_cmd_len=$lt_cv_sys_max_cmd_len
12954 # Does compiler simultaneously support -c and -o options?
12955 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12957 # Must we lock files when doing compilation?
12958 need_locks=$lt_need_locks
12960 # Do we need the lib prefix for modules?
12961 need_lib_prefix=$need_lib_prefix
12963 # Do we need a version for libraries?
12964 need_version=$need_version
12966 # Whether dlopen is supported.
12967 dlopen_support=$enable_dlopen
12969 # Whether dlopen of programs is supported.
12970 dlopen_self=$enable_dlopen_self
12972 # Whether dlopen of statically linked programs is supported.
12973 dlopen_self_static=$enable_dlopen_self_static
12975 # Compiler flag to prevent dynamic linking.
12976 link_static_flag=$lt_lt_prog_compiler_static_CXX
12978 # Compiler flag to turn off builtin functions.
12979 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12981 # Compiler flag to allow reflexive dlopens.
12982 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12984 # Compiler flag to generate shared objects directly from archives.
12985 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12987 # Compiler flag to generate thread-safe objects.
12988 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12990 # Library versioning type.
12991 version_type=$version_type
12993 # Format of library name prefix.
12994 libname_spec=$lt_libname_spec
12996 # List of archive names. First name is the real one, the rest are links.
12997 # The last name is the one that the linker finds with -lNAME.
12998 library_names_spec=$lt_library_names_spec
13000 # The coded name of the library, if different from the real name.
13001 soname_spec=$lt_soname_spec
13003 # Commands used to build and install an old-style archive.
13005 old_archive_cmds=$lt_old_archive_cmds_CXX
13006 old_postinstall_cmds=$lt_old_postinstall_cmds
13007 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13009 # Create an old-style archive from a shared archive.
13010 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13012 # Create a temporary old-style archive to link instead of a shared archive.
13013 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13015 # Commands used to build and install a shared archive.
13016 archive_cmds=$lt_archive_cmds_CXX
13017 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13018 postinstall_cmds=$lt_postinstall_cmds
13019 postuninstall_cmds=$lt_postuninstall_cmds
13021 # Commands used to build a loadable module (assumed same as above if empty)
13022 module_cmds=$lt_module_cmds_CXX
13023 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13025 # Commands to strip libraries.
13026 old_striplib=$lt_old_striplib
13027 striplib=$lt_striplib
13029 # Dependencies to place before the objects being linked to create a
13031 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13033 # Dependencies to place after the objects being linked to create a
13035 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13037 # Dependencies to place before the objects being linked to create a
13039 predeps=$lt_predeps_CXX
13041 # Dependencies to place after the objects being linked to create a
13043 postdeps=$lt_postdeps_CXX
13045 # The library search path used internally by the compiler when linking
13046 # a shared library.
13047 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13049 # Method to check whether dependent libraries are shared objects.
13050 deplibs_check_method=$lt_deplibs_check_method
13052 # Command to use when deplibs_check_method == file_magic.
13053 file_magic_cmd=$lt_file_magic_cmd
13055 # Flag that allows shared libraries with undefined symbols to be built.
13056 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13058 # Flag that forces no undefined symbols.
13059 no_undefined_flag=$lt_no_undefined_flag_CXX
13061 # Commands used to finish a libtool library installation in a directory.
13062 finish_cmds=$lt_finish_cmds
13064 # Same as above, but a single script fragment to be evaled but not shown.
13065 finish_eval=$lt_finish_eval
13067 # Take the output of nm and produce a listing of raw symbols and C names.
13068 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13070 # Transform the output of nm in a proper C declaration
13071 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13073 # Transform the output of nm in a C name address pair
13074 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13076 # This is the shared library runtime path variable.
13077 runpath_var=$runpath_var
13079 # This is the shared library path variable.
13080 shlibpath_var=$shlibpath_var
13082 # Is shlibpath searched before the hard-coded library search path?
13083 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13085 # How to hardcode a shared library path into an executable.
13086 hardcode_action=$hardcode_action_CXX
13088 # Whether we should hardcode library paths into libraries.
13089 hardcode_into_libs=$hardcode_into_libs
13091 # Flag to hardcode \$libdir into a binary during linking.
13092 # This must work even if \$libdir does not exist.
13093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13095 # If ld is used when linking, flag to hardcode \$libdir into
13096 # a binary during linking. This must work even if \$libdir does
13098 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13100 # Whether we need a single -rpath flag with a separated argument.
13101 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13103 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13104 # resulting binary.
13105 hardcode_direct=$hardcode_direct_CXX
13107 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13108 # resulting binary.
13109 hardcode_minus_L=$hardcode_minus_L_CXX
13111 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13112 # the resulting binary.
13113 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13115 # Set to yes if building a shared library automatically hardcodes DIR into the library
13116 # and all subsequent libraries and executables linked against it.
13117 hardcode_automatic=$hardcode_automatic_CXX
13119 # Variables whose values should be saved in libtool wrapper scripts and
13120 # restored at relink time.
13121 variables_saved_for_relink="$variables_saved_for_relink"
13123 # Whether libtool must link a program against all its dependency libraries.
13124 link_all_deplibs=$link_all_deplibs_CXX
13126 # Compile-time system search path for libraries
13127 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13129 # Run-time system search path for libraries
13130 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13132 # Fix the shell variable \$srcfile for the compiler.
13133 fix_srcfile_path="$fix_srcfile_path_CXX"
13135 # Set to yes if exported symbols are required.
13136 always_export_symbols=$always_export_symbols_CXX
13138 # The commands to list exported symbols.
13139 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13141 # The commands to extract the exported symbol list from a shared archive.
13142 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13144 # Symbols that should not be listed in the preloaded symbols.
13145 exclude_expsyms=$lt_exclude_expsyms_CXX
13147 # Symbols that must always be exported.
13148 include_expsyms=$lt_include_expsyms_CXX
13150 # ### END LIBTOOL TAG CONFIG: $tagname
13156 # If there is no Makefile yet, we rely on a make rule to execute
13157 # `config.status --recheck' to rerun these tests and create the
13158 # libtool script then.
13159 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13160 if test -f "$ltmain_in"; then
13161 test -f Makefile
&& make "$ltmain"
13167 ac_cpp
='$CPP $CPPFLAGS'
13168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13176 with_gnu_ldcxx
=$with_gnu_ld
13177 with_gnu_ld
=$lt_save_with_gnu_ld
13178 lt_cv_path_LDCXX
=$lt_cv_path_LD
13179 lt_cv_path_LD
=$lt_save_path_LD
13180 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13181 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13189 if test -n "$F77" && test "X$F77" != "Xno"; then
13192 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13193 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13194 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13197 archive_cmds_need_lc_F77
=no
13198 allow_undefined_flag_F77
=
13199 always_export_symbols_F77
=no
13200 archive_expsym_cmds_F77
=
13201 export_dynamic_flag_spec_F77
=
13202 hardcode_direct_F77
=no
13203 hardcode_libdir_flag_spec_F77
=
13204 hardcode_libdir_flag_spec_ld_F77
=
13205 hardcode_libdir_separator_F77
=
13206 hardcode_minus_L_F77
=no
13207 hardcode_automatic_F77
=no
13209 module_expsym_cmds_F77
=
13210 link_all_deplibs_F77
=unknown
13211 old_archive_cmds_F77
=$old_archive_cmds
13212 no_undefined_flag_F77
=
13213 whole_archive_flag_spec_F77
=
13214 enable_shared_with_static_runtimes_F77
=no
13216 # Source file extension for f77 test sources.
13219 # Object file extension for compiled f77 test sources.
13223 # Code to be used in simple compile tests
13224 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13226 # Code to be used in simple link tests
13227 lt_simple_link_test_code
=" program t\n end\n"
13229 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13231 # If no C compiler was specified, use CC.
13234 # If no C compiler flags were specified, use CFLAGS.
13235 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13237 # Allow CC to be a program name with arguments.
13241 # save warnings/boilerplate of simple test code
13242 ac_outfile
=conftest.
$ac_objext
13243 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13244 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13245 _lt_compiler_boilerplate
=`cat conftest.err`
13248 ac_outfile
=conftest.
$ac_objext
13249 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13250 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13251 _lt_linker_boilerplate
=`cat conftest.err`
13255 # Allow CC to be a program name with arguments.
13260 for cc_temp
in $compiler""; do
13262 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13263 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13268 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13271 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13272 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13273 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13274 echo "${ECHO_T}$can_build_shared" >&6
13276 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13277 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13278 test "$can_build_shared" = "no" && enable_shared
=no
13280 # On AIX, shared libraries and static libraries use the same namespace, and
13281 # are all built from PIC.
13284 test "$enable_shared" = yes && enable_static
=no
13285 if test -n "$RANLIB"; then
13286 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13287 postinstall_cmds
='$RANLIB $lib'
13291 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13292 test "$enable_shared" = yes && enable_static
=no
13296 echo "$as_me:$LINENO: result: $enable_shared" >&5
13297 echo "${ECHO_T}$enable_shared" >&6
13299 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13300 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13301 # Make sure either enable_shared or enable_static is yes.
13302 test "$enable_shared" = yes || enable_static
=yes
13303 echo "$as_me:$LINENO: result: $enable_static" >&5
13304 echo "${ECHO_T}$enable_static" >&6
13309 lt_prog_compiler_wl_F77
=
13310 lt_prog_compiler_pic_F77
=
13311 lt_prog_compiler_static_F77
=
13313 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13314 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13316 if test "$GCC" = yes; then
13317 lt_prog_compiler_wl_F77
='-Wl,'
13318 lt_prog_compiler_static_F77
='-static'
13322 # All AIX code is PIC.
13323 if test "$host_cpu" = ia64
; then
13324 # AIX 5 now supports IA64 processor
13325 lt_prog_compiler_static_F77
='-Bstatic'
13330 # FIXME: we need at least 68020 code to build shared libraries, but
13331 # adding the `-m68020' flag to GCC prevents building anything better,
13333 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13336 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13337 # PIC is the default for these OSes.
13340 mingw
* | pw32
* | os2
*)
13341 # This hack is so that the source file can tell whether it is being
13342 # built for inclusion in a dll (and should export symbols for example).
13343 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13346 darwin
* | rhapsody
*)
13347 # PIC is the default on this platform
13348 # Common symbols not allowed in MH_DYLIB files
13349 lt_prog_compiler_pic_F77
='-fno-common'
13353 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13354 # Instead, we relocate shared libraries at runtime.
13358 # Just because we use GCC doesn't mean we suddenly get shared libraries
13359 # on systems that don't support them.
13360 lt_prog_compiler_can_build_shared_F77
=no
13365 if test -d /usr
/nec
; then
13366 lt_prog_compiler_pic_F77
=-Kconform_pic
13371 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13372 # not for PA HP-UX.
13378 lt_prog_compiler_pic_F77
='-fPIC'
13384 lt_prog_compiler_pic_F77
='-fPIC'
13388 # PORTME Check for flag to pass linker flags through the system compiler.
13391 lt_prog_compiler_wl_F77
='-Wl,'
13392 if test "$host_cpu" = ia64
; then
13393 # AIX 5 now supports IA64 processor
13394 lt_prog_compiler_static_F77
='-Bstatic'
13396 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13400 # PIC is the default on this platform
13401 # Common symbols not allowed in MH_DYLIB files
13402 case $cc_basename in
13404 lt_prog_compiler_pic_F77
='-qnocommon'
13405 lt_prog_compiler_wl_F77
='-Wl,'
13410 mingw
* | pw32
* | os2
*)
13411 # This hack is so that the source file can tell whether it is being
13412 # built for inclusion in a dll (and should export symbols for example).
13413 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13416 hpux9
* | hpux10
* | hpux11
*)
13417 lt_prog_compiler_wl_F77
='-Wl,'
13418 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13419 # not for PA HP-UX.
13425 lt_prog_compiler_pic_F77
='+Z'
13428 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13429 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13432 irix5
* | irix6
* | nonstopux
*)
13433 lt_prog_compiler_wl_F77
='-Wl,'
13434 # PIC (with -KPIC) is the default.
13435 lt_prog_compiler_static_F77
='-non_shared'
13439 lt_prog_compiler_pic_F77
='-KPIC'
13440 lt_prog_compiler_static_F77
='-Bstatic'
13444 case $cc_basename in
13446 lt_prog_compiler_wl_F77
='-Wl,'
13447 lt_prog_compiler_pic_F77
='-KPIC'
13448 lt_prog_compiler_static_F77
='-static'
13450 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13451 # Portland Group compilers (*not* the Pentium gcc compiler,
13452 # which looks to be a dead project)
13453 lt_prog_compiler_wl_F77
='-Wl,'
13454 lt_prog_compiler_pic_F77
='-fpic'
13455 lt_prog_compiler_static_F77
='-Bstatic'
13458 lt_prog_compiler_wl_F77
='-Wl,'
13459 # All Alpha code is PIC.
13460 lt_prog_compiler_static_F77
='-non_shared'
13465 osf3
* | osf4
* | osf5
*)
13466 lt_prog_compiler_wl_F77
='-Wl,'
13467 # All OSF/1 code is PIC.
13468 lt_prog_compiler_static_F77
='-non_shared'
13472 lt_prog_compiler_pic_F77
='-KPIC'
13473 lt_prog_compiler_static_F77
='-Bstatic'
13474 case $cc_basename in
13475 f77
* | f90
* | f95
*)
13476 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13478 lt_prog_compiler_wl_F77
='-Wl,';;
13483 lt_prog_compiler_wl_F77
='-Qoption ld '
13484 lt_prog_compiler_pic_F77
='-PIC'
13485 lt_prog_compiler_static_F77
='-Bstatic'
13488 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13489 lt_prog_compiler_wl_F77
='-Wl,'
13490 lt_prog_compiler_pic_F77
='-KPIC'
13491 lt_prog_compiler_static_F77
='-Bstatic'
13495 if test -d /usr
/nec
;then
13496 lt_prog_compiler_pic_F77
='-Kconform_pic'
13497 lt_prog_compiler_static_F77
='-Bstatic'
13501 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13502 lt_prog_compiler_wl_F77
='-Wl,'
13503 lt_prog_compiler_pic_F77
='-KPIC'
13504 lt_prog_compiler_static_F77
='-Bstatic'
13508 lt_prog_compiler_wl_F77
='-Wl,'
13509 lt_prog_compiler_can_build_shared_F77
=no
13513 lt_prog_compiler_pic_F77
='-pic'
13514 lt_prog_compiler_static_F77
='-Bstatic'
13518 lt_prog_compiler_can_build_shared_F77
=no
13523 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13524 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13527 # Check to make sure the PIC flag actually works.
13529 if test -n "$lt_prog_compiler_pic_F77"; then
13531 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13532 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13533 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 lt_prog_compiler_pic_works_F77
=no
13537 ac_outfile
=conftest.
$ac_objext
13538 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13539 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13540 # Insert the option either (1) after the last *FLAGS variable, or
13541 # (2) before a word containing "conftest.", or (3) at the end.
13542 # Note that $ac_compile itself does not contain backslashes and begins
13543 # with a dollar sign (not a hyphen), so the echo should work correctly.
13544 # The option is referenced via a variable to avoid confusing sed.
13545 lt_compile
=`echo "$ac_compile" | $SED \
13546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13548 -e 's:$: $lt_compiler_flag:'`
13549 (eval echo "\"\$as_me:13549: $lt_compile\"" >&5)
13550 (eval "$lt_compile" 2>conftest.err
)
13552 cat conftest.err
>&5
13553 echo "$as_me:13553: \$? = $ac_status" >&5
13554 if (exit $ac_status) && test -s "$ac_outfile"; then
13555 # The compiler can only warn and ignore the option if not recognized
13556 # So say no if there are warnings other than the usual output.
13557 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13558 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13559 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13560 lt_prog_compiler_pic_works_F77
=yes
13566 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13567 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13569 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13570 case $lt_prog_compiler_pic_F77 in
13572 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13575 lt_prog_compiler_pic_F77
=
13576 lt_prog_compiler_can_build_shared_F77
=no
13581 # For platforms which do not support PIC, -DPIC is meaningless:
13583 lt_prog_compiler_pic_F77
=
13586 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13591 # Check to make sure the static flag actually works.
13593 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13594 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13595 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13596 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 lt_prog_compiler_static_works_F77
=no
13600 save_LDFLAGS
="$LDFLAGS"
13601 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13602 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13603 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13604 # The linker can only warn and ignore the option if not recognized
13605 # So say no if there are warnings
13606 if test -s conftest.err
; then
13607 # Append any errors to the config.log.
13608 cat conftest.err
1>&5
13609 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13611 if diff conftest.exp conftest.er2
>/dev
/null
; then
13612 lt_prog_compiler_static_works_F77
=yes
13615 lt_prog_compiler_static_works_F77
=yes
13619 LDFLAGS
="$save_LDFLAGS"
13622 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13623 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13625 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13628 lt_prog_compiler_static_F77
=
13632 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13633 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13634 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 lt_cv_prog_compiler_c_o_F77
=no
13638 $rm -r conftest
2>/dev
/null
13642 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13644 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13645 # Insert the option either (1) after the last *FLAGS variable, or
13646 # (2) before a word containing "conftest.", or (3) at the end.
13647 # Note that $ac_compile itself does not contain backslashes and begins
13648 # with a dollar sign (not a hyphen), so the echo should work correctly.
13649 lt_compile
=`echo "$ac_compile" | $SED \
13650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13652 -e 's:$: $lt_compiler_flag:'`
13653 (eval echo "\"\$as_me:13653: $lt_compile\"" >&5)
13654 (eval "$lt_compile" 2>out
/conftest.err
)
13656 cat out
/conftest.err
>&5
13657 echo "$as_me:13657: \$? = $ac_status" >&5
13658 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13660 # The compiler can only warn and ignore the option if not recognized
13661 # So say no if there are warnings
13662 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13663 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13664 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13665 lt_cv_prog_compiler_c_o_F77
=yes
13670 # SGI C++ compiler will create directory out/ii_files/ for
13671 # template instantiation
13672 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13673 $rm out
/* && rmdir out
13679 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13680 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13683 hard_links
="nottested"
13684 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13685 # do not overwrite the value of need_locks provided by the user
13686 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13687 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13690 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13692 ln conftest.a conftest.b
2>&5 || hard_links
=no
13693 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13694 echo "$as_me:$LINENO: result: $hard_links" >&5
13695 echo "${ECHO_T}$hard_links" >&6
13696 if test "$hard_links" = no
; then
13697 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13698 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13705 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13706 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13709 allow_undefined_flag_F77
=
13710 enable_shared_with_static_runtimes_F77
=no
13712 archive_expsym_cmds_F77
=
13713 old_archive_From_new_cmds_F77
=
13714 old_archive_from_expsyms_cmds_F77
=
13715 export_dynamic_flag_spec_F77
=
13716 whole_archive_flag_spec_F77
=
13717 thread_safe_flag_spec_F77
=
13718 hardcode_libdir_flag_spec_F77
=
13719 hardcode_libdir_flag_spec_ld_F77
=
13720 hardcode_libdir_separator_F77
=
13721 hardcode_direct_F77
=no
13722 hardcode_minus_L_F77
=no
13723 hardcode_shlibpath_var_F77
=unsupported
13724 link_all_deplibs_F77
=unknown
13725 hardcode_automatic_F77
=no
13727 module_expsym_cmds_F77
=
13728 always_export_symbols_F77
=no
13729 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13730 # include_expsyms should be a list of space-separated symbols to be *always*
13731 # included in the symbol list
13732 include_expsyms_F77
=
13733 # exclude_expsyms can be an extended regexp of symbols to exclude
13734 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13735 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13736 # as well as any symbol that contains `d'.
13737 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13738 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13739 # platforms (ab)use it in PIC code, but their linkers get confused if
13740 # the symbol is explicitly referenced. Since portable code cannot
13741 # rely on this symbol name, it's probably fine to never include it in
13742 # preloaded symbol tables.
13743 extract_expsyms_cmds
=
13744 # Just being paranoid about ensuring that cc_basename is set.
13745 for cc_temp
in $compiler""; do
13747 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13748 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13753 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13756 cygwin
* | mingw
* | pw32
*)
13757 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13758 # When not using gcc, we currently assume that we are using
13759 # Microsoft Visual C++.
13760 if test "$GCC" != yes; then
13765 # we just hope/assume this is gcc and not c89 (= MSVC++)
13774 if test "$with_gnu_ld" = yes; then
13775 # If archive_cmds runs LD, not CC, wlarc should be empty
13778 # Set some defaults for GNU ld with shared library support. These
13779 # are reset later if shared libraries are not supported. Putting them
13780 # here allows them to be overridden if necessary.
13781 runpath_var
=LD_RUN_PATH
13782 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13783 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13784 # ancient GNU ld didn't support --whole-archive et. al.
13785 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13786 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13788 whole_archive_flag_spec_F77
=
13790 supports_anon_versioning
=no
13791 case `$LD -v 2>/dev/null` in
13792 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13793 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13794 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13795 *\
2.11.
*) ;; # other 2.11 versions
13796 *) supports_anon_versioning
=yes ;;
13799 # See if GNU ld supports shared libraries.
13801 aix3
* | aix4
* | aix5
*)
13802 # On AIX/PPC, the GNU linker is very broken
13803 if test "$host_cpu" != ia64
; then
13807 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13808 *** to be unable to reliably create shared libraries on AIX.
13809 *** Therefore, libtool is disabling shared libraries support. If you
13810 *** really care for shared libraries, you may want to modify your PATH
13811 *** so that a non-GNU linker is found, and then restart.
13818 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)'
13819 hardcode_libdir_flag_spec_F77
='-L$libdir'
13820 hardcode_minus_L_F77
=yes
13822 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13823 # that the semantics of dynamic libraries on AmigaOS, at least up
13824 # to version 4, is to share data among multiple programs linked
13825 # with the same dynamic library. Since this doesn't match the
13826 # behavior of shared libraries on other platforms, we can't use
13832 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13833 allow_undefined_flag_F77
=unsupported
13834 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13835 # support --undefined. This deserves some investigation. FIXME
13836 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13842 cygwin
* | mingw
* | pw32
*)
13843 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13844 # as there is no search path for DLLs.
13845 hardcode_libdir_flag_spec_F77
='-L$libdir'
13846 allow_undefined_flag_F77
=unsupported
13847 always_export_symbols_F77
=no
13848 enable_shared_with_static_runtimes_F77
=yes
13849 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13851 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13852 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13853 # If the export-symbols file already is a .def file (1st line
13854 # is EXPORTS), use it as is; otherwise, prepend...
13855 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13856 cp $export_symbols $output_objdir/$soname.def;
13858 echo EXPORTS > $output_objdir/$soname.def;
13859 cat $export_symbols >> $output_objdir/$soname.def;
13861 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13868 hardcode_direct_F77
=no
13869 hardcode_shlibpath_var_F77
=no
13870 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13871 export_dynamic_flag_spec_F77
='${wl}-E'
13872 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13873 # Instead, shared libraries are loaded at an image base (0x10000000 by
13874 # default) and relocated if they conflict, which is a slow very memory
13875 # consuming and fragmenting process. To avoid this, we pick a random,
13876 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13877 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13878 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13879 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13883 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13885 case $cc_basename,$host_cpu in
13886 pgcc
*) # Portland Group C compiler
13887 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13888 tmp_addflag
=' $pic_flag'
13890 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13891 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13892 tmp_addflag
=' $pic_flag -Mnomain' ;;
13893 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13894 tmp_addflag
=' -i_dynamic' ;;
13895 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13896 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13897 ifc
* | ifort
*) # Intel Fortran compiler
13898 tmp_addflag
=' -nofor_main' ;;
13900 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13902 if test $supports_anon_versioning = yes; then
13903 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13904 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13905 $echo "local: *; };" >> $output_objdir/$libname.ver~
13906 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13914 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13915 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13918 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13919 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13924 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13928 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13929 *** create shared libraries on Solaris systems. Therefore, libtool
13930 *** is disabling shared libraries support. We urge you to upgrade GNU
13931 *** binutils to release 2.9.1 or newer. Another option is to modify
13932 *** your PATH or compiler configuration so that the native linker is
13933 *** used, and then restart.
13936 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13937 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13938 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13944 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13945 case `$LD -v 2>&1` in
13946 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13950 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13951 *** reliably create shared libraries on SCO systems. Therefore, libtool
13952 *** is disabling shared libraries support. We urge you to upgrade GNU
13953 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13954 *** your PATH or compiler configuration so that the native linker is
13955 *** used, and then restart.
13960 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13961 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13962 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13963 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13972 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13974 hardcode_direct_F77
=yes
13975 hardcode_shlibpath_var_F77
=no
13979 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13980 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13981 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13988 if test "$ld_shlibs_F77" = no
; then
13990 hardcode_libdir_flag_spec_F77
=
13991 export_dynamic_flag_spec_F77
=
13992 whole_archive_flag_spec_F77
=
13995 # PORTME fill in a description of your system's linker (not GNU ld)
13998 allow_undefined_flag_F77
=unsupported
13999 always_export_symbols_F77
=yes
14000 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'
14001 # Note: this linker hardcodes the directories in LIBPATH if there
14002 # are no directories specified by -L.
14003 hardcode_minus_L_F77
=yes
14004 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14005 # Neither direct hardcoding nor static linking is supported with a
14007 hardcode_direct_F77
=unsupported
14012 if test "$host_cpu" = ia64
; then
14013 # On IA64, the linker does run time linking by default, so we don't
14014 # have to do anything special.
14015 aix_use_runtimelinking
=no
14016 exp_sym_flag
='-Bexport'
14019 # If we're using GNU nm, then we don't want the "-C" option.
14020 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14021 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14022 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'
14024 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'
14026 aix_use_runtimelinking
=no
14028 # Test if we are trying to use run time linking or normal
14029 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14030 # need to do runtime linking.
14031 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14032 for ld_flag
in $LDFLAGS; do
14033 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14034 aix_use_runtimelinking
=yes
14041 exp_sym_flag
='-bexport'
14042 no_entry_flag
='-bnoentry'
14045 # When large executables or shared objects are built, AIX ld can
14046 # have problems creating the table of contents. If linking a library
14047 # or program results in "error TOC overflow" add -mminimal-toc to
14048 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14049 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14051 archive_cmds_F77
=''
14052 hardcode_direct_F77
=yes
14053 hardcode_libdir_separator_F77
=':'
14054 link_all_deplibs_F77
=yes
14056 if test "$GCC" = yes; then
14057 case $host_os in aix4.
[012]|aix4.
[012].
*)
14058 # We only want to do this on AIX 4.2 and lower, the check
14059 # below for broken collect2 doesn't work under 4.3+
14060 collect2name
=`${CC} -print-prog-name=collect2`
14061 if test -f "$collect2name" && \
14062 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14064 # We have reworked collect2
14065 hardcode_direct_F77
=yes
14067 # We have old collect2
14068 hardcode_direct_F77
=unsupported
14069 # It fails to find uninstalled libraries when the uninstalled
14070 # path is not listed in the libpath. Setting hardcode_minus_L
14071 # to unsupported forces relinking
14072 hardcode_minus_L_F77
=yes
14073 hardcode_libdir_flag_spec_F77
='-L$libdir'
14074 hardcode_libdir_separator_F77
=
14078 shared_flag
='-shared'
14079 if test "$aix_use_runtimelinking" = yes; then
14080 shared_flag
="$shared_flag "'${wl}-G'
14084 if test "$host_cpu" = ia64
; then
14085 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14086 # chokes on -Wl,-G. The following line is correct:
14089 if test "$aix_use_runtimelinking" = yes; then
14090 shared_flag
='${wl}-G'
14092 shared_flag
='${wl}-bM:SRE'
14097 # It seems that -bexpall does not export symbols beginning with
14098 # underscore (_), so it is better to generate a list of symbols to export.
14099 always_export_symbols_F77
=yes
14100 if test "$aix_use_runtimelinking" = yes; then
14101 # Warning - without using the other runtime loading flags (-brtl),
14102 # -berok will link without error, but may produce a broken library.
14103 allow_undefined_flag_F77
='-berok'
14104 # Determine the default libpath from the value encoded in an empty executable.
14105 cat >conftest.
$ac_ext <<_ACEOF
14110 rm -f conftest.
$ac_objext conftest
$ac_exeext
14111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14112 (eval $ac_link) 2>conftest.er1
14114 grep -v '^ *+' conftest.er1
>conftest.err
14116 cat conftest.err
>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try
='test -z "$ac_f77_werror_flag"
14120 || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try
='test -s conftest$ac_exeext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14133 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14135 # Check for a 64-bit object if we didn't find anything.
14136 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; }
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.
$ac_ext >&5
14143 rm -f conftest.err conftest.
$ac_objext \
14144 conftest
$ac_exeext conftest.
$ac_ext
14145 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14147 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14148 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14150 if test "$host_cpu" = ia64
; then
14151 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14152 allow_undefined_flag_F77
="-z nodefs"
14153 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14155 # Determine the default libpath from the value encoded in an empty executable.
14156 cat >conftest.
$ac_ext <<_ACEOF
14161 rm -f conftest.
$ac_objext conftest
$ac_exeext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14163 (eval $ac_link) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_f77_werror_flag"
14171 || test ! -s conftest.err'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; } &&
14177 { ac_try
='test -s conftest$ac_exeext'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; }; then
14184 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14186 # Check for a 64-bit object if we didn't find anything.
14187 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; }
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.
$ac_ext >&5
14194 rm -f conftest.err conftest.
$ac_objext \
14195 conftest
$ac_exeext conftest.
$ac_ext
14196 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14198 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14199 # Warning - without using the other run time loading flags,
14200 # -berok will link without error, but may produce a broken library.
14201 no_undefined_flag_F77
=' ${wl}-bernotok'
14202 allow_undefined_flag_F77
=' ${wl}-berok'
14203 # Exported symbols can be pulled into shared objects from archives
14204 whole_archive_flag_spec_F77
='$convenience'
14205 archive_cmds_need_lc_F77
=yes
14206 # This is similar to how AIX traditionally builds its shared libraries.
14207 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14213 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)'
14214 hardcode_libdir_flag_spec_F77
='-L$libdir'
14215 hardcode_minus_L_F77
=yes
14216 # see comment about different semantics on the GNU ld section
14221 export_dynamic_flag_spec_F77
=-rdynamic
14224 cygwin
* | mingw
* | pw32
*)
14225 # When not using gcc, we currently assume that we are using
14226 # Microsoft Visual C++.
14227 # hardcode_libdir_flag_spec is actually meaningless, as there is
14228 # no search path for DLLs.
14229 hardcode_libdir_flag_spec_F77
=' '
14230 allow_undefined_flag_F77
=unsupported
14231 # Tell ltmain to make .lib files, not .a files.
14233 # Tell ltmain to make .dll files, not .so files.
14235 # FIXME: Setting linknames here is a bad hack.
14236 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14237 # The linker will automatically build a .lib file if we build a DLL.
14238 old_archive_From_new_cmds_F77
='true'
14239 # FIXME: Should let the user specify the lib program.
14240 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14241 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14242 enable_shared_with_static_runtimes_F77
=yes
14245 darwin
* | rhapsody
*)
14247 rhapsody
* | darwin1.
[012])
14248 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14251 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14252 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14254 case ${MACOSX_DEPLOYMENT_TARGET} in
14256 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14259 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14265 archive_cmds_need_lc_F77
=no
14266 hardcode_direct_F77
=no
14267 hardcode_automatic_F77
=yes
14268 hardcode_shlibpath_var_F77
=unsupported
14269 whole_archive_flag_spec_F77
=''
14270 link_all_deplibs_F77
=yes
14271 if test "$GCC" = yes ; then
14272 output_verbose_link_cmd
='echo'
14273 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14274 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14275 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14276 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14277 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}'
14279 case $cc_basename in
14281 output_verbose_link_cmd
='echo'
14282 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14283 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14284 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14285 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14286 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}'
14296 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14297 hardcode_libdir_flag_spec_F77
='-L$libdir'
14298 hardcode_shlibpath_var_F77
=no
14305 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14306 # support. Future versions do this automatically, but an explicit c++rt0.o
14307 # does not break anything, and helps significantly (at the cost of a little
14310 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14311 hardcode_libdir_flag_spec_F77
='-R$libdir'
14312 hardcode_direct_F77
=yes
14313 hardcode_shlibpath_var_F77
=no
14316 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14318 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14319 hardcode_direct_F77
=yes
14320 hardcode_minus_L_F77
=yes
14321 hardcode_shlibpath_var_F77
=no
14324 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14325 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14326 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14327 hardcode_libdir_flag_spec_F77
='-R$libdir'
14328 hardcode_direct_F77
=yes
14329 hardcode_shlibpath_var_F77
=no
14333 if test "$GCC" = yes; then
14334 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'
14336 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'
14338 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14339 hardcode_libdir_separator_F77
=:
14340 hardcode_direct_F77
=yes
14342 # hardcode_minus_L: Not really in the search PATH,
14343 # but as the default location of the library.
14344 hardcode_minus_L_F77
=yes
14345 export_dynamic_flag_spec_F77
='${wl}-E'
14349 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14350 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14352 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14354 if test "$with_gnu_ld" = no
; then
14355 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14356 hardcode_libdir_separator_F77
=:
14358 hardcode_direct_F77
=yes
14359 export_dynamic_flag_spec_F77
='${wl}-E'
14361 # hardcode_minus_L: Not really in the search PATH,
14362 # but as the default location of the library.
14363 hardcode_minus_L_F77
=yes
14368 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14371 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14374 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14377 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14383 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14386 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14389 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14393 if test "$with_gnu_ld" = no
; then
14394 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14395 hardcode_libdir_separator_F77
=:
14399 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14400 hardcode_direct_F77
=no
14401 hardcode_shlibpath_var_F77
=no
14404 hardcode_direct_F77
=yes
14405 export_dynamic_flag_spec_F77
='${wl}-E'
14407 # hardcode_minus_L: Not really in the search PATH,
14408 # but as the default location of the library.
14409 hardcode_minus_L_F77
=yes
14415 irix5
* | irix6
* | nonstopux
*)
14416 if test "$GCC" = yes; then
14417 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'
14419 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'
14420 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14422 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14423 hardcode_libdir_separator_F77
=:
14424 link_all_deplibs_F77
=yes
14428 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14429 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14431 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14433 hardcode_libdir_flag_spec_F77
='-R$libdir'
14434 hardcode_direct_F77
=yes
14435 hardcode_shlibpath_var_F77
=no
14439 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14440 hardcode_direct_F77
=yes
14441 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14442 hardcode_libdir_separator_F77
=:
14443 hardcode_shlibpath_var_F77
=no
14447 hardcode_direct_F77
=yes
14448 hardcode_shlibpath_var_F77
=no
14449 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14450 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14451 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14452 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14453 export_dynamic_flag_spec_F77
='${wl}-E'
14456 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14457 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14458 hardcode_libdir_flag_spec_F77
='-R$libdir'
14461 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14462 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14469 hardcode_libdir_flag_spec_F77
='-L$libdir'
14470 hardcode_minus_L_F77
=yes
14471 allow_undefined_flag_F77
=unsupported
14472 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'
14473 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14477 if test "$GCC" = yes; then
14478 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14479 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'
14481 allow_undefined_flag_F77
=' -expect_unresolved \*'
14482 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'
14484 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14485 hardcode_libdir_separator_F77
=:
14488 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14489 if test "$GCC" = yes; then
14490 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14491 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'
14492 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14494 allow_undefined_flag_F77
=' -expect_unresolved \*'
14495 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'
14496 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~
14497 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14499 # Both c and cxx compiler support -rpath directly
14500 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14502 hardcode_libdir_separator_F77
=:
14506 no_undefined_flag_F77
=' -z text'
14507 if test "$GCC" = yes; then
14509 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14510 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14511 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14514 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14515 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14516 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14518 hardcode_libdir_flag_spec_F77
='-R$libdir'
14519 hardcode_shlibpath_var_F77
=no
14521 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14523 # The compiler driver will combine linker options so we
14524 # cannot just pass the convience library names through
14525 # without $wl, iff we do not link with $LD.
14526 # Luckily, gcc supports the same syntax we need for Sun Studio.
14527 # Supported since Solaris 2.6 (maybe 2.5.1?)
14530 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14532 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14535 link_all_deplibs_F77
=yes
14539 if test "x$host_vendor" = xsequent
; then
14540 # Use $CC to link under sequent, because it throws in some extra .o
14541 # files that make .init and .fini sections work.
14542 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14544 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14546 hardcode_libdir_flag_spec_F77
='-L$libdir'
14547 hardcode_direct_F77
=yes
14548 hardcode_minus_L_F77
=yes
14549 hardcode_shlibpath_var_F77
=no
14553 case $host_vendor in
14555 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14556 hardcode_direct_F77
=yes # is this really true???
14559 ## LD is ld it makes a PLAMLIB
14560 ## CC just makes a GrossModule.
14561 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14562 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14563 hardcode_direct_F77
=no
14566 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14567 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14570 runpath_var
='LD_RUN_PATH'
14571 hardcode_shlibpath_var_F77
=no
14575 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14576 hardcode_shlibpath_var_F77
=no
14577 export_dynamic_flag_spec_F77
='-Bexport'
14581 if test -d /usr
/nec
; then
14582 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14583 hardcode_shlibpath_var_F77
=no
14584 runpath_var
=LD_RUN_PATH
14585 hardcode_runpath_var
=yes
14590 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14591 no_undefined_flag_F77
='${wl}-z,text'
14592 archive_cmds_need_lc_F77
=no
14593 hardcode_shlibpath_var_F77
=no
14594 runpath_var
='LD_RUN_PATH'
14596 if test "$GCC" = yes; then
14597 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14598 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14600 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14601 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14605 sysv5
* | sco3.2v5
* | sco5v6
*)
14606 # Note: We can NOT use -z defs as we might desire, because we do not
14607 # link with -lc, and that would cause any symbols used from libc to
14608 # always be unresolved, which means just about no library would
14609 # ever link correctly. If we're not using GNU ld we use -z text
14610 # though, which does catch some bad symbols but isn't as heavy-handed
14612 no_undefined_flag_F77
='${wl}-z,text'
14613 allow_undefined_flag_F77
='${wl}-z,nodefs'
14614 archive_cmds_need_lc_F77
=no
14615 hardcode_shlibpath_var_F77
=no
14616 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14617 hardcode_libdir_separator_F77
=':'
14618 link_all_deplibs_F77
=yes
14619 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14620 runpath_var
='LD_RUN_PATH'
14622 if test "$GCC" = yes; then
14623 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14626 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14632 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14633 hardcode_libdir_flag_spec_F77
='-L$libdir'
14634 hardcode_shlibpath_var_F77
=no
14643 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14644 echo "${ECHO_T}$ld_shlibs_F77" >&6
14645 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14648 # Do we need to explicitly link libc?
14650 case "x$archive_cmds_need_lc_F77" in
14652 # Assume -lc should be added
14653 archive_cmds_need_lc_F77
=yes
14655 if test "$enable_shared" = yes && test "$GCC" = yes; then
14656 case $archive_cmds_F77 in
14658 # FIXME: we may have to deal with multi-command sequences.
14661 # Test whether the compiler implicitly links with -lc since on some
14662 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14663 # to ld, don't add -lc before -lgcc.
14664 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14665 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14667 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14670 (eval $ac_compile) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } 2>conftest.err
; then
14676 libobjs
=conftest.
$ac_objext
14678 wl
=$lt_prog_compiler_wl_F77
14679 pic_flag
=$lt_prog_compiler_pic_F77
14685 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14686 allow_undefined_flag_F77
=
14687 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14688 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); }
14693 archive_cmds_need_lc_F77
=no
14695 archive_cmds_need_lc_F77
=yes
14697 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14699 cat conftest.err
1>&5
14702 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14703 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14710 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14711 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14712 library_names_spec
=
14713 libname_spec
='lib$name'
14717 postuninstall_cmds
=
14721 shlibpath_overrides_runpath
=unknown
14723 dynamic_linker
="$host_os ld.so"
14724 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14725 if test "$GCC" = yes; then
14726 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14727 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14728 # if the path contains ";" then we assume it to be the separator
14729 # otherwise default to the standard path separator (i.e. ":") - it is
14730 # assumed that no part of a normal pathname contains ";" but that should
14731 # okay in the real world where ";" in dirpaths is itself problematic.
14732 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14734 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14737 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14739 need_lib_prefix
=unknown
14740 hardcode_into_libs
=no
14742 # when you set need_version to no, make sure it does not cause -set_version
14743 # flags to be left without arguments
14744 need_version
=unknown
14749 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14750 shlibpath_var
=LIBPATH
14752 # AIX 3 has no versioning support, so we append a major version to the name.
14753 soname_spec
='${libname}${release}${shared_ext}$major'
14760 hardcode_into_libs
=yes
14761 if test "$host_cpu" = ia64
; then
14762 # AIX 5 supports IA64
14763 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14764 shlibpath_var
=LD_LIBRARY_PATH
14766 # With GCC up to 2.95.x, collect2 would create an import file
14767 # for dependence libraries. The import file would start with
14768 # the line `#! .'. This would cause the generated library to
14769 # depend on `.', always an invalid library. This was fixed in
14770 # development snapshots of GCC prior to 3.0.
14772 aix4 | aix4.
[01] | aix4.
[01].
*)
14773 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14775 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14778 can_build_shared
=no
14782 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14783 # soname into executable. Probably we can add versioning support to
14784 # collect2, so additional links can be useful in future.
14785 if test "$aix_use_runtimelinking" = yes; then
14786 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14787 # instead of lib<name>.a to let people know that these are not
14788 # typical AIX shared libraries.
14789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14791 # We preserve .a as extension for shared libraries through AIX4.2
14792 # and later when we are not doing run time linking.
14793 library_names_spec
='${libname}${release}.a $libname.a'
14794 soname_spec
='${libname}${release}${shared_ext}$major'
14796 shlibpath_var
=LIBPATH
14801 library_names_spec
='$libname.ixlibrary $libname.a'
14802 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14803 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'
14807 library_names_spec
='${libname}${shared_ext}'
14808 dynamic_linker
="$host_os ld.so"
14809 shlibpath_var
=LIBRARY_PATH
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14816 soname_spec
='${libname}${release}${shared_ext}$major'
14817 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14818 shlibpath_var
=LD_LIBRARY_PATH
14819 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14820 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14821 # the default ld.so.conf also contains /usr/contrib/lib and
14822 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14823 # libtool to hard-code these into programs
14826 cygwin
* | mingw
* | pw32
*)
14827 version_type
=windows
14832 case $GCC,$host_os in
14833 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14834 library_names_spec
='$libname.dll.a'
14835 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14836 postinstall_cmds
='base_file=`basename \${file}`~
14837 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14838 dldir=$destdir/`dirname \$dlpath`~
14839 test -d \$dldir || mkdir -p \$dldir~
14840 $install_prog $dir/$dlname \$dldir/$dlname~
14841 chmod a+x \$dldir/$dlname'
14842 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14843 dlpath=$dir/\$dldll~
14845 shlibpath_overrides_runpath
=yes
14849 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14850 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14851 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14854 # MinGW DLLs use traditional 'lib' prefix
14855 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14856 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14857 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14858 # It is most probably a Windows format PATH printed by
14859 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14860 # path with ; separators, and with drive letters. We can handle the
14861 # drive letters (cygwin fileutils understands them), so leave them,
14862 # especially as we might pass files found there to a mingw objdump,
14863 # which wouldn't understand a cygwinified path. Ahh.
14864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14866 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14870 # pw32 DLLs use 'pw' prefix rather than 'lib'
14871 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14877 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14880 dynamic_linker
='Win32 ld.exe'
14881 # FIXME: first we should search . and the directory the executable is in
14885 darwin
* | rhapsody
*)
14886 dynamic_linker
="$host_os dyld"
14887 version_type
=darwin
14890 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14891 soname_spec
='${libname}${release}${major}$shared_ext'
14892 shlibpath_overrides_runpath
=yes
14893 shlibpath_var
=DYLD_LIBRARY_PATH
14894 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14895 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14896 if test "$GCC" = yes; then
14897 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"`
14899 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14901 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14909 soname_spec
='${libname}${release}${shared_ext}$major'
14910 shlibpath_var
=LD_LIBRARY_PATH
14921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14922 soname_spec
='${libname}${release}${shared_ext}$major'
14923 shlibpath_var
=LD_LIBRARY_PATH
14924 shlibpath_overrides_runpath
=no
14925 hardcode_into_libs
=yes
14926 dynamic_linker
='GNU ld.so'
14929 freebsd
* | dragonfly
*)
14930 # DragonFly does not have aout. When/if they implement a new
14931 # versioning mechanism, adjust this.
14932 if test -x /usr
/bin
/objformat
; then
14933 objformat
=`/usr/bin/objformat`
14936 freebsd
[123]*) objformat
=aout
;;
14937 *) objformat
=elf
;;
14940 version_type
=freebsd-
$objformat
14941 case $version_type in
14943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14948 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14952 shlibpath_var
=LD_LIBRARY_PATH
14955 shlibpath_overrides_runpath
=yes
14957 freebsd3.
[01]* | freebsdelf3.
[01]*)
14958 shlibpath_overrides_runpath
=yes
14959 hardcode_into_libs
=yes
14961 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14962 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14963 shlibpath_overrides_runpath
=no
14964 hardcode_into_libs
=yes
14966 freebsd
*) # from 4.6 on
14967 shlibpath_overrides_runpath
=yes
14968 hardcode_into_libs
=yes
14977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14978 soname_spec
='${libname}${release}${shared_ext}$major'
14979 shlibpath_var
=LD_LIBRARY_PATH
14980 hardcode_into_libs
=yes
14983 hpux9
* | hpux10
* | hpux11
*)
14984 # Give a soname corresponding to the major version so that dld.sl refuses to
14985 # link against other versions.
14992 hardcode_into_libs
=yes
14993 dynamic_linker
="$host_os dld.so"
14994 shlibpath_var
=LD_LIBRARY_PATH
14995 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14997 soname_spec
='${libname}${release}${shared_ext}$major'
14998 if test "X$HPUX_IA64_MODE" = X32
; then
14999 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15001 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15003 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15007 hardcode_into_libs
=yes
15008 dynamic_linker
="$host_os dld.sl"
15009 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15010 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15014 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15018 dynamic_linker
="$host_os dld.sl"
15019 shlibpath_var
=SHLIB_PATH
15020 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15022 soname_spec
='${libname}${release}${shared_ext}$major'
15025 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15026 postinstall_cmds
='chmod 555 $lib'
15033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15034 soname_spec
='${libname}${release}${shared_ext}$major'
15035 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15036 shlibpath_var
=LD_LIBRARY_PATH
15037 shlibpath_overrides_runpath
=no
15038 hardcode_into_libs
=yes
15041 irix5
* | irix6
* | nonstopux
*)
15043 nonstopux
*) version_type
=nonstopux
;;
15045 if test "$lt_cv_prog_gnu_ld" = yes; then
15053 soname_spec
='${libname}${release}${shared_ext}$major'
15054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15056 irix5
* | nonstopux
*)
15057 libsuff
= shlibsuff
=
15060 case $LD in # libtool.m4 will add one of these switches to LD
15061 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15062 libsuff
= shlibsuff
= libmagic
=32-bit;;
15063 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15064 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15065 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15066 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15067 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15071 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15072 shlibpath_overrides_runpath
=no
15073 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15074 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15075 hardcode_into_libs
=yes
15078 # No shared lib support for Linux oldld, aout, or coff.
15079 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15083 # This must be Linux ELF.
15088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15089 soname_spec
='${libname}${release}${shared_ext}$major'
15090 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15091 shlibpath_var
=LD_LIBRARY_PATH
15092 shlibpath_overrides_runpath
=no
15093 # This implies no fast_install, which is unacceptable.
15094 # Some rework will be needed to allow for fast_install
15095 # before this can be enabled.
15096 hardcode_into_libs
=yes
15098 # find out which ABI we are using
15100 case "$host_cpu" in
15101 x86_64
*|s390x
*|powerpc64
*)
15102 echo '#line 15102 "configure"' > conftest.
$ac_ext
15103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15104 (eval $ac_compile) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; then
15108 case `/usr/bin/file conftest.$ac_objext` in
15111 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15119 # Append ld.so.conf contents to the search path
15120 if test -f /etc
/ld.so.conf
; then
15121 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15122 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15125 # We used to test for /lib/ld.so.1 and disable shared libraries on
15126 # powerpc, because MkLinux only supported shared libraries with the
15127 # GNU dynamic linker. Since this was broken with cross compilers,
15128 # most powerpc-linux boxes support dynamic linking these days and
15129 # people can always --disable-shared, the test was removed, and we
15130 # assume the GNU/Linux dynamic linker is in use.
15131 dynamic_linker
='GNU/Linux ld.so'
15138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15139 soname_spec
='${libname}${release}${shared_ext}$major'
15140 shlibpath_var
=LD_LIBRARY_PATH
15141 shlibpath_overrides_runpath
=no
15142 hardcode_into_libs
=yes
15143 dynamic_linker
='GNU ld.so'
15150 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15153 dynamic_linker
='NetBSD (a.out) ld.so'
15155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15156 soname_spec
='${libname}${release}${shared_ext}$major'
15157 dynamic_linker
='NetBSD ld.elf_so'
15159 shlibpath_var
=LD_LIBRARY_PATH
15160 shlibpath_overrides_runpath
=yes
15161 hardcode_into_libs
=yes
15166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15167 shlibpath_var
=LD_LIBRARY_PATH
15168 shlibpath_overrides_runpath
=yes
15175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15176 soname_spec
='${libname}${release}${shared_ext}$major'
15177 shlibpath_var
=LD_LIBRARY_PATH
15178 shlibpath_overrides_runpath
=yes
15183 sys_lib_dlsearch_path_spec
="/usr/lib"
15185 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15187 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15188 *) need_version
=no
;;
15190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15191 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15192 shlibpath_var
=LD_LIBRARY_PATH
15193 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15195 openbsd2.
[89] | openbsd2.
[89].
*)
15196 shlibpath_overrides_runpath
=no
15199 shlibpath_overrides_runpath
=yes
15203 shlibpath_overrides_runpath
=yes
15208 libname_spec
='$name'
15211 library_names_spec
='$libname${shared_ext} $libname.a'
15212 dynamic_linker
='OS/2 ld.exe'
15213 shlibpath_var
=LIBPATH
15216 osf3
* | osf4
* | osf5
*)
15220 soname_spec
='${libname}${release}${shared_ext}$major'
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15222 shlibpath_var
=LD_LIBRARY_PATH
15223 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15224 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15232 soname_spec
='${libname}${release}${shared_ext}$major'
15233 shlibpath_var
=LD_LIBRARY_PATH
15234 shlibpath_overrides_runpath
=yes
15235 hardcode_into_libs
=yes
15236 # ldd complains unless libraries are executable
15237 postinstall_cmds
='chmod +x $lib'
15242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15243 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15244 shlibpath_var
=LD_LIBRARY_PATH
15245 shlibpath_overrides_runpath
=yes
15246 if test "$with_gnu_ld" = yes; then
15254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15255 soname_spec
='${libname}${release}${shared_ext}$major'
15256 shlibpath_var
=LD_LIBRARY_PATH
15257 case $host_vendor in
15259 shlibpath_overrides_runpath
=no
15261 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15262 runpath_var
=LD_RUN_PATH
15270 shlibpath_overrides_runpath
=no
15271 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15277 if test -d /usr
/nec
;then
15279 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15280 soname_spec
='$libname${shared_ext}.$major'
15281 shlibpath_var
=LD_LIBRARY_PATH
15285 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15286 version_type
=freebsd-elf
15289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15290 soname_spec
='${libname}${release}${shared_ext}$major'
15291 shlibpath_var
=LD_LIBRARY_PATH
15292 hardcode_into_libs
=yes
15293 if test "$with_gnu_ld" = yes; then
15294 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15295 shlibpath_overrides_runpath
=no
15297 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15298 shlibpath_overrides_runpath
=yes
15301 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15305 sys_lib_dlsearch_path_spec
='/usr/lib'
15310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 soname_spec
='${libname}${release}${shared_ext}$major'
15312 shlibpath_var
=LD_LIBRARY_PATH
15319 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15320 echo "${ECHO_T}$dynamic_linker" >&6
15321 test "$dynamic_linker" = no
&& can_build_shared
=no
15323 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15324 if test "$GCC" = yes; then
15325 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15328 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15329 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15330 hardcode_action_F77
=
15331 if test -n "$hardcode_libdir_flag_spec_F77" || \
15332 test -n "$runpath_var_F77" || \
15333 test "X$hardcode_automatic_F77" = "Xyes" ; then
15335 # We can hardcode non-existant directories.
15336 if test "$hardcode_direct_F77" != no
&&
15337 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15338 # have to relink, otherwise we might link with an installed library
15339 # when we should be linking with a yet-to-be-installed one
15340 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15341 test "$hardcode_minus_L_F77" != no
; then
15342 # Linking always hardcodes the temporary library directory.
15343 hardcode_action_F77
=relink
15345 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15346 hardcode_action_F77
=immediate
15349 # We cannot hardcode anything, or else we can only hardcode existing
15351 hardcode_action_F77
=unsupported
15353 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15354 echo "${ECHO_T}$hardcode_action_F77" >&6
15356 if test "$hardcode_action_F77" = relink
; then
15357 # Fast installation is not supported
15358 enable_fast_install
=no
15359 elif test "$shlibpath_overrides_runpath" = yes ||
15360 test "$enable_shared" = no
; then
15361 # Fast installation is not necessary
15362 enable_fast_install
=needless
15366 # The else clause should only fire when bootstrapping the
15367 # libtool distribution, otherwise you forgot to ship ltmain.sh
15368 # with your package, and you will get complaints that there are
15369 # no rules to generate ltmain.sh.
15370 if test -f "$ltmain"; then
15371 # See if we are running on zsh, and set the options which allow our commands through
15372 # without removal of \ escapes.
15373 if test -n "${ZSH_VERSION+set}" ; then
15374 setopt NO_GLOB_SUBST
15376 # Now quote all the things that may contain metacharacters while being
15377 # careful not to overquote the AC_SUBSTed values. We take copies of the
15378 # variables and quote the copies for generation of the libtool script.
15379 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15381 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15382 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15383 deplibs_check_method reload_flag reload_cmds need_locks \
15384 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15385 lt_cv_sys_global_symbol_to_c_name_address \
15386 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15387 old_postinstall_cmds old_postuninstall_cmds \
15391 lt_prog_compiler_wl_F77 \
15392 lt_prog_compiler_pic_F77 \
15393 lt_prog_compiler_static_F77 \
15394 lt_prog_compiler_no_builtin_flag_F77 \
15395 export_dynamic_flag_spec_F77 \
15396 thread_safe_flag_spec_F77 \
15397 whole_archive_flag_spec_F77 \
15398 enable_shared_with_static_runtimes_F77 \
15399 old_archive_cmds_F77 \
15400 old_archive_from_new_cmds_F77 \
15401 predep_objects_F77 \
15402 postdep_objects_F77 \
15405 compiler_lib_search_path_F77 \
15407 archive_expsym_cmds_F77 \
15408 postinstall_cmds_F77 \
15409 postuninstall_cmds_F77 \
15410 old_archive_from_expsyms_cmds_F77 \
15411 allow_undefined_flag_F77 \
15412 no_undefined_flag_F77 \
15413 export_symbols_cmds_F77 \
15414 hardcode_libdir_flag_spec_F77 \
15415 hardcode_libdir_flag_spec_ld_F77 \
15416 hardcode_libdir_separator_F77 \
15417 hardcode_automatic_F77 \
15419 module_expsym_cmds_F77 \
15420 lt_cv_prog_compiler_c_o_F77 \
15421 exclude_expsyms_F77 \
15422 include_expsyms_F77
; do
15425 old_archive_cmds_F77 | \
15426 old_archive_from_new_cmds_F77 | \
15427 archive_cmds_F77 | \
15428 archive_expsym_cmds_F77 | \
15429 module_cmds_F77 | \
15430 module_expsym_cmds_F77 | \
15431 old_archive_from_expsyms_cmds_F77 | \
15432 export_symbols_cmds_F77 | \
15433 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15434 postinstall_cmds | postuninstall_cmds | \
15435 old_postinstall_cmds | old_postuninstall_cmds | \
15436 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15437 # Double-quote double-evaled strings.
15438 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15441 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15447 *'\$0 --fallback-echo"')
15448 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15454 cat <<__EOF__ >> "$cfgfile"
15455 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15457 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15459 # Shell to use when invoking shell scripts.
15462 # Whether or not to build shared libraries.
15463 build_libtool_libs=$enable_shared
15465 # Whether or not to build static libraries.
15466 build_old_libs=$enable_static
15468 # Whether or not to add -lc for building shared libraries.
15469 build_libtool_need_lc=$archive_cmds_need_lc_F77
15471 # Whether or not to disallow shared libs when runtime libs are static
15472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15474 # Whether or not to optimize for fast installation.
15475 fast_install=$enable_fast_install
15478 host_alias=$host_alias
15482 # The build system.
15483 build_alias=$build_alias
15487 # An echo program that does not interpret backslashes.
15492 AR_FLAGS=$lt_AR_FLAGS
15497 # LTCC compiler flags.
15498 LTCFLAGS=$lt_LTCFLAGS
15500 # A language-specific compiler.
15501 CC=$lt_compiler_F77
15503 # Is the compiler the GNU C compiler?
15506 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15507 gcc_ver=\`gcc -dumpversion\`
15512 # The linker used to build libraries.
15515 # Whether we need hard or soft links.
15518 # A BSD-compatible nm program.
15521 # A symbol stripping program
15524 # Used to examine libraries when file_magic_cmd begins "file"
15525 MAGIC_CMD=$MAGIC_CMD
15527 # Used on cygwin: DLL creation program.
15530 # Used on cygwin: object dumper.
15533 # Used on cygwin: assembler.
15536 # The name of the directory that contains temporary libtool files.
15539 # How to create reloadable object files.
15540 reload_flag=$lt_reload_flag
15541 reload_cmds=$lt_reload_cmds
15543 # How to pass a linker flag through the compiler.
15544 wl=$lt_lt_prog_compiler_wl_F77
15546 # Object file suffix (normally "o").
15547 objext="$ac_objext"
15549 # Old archive suffix (normally "a").
15552 # Shared library suffix (normally ".so").
15553 shrext_cmds='$shrext_cmds'
15555 # Executable file suffix (normally "").
15558 # Additional compiler flags for building library objects.
15559 pic_flag=$lt_lt_prog_compiler_pic_F77
15562 # What is the maximum length of a command?
15563 max_cmd_len=$lt_cv_sys_max_cmd_len
15565 # Does compiler simultaneously support -c and -o options?
15566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15568 # Must we lock files when doing compilation?
15569 need_locks=$lt_need_locks
15571 # Do we need the lib prefix for modules?
15572 need_lib_prefix=$need_lib_prefix
15574 # Do we need a version for libraries?
15575 need_version=$need_version
15577 # Whether dlopen is supported.
15578 dlopen_support=$enable_dlopen
15580 # Whether dlopen of programs is supported.
15581 dlopen_self=$enable_dlopen_self
15583 # Whether dlopen of statically linked programs is supported.
15584 dlopen_self_static=$enable_dlopen_self_static
15586 # Compiler flag to prevent dynamic linking.
15587 link_static_flag=$lt_lt_prog_compiler_static_F77
15589 # Compiler flag to turn off builtin functions.
15590 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15592 # Compiler flag to allow reflexive dlopens.
15593 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15595 # Compiler flag to generate shared objects directly from archives.
15596 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15598 # Compiler flag to generate thread-safe objects.
15599 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15601 # Library versioning type.
15602 version_type=$version_type
15604 # Format of library name prefix.
15605 libname_spec=$lt_libname_spec
15607 # List of archive names. First name is the real one, the rest are links.
15608 # The last name is the one that the linker finds with -lNAME.
15609 library_names_spec=$lt_library_names_spec
15611 # The coded name of the library, if different from the real name.
15612 soname_spec=$lt_soname_spec
15614 # Commands used to build and install an old-style archive.
15616 old_archive_cmds=$lt_old_archive_cmds_F77
15617 old_postinstall_cmds=$lt_old_postinstall_cmds
15618 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15620 # Create an old-style archive from a shared archive.
15621 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15623 # Create a temporary old-style archive to link instead of a shared archive.
15624 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15626 # Commands used to build and install a shared archive.
15627 archive_cmds=$lt_archive_cmds_F77
15628 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15629 postinstall_cmds=$lt_postinstall_cmds
15630 postuninstall_cmds=$lt_postuninstall_cmds
15632 # Commands used to build a loadable module (assumed same as above if empty)
15633 module_cmds=$lt_module_cmds_F77
15634 module_expsym_cmds=$lt_module_expsym_cmds_F77
15636 # Commands to strip libraries.
15637 old_striplib=$lt_old_striplib
15638 striplib=$lt_striplib
15640 # Dependencies to place before the objects being linked to create a
15642 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15644 # Dependencies to place after the objects being linked to create a
15646 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15648 # Dependencies to place before the objects being linked to create a
15650 predeps=$lt_predeps_F77
15652 # Dependencies to place after the objects being linked to create a
15654 postdeps=$lt_postdeps_F77
15656 # The library search path used internally by the compiler when linking
15657 # a shared library.
15658 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15660 # Method to check whether dependent libraries are shared objects.
15661 deplibs_check_method=$lt_deplibs_check_method
15663 # Command to use when deplibs_check_method == file_magic.
15664 file_magic_cmd=$lt_file_magic_cmd
15666 # Flag that allows shared libraries with undefined symbols to be built.
15667 allow_undefined_flag=$lt_allow_undefined_flag_F77
15669 # Flag that forces no undefined symbols.
15670 no_undefined_flag=$lt_no_undefined_flag_F77
15672 # Commands used to finish a libtool library installation in a directory.
15673 finish_cmds=$lt_finish_cmds
15675 # Same as above, but a single script fragment to be evaled but not shown.
15676 finish_eval=$lt_finish_eval
15678 # Take the output of nm and produce a listing of raw symbols and C names.
15679 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15681 # Transform the output of nm in a proper C declaration
15682 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15684 # Transform the output of nm in a C name address pair
15685 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15687 # This is the shared library runtime path variable.
15688 runpath_var=$runpath_var
15690 # This is the shared library path variable.
15691 shlibpath_var=$shlibpath_var
15693 # Is shlibpath searched before the hard-coded library search path?
15694 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15696 # How to hardcode a shared library path into an executable.
15697 hardcode_action=$hardcode_action_F77
15699 # Whether we should hardcode library paths into libraries.
15700 hardcode_into_libs=$hardcode_into_libs
15702 # Flag to hardcode \$libdir into a binary during linking.
15703 # This must work even if \$libdir does not exist.
15704 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15706 # If ld is used when linking, flag to hardcode \$libdir into
15707 # a binary during linking. This must work even if \$libdir does
15709 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15711 # Whether we need a single -rpath flag with a separated argument.
15712 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15714 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15715 # resulting binary.
15716 hardcode_direct=$hardcode_direct_F77
15718 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15719 # resulting binary.
15720 hardcode_minus_L=$hardcode_minus_L_F77
15722 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15723 # the resulting binary.
15724 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15726 # Set to yes if building a shared library automatically hardcodes DIR into the library
15727 # and all subsequent libraries and executables linked against it.
15728 hardcode_automatic=$hardcode_automatic_F77
15730 # Variables whose values should be saved in libtool wrapper scripts and
15731 # restored at relink time.
15732 variables_saved_for_relink="$variables_saved_for_relink"
15734 # Whether libtool must link a program against all its dependency libraries.
15735 link_all_deplibs=$link_all_deplibs_F77
15737 # Compile-time system search path for libraries
15738 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
15740 # Run-time system search path for libraries
15741 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15743 # Fix the shell variable \$srcfile for the compiler.
15744 fix_srcfile_path="$fix_srcfile_path_F77"
15746 # Set to yes if exported symbols are required.
15747 always_export_symbols=$always_export_symbols_F77
15749 # The commands to list exported symbols.
15750 export_symbols_cmds=$lt_export_symbols_cmds_F77
15752 # The commands to extract the exported symbol list from a shared archive.
15753 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15755 # Symbols that should not be listed in the preloaded symbols.
15756 exclude_expsyms=$lt_exclude_expsyms_F77
15758 # Symbols that must always be exported.
15759 include_expsyms=$lt_include_expsyms_F77
15761 # ### END LIBTOOL TAG CONFIG: $tagname
15767 # If there is no Makefile yet, we rely on a make rule to execute
15768 # `config.status --recheck' to rerun these tests and create the
15769 # libtool script then.
15770 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15771 if test -f "$ltmain_in"; then
15772 test -f Makefile
&& make "$ltmain"
15778 ac_cpp
='$CPP $CPPFLAGS'
15779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15791 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15795 # Source file extension for Java test sources.
15798 # Object file extension for compiled Java test sources.
15802 # Code to be used in simple compile tests
15803 lt_simple_compile_test_code
="class foo {}\n"
15805 # Code to be used in simple link tests
15806 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
15808 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15810 # If no C compiler was specified, use CC.
15813 # If no C compiler flags were specified, use CFLAGS.
15814 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15816 # Allow CC to be a program name with arguments.
15820 # save warnings/boilerplate of simple test code
15821 ac_outfile
=conftest.
$ac_objext
15822 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15823 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15824 _lt_compiler_boilerplate
=`cat conftest.err`
15827 ac_outfile
=conftest.
$ac_objext
15828 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15829 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15830 _lt_linker_boilerplate
=`cat conftest.err`
15834 # Allow CC to be a program name with arguments.
15839 for cc_temp
in $compiler""; do
15841 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15842 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15847 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15850 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15851 archive_cmds_need_lc_GCJ
=no
15853 old_archive_cmds_GCJ
=$old_archive_cmds
15856 lt_prog_compiler_no_builtin_flag_GCJ
=
15858 if test "$GCC" = yes; then
15859 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15862 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15863 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15864 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15865 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 lt_cv_prog_compiler_rtti_exceptions
=no
15868 ac_outfile
=conftest.
$ac_objext
15869 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15870 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15871 # Insert the option either (1) after the last *FLAGS variable, or
15872 # (2) before a word containing "conftest.", or (3) at the end.
15873 # Note that $ac_compile itself does not contain backslashes and begins
15874 # with a dollar sign (not a hyphen), so the echo should work correctly.
15875 # The option is referenced via a variable to avoid confusing sed.
15876 lt_compile
=`echo "$ac_compile" | $SED \
15877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15879 -e 's:$: $lt_compiler_flag:'`
15880 (eval echo "\"\$as_me:15880: $lt_compile\"" >&5)
15881 (eval "$lt_compile" 2>conftest.err
)
15883 cat conftest.err
>&5
15884 echo "$as_me:15884: \$? = $ac_status" >&5
15885 if (exit $ac_status) && test -s "$ac_outfile"; then
15886 # The compiler can only warn and ignore the option if not recognized
15887 # So say no if there are warnings other than the usual output.
15888 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15889 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15890 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15891 lt_cv_prog_compiler_rtti_exceptions
=yes
15897 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15898 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15900 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15901 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15908 lt_prog_compiler_wl_GCJ
=
15909 lt_prog_compiler_pic_GCJ
=
15910 lt_prog_compiler_static_GCJ
=
15912 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15913 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15915 if test "$GCC" = yes; then
15916 lt_prog_compiler_wl_GCJ
='-Wl,'
15917 lt_prog_compiler_static_GCJ
='-static'
15921 # All AIX code is PIC.
15922 if test "$host_cpu" = ia64
; then
15923 # AIX 5 now supports IA64 processor
15924 lt_prog_compiler_static_GCJ
='-Bstatic'
15929 # FIXME: we need at least 68020 code to build shared libraries, but
15930 # adding the `-m68020' flag to GCC prevents building anything better,
15932 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15935 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15936 # PIC is the default for these OSes.
15939 mingw
* | pw32
* | os2
*)
15940 # This hack is so that the source file can tell whether it is being
15941 # built for inclusion in a dll (and should export symbols for example).
15942 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15945 darwin
* | rhapsody
*)
15946 # PIC is the default on this platform
15947 # Common symbols not allowed in MH_DYLIB files
15948 lt_prog_compiler_pic_GCJ
='-fno-common'
15952 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15953 # Instead, we relocate shared libraries at runtime.
15957 # Just because we use GCC doesn't mean we suddenly get shared libraries
15958 # on systems that don't support them.
15959 lt_prog_compiler_can_build_shared_GCJ
=no
15964 if test -d /usr
/nec
; then
15965 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15970 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15971 # not for PA HP-UX.
15977 lt_prog_compiler_pic_GCJ
='-fPIC'
15983 lt_prog_compiler_pic_GCJ
='-fPIC'
15987 # PORTME Check for flag to pass linker flags through the system compiler.
15990 lt_prog_compiler_wl_GCJ
='-Wl,'
15991 if test "$host_cpu" = ia64
; then
15992 # AIX 5 now supports IA64 processor
15993 lt_prog_compiler_static_GCJ
='-Bstatic'
15995 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15999 # PIC is the default on this platform
16000 # Common symbols not allowed in MH_DYLIB files
16001 case $cc_basename in
16003 lt_prog_compiler_pic_GCJ
='-qnocommon'
16004 lt_prog_compiler_wl_GCJ
='-Wl,'
16009 mingw
* | pw32
* | os2
*)
16010 # This hack is so that the source file can tell whether it is being
16011 # built for inclusion in a dll (and should export symbols for example).
16012 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16015 hpux9
* | hpux10
* | hpux11
*)
16016 lt_prog_compiler_wl_GCJ
='-Wl,'
16017 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16018 # not for PA HP-UX.
16024 lt_prog_compiler_pic_GCJ
='+Z'
16027 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16028 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16031 irix5
* | irix6
* | nonstopux
*)
16032 lt_prog_compiler_wl_GCJ
='-Wl,'
16033 # PIC (with -KPIC) is the default.
16034 lt_prog_compiler_static_GCJ
='-non_shared'
16038 lt_prog_compiler_pic_GCJ
='-KPIC'
16039 lt_prog_compiler_static_GCJ
='-Bstatic'
16043 case $cc_basename in
16045 lt_prog_compiler_wl_GCJ
='-Wl,'
16046 lt_prog_compiler_pic_GCJ
='-KPIC'
16047 lt_prog_compiler_static_GCJ
='-static'
16049 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16050 # Portland Group compilers (*not* the Pentium gcc compiler,
16051 # which looks to be a dead project)
16052 lt_prog_compiler_wl_GCJ
='-Wl,'
16053 lt_prog_compiler_pic_GCJ
='-fpic'
16054 lt_prog_compiler_static_GCJ
='-Bstatic'
16057 lt_prog_compiler_wl_GCJ
='-Wl,'
16058 # All Alpha code is PIC.
16059 lt_prog_compiler_static_GCJ
='-non_shared'
16064 osf3
* | osf4
* | osf5
*)
16065 lt_prog_compiler_wl_GCJ
='-Wl,'
16066 # All OSF/1 code is PIC.
16067 lt_prog_compiler_static_GCJ
='-non_shared'
16071 lt_prog_compiler_pic_GCJ
='-KPIC'
16072 lt_prog_compiler_static_GCJ
='-Bstatic'
16073 case $cc_basename in
16074 f77
* | f90
* | f95
*)
16075 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16077 lt_prog_compiler_wl_GCJ
='-Wl,';;
16082 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16083 lt_prog_compiler_pic_GCJ
='-PIC'
16084 lt_prog_compiler_static_GCJ
='-Bstatic'
16087 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16088 lt_prog_compiler_wl_GCJ
='-Wl,'
16089 lt_prog_compiler_pic_GCJ
='-KPIC'
16090 lt_prog_compiler_static_GCJ
='-Bstatic'
16094 if test -d /usr
/nec
;then
16095 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16096 lt_prog_compiler_static_GCJ
='-Bstatic'
16100 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16101 lt_prog_compiler_wl_GCJ
='-Wl,'
16102 lt_prog_compiler_pic_GCJ
='-KPIC'
16103 lt_prog_compiler_static_GCJ
='-Bstatic'
16107 lt_prog_compiler_wl_GCJ
='-Wl,'
16108 lt_prog_compiler_can_build_shared_GCJ
=no
16112 lt_prog_compiler_pic_GCJ
='-pic'
16113 lt_prog_compiler_static_GCJ
='-Bstatic'
16117 lt_prog_compiler_can_build_shared_GCJ
=no
16122 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16123 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16126 # Check to make sure the PIC flag actually works.
16128 if test -n "$lt_prog_compiler_pic_GCJ"; then
16130 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16131 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16132 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 lt_prog_compiler_pic_works_GCJ
=no
16136 ac_outfile
=conftest.
$ac_objext
16137 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16138 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16139 # Insert the option either (1) after the last *FLAGS variable, or
16140 # (2) before a word containing "conftest.", or (3) at the end.
16141 # Note that $ac_compile itself does not contain backslashes and begins
16142 # with a dollar sign (not a hyphen), so the echo should work correctly.
16143 # The option is referenced via a variable to avoid confusing sed.
16144 lt_compile
=`echo "$ac_compile" | $SED \
16145 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16146 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16147 -e 's:$: $lt_compiler_flag:'`
16148 (eval echo "\"\$as_me:16148: $lt_compile\"" >&5)
16149 (eval "$lt_compile" 2>conftest.err
)
16151 cat conftest.err
>&5
16152 echo "$as_me:16152: \$? = $ac_status" >&5
16153 if (exit $ac_status) && test -s "$ac_outfile"; then
16154 # The compiler can only warn and ignore the option if not recognized
16155 # So say no if there are warnings other than the usual output.
16156 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16157 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16158 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16159 lt_prog_compiler_pic_works_GCJ
=yes
16165 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16166 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16168 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16169 case $lt_prog_compiler_pic_GCJ in
16171 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16174 lt_prog_compiler_pic_GCJ
=
16175 lt_prog_compiler_can_build_shared_GCJ
=no
16180 # For platforms which do not support PIC, -DPIC is meaningless:
16182 lt_prog_compiler_pic_GCJ
=
16185 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16190 # Check to make sure the static flag actually works.
16192 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16193 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16194 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16195 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 lt_prog_compiler_static_works_GCJ
=no
16199 save_LDFLAGS
="$LDFLAGS"
16200 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16201 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16202 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16203 # The linker can only warn and ignore the option if not recognized
16204 # So say no if there are warnings
16205 if test -s conftest.err
; then
16206 # Append any errors to the config.log.
16207 cat conftest.err
1>&5
16208 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16209 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16210 if diff conftest.exp conftest.er2
>/dev
/null
; then
16211 lt_prog_compiler_static_works_GCJ
=yes
16214 lt_prog_compiler_static_works_GCJ
=yes
16218 LDFLAGS
="$save_LDFLAGS"
16221 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16222 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16224 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16227 lt_prog_compiler_static_GCJ
=
16231 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16232 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16233 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16234 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 lt_cv_prog_compiler_c_o_GCJ
=no
16237 $rm -r conftest
2>/dev
/null
16241 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16243 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16244 # Insert the option either (1) after the last *FLAGS variable, or
16245 # (2) before a word containing "conftest.", or (3) at the end.
16246 # Note that $ac_compile itself does not contain backslashes and begins
16247 # with a dollar sign (not a hyphen), so the echo should work correctly.
16248 lt_compile
=`echo "$ac_compile" | $SED \
16249 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16251 -e 's:$: $lt_compiler_flag:'`
16252 (eval echo "\"\$as_me:16252: $lt_compile\"" >&5)
16253 (eval "$lt_compile" 2>out
/conftest.err
)
16255 cat out
/conftest.err
>&5
16256 echo "$as_me:16256: \$? = $ac_status" >&5
16257 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16259 # The compiler can only warn and ignore the option if not recognized
16260 # So say no if there are warnings
16261 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16262 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16263 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16264 lt_cv_prog_compiler_c_o_GCJ
=yes
16269 # SGI C++ compiler will create directory out/ii_files/ for
16270 # template instantiation
16271 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16272 $rm out
/* && rmdir out
16278 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16279 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16282 hard_links
="nottested"
16283 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16284 # do not overwrite the value of need_locks provided by the user
16285 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16286 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16289 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16291 ln conftest.a conftest.b
2>&5 || hard_links
=no
16292 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16293 echo "$as_me:$LINENO: result: $hard_links" >&5
16294 echo "${ECHO_T}$hard_links" >&6
16295 if test "$hard_links" = no
; then
16296 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16297 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16304 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16305 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16308 allow_undefined_flag_GCJ
=
16309 enable_shared_with_static_runtimes_GCJ
=no
16311 archive_expsym_cmds_GCJ
=
16312 old_archive_From_new_cmds_GCJ
=
16313 old_archive_from_expsyms_cmds_GCJ
=
16314 export_dynamic_flag_spec_GCJ
=
16315 whole_archive_flag_spec_GCJ
=
16316 thread_safe_flag_spec_GCJ
=
16317 hardcode_libdir_flag_spec_GCJ
=
16318 hardcode_libdir_flag_spec_ld_GCJ
=
16319 hardcode_libdir_separator_GCJ
=
16320 hardcode_direct_GCJ
=no
16321 hardcode_minus_L_GCJ
=no
16322 hardcode_shlibpath_var_GCJ
=unsupported
16323 link_all_deplibs_GCJ
=unknown
16324 hardcode_automatic_GCJ
=no
16326 module_expsym_cmds_GCJ
=
16327 always_export_symbols_GCJ
=no
16328 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16329 # include_expsyms should be a list of space-separated symbols to be *always*
16330 # included in the symbol list
16331 include_expsyms_GCJ
=
16332 # exclude_expsyms can be an extended regexp of symbols to exclude
16333 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16334 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16335 # as well as any symbol that contains `d'.
16336 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16337 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16338 # platforms (ab)use it in PIC code, but their linkers get confused if
16339 # the symbol is explicitly referenced. Since portable code cannot
16340 # rely on this symbol name, it's probably fine to never include it in
16341 # preloaded symbol tables.
16342 extract_expsyms_cmds
=
16343 # Just being paranoid about ensuring that cc_basename is set.
16344 for cc_temp
in $compiler""; do
16346 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16347 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16352 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16355 cygwin
* | mingw
* | pw32
*)
16356 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16357 # When not using gcc, we currently assume that we are using
16358 # Microsoft Visual C++.
16359 if test "$GCC" != yes; then
16364 # we just hope/assume this is gcc and not c89 (= MSVC++)
16373 if test "$with_gnu_ld" = yes; then
16374 # If archive_cmds runs LD, not CC, wlarc should be empty
16377 # Set some defaults for GNU ld with shared library support. These
16378 # are reset later if shared libraries are not supported. Putting them
16379 # here allows them to be overridden if necessary.
16380 runpath_var
=LD_RUN_PATH
16381 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16382 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16383 # ancient GNU ld didn't support --whole-archive et. al.
16384 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16385 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16387 whole_archive_flag_spec_GCJ
=
16389 supports_anon_versioning
=no
16390 case `$LD -v 2>/dev/null` in
16391 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16392 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16393 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16394 *\
2.11.
*) ;; # other 2.11 versions
16395 *) supports_anon_versioning
=yes ;;
16398 # See if GNU ld supports shared libraries.
16400 aix3
* | aix4
* | aix5
*)
16401 # On AIX/PPC, the GNU linker is very broken
16402 if test "$host_cpu" != ia64
; then
16406 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16407 *** to be unable to reliably create shared libraries on AIX.
16408 *** Therefore, libtool is disabling shared libraries support. If you
16409 *** really care for shared libraries, you may want to modify your PATH
16410 *** so that a non-GNU linker is found, and then restart.
16417 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)'
16418 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16419 hardcode_minus_L_GCJ
=yes
16421 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16422 # that the semantics of dynamic libraries on AmigaOS, at least up
16423 # to version 4, is to share data among multiple programs linked
16424 # with the same dynamic library. Since this doesn't match the
16425 # behavior of shared libraries on other platforms, we can't use
16431 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16432 allow_undefined_flag_GCJ
=unsupported
16433 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16434 # support --undefined. This deserves some investigation. FIXME
16435 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16441 cygwin
* | mingw
* | pw32
*)
16442 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16443 # as there is no search path for DLLs.
16444 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16445 allow_undefined_flag_GCJ
=unsupported
16446 always_export_symbols_GCJ
=no
16447 enable_shared_with_static_runtimes_GCJ
=yes
16448 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16450 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16451 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16452 # If the export-symbols file already is a .def file (1st line
16453 # is EXPORTS), use it as is; otherwise, prepend...
16454 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16455 cp $export_symbols $output_objdir/$soname.def;
16457 echo EXPORTS > $output_objdir/$soname.def;
16458 cat $export_symbols >> $output_objdir/$soname.def;
16460 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16467 hardcode_direct_GCJ
=no
16468 hardcode_shlibpath_var_GCJ
=no
16469 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16470 export_dynamic_flag_spec_GCJ
='${wl}-E'
16471 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16472 # Instead, shared libraries are loaded at an image base (0x10000000 by
16473 # default) and relocated if they conflict, which is a slow very memory
16474 # consuming and fragmenting process. To avoid this, we pick a random,
16475 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16476 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16477 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16478 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16482 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16484 case $cc_basename,$host_cpu in
16485 pgcc
*) # Portland Group C compiler
16486 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16487 tmp_addflag
=' $pic_flag'
16489 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16490 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16491 tmp_addflag
=' $pic_flag -Mnomain' ;;
16492 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16493 tmp_addflag
=' -i_dynamic' ;;
16494 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16495 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16496 ifc
* | ifort
*) # Intel Fortran compiler
16497 tmp_addflag
=' -nofor_main' ;;
16499 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16501 if test $supports_anon_versioning = yes; then
16502 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16503 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16504 $echo "local: *; };" >> $output_objdir/$libname.ver~
16505 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16513 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16514 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16517 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16518 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16523 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16527 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16528 *** create shared libraries on Solaris systems. Therefore, libtool
16529 *** is disabling shared libraries support. We urge you to upgrade GNU
16530 *** binutils to release 2.9.1 or newer. Another option is to modify
16531 *** your PATH or compiler configuration so that the native linker is
16532 *** used, and then restart.
16535 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16536 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16537 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16543 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16544 case `$LD -v 2>&1` in
16545 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16549 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16550 *** reliably create shared libraries on SCO systems. Therefore, libtool
16551 *** is disabling shared libraries support. We urge you to upgrade GNU
16552 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16553 *** your PATH or compiler configuration so that the native linker is
16554 *** used, and then restart.
16559 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16560 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16561 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16562 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16571 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16573 hardcode_direct_GCJ
=yes
16574 hardcode_shlibpath_var_GCJ
=no
16578 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16579 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16580 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16587 if test "$ld_shlibs_GCJ" = no
; then
16589 hardcode_libdir_flag_spec_GCJ
=
16590 export_dynamic_flag_spec_GCJ
=
16591 whole_archive_flag_spec_GCJ
=
16594 # PORTME fill in a description of your system's linker (not GNU ld)
16597 allow_undefined_flag_GCJ
=unsupported
16598 always_export_symbols_GCJ
=yes
16599 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'
16600 # Note: this linker hardcodes the directories in LIBPATH if there
16601 # are no directories specified by -L.
16602 hardcode_minus_L_GCJ
=yes
16603 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16604 # Neither direct hardcoding nor static linking is supported with a
16606 hardcode_direct_GCJ
=unsupported
16611 if test "$host_cpu" = ia64
; then
16612 # On IA64, the linker does run time linking by default, so we don't
16613 # have to do anything special.
16614 aix_use_runtimelinking
=no
16615 exp_sym_flag
='-Bexport'
16618 # If we're using GNU nm, then we don't want the "-C" option.
16619 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16620 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16621 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'
16623 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'
16625 aix_use_runtimelinking
=no
16627 # Test if we are trying to use run time linking or normal
16628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16629 # need to do runtime linking.
16630 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16631 for ld_flag
in $LDFLAGS; do
16632 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16633 aix_use_runtimelinking
=yes
16640 exp_sym_flag
='-bexport'
16641 no_entry_flag
='-bnoentry'
16644 # When large executables or shared objects are built, AIX ld can
16645 # have problems creating the table of contents. If linking a library
16646 # or program results in "error TOC overflow" add -mminimal-toc to
16647 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16648 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16650 archive_cmds_GCJ
=''
16651 hardcode_direct_GCJ
=yes
16652 hardcode_libdir_separator_GCJ
=':'
16653 link_all_deplibs_GCJ
=yes
16655 if test "$GCC" = yes; then
16656 case $host_os in aix4.
[012]|aix4.
[012].
*)
16657 # We only want to do this on AIX 4.2 and lower, the check
16658 # below for broken collect2 doesn't work under 4.3+
16659 collect2name
=`${CC} -print-prog-name=collect2`
16660 if test -f "$collect2name" && \
16661 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16663 # We have reworked collect2
16664 hardcode_direct_GCJ
=yes
16666 # We have old collect2
16667 hardcode_direct_GCJ
=unsupported
16668 # It fails to find uninstalled libraries when the uninstalled
16669 # path is not listed in the libpath. Setting hardcode_minus_L
16670 # to unsupported forces relinking
16671 hardcode_minus_L_GCJ
=yes
16672 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16673 hardcode_libdir_separator_GCJ
=
16677 shared_flag
='-shared'
16678 if test "$aix_use_runtimelinking" = yes; then
16679 shared_flag
="$shared_flag "'${wl}-G'
16683 if test "$host_cpu" = ia64
; then
16684 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16685 # chokes on -Wl,-G. The following line is correct:
16688 if test "$aix_use_runtimelinking" = yes; then
16689 shared_flag
='${wl}-G'
16691 shared_flag
='${wl}-bM:SRE'
16696 # It seems that -bexpall does not export symbols beginning with
16697 # underscore (_), so it is better to generate a list of symbols to export.
16698 always_export_symbols_GCJ
=yes
16699 if test "$aix_use_runtimelinking" = yes; then
16700 # Warning - without using the other runtime loading flags (-brtl),
16701 # -berok will link without error, but may produce a broken library.
16702 allow_undefined_flag_GCJ
='-berok'
16703 # Determine the default libpath from the value encoded in an empty executable.
16704 cat >conftest.
$ac_ext <<_ACEOF
16707 cat confdefs.h
>>conftest.
$ac_ext
16708 cat >>conftest.
$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16719 rm -f conftest.
$ac_objext conftest
$ac_exeext
16720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16721 (eval $ac_link) 2>conftest.er1
16723 grep -v '^ *+' conftest.er1
>conftest.err
16725 cat conftest.err
>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } &&
16728 { ac_try
='test -z "$ac_c_werror_flag"
16729 || test ! -s conftest.err'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; } &&
16735 { ac_try
='test -s conftest$ac_exeext'
16736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737 (eval $ac_try) 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; }; then
16742 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16744 # Check for a 64-bit object if we didn't find anything.
16745 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; }
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.
$ac_ext >&5
16752 rm -f conftest.err conftest.
$ac_objext \
16753 conftest
$ac_exeext conftest.
$ac_ext
16754 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16756 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16757 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16759 if test "$host_cpu" = ia64
; then
16760 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16761 allow_undefined_flag_GCJ
="-z nodefs"
16762 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16764 # Determine the default libpath from the value encoded in an empty executable.
16765 cat >conftest.
$ac_ext <<_ACEOF
16768 cat confdefs.h
>>conftest.
$ac_ext
16769 cat >>conftest.
$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16780 rm -f conftest.
$ac_objext conftest
$ac_exeext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16782 (eval $ac_link) 2>conftest.er1
16784 grep -v '^ *+' conftest.er1
>conftest.err
16786 cat conftest.err
>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
16789 { ac_try
='test -z "$ac_c_werror_flag"
16790 || test ! -s conftest.err'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; } &&
16796 { ac_try
='test -s conftest$ac_exeext'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; }; then
16803 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16805 # Check for a 64-bit object if we didn't find anything.
16806 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; }
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.
$ac_ext >&5
16813 rm -f conftest.err conftest.
$ac_objext \
16814 conftest
$ac_exeext conftest.
$ac_ext
16815 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16817 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16818 # Warning - without using the other run time loading flags,
16819 # -berok will link without error, but may produce a broken library.
16820 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16821 allow_undefined_flag_GCJ
=' ${wl}-berok'
16822 # Exported symbols can be pulled into shared objects from archives
16823 whole_archive_flag_spec_GCJ
='$convenience'
16824 archive_cmds_need_lc_GCJ
=yes
16825 # This is similar to how AIX traditionally builds its shared libraries.
16826 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16832 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)'
16833 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16834 hardcode_minus_L_GCJ
=yes
16835 # see comment about different semantics on the GNU ld section
16840 export_dynamic_flag_spec_GCJ
=-rdynamic
16843 cygwin
* | mingw
* | pw32
*)
16844 # When not using gcc, we currently assume that we are using
16845 # Microsoft Visual C++.
16846 # hardcode_libdir_flag_spec is actually meaningless, as there is
16847 # no search path for DLLs.
16848 hardcode_libdir_flag_spec_GCJ
=' '
16849 allow_undefined_flag_GCJ
=unsupported
16850 # Tell ltmain to make .lib files, not .a files.
16852 # Tell ltmain to make .dll files, not .so files.
16854 # FIXME: Setting linknames here is a bad hack.
16855 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16856 # The linker will automatically build a .lib file if we build a DLL.
16857 old_archive_From_new_cmds_GCJ
='true'
16858 # FIXME: Should let the user specify the lib program.
16859 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16860 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16861 enable_shared_with_static_runtimes_GCJ
=yes
16864 darwin
* | rhapsody
*)
16866 rhapsody
* | darwin1.
[012])
16867 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16870 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16871 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16873 case ${MACOSX_DEPLOYMENT_TARGET} in
16875 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16878 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16884 archive_cmds_need_lc_GCJ
=no
16885 hardcode_direct_GCJ
=no
16886 hardcode_automatic_GCJ
=yes
16887 hardcode_shlibpath_var_GCJ
=unsupported
16888 whole_archive_flag_spec_GCJ
=''
16889 link_all_deplibs_GCJ
=yes
16890 if test "$GCC" = yes ; then
16891 output_verbose_link_cmd
='echo'
16892 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16893 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16894 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16895 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16896 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}'
16898 case $cc_basename in
16900 output_verbose_link_cmd
='echo'
16901 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16902 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16903 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16904 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16905 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}'
16915 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16916 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16917 hardcode_shlibpath_var_GCJ
=no
16924 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16925 # support. Future versions do this automatically, but an explicit c++rt0.o
16926 # does not break anything, and helps significantly (at the cost of a little
16929 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16930 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16931 hardcode_direct_GCJ
=yes
16932 hardcode_shlibpath_var_GCJ
=no
16935 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16937 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16938 hardcode_direct_GCJ
=yes
16939 hardcode_minus_L_GCJ
=yes
16940 hardcode_shlibpath_var_GCJ
=no
16943 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16944 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16945 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16946 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16947 hardcode_direct_GCJ
=yes
16948 hardcode_shlibpath_var_GCJ
=no
16952 if test "$GCC" = yes; then
16953 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'
16955 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'
16957 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16958 hardcode_libdir_separator_GCJ
=:
16959 hardcode_direct_GCJ
=yes
16961 # hardcode_minus_L: Not really in the search PATH,
16962 # but as the default location of the library.
16963 hardcode_minus_L_GCJ
=yes
16964 export_dynamic_flag_spec_GCJ
='${wl}-E'
16968 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16969 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16971 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16973 if test "$with_gnu_ld" = no
; then
16974 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16975 hardcode_libdir_separator_GCJ
=:
16977 hardcode_direct_GCJ
=yes
16978 export_dynamic_flag_spec_GCJ
='${wl}-E'
16980 # hardcode_minus_L: Not really in the search PATH,
16981 # but as the default location of the library.
16982 hardcode_minus_L_GCJ
=yes
16987 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16990 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16993 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16996 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17002 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17005 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17008 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17012 if test "$with_gnu_ld" = no
; then
17013 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17014 hardcode_libdir_separator_GCJ
=:
17018 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17019 hardcode_direct_GCJ
=no
17020 hardcode_shlibpath_var_GCJ
=no
17023 hardcode_direct_GCJ
=yes
17024 export_dynamic_flag_spec_GCJ
='${wl}-E'
17026 # hardcode_minus_L: Not really in the search PATH,
17027 # but as the default location of the library.
17028 hardcode_minus_L_GCJ
=yes
17034 irix5
* | irix6
* | nonstopux
*)
17035 if test "$GCC" = yes; then
17036 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'
17038 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'
17039 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17041 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17042 hardcode_libdir_separator_GCJ
=:
17043 link_all_deplibs_GCJ
=yes
17047 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17048 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17050 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17052 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17053 hardcode_direct_GCJ
=yes
17054 hardcode_shlibpath_var_GCJ
=no
17058 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17059 hardcode_direct_GCJ
=yes
17060 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17061 hardcode_libdir_separator_GCJ
=:
17062 hardcode_shlibpath_var_GCJ
=no
17066 hardcode_direct_GCJ
=yes
17067 hardcode_shlibpath_var_GCJ
=no
17068 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17069 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17070 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17071 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17072 export_dynamic_flag_spec_GCJ
='${wl}-E'
17075 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17076 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17077 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17080 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17081 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17088 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17089 hardcode_minus_L_GCJ
=yes
17090 allow_undefined_flag_GCJ
=unsupported
17091 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'
17092 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17096 if test "$GCC" = yes; then
17097 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17098 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'
17100 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17101 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'
17103 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17104 hardcode_libdir_separator_GCJ
=:
17107 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17108 if test "$GCC" = yes; then
17109 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17110 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'
17111 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17113 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17114 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'
17115 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~
17116 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17118 # Both c and cxx compiler support -rpath directly
17119 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17121 hardcode_libdir_separator_GCJ
=:
17125 no_undefined_flag_GCJ
=' -z text'
17126 if test "$GCC" = yes; then
17128 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17129 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17130 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17133 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17134 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17135 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17137 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17138 hardcode_shlibpath_var_GCJ
=no
17140 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17142 # The compiler driver will combine linker options so we
17143 # cannot just pass the convience library names through
17144 # without $wl, iff we do not link with $LD.
17145 # Luckily, gcc supports the same syntax we need for Sun Studio.
17146 # Supported since Solaris 2.6 (maybe 2.5.1?)
17149 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17151 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17154 link_all_deplibs_GCJ
=yes
17158 if test "x$host_vendor" = xsequent
; then
17159 # Use $CC to link under sequent, because it throws in some extra .o
17160 # files that make .init and .fini sections work.
17161 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17163 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17165 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17166 hardcode_direct_GCJ
=yes
17167 hardcode_minus_L_GCJ
=yes
17168 hardcode_shlibpath_var_GCJ
=no
17172 case $host_vendor in
17174 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17175 hardcode_direct_GCJ
=yes # is this really true???
17178 ## LD is ld it makes a PLAMLIB
17179 ## CC just makes a GrossModule.
17180 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17181 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17182 hardcode_direct_GCJ
=no
17185 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17186 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17189 runpath_var
='LD_RUN_PATH'
17190 hardcode_shlibpath_var_GCJ
=no
17194 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17195 hardcode_shlibpath_var_GCJ
=no
17196 export_dynamic_flag_spec_GCJ
='-Bexport'
17200 if test -d /usr
/nec
; then
17201 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17202 hardcode_shlibpath_var_GCJ
=no
17203 runpath_var
=LD_RUN_PATH
17204 hardcode_runpath_var
=yes
17209 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17210 no_undefined_flag_GCJ
='${wl}-z,text'
17211 archive_cmds_need_lc_GCJ
=no
17212 hardcode_shlibpath_var_GCJ
=no
17213 runpath_var
='LD_RUN_PATH'
17215 if test "$GCC" = yes; then
17216 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17217 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17219 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17220 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17224 sysv5
* | sco3.2v5
* | sco5v6
*)
17225 # Note: We can NOT use -z defs as we might desire, because we do not
17226 # link with -lc, and that would cause any symbols used from libc to
17227 # always be unresolved, which means just about no library would
17228 # ever link correctly. If we're not using GNU ld we use -z text
17229 # though, which does catch some bad symbols but isn't as heavy-handed
17231 no_undefined_flag_GCJ
='${wl}-z,text'
17232 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17233 archive_cmds_need_lc_GCJ
=no
17234 hardcode_shlibpath_var_GCJ
=no
17235 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17236 hardcode_libdir_separator_GCJ
=':'
17237 link_all_deplibs_GCJ
=yes
17238 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17239 runpath_var
='LD_RUN_PATH'
17241 if test "$GCC" = yes; then
17242 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17243 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17245 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17246 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17251 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17252 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17253 hardcode_shlibpath_var_GCJ
=no
17262 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17263 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17264 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17267 # Do we need to explicitly link libc?
17269 case "x$archive_cmds_need_lc_GCJ" in
17271 # Assume -lc should be added
17272 archive_cmds_need_lc_GCJ
=yes
17274 if test "$enable_shared" = yes && test "$GCC" = yes; then
17275 case $archive_cmds_GCJ in
17277 # FIXME: we may have to deal with multi-command sequences.
17280 # Test whether the compiler implicitly links with -lc since on some
17281 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17282 # to ld, don't add -lc before -lgcc.
17283 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17284 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17286 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } 2>conftest.err
; then
17295 libobjs
=conftest.
$ac_objext
17297 wl
=$lt_prog_compiler_wl_GCJ
17298 pic_flag
=$lt_prog_compiler_pic_GCJ
17304 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17305 allow_undefined_flag_GCJ
=
17306 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17307 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }
17312 archive_cmds_need_lc_GCJ
=no
17314 archive_cmds_need_lc_GCJ
=yes
17316 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17318 cat conftest.err
1>&5
17321 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17322 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17329 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17330 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17331 library_names_spec
=
17332 libname_spec
='lib$name'
17336 postuninstall_cmds
=
17340 shlibpath_overrides_runpath
=unknown
17342 dynamic_linker
="$host_os ld.so"
17343 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17344 if test "$GCC" = yes; then
17345 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17346 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17347 # if the path contains ";" then we assume it to be the separator
17348 # otherwise default to the standard path separator (i.e. ":") - it is
17349 # assumed that no part of a normal pathname contains ";" but that should
17350 # okay in the real world where ";" in dirpaths is itself problematic.
17351 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17353 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17356 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17358 need_lib_prefix
=unknown
17359 hardcode_into_libs
=no
17361 # when you set need_version to no, make sure it does not cause -set_version
17362 # flags to be left without arguments
17363 need_version
=unknown
17368 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17369 shlibpath_var
=LIBPATH
17371 # AIX 3 has no versioning support, so we append a major version to the name.
17372 soname_spec
='${libname}${release}${shared_ext}$major'
17379 hardcode_into_libs
=yes
17380 if test "$host_cpu" = ia64
; then
17381 # AIX 5 supports IA64
17382 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17383 shlibpath_var
=LD_LIBRARY_PATH
17385 # With GCC up to 2.95.x, collect2 would create an import file
17386 # for dependence libraries. The import file would start with
17387 # the line `#! .'. This would cause the generated library to
17388 # depend on `.', always an invalid library. This was fixed in
17389 # development snapshots of GCC prior to 3.0.
17391 aix4 | aix4.
[01] | aix4.
[01].
*)
17392 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17394 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17397 can_build_shared
=no
17401 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17402 # soname into executable. Probably we can add versioning support to
17403 # collect2, so additional links can be useful in future.
17404 if test "$aix_use_runtimelinking" = yes; then
17405 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17406 # instead of lib<name>.a to let people know that these are not
17407 # typical AIX shared libraries.
17408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17410 # We preserve .a as extension for shared libraries through AIX4.2
17411 # and later when we are not doing run time linking.
17412 library_names_spec
='${libname}${release}.a $libname.a'
17413 soname_spec
='${libname}${release}${shared_ext}$major'
17415 shlibpath_var
=LIBPATH
17420 library_names_spec
='$libname.ixlibrary $libname.a'
17421 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17422 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'
17426 library_names_spec
='${libname}${shared_ext}'
17427 dynamic_linker
="$host_os ld.so"
17428 shlibpath_var
=LIBRARY_PATH
17434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17435 soname_spec
='${libname}${release}${shared_ext}$major'
17436 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17437 shlibpath_var
=LD_LIBRARY_PATH
17438 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17439 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17440 # the default ld.so.conf also contains /usr/contrib/lib and
17441 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17442 # libtool to hard-code these into programs
17445 cygwin
* | mingw
* | pw32
*)
17446 version_type
=windows
17451 case $GCC,$host_os in
17452 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17453 library_names_spec
='$libname.dll.a'
17454 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17455 postinstall_cmds
='base_file=`basename \${file}`~
17456 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17457 dldir=$destdir/`dirname \$dlpath`~
17458 test -d \$dldir || mkdir -p \$dldir~
17459 $install_prog $dir/$dlname \$dldir/$dlname~
17460 chmod a+x \$dldir/$dlname'
17461 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17462 dlpath=$dir/\$dldll~
17464 shlibpath_overrides_runpath
=yes
17468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17469 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17470 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17473 # MinGW DLLs use traditional 'lib' prefix
17474 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17475 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17476 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17477 # It is most probably a Windows format PATH printed by
17478 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17479 # path with ; separators, and with drive letters. We can handle the
17480 # drive letters (cygwin fileutils understands them), so leave them,
17481 # especially as we might pass files found there to a mingw objdump,
17482 # which wouldn't understand a cygwinified path. Ahh.
17483 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17485 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17489 # pw32 DLLs use 'pw' prefix rather than 'lib'
17490 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17496 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17499 dynamic_linker
='Win32 ld.exe'
17500 # FIXME: first we should search . and the directory the executable is in
17504 darwin
* | rhapsody
*)
17505 dynamic_linker
="$host_os dyld"
17506 version_type
=darwin
17509 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17510 soname_spec
='${libname}${release}${major}$shared_ext'
17511 shlibpath_overrides_runpath
=yes
17512 shlibpath_var
=DYLD_LIBRARY_PATH
17513 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17514 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17515 if test "$GCC" = yes; then
17516 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"`
17518 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17520 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17528 soname_spec
='${libname}${release}${shared_ext}$major'
17529 shlibpath_var
=LD_LIBRARY_PATH
17540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17541 soname_spec
='${libname}${release}${shared_ext}$major'
17542 shlibpath_var
=LD_LIBRARY_PATH
17543 shlibpath_overrides_runpath
=no
17544 hardcode_into_libs
=yes
17545 dynamic_linker
='GNU ld.so'
17548 freebsd
* | dragonfly
*)
17549 # DragonFly does not have aout. When/if they implement a new
17550 # versioning mechanism, adjust this.
17551 if test -x /usr
/bin
/objformat
; then
17552 objformat
=`/usr/bin/objformat`
17555 freebsd
[123]*) objformat
=aout
;;
17556 *) objformat
=elf
;;
17559 version_type
=freebsd-
$objformat
17560 case $version_type in
17562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17567 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17571 shlibpath_var
=LD_LIBRARY_PATH
17574 shlibpath_overrides_runpath
=yes
17576 freebsd3.
[01]* | freebsdelf3.
[01]*)
17577 shlibpath_overrides_runpath
=yes
17578 hardcode_into_libs
=yes
17580 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17581 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17582 shlibpath_overrides_runpath
=no
17583 hardcode_into_libs
=yes
17585 freebsd
*) # from 4.6 on
17586 shlibpath_overrides_runpath
=yes
17587 hardcode_into_libs
=yes
17596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17597 soname_spec
='${libname}${release}${shared_ext}$major'
17598 shlibpath_var
=LD_LIBRARY_PATH
17599 hardcode_into_libs
=yes
17602 hpux9
* | hpux10
* | hpux11
*)
17603 # Give a soname corresponding to the major version so that dld.sl refuses to
17604 # link against other versions.
17611 hardcode_into_libs
=yes
17612 dynamic_linker
="$host_os dld.so"
17613 shlibpath_var
=LD_LIBRARY_PATH
17614 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17616 soname_spec
='${libname}${release}${shared_ext}$major'
17617 if test "X$HPUX_IA64_MODE" = X32
; then
17618 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17620 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17622 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17626 hardcode_into_libs
=yes
17627 dynamic_linker
="$host_os dld.sl"
17628 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17629 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17631 soname_spec
='${libname}${release}${shared_ext}$major'
17632 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17633 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17637 dynamic_linker
="$host_os dld.sl"
17638 shlibpath_var
=SHLIB_PATH
17639 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17641 soname_spec
='${libname}${release}${shared_ext}$major'
17644 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17645 postinstall_cmds
='chmod 555 $lib'
17652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17653 soname_spec
='${libname}${release}${shared_ext}$major'
17654 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17655 shlibpath_var
=LD_LIBRARY_PATH
17656 shlibpath_overrides_runpath
=no
17657 hardcode_into_libs
=yes
17660 irix5
* | irix6
* | nonstopux
*)
17662 nonstopux
*) version_type
=nonstopux
;;
17664 if test "$lt_cv_prog_gnu_ld" = yes; then
17672 soname_spec
='${libname}${release}${shared_ext}$major'
17673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17675 irix5
* | nonstopux
*)
17676 libsuff
= shlibsuff
=
17679 case $LD in # libtool.m4 will add one of these switches to LD
17680 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17681 libsuff
= shlibsuff
= libmagic
=32-bit;;
17682 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17683 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17684 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17685 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17686 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17690 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17691 shlibpath_overrides_runpath
=no
17692 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17693 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17694 hardcode_into_libs
=yes
17697 # No shared lib support for Linux oldld, aout, or coff.
17698 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17702 # This must be Linux ELF.
17707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17708 soname_spec
='${libname}${release}${shared_ext}$major'
17709 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17710 shlibpath_var
=LD_LIBRARY_PATH
17711 shlibpath_overrides_runpath
=no
17712 # This implies no fast_install, which is unacceptable.
17713 # Some rework will be needed to allow for fast_install
17714 # before this can be enabled.
17715 hardcode_into_libs
=yes
17717 # find out which ABI we are using
17719 case "$host_cpu" in
17720 x86_64
*|s390x
*|powerpc64
*)
17721 echo '#line 17721 "configure"' > conftest.
$ac_ext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; then
17727 case `/usr/bin/file conftest.$ac_objext` in
17730 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17738 # Append ld.so.conf contents to the search path
17739 if test -f /etc
/ld.so.conf
; then
17740 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17741 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17744 # We used to test for /lib/ld.so.1 and disable shared libraries on
17745 # powerpc, because MkLinux only supported shared libraries with the
17746 # GNU dynamic linker. Since this was broken with cross compilers,
17747 # most powerpc-linux boxes support dynamic linking these days and
17748 # people can always --disable-shared, the test was removed, and we
17749 # assume the GNU/Linux dynamic linker is in use.
17750 dynamic_linker
='GNU/Linux ld.so'
17757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17758 soname_spec
='${libname}${release}${shared_ext}$major'
17759 shlibpath_var
=LD_LIBRARY_PATH
17760 shlibpath_overrides_runpath
=no
17761 hardcode_into_libs
=yes
17762 dynamic_linker
='GNU ld.so'
17769 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17771 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17772 dynamic_linker
='NetBSD (a.out) ld.so'
17774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17775 soname_spec
='${libname}${release}${shared_ext}$major'
17776 dynamic_linker
='NetBSD ld.elf_so'
17778 shlibpath_var
=LD_LIBRARY_PATH
17779 shlibpath_overrides_runpath
=yes
17780 hardcode_into_libs
=yes
17785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17786 shlibpath_var
=LD_LIBRARY_PATH
17787 shlibpath_overrides_runpath
=yes
17794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17795 soname_spec
='${libname}${release}${shared_ext}$major'
17796 shlibpath_var
=LD_LIBRARY_PATH
17797 shlibpath_overrides_runpath
=yes
17802 sys_lib_dlsearch_path_spec
="/usr/lib"
17804 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17806 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17807 *) need_version
=no
;;
17809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17810 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17811 shlibpath_var
=LD_LIBRARY_PATH
17812 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17814 openbsd2.
[89] | openbsd2.
[89].
*)
17815 shlibpath_overrides_runpath
=no
17818 shlibpath_overrides_runpath
=yes
17822 shlibpath_overrides_runpath
=yes
17827 libname_spec
='$name'
17830 library_names_spec
='$libname${shared_ext} $libname.a'
17831 dynamic_linker
='OS/2 ld.exe'
17832 shlibpath_var
=LIBPATH
17835 osf3
* | osf4
* | osf5
*)
17839 soname_spec
='${libname}${release}${shared_ext}$major'
17840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17841 shlibpath_var
=LD_LIBRARY_PATH
17842 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17843 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17851 soname_spec
='${libname}${release}${shared_ext}$major'
17852 shlibpath_var
=LD_LIBRARY_PATH
17853 shlibpath_overrides_runpath
=yes
17854 hardcode_into_libs
=yes
17855 # ldd complains unless libraries are executable
17856 postinstall_cmds
='chmod +x $lib'
17861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17862 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17863 shlibpath_var
=LD_LIBRARY_PATH
17864 shlibpath_overrides_runpath
=yes
17865 if test "$with_gnu_ld" = yes; then
17873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17874 soname_spec
='${libname}${release}${shared_ext}$major'
17875 shlibpath_var
=LD_LIBRARY_PATH
17876 case $host_vendor in
17878 shlibpath_overrides_runpath
=no
17880 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17881 runpath_var
=LD_RUN_PATH
17889 shlibpath_overrides_runpath
=no
17890 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17896 if test -d /usr
/nec
;then
17898 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17899 soname_spec
='$libname${shared_ext}.$major'
17900 shlibpath_var
=LD_LIBRARY_PATH
17904 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17905 version_type
=freebsd-elf
17908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17909 soname_spec
='${libname}${release}${shared_ext}$major'
17910 shlibpath_var
=LD_LIBRARY_PATH
17911 hardcode_into_libs
=yes
17912 if test "$with_gnu_ld" = yes; then
17913 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17914 shlibpath_overrides_runpath
=no
17916 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17917 shlibpath_overrides_runpath
=yes
17920 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17924 sys_lib_dlsearch_path_spec
='/usr/lib'
17929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17930 soname_spec
='${libname}${release}${shared_ext}$major'
17931 shlibpath_var
=LD_LIBRARY_PATH
17938 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17939 echo "${ECHO_T}$dynamic_linker" >&6
17940 test "$dynamic_linker" = no
&& can_build_shared
=no
17942 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17943 if test "$GCC" = yes; then
17944 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17947 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17948 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17949 hardcode_action_GCJ
=
17950 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17951 test -n "$runpath_var_GCJ" || \
17952 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17954 # We can hardcode non-existant directories.
17955 if test "$hardcode_direct_GCJ" != no
&&
17956 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17957 # have to relink, otherwise we might link with an installed library
17958 # when we should be linking with a yet-to-be-installed one
17959 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17960 test "$hardcode_minus_L_GCJ" != no
; then
17961 # Linking always hardcodes the temporary library directory.
17962 hardcode_action_GCJ
=relink
17964 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17965 hardcode_action_GCJ
=immediate
17968 # We cannot hardcode anything, or else we can only hardcode existing
17970 hardcode_action_GCJ
=unsupported
17972 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17973 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17975 if test "$hardcode_action_GCJ" = relink
; then
17976 # Fast installation is not supported
17977 enable_fast_install
=no
17978 elif test "$shlibpath_overrides_runpath" = yes ||
17979 test "$enable_shared" = no
; then
17980 # Fast installation is not necessary
17981 enable_fast_install
=needless
17985 # The else clause should only fire when bootstrapping the
17986 # libtool distribution, otherwise you forgot to ship ltmain.sh
17987 # with your package, and you will get complaints that there are
17988 # no rules to generate ltmain.sh.
17989 if test -f "$ltmain"; then
17990 # See if we are running on zsh, and set the options which allow our commands through
17991 # without removal of \ escapes.
17992 if test -n "${ZSH_VERSION+set}" ; then
17993 setopt NO_GLOB_SUBST
17995 # Now quote all the things that may contain metacharacters while being
17996 # careful not to overquote the AC_SUBSTed values. We take copies of the
17997 # variables and quote the copies for generation of the libtool script.
17998 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18000 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18001 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18002 deplibs_check_method reload_flag reload_cmds need_locks \
18003 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18004 lt_cv_sys_global_symbol_to_c_name_address \
18005 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18006 old_postinstall_cmds old_postuninstall_cmds \
18010 lt_prog_compiler_wl_GCJ \
18011 lt_prog_compiler_pic_GCJ \
18012 lt_prog_compiler_static_GCJ \
18013 lt_prog_compiler_no_builtin_flag_GCJ \
18014 export_dynamic_flag_spec_GCJ \
18015 thread_safe_flag_spec_GCJ \
18016 whole_archive_flag_spec_GCJ \
18017 enable_shared_with_static_runtimes_GCJ \
18018 old_archive_cmds_GCJ \
18019 old_archive_from_new_cmds_GCJ \
18020 predep_objects_GCJ \
18021 postdep_objects_GCJ \
18024 compiler_lib_search_path_GCJ \
18026 archive_expsym_cmds_GCJ \
18027 postinstall_cmds_GCJ \
18028 postuninstall_cmds_GCJ \
18029 old_archive_from_expsyms_cmds_GCJ \
18030 allow_undefined_flag_GCJ \
18031 no_undefined_flag_GCJ \
18032 export_symbols_cmds_GCJ \
18033 hardcode_libdir_flag_spec_GCJ \
18034 hardcode_libdir_flag_spec_ld_GCJ \
18035 hardcode_libdir_separator_GCJ \
18036 hardcode_automatic_GCJ \
18038 module_expsym_cmds_GCJ \
18039 lt_cv_prog_compiler_c_o_GCJ \
18040 exclude_expsyms_GCJ \
18041 include_expsyms_GCJ
; do
18044 old_archive_cmds_GCJ | \
18045 old_archive_from_new_cmds_GCJ | \
18046 archive_cmds_GCJ | \
18047 archive_expsym_cmds_GCJ | \
18048 module_cmds_GCJ | \
18049 module_expsym_cmds_GCJ | \
18050 old_archive_from_expsyms_cmds_GCJ | \
18051 export_symbols_cmds_GCJ | \
18052 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18053 postinstall_cmds | postuninstall_cmds | \
18054 old_postinstall_cmds | old_postuninstall_cmds | \
18055 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18056 # Double-quote double-evaled strings.
18057 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18060 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18066 *'\$0 --fallback-echo"')
18067 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18073 cat <<__EOF__ >> "$cfgfile"
18074 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18076 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18078 # Shell to use when invoking shell scripts.
18081 # Whether or not to build shared libraries.
18082 build_libtool_libs=$enable_shared
18084 # Whether or not to build static libraries.
18085 build_old_libs=$enable_static
18087 # Whether or not to add -lc for building shared libraries.
18088 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18090 # Whether or not to disallow shared libs when runtime libs are static
18091 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18093 # Whether or not to optimize for fast installation.
18094 fast_install=$enable_fast_install
18097 host_alias=$host_alias
18101 # The build system.
18102 build_alias=$build_alias
18106 # An echo program that does not interpret backslashes.
18111 AR_FLAGS=$lt_AR_FLAGS
18116 # LTCC compiler flags.
18117 LTCFLAGS=$lt_LTCFLAGS
18119 # A language-specific compiler.
18120 CC=$lt_compiler_GCJ
18122 # Is the compiler the GNU C compiler?
18125 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18126 gcc_ver=\`gcc -dumpversion\`
18131 # The linker used to build libraries.
18134 # Whether we need hard or soft links.
18137 # A BSD-compatible nm program.
18140 # A symbol stripping program
18143 # Used to examine libraries when file_magic_cmd begins "file"
18144 MAGIC_CMD=$MAGIC_CMD
18146 # Used on cygwin: DLL creation program.
18149 # Used on cygwin: object dumper.
18152 # Used on cygwin: assembler.
18155 # The name of the directory that contains temporary libtool files.
18158 # How to create reloadable object files.
18159 reload_flag=$lt_reload_flag
18160 reload_cmds=$lt_reload_cmds
18162 # How to pass a linker flag through the compiler.
18163 wl=$lt_lt_prog_compiler_wl_GCJ
18165 # Object file suffix (normally "o").
18166 objext="$ac_objext"
18168 # Old archive suffix (normally "a").
18171 # Shared library suffix (normally ".so").
18172 shrext_cmds='$shrext_cmds'
18174 # Executable file suffix (normally "").
18177 # Additional compiler flags for building library objects.
18178 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18181 # What is the maximum length of a command?
18182 max_cmd_len=$lt_cv_sys_max_cmd_len
18184 # Does compiler simultaneously support -c and -o options?
18185 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18187 # Must we lock files when doing compilation?
18188 need_locks=$lt_need_locks
18190 # Do we need the lib prefix for modules?
18191 need_lib_prefix=$need_lib_prefix
18193 # Do we need a version for libraries?
18194 need_version=$need_version
18196 # Whether dlopen is supported.
18197 dlopen_support=$enable_dlopen
18199 # Whether dlopen of programs is supported.
18200 dlopen_self=$enable_dlopen_self
18202 # Whether dlopen of statically linked programs is supported.
18203 dlopen_self_static=$enable_dlopen_self_static
18205 # Compiler flag to prevent dynamic linking.
18206 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18208 # Compiler flag to turn off builtin functions.
18209 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18211 # Compiler flag to allow reflexive dlopens.
18212 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18214 # Compiler flag to generate shared objects directly from archives.
18215 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18217 # Compiler flag to generate thread-safe objects.
18218 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18220 # Library versioning type.
18221 version_type=$version_type
18223 # Format of library name prefix.
18224 libname_spec=$lt_libname_spec
18226 # List of archive names. First name is the real one, the rest are links.
18227 # The last name is the one that the linker finds with -lNAME.
18228 library_names_spec=$lt_library_names_spec
18230 # The coded name of the library, if different from the real name.
18231 soname_spec=$lt_soname_spec
18233 # Commands used to build and install an old-style archive.
18235 old_archive_cmds=$lt_old_archive_cmds_GCJ
18236 old_postinstall_cmds=$lt_old_postinstall_cmds
18237 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18239 # Create an old-style archive from a shared archive.
18240 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18242 # Create a temporary old-style archive to link instead of a shared archive.
18243 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18245 # Commands used to build and install a shared archive.
18246 archive_cmds=$lt_archive_cmds_GCJ
18247 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18248 postinstall_cmds=$lt_postinstall_cmds
18249 postuninstall_cmds=$lt_postuninstall_cmds
18251 # Commands used to build a loadable module (assumed same as above if empty)
18252 module_cmds=$lt_module_cmds_GCJ
18253 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18255 # Commands to strip libraries.
18256 old_striplib=$lt_old_striplib
18257 striplib=$lt_striplib
18259 # Dependencies to place before the objects being linked to create a
18261 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18263 # Dependencies to place after the objects being linked to create a
18265 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18267 # Dependencies to place before the objects being linked to create a
18269 predeps=$lt_predeps_GCJ
18271 # Dependencies to place after the objects being linked to create a
18273 postdeps=$lt_postdeps_GCJ
18275 # The library search path used internally by the compiler when linking
18276 # a shared library.
18277 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18279 # Method to check whether dependent libraries are shared objects.
18280 deplibs_check_method=$lt_deplibs_check_method
18282 # Command to use when deplibs_check_method == file_magic.
18283 file_magic_cmd=$lt_file_magic_cmd
18285 # Flag that allows shared libraries with undefined symbols to be built.
18286 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18288 # Flag that forces no undefined symbols.
18289 no_undefined_flag=$lt_no_undefined_flag_GCJ
18291 # Commands used to finish a libtool library installation in a directory.
18292 finish_cmds=$lt_finish_cmds
18294 # Same as above, but a single script fragment to be evaled but not shown.
18295 finish_eval=$lt_finish_eval
18297 # Take the output of nm and produce a listing of raw symbols and C names.
18298 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18300 # Transform the output of nm in a proper C declaration
18301 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18303 # Transform the output of nm in a C name address pair
18304 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18306 # This is the shared library runtime path variable.
18307 runpath_var=$runpath_var
18309 # This is the shared library path variable.
18310 shlibpath_var=$shlibpath_var
18312 # Is shlibpath searched before the hard-coded library search path?
18313 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18315 # How to hardcode a shared library path into an executable.
18316 hardcode_action=$hardcode_action_GCJ
18318 # Whether we should hardcode library paths into libraries.
18319 hardcode_into_libs=$hardcode_into_libs
18321 # Flag to hardcode \$libdir into a binary during linking.
18322 # This must work even if \$libdir does not exist.
18323 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18325 # If ld is used when linking, flag to hardcode \$libdir into
18326 # a binary during linking. This must work even if \$libdir does
18328 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18330 # Whether we need a single -rpath flag with a separated argument.
18331 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18333 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18334 # resulting binary.
18335 hardcode_direct=$hardcode_direct_GCJ
18337 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18338 # resulting binary.
18339 hardcode_minus_L=$hardcode_minus_L_GCJ
18341 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18342 # the resulting binary.
18343 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18345 # Set to yes if building a shared library automatically hardcodes DIR into the library
18346 # and all subsequent libraries and executables linked against it.
18347 hardcode_automatic=$hardcode_automatic_GCJ
18349 # Variables whose values should be saved in libtool wrapper scripts and
18350 # restored at relink time.
18351 variables_saved_for_relink="$variables_saved_for_relink"
18353 # Whether libtool must link a program against all its dependency libraries.
18354 link_all_deplibs=$link_all_deplibs_GCJ
18356 # Compile-time system search path for libraries
18357 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18359 # Run-time system search path for libraries
18360 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18362 # Fix the shell variable \$srcfile for the compiler.
18363 fix_srcfile_path="$fix_srcfile_path_GCJ"
18365 # Set to yes if exported symbols are required.
18366 always_export_symbols=$always_export_symbols_GCJ
18368 # The commands to list exported symbols.
18369 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18371 # The commands to extract the exported symbol list from a shared archive.
18372 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18374 # Symbols that should not be listed in the preloaded symbols.
18375 exclude_expsyms=$lt_exclude_expsyms_GCJ
18377 # Symbols that must always be exported.
18378 include_expsyms=$lt_include_expsyms_GCJ
18380 # ### END LIBTOOL TAG CONFIG: $tagname
18386 # If there is no Makefile yet, we rely on a make rule to execute
18387 # `config.status --recheck' to rerun these tests and create the
18388 # libtool script then.
18389 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18390 if test -f "$ltmain_in"; then
18391 test -f Makefile
&& make "$ltmain"
18397 ac_cpp
='$CPP $CPPFLAGS'
18398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18413 # Source file extension for RC test sources.
18416 # Object file extension for compiled RC test sources.
18420 # Code to be used in simple compile tests
18421 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18423 # Code to be used in simple link tests
18424 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18426 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18428 # If no C compiler was specified, use CC.
18431 # If no C compiler flags were specified, use CFLAGS.
18432 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18434 # Allow CC to be a program name with arguments.
18438 # save warnings/boilerplate of simple test code
18439 ac_outfile
=conftest.
$ac_objext
18440 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18441 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18442 _lt_compiler_boilerplate
=`cat conftest.err`
18445 ac_outfile
=conftest.
$ac_objext
18446 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18447 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18448 _lt_linker_boilerplate
=`cat conftest.err`
18452 # Allow CC to be a program name with arguments.
18457 for cc_temp
in $compiler""; do
18459 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18460 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18465 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18467 lt_cv_prog_compiler_c_o_RC
=yes
18469 # The else clause should only fire when bootstrapping the
18470 # libtool distribution, otherwise you forgot to ship ltmain.sh
18471 # with your package, and you will get complaints that there are
18472 # no rules to generate ltmain.sh.
18473 if test -f "$ltmain"; then
18474 # See if we are running on zsh, and set the options which allow our commands through
18475 # without removal of \ escapes.
18476 if test -n "${ZSH_VERSION+set}" ; then
18477 setopt NO_GLOB_SUBST
18479 # Now quote all the things that may contain metacharacters while being
18480 # careful not to overquote the AC_SUBSTed values. We take copies of the
18481 # variables and quote the copies for generation of the libtool script.
18482 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18484 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18485 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18486 deplibs_check_method reload_flag reload_cmds need_locks \
18487 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18488 lt_cv_sys_global_symbol_to_c_name_address \
18489 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18490 old_postinstall_cmds old_postuninstall_cmds \
18494 lt_prog_compiler_wl_RC \
18495 lt_prog_compiler_pic_RC \
18496 lt_prog_compiler_static_RC \
18497 lt_prog_compiler_no_builtin_flag_RC \
18498 export_dynamic_flag_spec_RC \
18499 thread_safe_flag_spec_RC \
18500 whole_archive_flag_spec_RC \
18501 enable_shared_with_static_runtimes_RC \
18502 old_archive_cmds_RC \
18503 old_archive_from_new_cmds_RC \
18504 predep_objects_RC \
18505 postdep_objects_RC \
18508 compiler_lib_search_path_RC \
18510 archive_expsym_cmds_RC \
18511 postinstall_cmds_RC \
18512 postuninstall_cmds_RC \
18513 old_archive_from_expsyms_cmds_RC \
18514 allow_undefined_flag_RC \
18515 no_undefined_flag_RC \
18516 export_symbols_cmds_RC \
18517 hardcode_libdir_flag_spec_RC \
18518 hardcode_libdir_flag_spec_ld_RC \
18519 hardcode_libdir_separator_RC \
18520 hardcode_automatic_RC \
18522 module_expsym_cmds_RC \
18523 lt_cv_prog_compiler_c_o_RC \
18524 exclude_expsyms_RC \
18525 include_expsyms_RC
; do
18528 old_archive_cmds_RC | \
18529 old_archive_from_new_cmds_RC | \
18530 archive_cmds_RC | \
18531 archive_expsym_cmds_RC | \
18533 module_expsym_cmds_RC | \
18534 old_archive_from_expsyms_cmds_RC | \
18535 export_symbols_cmds_RC | \
18536 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18537 postinstall_cmds | postuninstall_cmds | \
18538 old_postinstall_cmds | old_postuninstall_cmds | \
18539 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18540 # Double-quote double-evaled strings.
18541 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18544 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18550 *'\$0 --fallback-echo"')
18551 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18557 cat <<__EOF__ >> "$cfgfile"
18558 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18560 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18562 # Shell to use when invoking shell scripts.
18565 # Whether or not to build shared libraries.
18566 build_libtool_libs=$enable_shared
18568 # Whether or not to build static libraries.
18569 build_old_libs=$enable_static
18571 # Whether or not to add -lc for building shared libraries.
18572 build_libtool_need_lc=$archive_cmds_need_lc_RC
18574 # Whether or not to disallow shared libs when runtime libs are static
18575 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18577 # Whether or not to optimize for fast installation.
18578 fast_install=$enable_fast_install
18581 host_alias=$host_alias
18585 # The build system.
18586 build_alias=$build_alias
18590 # An echo program that does not interpret backslashes.
18595 AR_FLAGS=$lt_AR_FLAGS
18600 # LTCC compiler flags.
18601 LTCFLAGS=$lt_LTCFLAGS
18603 # A language-specific compiler.
18606 # Is the compiler the GNU C compiler?
18609 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18610 gcc_ver=\`gcc -dumpversion\`
18615 # The linker used to build libraries.
18618 # Whether we need hard or soft links.
18621 # A BSD-compatible nm program.
18624 # A symbol stripping program
18627 # Used to examine libraries when file_magic_cmd begins "file"
18628 MAGIC_CMD=$MAGIC_CMD
18630 # Used on cygwin: DLL creation program.
18633 # Used on cygwin: object dumper.
18636 # Used on cygwin: assembler.
18639 # The name of the directory that contains temporary libtool files.
18642 # How to create reloadable object files.
18643 reload_flag=$lt_reload_flag
18644 reload_cmds=$lt_reload_cmds
18646 # How to pass a linker flag through the compiler.
18647 wl=$lt_lt_prog_compiler_wl_RC
18649 # Object file suffix (normally "o").
18650 objext="$ac_objext"
18652 # Old archive suffix (normally "a").
18655 # Shared library suffix (normally ".so").
18656 shrext_cmds='$shrext_cmds'
18658 # Executable file suffix (normally "").
18661 # Additional compiler flags for building library objects.
18662 pic_flag=$lt_lt_prog_compiler_pic_RC
18665 # What is the maximum length of a command?
18666 max_cmd_len=$lt_cv_sys_max_cmd_len
18668 # Does compiler simultaneously support -c and -o options?
18669 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18671 # Must we lock files when doing compilation?
18672 need_locks=$lt_need_locks
18674 # Do we need the lib prefix for modules?
18675 need_lib_prefix=$need_lib_prefix
18677 # Do we need a version for libraries?
18678 need_version=$need_version
18680 # Whether dlopen is supported.
18681 dlopen_support=$enable_dlopen
18683 # Whether dlopen of programs is supported.
18684 dlopen_self=$enable_dlopen_self
18686 # Whether dlopen of statically linked programs is supported.
18687 dlopen_self_static=$enable_dlopen_self_static
18689 # Compiler flag to prevent dynamic linking.
18690 link_static_flag=$lt_lt_prog_compiler_static_RC
18692 # Compiler flag to turn off builtin functions.
18693 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18695 # Compiler flag to allow reflexive dlopens.
18696 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18698 # Compiler flag to generate shared objects directly from archives.
18699 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18701 # Compiler flag to generate thread-safe objects.
18702 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18704 # Library versioning type.
18705 version_type=$version_type
18707 # Format of library name prefix.
18708 libname_spec=$lt_libname_spec
18710 # List of archive names. First name is the real one, the rest are links.
18711 # The last name is the one that the linker finds with -lNAME.
18712 library_names_spec=$lt_library_names_spec
18714 # The coded name of the library, if different from the real name.
18715 soname_spec=$lt_soname_spec
18717 # Commands used to build and install an old-style archive.
18719 old_archive_cmds=$lt_old_archive_cmds_RC
18720 old_postinstall_cmds=$lt_old_postinstall_cmds
18721 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18723 # Create an old-style archive from a shared archive.
18724 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18726 # Create a temporary old-style archive to link instead of a shared archive.
18727 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18729 # Commands used to build and install a shared archive.
18730 archive_cmds=$lt_archive_cmds_RC
18731 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18732 postinstall_cmds=$lt_postinstall_cmds
18733 postuninstall_cmds=$lt_postuninstall_cmds
18735 # Commands used to build a loadable module (assumed same as above if empty)
18736 module_cmds=$lt_module_cmds_RC
18737 module_expsym_cmds=$lt_module_expsym_cmds_RC
18739 # Commands to strip libraries.
18740 old_striplib=$lt_old_striplib
18741 striplib=$lt_striplib
18743 # Dependencies to place before the objects being linked to create a
18745 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18747 # Dependencies to place after the objects being linked to create a
18749 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18751 # Dependencies to place before the objects being linked to create a
18753 predeps=$lt_predeps_RC
18755 # Dependencies to place after the objects being linked to create a
18757 postdeps=$lt_postdeps_RC
18759 # The library search path used internally by the compiler when linking
18760 # a shared library.
18761 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18763 # Method to check whether dependent libraries are shared objects.
18764 deplibs_check_method=$lt_deplibs_check_method
18766 # Command to use when deplibs_check_method == file_magic.
18767 file_magic_cmd=$lt_file_magic_cmd
18769 # Flag that allows shared libraries with undefined symbols to be built.
18770 allow_undefined_flag=$lt_allow_undefined_flag_RC
18772 # Flag that forces no undefined symbols.
18773 no_undefined_flag=$lt_no_undefined_flag_RC
18775 # Commands used to finish a libtool library installation in a directory.
18776 finish_cmds=$lt_finish_cmds
18778 # Same as above, but a single script fragment to be evaled but not shown.
18779 finish_eval=$lt_finish_eval
18781 # Take the output of nm and produce a listing of raw symbols and C names.
18782 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18784 # Transform the output of nm in a proper C declaration
18785 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18787 # Transform the output of nm in a C name address pair
18788 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18790 # This is the shared library runtime path variable.
18791 runpath_var=$runpath_var
18793 # This is the shared library path variable.
18794 shlibpath_var=$shlibpath_var
18796 # Is shlibpath searched before the hard-coded library search path?
18797 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18799 # How to hardcode a shared library path into an executable.
18800 hardcode_action=$hardcode_action_RC
18802 # Whether we should hardcode library paths into libraries.
18803 hardcode_into_libs=$hardcode_into_libs
18805 # Flag to hardcode \$libdir into a binary during linking.
18806 # This must work even if \$libdir does not exist.
18807 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18809 # If ld is used when linking, flag to hardcode \$libdir into
18810 # a binary during linking. This must work even if \$libdir does
18812 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18814 # Whether we need a single -rpath flag with a separated argument.
18815 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18817 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18818 # resulting binary.
18819 hardcode_direct=$hardcode_direct_RC
18821 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18822 # resulting binary.
18823 hardcode_minus_L=$hardcode_minus_L_RC
18825 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18826 # the resulting binary.
18827 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18829 # Set to yes if building a shared library automatically hardcodes DIR into the library
18830 # and all subsequent libraries and executables linked against it.
18831 hardcode_automatic=$hardcode_automatic_RC
18833 # Variables whose values should be saved in libtool wrapper scripts and
18834 # restored at relink time.
18835 variables_saved_for_relink="$variables_saved_for_relink"
18837 # Whether libtool must link a program against all its dependency libraries.
18838 link_all_deplibs=$link_all_deplibs_RC
18840 # Compile-time system search path for libraries
18841 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18843 # Run-time system search path for libraries
18844 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18846 # Fix the shell variable \$srcfile for the compiler.
18847 fix_srcfile_path="$fix_srcfile_path_RC"
18849 # Set to yes if exported symbols are required.
18850 always_export_symbols=$always_export_symbols_RC
18852 # The commands to list exported symbols.
18853 export_symbols_cmds=$lt_export_symbols_cmds_RC
18855 # The commands to extract the exported symbol list from a shared archive.
18856 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18858 # Symbols that should not be listed in the preloaded symbols.
18859 exclude_expsyms=$lt_exclude_expsyms_RC
18861 # Symbols that must always be exported.
18862 include_expsyms=$lt_include_expsyms_RC
18864 # ### END LIBTOOL TAG CONFIG: $tagname
18870 # If there is no Makefile yet, we rely on a make rule to execute
18871 # `config.status --recheck' to rerun these tests and create the
18872 # libtool script then.
18873 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18874 if test -f "$ltmain_in"; then
18875 test -f Makefile
&& make "$ltmain"
18881 ac_cpp
='$CPP $CPPFLAGS'
18882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18891 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18892 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18893 { (exit 1); exit 1; }; }
18897 # Append the new tag name to the list of available tags.
18898 if test -n "$tagname" ; then
18899 available_tags
="$available_tags $tagname"
18905 # Now substitute the updated list of available tags.
18906 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18907 mv "${ofile}T" "$ofile"
18911 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18912 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18913 { (exit 1); exit 1; }; }
18919 # This can be used to rebuild libtool when needed
18920 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18922 # Always use our own libtool.
18923 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18925 # Prevent multiple expansion
18948 for ac_prog
in perl5 perl
18950 # Extract the first word of "$ac_prog", so it can be a program name with args.
18951 set dummy
$ac_prog; ac_word
=$2
18952 echo "$as_me:$LINENO: checking for $ac_word" >&5
18953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18954 if test "${ac_cv_path_PERL+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
18962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18963 for as_dir
in $LPATH
18966 test -z "$as_dir" && as_dir
=.
18967 for ac_exec_ext
in '' $ac_executable_extensions; do
18968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18969 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
18970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18979 PERL
=$ac_cv_path_PERL
18981 if test -n "$PERL"; then
18982 echo "$as_me:$LINENO: result: $PERL" >&5
18983 echo "${ECHO_T}$PERL" >&6
18985 echo "$as_me:$LINENO: result: no" >&5
18986 echo "${ECHO_T}no" >&6
18989 test -n "$PERL" && break
18991 test -n "$PERL" || PERL
="perl"
18993 for ac_prog
in courier-config
18995 # Extract the first word of "$ac_prog", so it can be a program name with args.
18996 set dummy
$ac_prog; ac_word
=$2
18997 echo "$as_me:$LINENO: checking for $ac_word" >&5
18998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18999 if test "${ac_cv_path_COURIERCONFIG+set}" = set; then
19000 echo $ECHO_N "(cached) $ECHO_C" >&6
19002 case $COURIERCONFIG in
19004 ac_cv_path_COURIERCONFIG
="$COURIERCONFIG" # Let the user override the test with a path.
19007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19008 for as_dir
in $LPATH
19011 test -z "$as_dir" && as_dir
=.
19012 for ac_exec_ext
in '' $ac_executable_extensions; do
19013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19014 ac_cv_path_COURIERCONFIG
="$as_dir/$ac_word$ac_exec_ext"
19015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19024 COURIERCONFIG
=$ac_cv_path_COURIERCONFIG
19026 if test -n "$COURIERCONFIG"; then
19027 echo "$as_me:$LINENO: result: $COURIERCONFIG" >&5
19028 echo "${ECHO_T}$COURIERCONFIG" >&6
19030 echo "$as_me:$LINENO: result: no" >&5
19031 echo "${ECHO_T}no" >&6
19034 test -n "$COURIERCONFIG" && break
19036 test -n "$COURIERCONFIG" || COURIERCONFIG
="courier-config"
19039 if test "$PERL" = "perl"
19041 { { echo "$as_me:$LINENO: error: Perl is required" >&5
19042 echo "$as_me: error: Perl is required" >&2;}
19043 { (exit 1); exit 1; }; }
19046 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19047 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19048 eval "prefix=$prefix"
19049 eval "exec_prefix=$exec_prefix"
19050 eval "sysconfdir=$sysconfdir"
19051 eval "bindir=$bindir"
19052 eval "sbindir=$sbindir"
19053 eval "localstatedir=$localstatedir"
19054 eval "libexecdir=$libexecdir"
19057 # Check whether --with-redhat or --without-redhat was given.
19058 if test "${with_redhat+set}" = set; then
19059 withval
="$with_redhat"
19065 if test "$srcdir" = "."
19067 case `./config.guess` in
19069 if test "$redhat" = "no"
19072 { echo "$as_me:$LINENO: WARNING: === I think you are trying to run this configure script" >&5
19073 echo "$as_me: WARNING: === I think you are trying to run this configure script" >&2;}
19074 { echo "$as_me:$LINENO: WARNING: === on Red Hat/Fedora. You're doing too much work!" >&5
19075 echo "$as_me: WARNING: === on Red Hat/Fedora. You're doing too much work!" >&2;}
19076 { echo "$as_me:$LINENO: WARNING: === It's much faster to create installable binary RPMs" >&5
19077 echo "$as_me: WARNING: === It's much faster to create installable binary RPMs" >&2;}
19078 { echo "$as_me:$LINENO: WARNING: === like this: http://www.courier-mta.org/FAQ.html${hash}rpm" >&5
19079 echo "$as_me: WARNING: === like this: http://www.courier-mta.org/FAQ.html${hash}rpm" >&2;}
19080 { echo "$as_me:$LINENO: WARNING: === When you do this you may find that RPM will tell you" >&5
19081 echo "$as_me: WARNING: === When you do this you may find that RPM will tell you" >&2;}
19082 { echo "$as_me:$LINENO: WARNING: === to install some other software first, before trying to" >&5
19083 echo "$as_me: WARNING: === to install some other software first, before trying to" >&2;}
19084 { echo "$as_me:$LINENO: WARNING: === build this one, and even tell you the name of RPMs you" >&5
19085 echo "$as_me: WARNING: === build this one, and even tell you the name of RPMs you" >&2;}
19086 { echo "$as_me:$LINENO: WARNING: === need to install from the distribution CD. That's much" >&5
19087 echo "$as_me: WARNING: === need to install from the distribution CD. That's much" >&2;}
19088 { echo "$as_me:$LINENO: WARNING: === easier than trying to figure out the same from some" >&5
19089 echo "$as_me: WARNING: === easier than trying to figure out the same from some" >&2;}
19090 { echo "$as_me:$LINENO: WARNING: === cryptic error message." >&5
19091 echo "$as_me: WARNING: === cryptic error message." >&2;}
19092 { echo "$as_me:$LINENO: WARNING: " >&5
19093 echo "$as_me: WARNING: " >&2;}
19094 { echo "$as_me:$LINENO: WARNING: === Even if you don't intend to use everything you need to" >&5
19095 echo "$as_me: WARNING: === Even if you don't intend to use everything you need to" >&2;}
19096 { echo "$as_me:$LINENO: WARNING: === have in order to build via RPM, you should still do as" >&5
19097 echo "$as_me: WARNING: === have in order to build via RPM, you should still do as" >&2;}
19098 { echo "$as_me:$LINENO: WARNING: === you're told. All the extra stuff (LDAP, SQL, etc...)" >&5
19099 echo "$as_me: WARNING: === you're told. All the extra stuff (LDAP, SQL, etc...)" >&2;}
19100 { echo "$as_me:$LINENO: WARNING: === goes into RPM sub-packages, which do not need to be" >&5
19101 echo "$as_me: WARNING: === goes into RPM sub-packages, which do not need to be" >&2;}
19102 { echo "$as_me:$LINENO: WARNING: === installed." >&5
19103 echo "$as_me: WARNING: === installed." >&2;}
19104 { echo "$as_me:$LINENO: WARNING: === But, if you insist, you can simply add '--with-redhat'" >&5
19105 echo "$as_me: WARNING: === But, if you insist, you can simply add '--with-redhat'" >&2;}
19106 { echo "$as_me:$LINENO: WARNING: === parameter to this configure script and not see this" >&5
19107 echo "$as_me: WARNING: === parameter to this configure script and not see this" >&2;}
19108 { echo "$as_me:$LINENO: WARNING: === error message. You should also do this when upgrading" >&5
19109 echo "$as_me: WARNING: === error message. You should also do this when upgrading" >&2;}
19110 { echo "$as_me:$LINENO: WARNING: === and you didn't use RPM with the older version." >&5
19111 echo "$as_me: WARNING: === and you didn't use RPM with the older version." >&2;}
19112 { { echo "$as_me:$LINENO: error: ... in either case you better know what you're doing!" >&5
19113 echo "$as_me: error: ... in either case you better know what you're doing!" >&2;}
19114 { (exit 1); exit 1; }; }
19121 for ac_prog
in expect
19123 # Extract the first word of "$ac_prog", so it can be a program name with args.
19124 set dummy
$ac_prog; ac_word
=$2
19125 echo "$as_me:$LINENO: checking for $ac_word" >&5
19126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19127 if test "${ac_cv_path_EXPECT+set}" = set; then
19128 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
19135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19136 for as_dir
in $LPATH
19139 test -z "$as_dir" && as_dir
=.
19140 for ac_exec_ext
in '' $ac_executable_extensions; do
19141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19142 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
19143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19152 EXPECT
=$ac_cv_path_EXPECT
19154 if test -n "$EXPECT"; then
19155 echo "$as_me:$LINENO: result: $EXPECT" >&5
19156 echo "${ECHO_T}$EXPECT" >&6
19158 echo "$as_me:$LINENO: result: no" >&5
19159 echo "${ECHO_T}no" >&6
19162 test -n "$EXPECT" && break
19164 test -n "$EXPECT" || EXPECT
="expect"
19167 if test "$EXPECT" = "expect"
19169 { echo "$as_me:$LINENO: WARNING: -----------------------------------------------------" >&5
19170 echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
19171 { echo "$as_me:$LINENO: WARNING: expect not found - will not be able to change passwds" >&5
19172 echo "$as_me: WARNING: expect not found - will not be able to change passwds" >&2;}
19173 { echo "$as_me:$LINENO: WARNING: in webmail" >&5
19174 echo "$as_me: WARNING: in webmail" >&2;}
19175 { echo "$as_me:$LINENO: WARNING: -----------------------------------------------------" >&5
19176 echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
19180 cat >>confdefs.h
<<_ACEOF
19181 #define HAVE_EXPECT 1
19186 for ac_prog
in passwd
19188 # Extract the first word of "$ac_prog", so it can be a program name with args.
19189 set dummy
$ac_prog; ac_word
=$2
19190 echo "$as_me:$LINENO: checking for $ac_word" >&5
19191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19192 if test "${ac_cv_path_PASSWD+set}" = set; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 ac_cv_path_PASSWD
="$PASSWD" # Let the user override the test with a path.
19200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19201 for as_dir
in $LPATH
19204 test -z "$as_dir" && as_dir
=.
19205 for ac_exec_ext
in '' $ac_executable_extensions; do
19206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19207 ac_cv_path_PASSWD
="$as_dir/$ac_word$ac_exec_ext"
19208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19217 PASSWD
=$ac_cv_path_PASSWD
19219 if test -n "$PASSWD"; then
19220 echo "$as_me:$LINENO: result: $PASSWD" >&5
19221 echo "${ECHO_T}$PASSWD" >&6
19223 echo "$as_me:$LINENO: result: no" >&5
19224 echo "${ECHO_T}no" >&6
19227 test -n "$PASSWD" && break
19229 test -n "$PASSWD" || PASSWD
="passwd"
19233 if test "$GCC" = "yes"
19235 CFLAGS
="$CFLAGS -Wall"
19238 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.."
19240 echo "$as_me:$LINENO: checking whether -lm is needed for floor" >&5
19241 echo $ECHO_N "checking whether -lm is needed for floor... $ECHO_C" >&6
19242 cat >conftest.
$ac_ext <<_ACEOF
19245 cat confdefs.h
>>conftest.
$ac_ext
19246 cat >>conftest.
$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19249 /* Override any gcc2 internal prototype to avoid an error. */
19253 /* We use char because int might match the return type of a gcc2
19254 builtin and then its argument prototype would still apply. */
19264 rm -f conftest.
$ac_objext conftest
$ac_exeext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19266 (eval $ac_link) 2>conftest.er1
19268 grep -v '^ *+' conftest.er1
>conftest.err
19270 cat conftest.err
>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try
='test -z "$ac_c_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try
='test -s conftest$ac_exeext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 echo "$as_me:$LINENO: result: no" >&5
19287 echo "${ECHO_T}no" >&6
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.
$ac_ext >&5
19293 echo "$as_me:$LINENO: result: yes" >&5
19294 echo "${ECHO_T}yes" >&6
19296 rm -f conftest.err conftest.
$ac_objext \
19297 conftest
$ac_exeext conftest.
$ac_ext
19300 # Check whether --with-pkgconfdir or --without-pkgconfdir was given.
19301 if test "${with_pkgconfdir+set}" = set; then
19302 withval
="$with_pkgconfdir"
19303 pkgconfdir
="$withval"
19305 pkgconfdir
="$sysconfdir/authlib"
19308 SASL_LIST
="SASL(\"PLAIN\", authsasl_plain, authsaslclient_plain) SASL(\"LOGIN\", authsasl_login, authsaslclient_login)"
19314 if test -d ${srcdir}/md5
19318 cat >>confdefs.h
<<_ACEOF
19319 #define HAVE_MD5LIB 1
19322 MD5LIB
=md
5/libmd5.la
19323 if test -d ${srcdir}/md5
19325 SASL_LIST
="SASL(\"CRAM-MD5\", authsasl_cram, authsaslclient_crammd5) $SASL_LIST"
19334 if test "$MD5" = 1; then
19347 if test -d ${srcdir}/sha1
19351 cat >>confdefs.h
<<_ACEOF
19352 #define HAVE_SHA1LIB 1
19355 SHA1LIB
=sha
1/libsha1.la
19356 if test -d ${srcdir}/sha1
19358 SASL_LIST
="SASL(\"CRAM-SHA1\", authsasl_cram, authsaslclient_cramsha1) $SASL_LIST"
19359 SASL_LIST
="SASL(\"CRAM-SHA256\", authsasl_cram, authsaslclient_cramsha256) $SASL_LIST"
19368 if test "$SHA1" = 1; then
19370 HAVE_SHA1_FALSE
='#'
19382 if test -d ${srcdir}/libhmac
19386 cat >>confdefs.h
<<_ACEOF
19387 #define HAVE_HMACLIB 1
19390 HMACLIB
=libhmac
/libhmac.la
19398 if test "$HMAC" = 1; then
19400 HAVE_HMACLIB_FALSE
='#'
19402 HAVE_HMACLIB_TRUE
='#'
19403 HAVE_HMACLIB_FALSE
=
19411 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
19412 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
19413 if test "${ac_cv_lib_socket_socket+set}" = set; then
19414 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 ac_check_lib_save_LIBS
=$LIBS
19417 LIBS
="-lsocket $LIBS"
19418 cat >conftest.
$ac_ext <<_ACEOF
19421 cat confdefs.h
>>conftest.
$ac_ext
19422 cat >>conftest.
$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19425 /* Override any gcc2 internal prototype to avoid an error. */
19429 /* We use char because int might match the return type of a gcc2
19430 builtin and then its argument prototype would still apply. */
19440 rm -f conftest.
$ac_objext conftest
$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442 (eval $ac_link) 2>conftest.er1
19444 grep -v '^ *+' conftest.er1
>conftest.err
19446 cat conftest.err
>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try
='test -z "$ac_c_werror_flag"
19450 || test ! -s conftest.err'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; } &&
19456 { ac_try
='test -s conftest$ac_exeext'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; }; then
19462 ac_cv_lib_socket_socket
=yes
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.
$ac_ext >&5
19467 ac_cv_lib_socket_socket
=no
19469 rm -f conftest.err conftest.
$ac_objext \
19470 conftest
$ac_exeext conftest.
$ac_ext
19471 LIBS
=$ac_check_lib_save_LIBS
19473 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
19474 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
19475 if test $ac_cv_lib_socket_socket = yes; then
19481 if test $result = yes; then
19484 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
19485 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
19486 if test "${ac_cv_lib_socket_socket+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 ac_check_lib_save_LIBS
=$LIBS
19490 LIBS
="-lsocket -lnsl $LIBS"
19491 cat >conftest.
$ac_ext <<_ACEOF
19494 cat confdefs.h
>>conftest.
$ac_ext
19495 cat >>conftest.
$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19498 /* Override any gcc2 internal prototype to avoid an error. */
19502 /* We use char because int might match the return type of a gcc2
19503 builtin and then its argument prototype would still apply. */
19513 rm -f conftest.
$ac_objext conftest
$ac_exeext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19515 (eval $ac_link) 2>conftest.er1
19517 grep -v '^ *+' conftest.er1
>conftest.err
19519 cat conftest.err
>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try
='test -z "$ac_c_werror_flag"
19523 || test ! -s conftest.err'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; } &&
19529 { ac_try
='test -s conftest$ac_exeext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_lib_socket_socket
=yes
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.
$ac_ext >&5
19540 ac_cv_lib_socket_socket
=no
19542 rm -f conftest.err conftest.
$ac_objext \
19543 conftest
$ac_exeext conftest.
$ac_ext
19544 LIBS
=$ac_check_lib_save_LIBS
19546 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
19547 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
19548 if test $ac_cv_lib_socket_socket = yes; then
19554 if test $result = yes; then
19555 NETLIBS
= "-lsocket -lnsl"
19558 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19559 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19560 if test "${ac_cv_lib_socket_connect+set}" = set; then
19561 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 ac_check_lib_save_LIBS
=$LIBS
19564 LIBS
="-lsocket $LIBS"
19565 cat >conftest.
$ac_ext <<_ACEOF
19568 cat confdefs.h
>>conftest.
$ac_ext
19569 cat >>conftest.
$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19572 /* Override any gcc2 internal prototype to avoid an error. */
19576 /* We use char because int might match the return type of a gcc2
19577 builtin and then its argument prototype would still apply. */
19587 rm -f conftest.
$ac_objext conftest
$ac_exeext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19589 (eval $ac_link) 2>conftest.er1
19591 grep -v '^ *+' conftest.er1
>conftest.err
19593 cat conftest.err
>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); } &&
19596 { ac_try
='test -z "$ac_c_werror_flag"
19597 || test ! -s conftest.err'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; } &&
19603 { ac_try
='test -s conftest$ac_exeext'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; }; then
19609 ac_cv_lib_socket_connect
=yes
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.
$ac_ext >&5
19614 ac_cv_lib_socket_connect
=no
19616 rm -f conftest.err conftest.
$ac_objext \
19617 conftest
$ac_exeext conftest.
$ac_ext
19618 LIBS
=$ac_check_lib_save_LIBS
19620 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19621 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19622 if test $ac_cv_lib_socket_connect = yes; then
19628 if test $result = yes; then
19631 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19632 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19633 if test "${ac_cv_lib_socket_connect+set}" = set; then
19634 echo $ECHO_N "(cached) $ECHO_C" >&6
19636 ac_check_lib_save_LIBS
=$LIBS
19637 LIBS
="-lsocket -lnsl $LIBS"
19638 cat >conftest.
$ac_ext <<_ACEOF
19641 cat confdefs.h
>>conftest.
$ac_ext
19642 cat >>conftest.
$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19645 /* Override any gcc2 internal prototype to avoid an error. */
19649 /* We use char because int might match the return type of a gcc2
19650 builtin and then its argument prototype would still apply. */
19660 rm -f conftest.
$ac_objext conftest
$ac_exeext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19662 (eval $ac_link) 2>conftest.er1
19664 grep -v '^ *+' conftest.er1
>conftest.err
19666 cat conftest.err
>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try
='test -z "$ac_c_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try
='test -s conftest$ac_exeext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_cv_lib_socket_connect
=yes
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.
$ac_ext >&5
19687 ac_cv_lib_socket_connect
=no
19689 rm -f conftest.err conftest.
$ac_objext \
19690 conftest
$ac_exeext conftest.
$ac_ext
19691 LIBS
=$ac_check_lib_save_LIBS
19693 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19694 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19695 if test $ac_cv_lib_socket_connect = yes; then
19701 if test $result = yes; then
19702 NETLIBS
="-lsocket -lnsl"
19709 if test $USENSL != yes; then
19710 LIBS
="$LIBS $NETLIBS"
19711 cat >conftest.
$ac_ext <<_ACEOF
19714 cat confdefs.h
>>conftest.
$ac_ext
19715 cat >>conftest.
$ac_ext <<_ACEOF
19716 /* end confdefs.h. */
19718 /* Override any gcc2 internal prototype to avoid an error. */
19722 /* We use char because int might match the return type of a gcc2
19723 builtin and then its argument prototype would still apply. */
19733 rm -f conftest.
$ac_objext conftest
$ac_exeext
19734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19735 (eval $ac_link) 2>conftest.er1
19737 grep -v '^ *+' conftest.er1
>conftest.err
19739 cat conftest.err
>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } &&
19742 { ac_try
='test -z "$ac_c_werror_flag"
19743 || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try
='test -s conftest$ac_exeext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.
$ac_ext >&5
19761 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
19762 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
19763 if test "${ac_cv_lib_nsl_inet_addr+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_nsl_inet_addr
=yes
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.
$ac_ext >&5
19817 ac_cv_lib_nsl_inet_addr
=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_nsl_inet_addr" >&5
19824 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
19825 if test $ac_cv_lib_nsl_inet_addr = yes; then
19831 if test $result = yes; then
19832 NETLIBS
="$NETLIBS -lnsl"
19836 rm -f conftest.err conftest.
$ac_objext \
19837 conftest
$ac_exeext conftest.
$ac_ext
19848 # Check whether --with-db or --without-db was given.
19849 if test "${with_db+set}" = set; then
19864 { { echo "$as_me:$LINENO: error: Invalid --with-db option." >&5
19865 echo "$as_me: error: Invalid --with-db option." >&2;}
19866 { (exit 1); exit 1; }; }
19872 if test "$db" != "db"
19874 echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
19875 echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6
19876 if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
19877 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 ac_check_lib_save_LIBS
=$LIBS
19880 LIBS
="-lgdbm $LIBS"
19881 cat >conftest.
$ac_ext <<_ACEOF
19884 cat confdefs.h
>>conftest.
$ac_ext
19885 cat >>conftest.
$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19888 /* Override any gcc2 internal prototype to avoid an error. */
19892 /* We use char because int might match the return type of a gcc2
19893 builtin and then its argument prototype would still apply. */
19903 rm -f conftest.
$ac_objext conftest
$ac_exeext
19904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19905 (eval $ac_link) 2>conftest.er1
19907 grep -v '^ *+' conftest.er1
>conftest.err
19909 cat conftest.err
>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } &&
19912 { ac_try
='test -z "$ac_c_werror_flag"
19913 || test ! -s conftest.err'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try
='test -s conftest$ac_exeext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19925 ac_cv_lib_gdbm_gdbm_open
=yes
19927 echo "$as_me: failed program was:" >&5
19928 sed 's/^/| /' conftest.
$ac_ext >&5
19930 ac_cv_lib_gdbm_gdbm_open
=no
19932 rm -f conftest.err conftest.
$ac_objext \
19933 conftest
$ac_exeext conftest.
$ac_ext
19934 LIBS
=$ac_check_lib_save_LIBS
19936 echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
19937 echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6
19938 if test $ac_cv_lib_gdbm_gdbm_open = yes; then
19939 LIBGDBM
=-lgdbm ; LIBS
="-lgdbm $LIBS"
19942 echo "$as_me:$LINENO: checking for gdbm_open" >&5
19943 echo $ECHO_N "checking for gdbm_open... $ECHO_C" >&6
19944 if test "${ac_cv_func_gdbm_open+set}" = set; then
19945 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 cat >conftest.
$ac_ext <<_ACEOF
19950 cat confdefs.h
>>conftest.
$ac_ext
19951 cat >>conftest.
$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953 /* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
19954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19955 #define gdbm_open innocuous_gdbm_open
19957 /* System header to define __stub macros and hopefully few prototypes,
19958 which can conflict with char gdbm_open (); below.
19959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19960 <limits.h> exists even on freestanding compilers. */
19963 # include <limits.h>
19965 # include <assert.h>
19970 /* Override any gcc2 internal prototype to avoid an error. */
19975 /* We use char because int might match the return type of a gcc2
19976 builtin and then its argument prototype would still apply. */
19978 /* The GNU C library defines this for functions which it implements
19979 to always fail with ENOSYS. Some functions are actually named
19980 something starting with __ and the normal name is an alias. */
19981 #if defined (__stub_gdbm_open) || defined (__stub___gdbm_open)
19984 char (*f) () = gdbm_open;
19993 return f != gdbm_open;
19998 rm -f conftest.
$ac_objext conftest
$ac_exeext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20000 (eval $ac_link) 2>conftest.er1
20002 grep -v '^ *+' conftest.er1
>conftest.err
20004 cat conftest.err
>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try
='test -z "$ac_c_werror_flag"
20008 || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try
='test -s conftest$ac_exeext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_cv_func_gdbm_open
=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.
$ac_ext >&5
20025 ac_cv_func_gdbm_open
=no
20027 rm -f conftest.err conftest.
$ac_objext \
20028 conftest
$ac_exeext conftest.
$ac_ext
20030 echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
20031 echo "${ECHO_T}$ac_cv_func_gdbm_open" >&6
20032 if test $ac_cv_func_gdbm_open = yes; then
20040 if test "$db" != "gdbm"
20042 echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
20043 echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6
20044 if test "${ac_cv_lib_db_dbopen+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 ac_check_lib_save_LIBS
=$LIBS
20049 cat >conftest.
$ac_ext <<_ACEOF
20052 cat confdefs.h
>>conftest.
$ac_ext
20053 cat >>conftest.
$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20056 /* Override any gcc2 internal prototype to avoid an error. */
20060 /* We use char because int might match the return type of a gcc2
20061 builtin and then its argument prototype would still apply. */
20071 rm -f conftest.
$ac_objext conftest
$ac_exeext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20073 (eval $ac_link) 2>conftest.er1
20075 grep -v '^ *+' conftest.er1
>conftest.err
20077 cat conftest.err
>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } &&
20080 { ac_try
='test -z "$ac_c_werror_flag"
20081 || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try
='test -s conftest$ac_exeext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_lib_db_dbopen
=yes
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.
$ac_ext >&5
20098 ac_cv_lib_db_dbopen
=no
20100 rm -f conftest.err conftest.
$ac_objext \
20101 conftest
$ac_exeext conftest.
$ac_ext
20102 LIBS
=$ac_check_lib_save_LIBS
20104 echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
20105 echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6
20106 if test $ac_cv_lib_db_dbopen = yes; then
20107 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
20109 echo "$as_me:$LINENO: checking for db_open in -ldb" >&5
20110 echo $ECHO_N "checking for db_open in -ldb... $ECHO_C" >&6
20111 if test "${ac_cv_lib_db_db_open+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 ac_check_lib_save_LIBS
=$LIBS
20116 cat >conftest.
$ac_ext <<_ACEOF
20119 cat confdefs.h
>>conftest.
$ac_ext
20120 cat >>conftest.
$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20123 /* Override any gcc2 internal prototype to avoid an error. */
20127 /* We use char because int might match the return type of a gcc2
20128 builtin and then its argument prototype would still apply. */
20138 rm -f conftest.
$ac_objext conftest
$ac_exeext
20139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20140 (eval $ac_link) 2>conftest.er1
20142 grep -v '^ *+' conftest.er1
>conftest.err
20144 cat conftest.err
>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } &&
20147 { ac_try
='test -z "$ac_c_werror_flag"
20148 || test ! -s conftest.err'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; } &&
20154 { ac_try
='test -s conftest$ac_exeext'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 ac_cv_lib_db_db_open
=yes
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.
$ac_ext >&5
20165 ac_cv_lib_db_db_open
=no
20167 rm -f conftest.err conftest.
$ac_objext \
20168 conftest
$ac_exeext conftest.
$ac_ext
20169 LIBS
=$ac_check_lib_save_LIBS
20171 echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_open" >&5
20172 echo "${ECHO_T}$ac_cv_lib_db_db_open" >&6
20173 if test $ac_cv_lib_db_db_open = yes; then
20174 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
20176 echo "$as_me:$LINENO: checking for db_env_create in -ldb" >&5
20177 echo $ECHO_N "checking for db_env_create in -ldb... $ECHO_C" >&6
20178 if test "${ac_cv_lib_db_db_env_create+set}" = set; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 ac_check_lib_save_LIBS
=$LIBS
20183 cat >conftest.
$ac_ext <<_ACEOF
20186 cat confdefs.h
>>conftest.
$ac_ext
20187 cat >>conftest.
$ac_ext <<_ACEOF
20188 /* end confdefs.h. */
20190 /* Override any gcc2 internal prototype to avoid an error. */
20194 /* We use char because int might match the return type of a gcc2
20195 builtin and then its argument prototype would still apply. */
20196 char db_env_create ();
20205 rm -f conftest.
$ac_objext conftest
$ac_exeext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20207 (eval $ac_link) 2>conftest.er1
20209 grep -v '^ *+' conftest.er1
>conftest.err
20211 cat conftest.err
>&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } &&
20214 { ac_try
='test -z "$ac_c_werror_flag"
20215 || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try
='test -s conftest$ac_exeext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 ac_cv_lib_db_db_env_create
=yes
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 ac_cv_lib_db_db_env_create
=no
20234 rm -f conftest.err conftest.
$ac_objext \
20235 conftest
$ac_exeext conftest.
$ac_ext
20236 LIBS
=$ac_check_lib_save_LIBS
20238 echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_env_create" >&5
20239 echo "${ECHO_T}$ac_cv_lib_db_db_env_create" >&6
20240 if test $ac_cv_lib_db_db_env_create = yes; then
20241 LIBDB
=-ldb; LIBS
="-ldb $LIBS"
20250 echo "$as_me:$LINENO: checking for dbopen" >&5
20251 echo $ECHO_N "checking for dbopen... $ECHO_C" >&6
20252 if test "${ac_cv_func_dbopen+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 cat >conftest.
$ac_ext <<_ACEOF
20258 cat confdefs.h
>>conftest.
$ac_ext
20259 cat >>conftest.
$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 /* Define dbopen to an innocuous variant, in case <limits.h> declares dbopen.
20262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20263 #define dbopen innocuous_dbopen
20265 /* System header to define __stub macros and hopefully few prototypes,
20266 which can conflict with char dbopen (); below.
20267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20268 <limits.h> exists even on freestanding compilers. */
20271 # include <limits.h>
20273 # include <assert.h>
20278 /* Override any gcc2 internal prototype to avoid an error. */
20283 /* We use char because int might match the return type of a gcc2
20284 builtin and then its argument prototype would still apply. */
20286 /* The GNU C library defines this for functions which it implements
20287 to always fail with ENOSYS. Some functions are actually named
20288 something starting with __ and the normal name is an alias. */
20289 #if defined (__stub_dbopen) || defined (__stub___dbopen)
20292 char (*f) () = dbopen;
20301 return f != dbopen;
20306 rm -f conftest.
$ac_objext conftest
$ac_exeext
20307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20308 (eval $ac_link) 2>conftest.er1
20310 grep -v '^ *+' conftest.er1
>conftest.err
20312 cat conftest.err
>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); } &&
20315 { ac_try
='test -z "$ac_c_werror_flag"
20316 || test ! -s conftest.err'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; } &&
20322 { ac_try
='test -s conftest$ac_exeext'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; }; then
20328 ac_cv_func_dbopen
=yes
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.
$ac_ext >&5
20333 ac_cv_func_dbopen
=no
20335 rm -f conftest.err conftest.
$ac_objext \
20336 conftest
$ac_exeext conftest.
$ac_ext
20338 echo "$as_me:$LINENO: result: $ac_cv_func_dbopen" >&5
20339 echo "${ECHO_T}$ac_cv_func_dbopen" >&6
20340 if test $ac_cv_func_dbopen = yes; then
20344 echo "$as_me:$LINENO: checking for db_open" >&5
20345 echo $ECHO_N "checking for db_open... $ECHO_C" >&6
20346 if test "${ac_cv_func_db_open+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 cat >conftest.
$ac_ext <<_ACEOF
20352 cat confdefs.h
>>conftest.
$ac_ext
20353 cat >>conftest.
$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 /* Define db_open to an innocuous variant, in case <limits.h> declares db_open.
20356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20357 #define db_open innocuous_db_open
20359 /* System header to define __stub macros and hopefully few prototypes,
20360 which can conflict with char db_open (); below.
20361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20362 <limits.h> exists even on freestanding compilers. */
20365 # include <limits.h>
20367 # include <assert.h>
20372 /* Override any gcc2 internal prototype to avoid an error. */
20377 /* We use char because int might match the return type of a gcc2
20378 builtin and then its argument prototype would still apply. */
20380 /* The GNU C library defines this for functions which it implements
20381 to always fail with ENOSYS. Some functions are actually named
20382 something starting with __ and the normal name is an alias. */
20383 #if defined (__stub_db_open) || defined (__stub___db_open)
20386 char (*f) () = db_open;
20395 return f != db_open;
20400 rm -f conftest.
$ac_objext conftest
$ac_exeext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402 (eval $ac_link) 2>conftest.er1
20404 grep -v '^ *+' conftest.er1
>conftest.err
20406 cat conftest.err
>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try
='test -z "$ac_c_werror_flag"
20410 || test ! -s conftest.err'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; } &&
20416 { ac_try
='test -s conftest$ac_exeext'
20417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20418 (eval $ac_try) 2>&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); }; }; then
20422 ac_cv_func_db_open
=yes
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.
$ac_ext >&5
20427 ac_cv_func_db_open
=no
20429 rm -f conftest.err conftest.
$ac_objext \
20430 conftest
$ac_exeext conftest.
$ac_ext
20432 echo "$as_me:$LINENO: result: $ac_cv_func_db_open" >&5
20433 echo "${ECHO_T}$ac_cv_func_db_open" >&6
20434 if test $ac_cv_func_db_open = yes; then
20438 echo "$as_me:$LINENO: checking for db_env_create" >&5
20439 echo $ECHO_N "checking for db_env_create... $ECHO_C" >&6
20440 if test "${ac_cv_func_db_env_create+set}" = set; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20443 cat >conftest.
$ac_ext <<_ACEOF
20446 cat confdefs.h
>>conftest.
$ac_ext
20447 cat >>conftest.
$ac_ext <<_ACEOF
20448 /* end confdefs.h. */
20449 /* Define db_env_create to an innocuous variant, in case <limits.h> declares db_env_create.
20450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20451 #define db_env_create innocuous_db_env_create
20453 /* System header to define __stub macros and hopefully few prototypes,
20454 which can conflict with char db_env_create (); below.
20455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20456 <limits.h> exists even on freestanding compilers. */
20459 # include <limits.h>
20461 # include <assert.h>
20464 #undef db_env_create
20466 /* Override any gcc2 internal prototype to avoid an error. */
20471 /* We use char because int might match the return type of a gcc2
20472 builtin and then its argument prototype would still apply. */
20473 char db_env_create ();
20474 /* The GNU C library defines this for functions which it implements
20475 to always fail with ENOSYS. Some functions are actually named
20476 something starting with __ and the normal name is an alias. */
20477 #if defined (__stub_db_env_create) || defined (__stub___db_env_create)
20480 char (*f) () = db_env_create;
20489 return f != db_env_create;
20494 rm -f conftest.
$ac_objext conftest
$ac_exeext
20495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20496 (eval $ac_link) 2>conftest.er1
20498 grep -v '^ *+' conftest.er1
>conftest.err
20500 cat conftest.err
>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } &&
20503 { ac_try
='test -z "$ac_c_werror_flag"
20504 || test ! -s conftest.err'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; } &&
20510 { ac_try
='test -s conftest$ac_exeext'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; }; then
20516 ac_cv_func_db_env_create
=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.
$ac_ext >&5
20521 ac_cv_func_db_env_create
=no
20523 rm -f conftest.err conftest.
$ac_objext \
20524 conftest
$ac_exeext conftest.
$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_cv_func_db_env_create" >&5
20527 echo "${ECHO_T}$ac_cv_func_db_env_create" >&6
20528 if test $ac_cv_func_db_env_create = yes; then
20536 if test "$HAVE_GDBM$HAVE_BDB" = ""
20538 { { echo "$as_me:$LINENO: error: Cannot find either the gdbm or the db library." >&5
20539 echo "$as_me: error: Cannot find either the gdbm or the db library." >&2;}
20540 { (exit 1); exit 1; }; }
20546 if test "$HAVE_GDBM" = "y"
20551 if test "$needs_withdb" = 1
20553 ac_configure_args
="$ac_configure_args --with-db=gdbm"
20555 dblibrary
=gdbmobj
/libgdbmobj.la
20560 if test "$needs_withdb" = 1
20562 ac_configure_args
="$ac_configure_args --with-db=db"
20564 dblibrary
=bdbobj
/libbdbobj.la
20574 # Check whether --with-authuserdb or --without-authuserdb was given.
20575 if test "${with_authuserdb+set}" = set; then
20576 withval
="$with_authuserdb"
20577 doauthuserdb
="$withval"
20580 if test -d ${srcdir}/userdb
20586 if test "$doauthuserdb" = "no"
20590 AUTHUSERDB
="authuserdb"
20591 LIBAUTHUSERDB
="libauthuserdb.la"
20596 # Check whether --with-makedatprog or --without-makedatprog was given.
20597 if test "${with_makedatprog+set}" = set; then
20598 withval
="$with_makedatprog"
20602 ac_configure_args
="$ac_configure_args --with-makedatprog=$libexecdir/courier-authlib/makedatprog"
20606 cat >dbobj.config
<<EOF
20609 dblibrary=$dblibrary
20620 userdb
="$pkgconfdir/userdb"
20622 # Check whether --with-userdb or --without-userdb was given.
20623 if test "${with_userdb+set}" = set; then
20624 withval
="$with_userdb"
20627 ac_configure_args
="$ac_configure_args '--with-userdb=$userdb'"
20631 cat >>confdefs.h
<<_ACEOF
20632 #define USERDB "$userdb"
20638 for ac_header
in stdio.h
20640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20642 echo "$as_me:$LINENO: checking for $ac_header" >&5
20643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20645 echo $ECHO_N "(cached) $ECHO_C" >&6
20647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20650 # Is the header compilable?
20651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20653 cat >conftest.
$ac_ext <<_ACEOF
20656 cat confdefs.h
>>conftest.
$ac_ext
20657 cat >>conftest.
$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 $ac_includes_default
20660 #include <$ac_header>
20662 rm -f conftest.
$ac_objext
20663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20664 (eval $ac_compile) 2>conftest.er1
20666 grep -v '^ *+' conftest.er1
>conftest.err
20668 cat conftest.err
>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } &&
20671 { ac_try
='test -z "$ac_c_werror_flag"
20672 || test ! -s conftest.err'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; } &&
20678 { ac_try
='test -s conftest.$ac_objext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20684 ac_header_compiler
=yes
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.
$ac_ext >&5
20689 ac_header_compiler
=no
20691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20693 echo "${ECHO_T}$ac_header_compiler" >&6
20695 # Is the header present?
20696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20698 cat >conftest.
$ac_ext <<_ACEOF
20701 cat confdefs.h
>>conftest.
$ac_ext
20702 cat >>conftest.
$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704 #include <$ac_header>
20706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20707 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20709 grep -v '^ *+' conftest.er1
>conftest.err
20711 cat conftest.err
>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } >/dev
/null
; then
20714 if test -s conftest.err
; then
20715 ac_cpp_err
=$ac_c_preproc_warn_flag
20716 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20723 if test -z "$ac_cpp_err"; then
20724 ac_header_preproc
=yes
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.
$ac_ext >&5
20729 ac_header_preproc
=no
20731 rm -f conftest.err conftest.
$ac_ext
20732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20733 echo "${ECHO_T}$ac_header_preproc" >&6
20735 # So? What about this header?
20736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20741 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20742 ac_header_preproc
=yes
20745 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20746 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20747 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20748 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20749 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20750 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20751 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20752 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20755 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20756 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20759 ## -------------------------------------------------- ##
20760 ## Report this to courier-users@lists.sourceforge.net ##
20761 ## -------------------------------------------------- ##
20764 sed "s/^/$as_me: WARNING: /" >&2
20767 echo "$as_me:$LINENO: checking for $ac_header" >&5
20768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 eval "$as_ac_Header=\$ac_header_preproc"
20774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20779 cat >>confdefs.h
<<_ACEOF
20780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20792 # Check whether --with-authpam or --without-authpam was given.
20793 if test "${with_authpam+set}" = set; then
20794 withval
="$with_authpam"
20795 doauthpam
="$withval"
20800 for ac_header
in security
/pam_appl.h Pam
/pam_appl.h
20802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20804 echo "$as_me:$LINENO: checking for $ac_header" >&5
20805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20807 echo $ECHO_N "(cached) $ECHO_C" >&6
20809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20812 # Is the header compilable?
20813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20815 cat >conftest.
$ac_ext <<_ACEOF
20818 cat confdefs.h
>>conftest.
$ac_ext
20819 cat >>conftest.
$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20822 #include <$ac_header>
20824 rm -f conftest.
$ac_objext
20825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20826 (eval $ac_compile) 2>conftest.er1
20828 grep -v '^ *+' conftest.er1
>conftest.err
20830 cat conftest.err
>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } &&
20833 { ac_try
='test -z "$ac_c_werror_flag"
20834 || test ! -s conftest.err'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; } &&
20840 { ac_try
='test -s conftest.$ac_objext'
20841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20842 (eval $ac_try) 2>&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); }; }; then
20846 ac_header_compiler
=yes
20848 echo "$as_me: failed program was:" >&5
20849 sed 's/^/| /' conftest.
$ac_ext >&5
20851 ac_header_compiler
=no
20853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20855 echo "${ECHO_T}$ac_header_compiler" >&6
20857 # Is the header present?
20858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 #include <$ac_header>
20868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20871 grep -v '^ *+' conftest.er1
>conftest.err
20873 cat conftest.err
>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } >/dev
/null
; then
20876 if test -s conftest.err
; then
20877 ac_cpp_err
=$ac_c_preproc_warn_flag
20878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20885 if test -z "$ac_cpp_err"; then
20886 ac_header_preproc
=yes
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 ac_header_preproc
=no
20893 rm -f conftest.err conftest.
$ac_ext
20894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20895 echo "${ECHO_T}$ac_header_preproc" >&6
20897 # So? What about this header?
20898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20904 ac_header_preproc
=yes
20907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20921 ## -------------------------------------------------- ##
20922 ## Report this to courier-users@lists.sourceforge.net ##
20923 ## -------------------------------------------------- ##
20926 sed "s/^/$as_me: WARNING: /" >&2
20929 echo "$as_me:$LINENO: checking for $ac_header" >&5
20930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20932 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 eval "$as_ac_Header=\$ac_header_preproc"
20936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20941 cat >>confdefs.h
<<_ACEOF
20942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20949 if test "$doauthpam" = "no"
20955 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20956 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20957 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 ac_check_lib_save_LIBS
=$LIBS
20962 cat >conftest.
$ac_ext <<_ACEOF
20965 cat confdefs.h
>>conftest.
$ac_ext
20966 cat >>conftest.
$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20969 /* Override any gcc2 internal prototype to avoid an error. */
20973 /* We use char because int might match the return type of a gcc2
20974 builtin and then its argument prototype would still apply. */
20984 rm -f conftest.
$ac_objext conftest
$ac_exeext
20985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20986 (eval $ac_link) 2>conftest.er1
20988 grep -v '^ *+' conftest.er1
>conftest.err
20990 cat conftest.err
>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } &&
20993 { ac_try
='test -z "$ac_c_werror_flag"
20994 || test ! -s conftest.err'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; } &&
21000 { ac_try
='test -s conftest$ac_exeext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 ac_cv_lib_dl_dlopen
=yes
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.
$ac_ext >&5
21011 ac_cv_lib_dl_dlopen
=no
21013 rm -f conftest.err conftest.
$ac_objext \
21014 conftest
$ac_exeext conftest.
$ac_ext
21015 LIBS
=$ac_check_lib_save_LIBS
21017 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21018 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21019 if test $ac_cv_lib_dl_dlopen = yes; then
21025 echo "$as_me:$LINENO: checking for pam_start in -lpam" >&5
21026 echo $ECHO_N "checking for pam_start in -lpam... $ECHO_C" >&6
21027 if test "${ac_cv_lib_pam_pam_start+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 ac_check_lib_save_LIBS
=$LIBS
21031 LIBS
="-lpam $LIBDL $LIBS"
21032 cat >conftest.
$ac_ext <<_ACEOF
21035 cat confdefs.h
>>conftest.
$ac_ext
21036 cat >>conftest.
$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21039 /* Override any gcc2 internal prototype to avoid an error. */
21043 /* We use char because int might match the return type of a gcc2
21044 builtin and then its argument prototype would still apply. */
21054 rm -f conftest.
$ac_objext conftest
$ac_exeext
21055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21056 (eval $ac_link) 2>conftest.er1
21058 grep -v '^ *+' conftest.er1
>conftest.err
21060 cat conftest.err
>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } &&
21063 { ac_try
='test -z "$ac_c_werror_flag"
21064 || test ! -s conftest.err'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; } &&
21070 { ac_try
='test -s conftest$ac_exeext'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; }; then
21076 ac_cv_lib_pam_pam_start
=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21081 ac_cv_lib_pam_pam_start
=no
21083 rm -f conftest.err conftest.
$ac_objext \
21084 conftest
$ac_exeext conftest.
$ac_ext
21085 LIBS
=$ac_check_lib_save_LIBS
21087 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_start" >&5
21088 echo "${ECHO_T}$ac_cv_lib_pam_pam_start" >&6
21089 if test $ac_cv_lib_pam_pam_start = yes; then
21091 LIBS
="-lpam $LIBDL $LIBS"
21093 for ac_func
in pam_setcred
21095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21096 echo "$as_me:$LINENO: checking for $ac_func" >&5
21097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21098 if eval "test \"\${$as_ac_var+set}\" = set"; then
21099 echo $ECHO_N "(cached) $ECHO_C" >&6
21101 cat >conftest.
$ac_ext <<_ACEOF
21104 cat confdefs.h
>>conftest.
$ac_ext
21105 cat >>conftest.
$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21109 #define $ac_func innocuous_$ac_func
21111 /* System header to define __stub macros and hopefully few prototypes,
21112 which can conflict with char $ac_func (); below.
21113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21114 <limits.h> exists even on freestanding compilers. */
21117 # include <limits.h>
21119 # include <assert.h>
21124 /* Override any gcc2 internal prototype to avoid an error. */
21129 /* We use char because int might match the return type of a gcc2
21130 builtin and then its argument prototype would still apply. */
21132 /* The GNU C library defines this for functions which it implements
21133 to always fail with ENOSYS. Some functions are actually named
21134 something starting with __ and the normal name is an alias. */
21135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21138 char (*f) () = $ac_func;
21147 return f != $ac_func;
21152 rm -f conftest.
$ac_objext conftest
$ac_exeext
21153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21154 (eval $ac_link) 2>conftest.er1
21156 grep -v '^ *+' conftest.er1
>conftest.err
21158 cat conftest.err
>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } &&
21161 { ac_try
='test -z "$ac_c_werror_flag"
21162 || test ! -s conftest.err'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; } &&
21168 { ac_try
='test -s conftest$ac_exeext'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; }; then
21174 eval "$as_ac_var=yes"
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.
$ac_ext >&5
21179 eval "$as_ac_var=no"
21181 rm -f conftest.err conftest.
$ac_objext \
21182 conftest
$ac_exeext conftest.
$ac_ext
21184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21186 if test `eval echo '${'$as_ac_var'}'` = yes; then
21187 cat >>confdefs.h
<<_ACEOF
21188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21203 if test "$HAVE_PAM" = 1
21205 LIBAUTHPAM
=libauthpam.la
21209 # Check whether --with-authpam-libraries or --without-authpam-libraries was given.
21210 if test "${with_authpam_libraries+set}" = set; then
21211 withval
="$with_authpam_libraries"
21212 authpamcrypt
="$withval"
21215 AUTHPAMCRYPT
="$authpamcrypt"
21223 # Check whether --with-authldap or --without-authldap was given.
21224 if test "${with_authldap+set}" = set; then
21225 withval
="$with_authldap"
21226 doauthldap
="$withval"
21232 for ac_header
in lber.h
21234 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21236 echo "$as_me:$LINENO: checking for $ac_header" >&5
21237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21244 # Is the header compilable?
21245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21247 cat >conftest.
$ac_ext <<_ACEOF
21250 cat confdefs.h
>>conftest.
$ac_ext
21251 cat >>conftest.
$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21253 $ac_includes_default
21254 #include <$ac_header>
21256 rm -f conftest.
$ac_objext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21258 (eval $ac_compile) 2>conftest.er1
21260 grep -v '^ *+' conftest.er1
>conftest.err
21262 cat conftest.err
>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -z "$ac_c_werror_flag"
21266 || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try
='test -s conftest.$ac_objext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_header_compiler
=yes
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21283 ac_header_compiler
=no
21285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21287 echo "${ECHO_T}$ac_header_compiler" >&6
21289 # Is the header present?
21290 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21292 cat >conftest.
$ac_ext <<_ACEOF
21295 cat confdefs.h
>>conftest.
$ac_ext
21296 cat >>conftest.
$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 #include <$ac_header>
21300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21303 grep -v '^ *+' conftest.er1
>conftest.err
21305 cat conftest.err
>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } >/dev
/null
; then
21308 if test -s conftest.err
; then
21309 ac_cpp_err
=$ac_c_preproc_warn_flag
21310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21317 if test -z "$ac_cpp_err"; then
21318 ac_header_preproc
=yes
21320 echo "$as_me: failed program was:" >&5
21321 sed 's/^/| /' conftest.
$ac_ext >&5
21323 ac_header_preproc
=no
21325 rm -f conftest.err conftest.
$ac_ext
21326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21327 echo "${ECHO_T}$ac_header_preproc" >&6
21329 # So? What about this header?
21330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21332 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21333 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21335 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21336 ac_header_preproc
=yes
21339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21343 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21344 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21345 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21346 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21349 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21350 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21353 ## -------------------------------------------------- ##
21354 ## Report this to courier-users@lists.sourceforge.net ##
21355 ## -------------------------------------------------- ##
21358 sed "s/^/$as_me: WARNING: /" >&2
21361 echo "$as_me:$LINENO: checking for $ac_header" >&5
21362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 eval "$as_ac_Header=\$ac_header_preproc"
21368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21373 cat >>confdefs.h
<<_ACEOF
21374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21382 for ac_header
in ldap.h
21384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21386 echo "$as_me:$LINENO: checking for $ac_header" >&5
21387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21394 # Is the header compilable?
21395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21397 cat >conftest.
$ac_ext <<_ACEOF
21400 cat confdefs.h
>>conftest.
$ac_ext
21401 cat >>conftest.
$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 $ac_includes_default
21404 #include <$ac_header>
21406 rm -f conftest.
$ac_objext
21407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21408 (eval $ac_compile) 2>conftest.er1
21410 grep -v '^ *+' conftest.er1
>conftest.err
21412 cat conftest.err
>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } &&
21415 { ac_try
='test -z "$ac_c_werror_flag"
21416 || test ! -s conftest.err'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; } &&
21422 { ac_try
='test -s conftest.$ac_objext'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; }; then
21428 ac_header_compiler
=yes
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.
$ac_ext >&5
21433 ac_header_compiler
=no
21435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21437 echo "${ECHO_T}$ac_header_compiler" >&6
21439 # Is the header present?
21440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21442 cat >conftest.
$ac_ext <<_ACEOF
21445 cat confdefs.h
>>conftest.
$ac_ext
21446 cat >>conftest.
$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 #include <$ac_header>
21450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21453 grep -v '^ *+' conftest.er1
>conftest.err
21455 cat conftest.err
>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } >/dev
/null
; then
21458 if test -s conftest.err
; then
21459 ac_cpp_err
=$ac_c_preproc_warn_flag
21460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21467 if test -z "$ac_cpp_err"; then
21468 ac_header_preproc
=yes
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.
$ac_ext >&5
21473 ac_header_preproc
=no
21475 rm -f conftest.err conftest.
$ac_ext
21476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21477 echo "${ECHO_T}$ac_header_preproc" >&6
21479 # So? What about this header?
21480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21486 ac_header_preproc
=yes
21489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21503 ## -------------------------------------------------- ##
21504 ## Report this to courier-users@lists.sourceforge.net ##
21505 ## -------------------------------------------------- ##
21508 sed "s/^/$as_me: WARNING: /" >&2
21511 echo "$as_me:$LINENO: checking for $ac_header" >&5
21512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 eval "$as_ac_Header=\$ac_header_preproc"
21518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21523 cat >>confdefs.h
<<_ACEOF
21524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21532 for ac_header
in netinet
/in.h
21534 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21536 echo "$as_me:$LINENO: checking for $ac_header" >&5
21537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21539 echo $ECHO_N "(cached) $ECHO_C" >&6
21541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21544 # Is the header compilable?
21545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21547 cat >conftest.
$ac_ext <<_ACEOF
21550 cat confdefs.h
>>conftest.
$ac_ext
21551 cat >>conftest.
$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 #include <$ac_header>
21556 rm -f conftest.
$ac_objext
21557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21558 (eval $ac_compile) 2>conftest.er1
21560 grep -v '^ *+' conftest.er1
>conftest.err
21562 cat conftest.err
>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } &&
21565 { ac_try
='test -z "$ac_c_werror_flag"
21566 || test ! -s conftest.err'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; } &&
21572 { ac_try
='test -s conftest.$ac_objext'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 ac_header_compiler
=yes
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.
$ac_ext >&5
21583 ac_header_compiler
=no
21585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21587 echo "${ECHO_T}$ac_header_compiler" >&6
21589 # Is the header present?
21590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21592 cat >conftest.
$ac_ext <<_ACEOF
21595 cat confdefs.h
>>conftest.
$ac_ext
21596 cat >>conftest.
$ac_ext <<_ACEOF
21597 /* end confdefs.h. */
21598 #include <$ac_header>
21600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21603 grep -v '^ *+' conftest.er1
>conftest.err
21605 cat conftest.err
>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } >/dev
/null
; then
21608 if test -s conftest.err
; then
21609 ac_cpp_err
=$ac_c_preproc_warn_flag
21610 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21617 if test -z "$ac_cpp_err"; then
21618 ac_header_preproc
=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 ac_header_preproc
=no
21625 rm -f conftest.err conftest.
$ac_ext
21626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21627 echo "${ECHO_T}$ac_header_preproc" >&6
21629 # So? What about this header?
21630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21636 ac_header_preproc
=yes
21639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21653 ## -------------------------------------------------- ##
21654 ## Report this to courier-users@lists.sourceforge.net ##
21655 ## -------------------------------------------------- ##
21658 sed "s/^/$as_me: WARNING: /" >&2
21661 echo "$as_me:$LINENO: checking for $ac_header" >&5
21662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21666 eval "$as_ac_Header=\$ac_header_preproc"
21668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21673 cat >>confdefs.h
<<_ACEOF
21674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21682 if test "$doauthldap" = "no"
21687 LIBS
="$NETLIBS $LIBS"
21690 echo "$as_me:$LINENO: checking whether -lresolv is needed for res_query" >&5
21691 echo $ECHO_N "checking whether -lresolv is needed for res_query... $ECHO_C" >&6
21692 cat >conftest.
$ac_ext <<_ACEOF
21695 cat confdefs.h
>>conftest.
$ac_ext
21696 cat >>conftest.
$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21699 #include <sys/types.h>
21700 #if HAVE_NETINET_IN_H
21701 #include <netinet/in.h>
21703 #include <resolv.h>
21705 void (*func)()= (void (*)())res_query;
21715 rm -f conftest.
$ac_objext conftest
$ac_exeext
21716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21717 (eval $ac_link) 2>conftest.er1
21719 grep -v '^ *+' conftest.er1
>conftest.err
21721 cat conftest.err
>&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try
='test -z "$ac_c_werror_flag"
21725 || test ! -s conftest.err'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; } &&
21731 { ac_try
='test -s conftest$ac_exeext'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; }; then
21737 echo "$as_me:$LINENO: result: no" >&5
21738 echo "${ECHO_T}no" >&6
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.
$ac_ext >&5
21744 LIBS
="-lresolv $LIBS"
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21753 #include <sys/types.h>
21754 #if HAVE_NETINET_IN_H
21755 #include <netinet/in.h>
21757 #include <resolv.h>
21759 void (*func)()= (void (*)())res_query;
21769 rm -f conftest.
$ac_objext conftest
$ac_exeext
21770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21771 (eval $ac_link) 2>conftest.er1
21773 grep -v '^ *+' conftest.er1
>conftest.err
21775 cat conftest.err
>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try
='test -z "$ac_c_werror_flag"
21779 || test ! -s conftest.err'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try
='test -s conftest$ac_exeext'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21792 LDAPLIBS
="-lresolv $LDAPLIBS"
21794 echo "$as_me:$LINENO: result: yes" >&5
21795 echo "${ECHO_T}yes" >&6
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.
$ac_ext >&5
21801 { { echo "$as_me:$LINENO: error: Cannot find function res_query" >&5
21802 echo "$as_me: error: Cannot find function res_query" >&2;}
21803 { (exit 1); exit 1; }; }
21805 rm -f conftest.err conftest.
$ac_objext \
21806 conftest
$ac_exeext conftest.
$ac_ext
21809 rm -f conftest.err conftest.
$ac_objext \
21810 conftest
$ac_exeext conftest.
$ac_ext
21812 echo "$as_me:$LINENO: checking for ber_scanf in -llber" >&5
21813 echo $ECHO_N "checking for ber_scanf in -llber... $ECHO_C" >&6
21814 if test "${ac_cv_lib_lber_ber_scanf+set}" = set; then
21815 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 ac_check_lib_save_LIBS
=$LIBS
21818 LIBS
="-llber $LIBS"
21819 cat >conftest.
$ac_ext <<_ACEOF
21822 cat confdefs.h
>>conftest.
$ac_ext
21823 cat >>conftest.
$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21826 /* Override any gcc2 internal prototype to avoid an error. */
21830 /* We use char because int might match the return type of a gcc2
21831 builtin and then its argument prototype would still apply. */
21841 rm -f conftest.
$ac_objext conftest
$ac_exeext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21843 (eval $ac_link) 2>conftest.er1
21845 grep -v '^ *+' conftest.er1
>conftest.err
21847 cat conftest.err
>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } &&
21850 { ac_try
='test -z "$ac_c_werror_flag"
21851 || test ! -s conftest.err'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; } &&
21857 { ac_try
='test -s conftest$ac_exeext'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 ac_cv_lib_lber_ber_scanf
=yes
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.
$ac_ext >&5
21868 ac_cv_lib_lber_ber_scanf
=no
21870 rm -f conftest.err conftest.
$ac_objext \
21871 conftest
$ac_exeext conftest.
$ac_ext
21872 LIBS
=$ac_check_lib_save_LIBS
21874 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_scanf" >&5
21875 echo "${ECHO_T}$ac_cv_lib_lber_ber_scanf" >&6
21876 if test $ac_cv_lib_lber_ber_scanf = yes; then
21877 LDAPLIBS
="-llber $LDAPLIBS" LIBS
="-llber $LIBS"
21880 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
21881 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
21882 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
21883 echo $ECHO_N "(cached) $ECHO_C" >&6
21885 ac_check_lib_save_LIBS
=$LIBS
21886 LIBS
="-lldap $LIBS"
21887 cat >conftest.
$ac_ext <<_ACEOF
21890 cat confdefs.h
>>conftest.
$ac_ext
21891 cat >>conftest.
$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21894 /* Override any gcc2 internal prototype to avoid an error. */
21898 /* We use char because int might match the return type of a gcc2
21899 builtin and then its argument prototype would still apply. */
21909 rm -f conftest.
$ac_objext conftest
$ac_exeext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21911 (eval $ac_link) 2>conftest.er1
21913 grep -v '^ *+' conftest.er1
>conftest.err
21915 cat conftest.err
>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try
='test -z "$ac_c_werror_flag"
21919 || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try
='test -s conftest$ac_exeext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 ac_cv_lib_ldap_ldap_open
=yes
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.
$ac_ext >&5
21936 ac_cv_lib_ldap_ldap_open
=no
21938 rm -f conftest.err conftest.
$ac_objext \
21939 conftest
$ac_exeext conftest.
$ac_ext
21940 LIBS
=$ac_check_lib_save_LIBS
21942 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
21943 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
21944 if test $ac_cv_lib_ldap_ldap_open = yes; then
21945 LDAPLIBS
="-lldap $LDAPLIBS" ; LIBS
="-lldap $LIBS"
21948 echo "$as_me:$LINENO: checking for ldap_search_st" >&5
21949 echo $ECHO_N "checking for ldap_search_st... $ECHO_C" >&6
21950 if test "${ac_cv_func_ldap_search_st+set}" = set; then
21951 echo $ECHO_N "(cached) $ECHO_C" >&6
21953 cat >conftest.
$ac_ext <<_ACEOF
21956 cat confdefs.h
>>conftest.
$ac_ext
21957 cat >>conftest.
$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 /* Define ldap_search_st to an innocuous variant, in case <limits.h> declares ldap_search_st.
21960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21961 #define ldap_search_st innocuous_ldap_search_st
21963 /* System header to define __stub macros and hopefully few prototypes,
21964 which can conflict with char ldap_search_st (); below.
21965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21966 <limits.h> exists even on freestanding compilers. */
21969 # include <limits.h>
21971 # include <assert.h>
21974 #undef ldap_search_st
21976 /* Override any gcc2 internal prototype to avoid an error. */
21981 /* We use char because int might match the return type of a gcc2
21982 builtin and then its argument prototype would still apply. */
21983 char ldap_search_st ();
21984 /* The GNU C library defines this for functions which it implements
21985 to always fail with ENOSYS. Some functions are actually named
21986 something starting with __ and the normal name is an alias. */
21987 #if defined (__stub_ldap_search_st) || defined (__stub___ldap_search_st)
21990 char (*f) () = ldap_search_st;
21999 return f != ldap_search_st;
22004 rm -f conftest.
$ac_objext conftest
$ac_exeext
22005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006 (eval $ac_link) 2>conftest.er1
22008 grep -v '^ *+' conftest.er1
>conftest.err
22010 cat conftest.err
>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } &&
22013 { ac_try
='test -z "$ac_c_werror_flag"
22014 || test ! -s conftest.err'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; } &&
22020 { ac_try
='test -s conftest$ac_exeext'
22021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22022 (eval $ac_try) 2>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; }; then
22026 ac_cv_func_ldap_search_st
=yes
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.
$ac_ext >&5
22031 ac_cv_func_ldap_search_st
=no
22033 rm -f conftest.err conftest.
$ac_objext \
22034 conftest
$ac_exeext conftest.
$ac_ext
22036 echo "$as_me:$LINENO: result: $ac_cv_func_ldap_search_st" >&5
22037 echo "${ECHO_T}$ac_cv_func_ldap_search_st" >&6
22038 if test $ac_cv_func_ldap_search_st = yes; then
22044 echo "$as_me:$LINENO: checking for ldap_start_tls_s" >&5
22045 echo $ECHO_N "checking for ldap_start_tls_s... $ECHO_C" >&6
22046 if test "${ac_cv_func_ldap_start_tls_s+set}" = set; then
22047 echo $ECHO_N "(cached) $ECHO_C" >&6
22049 cat >conftest.
$ac_ext <<_ACEOF
22052 cat confdefs.h
>>conftest.
$ac_ext
22053 cat >>conftest.
$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 /* Define ldap_start_tls_s to an innocuous variant, in case <limits.h> declares ldap_start_tls_s.
22056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22057 #define ldap_start_tls_s innocuous_ldap_start_tls_s
22059 /* System header to define __stub macros and hopefully few prototypes,
22060 which can conflict with char ldap_start_tls_s (); below.
22061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22062 <limits.h> exists even on freestanding compilers. */
22065 # include <limits.h>
22067 # include <assert.h>
22070 #undef ldap_start_tls_s
22072 /* Override any gcc2 internal prototype to avoid an error. */
22077 /* We use char because int might match the return type of a gcc2
22078 builtin and then its argument prototype would still apply. */
22079 char ldap_start_tls_s ();
22080 /* The GNU C library defines this for functions which it implements
22081 to always fail with ENOSYS. Some functions are actually named
22082 something starting with __ and the normal name is an alias. */
22083 #if defined (__stub_ldap_start_tls_s) || defined (__stub___ldap_start_tls_s)
22086 char (*f) () = ldap_start_tls_s;
22095 return f != ldap_start_tls_s;
22100 rm -f conftest.
$ac_objext conftest
$ac_exeext
22101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22102 (eval $ac_link) 2>conftest.er1
22104 grep -v '^ *+' conftest.er1
>conftest.err
22106 cat conftest.err
>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try
='test -z "$ac_c_werror_flag"
22110 || test ! -s conftest.err'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; } &&
22116 { ac_try
='test -s conftest$ac_exeext'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; }; then
22122 ac_cv_func_ldap_start_tls_s
=yes
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.
$ac_ext >&5
22127 ac_cv_func_ldap_start_tls_s
=no
22129 rm -f conftest.err conftest.
$ac_objext \
22130 conftest
$ac_exeext conftest.
$ac_ext
22132 echo "$as_me:$LINENO: result: $ac_cv_func_ldap_start_tls_s" >&5
22133 echo "${ECHO_T}$ac_cv_func_ldap_start_tls_s" >&6
22134 if test $ac_cv_func_ldap_start_tls_s = yes; then
22140 echo "$as_me:$LINENO: checking for ldap_result2error" >&5
22141 echo $ECHO_N "checking for ldap_result2error... $ECHO_C" >&6
22142 if test "${ac_cv_func_ldap_result2error+set}" = set; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 /* Define ldap_result2error to an innocuous variant, in case <limits.h> declares ldap_result2error.
22152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22153 #define ldap_result2error innocuous_ldap_result2error
22155 /* System header to define __stub macros and hopefully few prototypes,
22156 which can conflict with char ldap_result2error (); below.
22157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22158 <limits.h> exists even on freestanding compilers. */
22161 # include <limits.h>
22163 # include <assert.h>
22166 #undef ldap_result2error
22168 /* Override any gcc2 internal prototype to avoid an error. */
22173 /* We use char because int might match the return type of a gcc2
22174 builtin and then its argument prototype would still apply. */
22175 char ldap_result2error ();
22176 /* The GNU C library defines this for functions which it implements
22177 to always fail with ENOSYS. Some functions are actually named
22178 something starting with __ and the normal name is an alias. */
22179 #if defined (__stub_ldap_result2error) || defined (__stub___ldap_result2error)
22182 char (*f) () = ldap_result2error;
22191 return f != ldap_result2error;
22196 rm -f conftest.
$ac_objext conftest
$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>conftest.er1
22200 grep -v '^ *+' conftest.er1
>conftest.err
22202 cat conftest.err
>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try
='test -z "$ac_c_werror_flag"
22206 || test ! -s conftest.err'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try
='test -s conftest$ac_exeext'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22218 ac_cv_func_ldap_result2error
=yes
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.
$ac_ext >&5
22223 ac_cv_func_ldap_result2error
=no
22225 rm -f conftest.err conftest.
$ac_objext \
22226 conftest
$ac_exeext conftest.
$ac_ext
22228 echo "$as_me:$LINENO: result: $ac_cv_func_ldap_result2error" >&5
22229 echo "${ECHO_T}$ac_cv_func_ldap_result2error" >&6
22230 if test $ac_cv_func_ldap_result2error = yes; then
22231 HAVE_LDAP_RESULT2ERROR
=1
22233 HAVE_LDAP_RESULT2ERROR
=0
22236 echo "$as_me:$LINENO: checking for ldap_parse_result" >&5
22237 echo $ECHO_N "checking for ldap_parse_result... $ECHO_C" >&6
22238 if test "${ac_cv_func_ldap_parse_result+set}" = set; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 cat >conftest.
$ac_ext <<_ACEOF
22244 cat confdefs.h
>>conftest.
$ac_ext
22245 cat >>conftest.
$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 /* Define ldap_parse_result to an innocuous variant, in case <limits.h> declares ldap_parse_result.
22248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22249 #define ldap_parse_result innocuous_ldap_parse_result
22251 /* System header to define __stub macros and hopefully few prototypes,
22252 which can conflict with char ldap_parse_result (); below.
22253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22254 <limits.h> exists even on freestanding compilers. */
22257 # include <limits.h>
22259 # include <assert.h>
22262 #undef ldap_parse_result
22264 /* Override any gcc2 internal prototype to avoid an error. */
22269 /* We use char because int might match the return type of a gcc2
22270 builtin and then its argument prototype would still apply. */
22271 char ldap_parse_result ();
22272 /* The GNU C library defines this for functions which it implements
22273 to always fail with ENOSYS. Some functions are actually named
22274 something starting with __ and the normal name is an alias. */
22275 #if defined (__stub_ldap_parse_result) || defined (__stub___ldap_parse_result)
22278 char (*f) () = ldap_parse_result;
22287 return f != ldap_parse_result;
22292 rm -f conftest.
$ac_objext conftest
$ac_exeext
22293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22294 (eval $ac_link) 2>conftest.er1
22296 grep -v '^ *+' conftest.er1
>conftest.err
22298 cat conftest.err
>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } &&
22301 { ac_try
='test -z "$ac_c_werror_flag"
22302 || test ! -s conftest.err'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; } &&
22308 { ac_try
='test -s conftest$ac_exeext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22314 ac_cv_func_ldap_parse_result
=yes
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.
$ac_ext >&5
22319 ac_cv_func_ldap_parse_result
=no
22321 rm -f conftest.err conftest.
$ac_objext \
22322 conftest
$ac_exeext conftest.
$ac_ext
22324 echo "$as_me:$LINENO: result: $ac_cv_func_ldap_parse_result" >&5
22325 echo "${ECHO_T}$ac_cv_func_ldap_parse_result" >&6
22326 if test $ac_cv_func_ldap_parse_result = yes; then
22327 HAVE_LDAP_PARSE_RESULT
=1
22329 HAVE_LDAP_PARSE_RESULT
=0
22336 # Check whether --with-authldaprc or --without-authldaprc was given.
22337 if test "${with_authldaprc+set}" = set; then
22338 withval
="$with_authldaprc"
22339 authldaprc
="$withval"
22341 authldaprc
="$pkgconfdir/authldaprc"
22346 if test "$HAVE_LDAP" = 1
22348 LIBAUTHLDAP
="libauthldap.la"
22357 if test "$HAVE_LDAP" = 1; then
22359 HAVE_LDAP_FALSE
='#'
22366 cat >>confdefs.h
<<_ACEOF
22367 #define HAVE_LDAP_TLS $HAVE_LDAP_TLS
22371 cat >>confdefs.h
<<_ACEOF
22372 #define HAVE_LDAP_RESULT2ERROR $HAVE_LDAP_RESULT2ERROR
22376 cat >>confdefs.h
<<_ACEOF
22377 #define HAVE_LDAP_PARSE_RESULT $HAVE_LDAP_PARSE_RESULT
22384 # Check whether --with-authpwd or --without-authpwd was given.
22385 if test "${with_authpwd+set}" = set; then
22386 withval
="$with_authpwd"
22387 doauthpwd
="$withval"
22390 test "$HAVE_PAM" = 1 && doauthpwd
="no"
22391 test "$HAVE_LDAP" = 1 && doauthpwd
="no"
22396 if test "$doauthpwd" = "no"
22401 for ac_func
in endpwent
22403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22404 echo "$as_me:$LINENO: checking for $ac_func" >&5
22405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22406 if eval "test \"\${$as_ac_var+set}\" = set"; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 cat >conftest.
$ac_ext <<_ACEOF
22412 cat confdefs.h
>>conftest.
$ac_ext
22413 cat >>conftest.
$ac_ext <<_ACEOF
22414 /* end confdefs.h. */
22415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22417 #define $ac_func innocuous_$ac_func
22419 /* System header to define __stub macros and hopefully few prototypes,
22420 which can conflict with char $ac_func (); below.
22421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22422 <limits.h> exists even on freestanding compilers. */
22425 # include <limits.h>
22427 # include <assert.h>
22432 /* Override any gcc2 internal prototype to avoid an error. */
22437 /* We use char because int might match the return type of a gcc2
22438 builtin and then its argument prototype would still apply. */
22440 /* The GNU C library defines this for functions which it implements
22441 to always fail with ENOSYS. Some functions are actually named
22442 something starting with __ and the normal name is an alias. */
22443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22446 char (*f) () = $ac_func;
22455 return f != $ac_func;
22460 rm -f conftest.
$ac_objext conftest
$ac_exeext
22461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22462 (eval $ac_link) 2>conftest.er1
22464 grep -v '^ *+' conftest.er1
>conftest.err
22466 cat conftest.err
>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } &&
22469 { ac_try
='test -z "$ac_c_werror_flag"
22470 || test ! -s conftest.err'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try
='test -s conftest$ac_exeext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 eval "$as_ac_var=yes"
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.
$ac_ext >&5
22487 eval "$as_ac_var=no"
22489 rm -f conftest.err conftest.
$ac_objext \
22490 conftest
$ac_exeext conftest.
$ac_ext
22492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22494 if test `eval echo '${'$as_ac_var'}'` = yes; then
22495 cat >>confdefs.h
<<_ACEOF
22496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22507 # Check whether --with-authshadow or --without-authshadow was given.
22508 if test "${with_authshadow+set}" = set; then
22509 withval
="$with_authshadow"
22510 doauthshadow
="$withval"
22513 test "$HAVE_PAM" = 1 && doauthshadow
="no"
22514 test "$HAVE_LDAP" = 1 && doauthshadow
="no"
22518 for ac_header
in shadow.h
22520 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22522 echo "$as_me:$LINENO: checking for $ac_header" >&5
22523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22530 # Is the header compilable?
22531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22533 cat >conftest.
$ac_ext <<_ACEOF
22536 cat confdefs.h
>>conftest.
$ac_ext
22537 cat >>conftest.
$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22539 $ac_includes_default
22540 #include <$ac_header>
22542 rm -f conftest.
$ac_objext
22543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22544 (eval $ac_compile) 2>conftest.er1
22546 grep -v '^ *+' conftest.er1
>conftest.err
22548 cat conftest.err
>&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } &&
22551 { ac_try
='test -z "$ac_c_werror_flag"
22552 || test ! -s conftest.err'
22553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22554 (eval $ac_try) 2>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); }; } &&
22558 { ac_try
='test -s conftest.$ac_objext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 ac_header_compiler
=yes
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.
$ac_ext >&5
22569 ac_header_compiler
=no
22571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22573 echo "${ECHO_T}$ac_header_compiler" >&6
22575 # Is the header present?
22576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22578 cat >conftest.
$ac_ext <<_ACEOF
22581 cat confdefs.h
>>conftest.
$ac_ext
22582 cat >>conftest.
$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 #include <$ac_header>
22586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22589 grep -v '^ *+' conftest.er1
>conftest.err
22591 cat conftest.err
>&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } >/dev
/null
; then
22594 if test -s conftest.err
; then
22595 ac_cpp_err
=$ac_c_preproc_warn_flag
22596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22603 if test -z "$ac_cpp_err"; then
22604 ac_header_preproc
=yes
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.
$ac_ext >&5
22609 ac_header_preproc
=no
22611 rm -f conftest.err conftest.
$ac_ext
22612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22613 echo "${ECHO_T}$ac_header_preproc" >&6
22615 # So? What about this header?
22616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22622 ac_header_preproc
=yes
22625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22639 ## -------------------------------------------------- ##
22640 ## Report this to courier-users@lists.sourceforge.net ##
22641 ## -------------------------------------------------- ##
22644 sed "s/^/$as_me: WARNING: /" >&2
22647 echo "$as_me:$LINENO: checking for $ac_header" >&5
22648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22650 echo $ECHO_N "(cached) $ECHO_C" >&6
22652 eval "$as_ac_Header=\$ac_header_preproc"
22654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22659 cat >>confdefs.h
<<_ACEOF
22660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22669 echo "$as_me:$LINENO: checking for getspent in -lshadow" >&5
22670 echo $ECHO_N "checking for getspent in -lshadow... $ECHO_C" >&6
22671 if test "${ac_cv_lib_shadow_getspent+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 ac_check_lib_save_LIBS
=$LIBS
22675 LIBS
="-lshadow $LIBS"
22676 cat >conftest.
$ac_ext <<_ACEOF
22679 cat confdefs.h
>>conftest.
$ac_ext
22680 cat >>conftest.
$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22683 /* Override any gcc2 internal prototype to avoid an error. */
22687 /* We use char because int might match the return type of a gcc2
22688 builtin and then its argument prototype would still apply. */
22698 rm -f conftest.
$ac_objext conftest
$ac_exeext
22699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22700 (eval $ac_link) 2>conftest.er1
22702 grep -v '^ *+' conftest.er1
>conftest.err
22704 cat conftest.err
>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try
='test -z "$ac_c_werror_flag"
22708 || test ! -s conftest.err'
22709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22710 (eval $ac_try) 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; } &&
22714 { ac_try
='test -s conftest$ac_exeext'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_lib_shadow_getspent
=yes
22722 echo "$as_me: failed program was:" >&5
22723 sed 's/^/| /' conftest.
$ac_ext >&5
22725 ac_cv_lib_shadow_getspent
=no
22727 rm -f conftest.err conftest.
$ac_objext \
22728 conftest
$ac_exeext conftest.
$ac_ext
22729 LIBS
=$ac_check_lib_save_LIBS
22731 echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspent" >&5
22732 echo "${ECHO_T}$ac_cv_lib_shadow_getspent" >&6
22733 if test $ac_cv_lib_shadow_getspent = yes; then
22734 SHADOWLIBS
="-lshadow" ; LIBS
="-lshadow $LIBS"
22739 for ac_func
in endspent getspent
22741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22742 echo "$as_me:$LINENO: checking for $ac_func" >&5
22743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22744 if eval "test \"\${$as_ac_var+set}\" = set"; then
22745 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 cat >conftest.
$ac_ext <<_ACEOF
22750 cat confdefs.h
>>conftest.
$ac_ext
22751 cat >>conftest.
$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22755 #define $ac_func innocuous_$ac_func
22757 /* System header to define __stub macros and hopefully few prototypes,
22758 which can conflict with char $ac_func (); below.
22759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22760 <limits.h> exists even on freestanding compilers. */
22763 # include <limits.h>
22765 # include <assert.h>
22770 /* Override any gcc2 internal prototype to avoid an error. */
22775 /* We use char because int might match the return type of a gcc2
22776 builtin and then its argument prototype would still apply. */
22778 /* The GNU C library defines this for functions which it implements
22779 to always fail with ENOSYS. Some functions are actually named
22780 something starting with __ and the normal name is an alias. */
22781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22784 char (*f) () = $ac_func;
22793 return f != $ac_func;
22798 rm -f conftest.
$ac_objext conftest
$ac_exeext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800 (eval $ac_link) 2>conftest.er1
22802 grep -v '^ *+' conftest.er1
>conftest.err
22804 cat conftest.err
>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try
='test -z "$ac_c_werror_flag"
22808 || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try
='test -s conftest$ac_exeext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 eval "$as_ac_var=yes"
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.
$ac_ext >&5
22825 eval "$as_ac_var=no"
22827 rm -f conftest.err conftest.
$ac_objext \
22828 conftest
$ac_exeext conftest.
$ac_ext
22830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22832 if test `eval echo '${'$as_ac_var'}'` = yes; then
22833 cat >>confdefs.h
<<_ACEOF
22834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22842 if test "$doauthshadow" = "no"
22849 echo "$as_me:$LINENO: checking for getspent in -lshadow" >&5
22850 echo $ECHO_N "checking for getspent in -lshadow... $ECHO_C" >&6
22851 if test "${ac_cv_lib_shadow_getspent+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22854 ac_check_lib_save_LIBS
=$LIBS
22855 LIBS
="-lshadow $LIBS"
22856 cat >conftest.
$ac_ext <<_ACEOF
22859 cat confdefs.h
>>conftest.
$ac_ext
22860 cat >>conftest.
$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22863 /* Override any gcc2 internal prototype to avoid an error. */
22867 /* We use char because int might match the return type of a gcc2
22868 builtin and then its argument prototype would still apply. */
22878 rm -f conftest.
$ac_objext conftest
$ac_exeext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22880 (eval $ac_link) 2>conftest.er1
22882 grep -v '^ *+' conftest.er1
>conftest.err
22884 cat conftest.err
>&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } &&
22887 { ac_try
='test -z "$ac_c_werror_flag"
22888 || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try
='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_cv_lib_shadow_getspent
=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.
$ac_ext >&5
22905 ac_cv_lib_shadow_getspent
=no
22907 rm -f conftest.err conftest.
$ac_objext \
22908 conftest
$ac_exeext conftest.
$ac_ext
22909 LIBS
=$ac_check_lib_save_LIBS
22911 echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspent" >&5
22912 echo "${ECHO_T}$ac_cv_lib_shadow_getspent" >&6
22913 if test $ac_cv_lib_shadow_getspent = yes; then
22914 cat >>confdefs.h
<<_ACEOF
22915 #define HAVE_LIBSHADOW 1
22918 LIBS
="-lshadow $LIBS"
22922 echo "$as_me:$LINENO: checking for getspent" >&5
22923 echo $ECHO_N "checking for getspent... $ECHO_C" >&6
22924 if test "${ac_cv_func_getspent+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22927 cat >conftest.
$ac_ext <<_ACEOF
22930 cat confdefs.h
>>conftest.
$ac_ext
22931 cat >>conftest.
$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22933 /* Define getspent to an innocuous variant, in case <limits.h> declares getspent.
22934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22935 #define getspent innocuous_getspent
22937 /* System header to define __stub macros and hopefully few prototypes,
22938 which can conflict with char getspent (); below.
22939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22940 <limits.h> exists even on freestanding compilers. */
22943 # include <limits.h>
22945 # include <assert.h>
22950 /* Override any gcc2 internal prototype to avoid an error. */
22955 /* We use char because int might match the return type of a gcc2
22956 builtin and then its argument prototype would still apply. */
22958 /* The GNU C library defines this for functions which it implements
22959 to always fail with ENOSYS. Some functions are actually named
22960 something starting with __ and the normal name is an alias. */
22961 #if defined (__stub_getspent) || defined (__stub___getspent)
22964 char (*f) () = getspent;
22973 return f != getspent;
22978 rm -f conftest.
$ac_objext conftest
$ac_exeext
22979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22980 (eval $ac_link) 2>conftest.er1
22982 grep -v '^ *+' conftest.er1
>conftest.err
22984 cat conftest.err
>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); } &&
22987 { ac_try
='test -z "$ac_c_werror_flag"
22988 || test ! -s conftest.err'
22989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22990 (eval $ac_try) 2>&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); }; } &&
22994 { ac_try
='test -s conftest$ac_exeext'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; }; then
23000 ac_cv_func_getspent
=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.
$ac_ext >&5
23005 ac_cv_func_getspent
=no
23007 rm -f conftest.err conftest.
$ac_objext \
23008 conftest
$ac_exeext conftest.
$ac_ext
23010 echo "$as_me:$LINENO: result: $ac_cv_func_getspent" >&5
23011 echo "${ECHO_T}$ac_cv_func_getspent" >&6
23012 if test $ac_cv_func_getspent = yes; then
23022 if test "$HAVE_SHADOW" = 1
23024 LIBAUTHSHADOW
="libauthshadow.la"
23030 if test "$HAVE_PWD" = 1
23032 LIBAUTHPWD
="libauthpwd.la"
23041 vpopmail_home
=`$PERL -e '@a=getpwnam("vpopmail"); print "$a[7]";'`
23046 # Check whether --with-authvchkpw or --without-authvchkpw was given.
23047 if test "${with_authvchkpw+set}" = set; then
23048 withval
="$with_authvchkpw"
23049 doauthvchkpw
="$withval"
23052 if test "$vpopmail_home" != ""
23058 if test "$doauthvchkpw" = "no"
23067 ----------------------------------------------------
23071 All questions regarding ANY vpopmail-related problems,
23072 such as compiling/building failures, or login errors
23073 should be referred to the vpopmail mailing list.
23074 Vpopmail questions sent to the Courier mailing lists
23076 ----------------------------------------------------
23081 if test -f ${vpopmail_home}/etc
/lib_deps
23083 CFLAGS
="`cat ${vpopmail_home}/etc/inc_deps` $CFLAGS"
23084 VPOPMAILLIBS
="`cat ${vpopmail_home}/etc/lib_deps`"
23086 { { echo "$as_me:$LINENO: error: ${vpopmail_home}/etc/lib_deps does not exist - upgrade vpopmail to the current version or fix the permissions on this file" >&5
23087 echo "$as_me: error: ${vpopmail_home}/etc/lib_deps does not exist - upgrade vpopmail to the current version or fix the permissions on this file" >&2;}
23088 { (exit 1); exit 1; }; }
23095 if test "$HAVE_VCHKPW" = 1
23097 LIBAUTHVCHKPW
="libauthvchkpw.la"
23102 LIBS
="$VPOPMAILLIBS $CRYPTLIBS $LIBS"
23103 echo "$as_me:$LINENO: checking for open_smtp_relay" >&5
23104 echo $ECHO_N "checking for open_smtp_relay... $ECHO_C" >&6
23105 if test "${ac_cv_func_open_smtp_relay+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 cat >conftest.
$ac_ext <<_ACEOF
23111 cat confdefs.h
>>conftest.
$ac_ext
23112 cat >>conftest.
$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 /* Define open_smtp_relay to an innocuous variant, in case <limits.h> declares open_smtp_relay.
23115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23116 #define open_smtp_relay innocuous_open_smtp_relay
23118 /* System header to define __stub macros and hopefully few prototypes,
23119 which can conflict with char open_smtp_relay (); below.
23120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23121 <limits.h> exists even on freestanding compilers. */
23124 # include <limits.h>
23126 # include <assert.h>
23129 #undef open_smtp_relay
23131 /* Override any gcc2 internal prototype to avoid an error. */
23136 /* We use char because int might match the return type of a gcc2
23137 builtin and then its argument prototype would still apply. */
23138 char open_smtp_relay ();
23139 /* The GNU C library defines this for functions which it implements
23140 to always fail with ENOSYS. Some functions are actually named
23141 something starting with __ and the normal name is an alias. */
23142 #if defined (__stub_open_smtp_relay) || defined (__stub___open_smtp_relay)
23145 char (*f) () = open_smtp_relay;
23154 return f != open_smtp_relay;
23159 rm -f conftest.
$ac_objext conftest
$ac_exeext
23160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23161 (eval $ac_link) 2>conftest.er1
23163 grep -v '^ *+' conftest.er1
>conftest.err
23165 cat conftest.err
>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } &&
23168 { ac_try
='test -z "$ac_c_werror_flag"
23169 || test ! -s conftest.err'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; } &&
23175 { ac_try
='test -s conftest$ac_exeext'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; }; then
23181 ac_cv_func_open_smtp_relay
=yes
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.
$ac_ext >&5
23186 ac_cv_func_open_smtp_relay
=no
23188 rm -f conftest.err conftest.
$ac_objext \
23189 conftest
$ac_exeext conftest.
$ac_ext
23191 echo "$as_me:$LINENO: result: $ac_cv_func_open_smtp_relay" >&5
23192 echo "${ECHO_T}$ac_cv_func_open_smtp_relay" >&6
23193 if test $ac_cv_func_open_smtp_relay = yes; then
23195 cat >>confdefs.h
<<\_ACEOF
23196 #define HAVE_OPEN_SMTP_RELAY 1
23201 echo "$as_me:$LINENO: checking for vset_lastauth" >&5
23202 echo $ECHO_N "checking for vset_lastauth... $ECHO_C" >&6
23203 if test "${ac_cv_func_vset_lastauth+set}" = set; then
23204 echo $ECHO_N "(cached) $ECHO_C" >&6
23206 cat >conftest.
$ac_ext <<_ACEOF
23209 cat confdefs.h
>>conftest.
$ac_ext
23210 cat >>conftest.
$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 /* Define vset_lastauth to an innocuous variant, in case <limits.h> declares vset_lastauth.
23213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23214 #define vset_lastauth innocuous_vset_lastauth
23216 /* System header to define __stub macros and hopefully few prototypes,
23217 which can conflict with char vset_lastauth (); below.
23218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23219 <limits.h> exists even on freestanding compilers. */
23222 # include <limits.h>
23224 # include <assert.h>
23227 #undef vset_lastauth
23229 /* Override any gcc2 internal prototype to avoid an error. */
23234 /* We use char because int might match the return type of a gcc2
23235 builtin and then its argument prototype would still apply. */
23236 char vset_lastauth ();
23237 /* The GNU C library defines this for functions which it implements
23238 to always fail with ENOSYS. Some functions are actually named
23239 something starting with __ and the normal name is an alias. */
23240 #if defined (__stub_vset_lastauth) || defined (__stub___vset_lastauth)
23243 char (*f) () = vset_lastauth;
23252 return f != vset_lastauth;
23257 rm -f conftest.
$ac_objext conftest
$ac_exeext
23258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23259 (eval $ac_link) 2>conftest.er1
23261 grep -v '^ *+' conftest.er1
>conftest.err
23263 cat conftest.err
>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } &&
23266 { ac_try
='test -z "$ac_c_werror_flag"
23267 || test ! -s conftest.err'
23268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23269 (eval $ac_try) 2>&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; } &&
23273 { ac_try
='test -s conftest$ac_exeext'
23274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23275 (eval $ac_try) 2>&5
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); }; }; then
23279 ac_cv_func_vset_lastauth
=yes
23281 echo "$as_me: failed program was:" >&5
23282 sed 's/^/| /' conftest.
$ac_ext >&5
23284 ac_cv_func_vset_lastauth
=no
23286 rm -f conftest.err conftest.
$ac_objext \
23287 conftest
$ac_exeext conftest.
$ac_ext
23289 echo "$as_me:$LINENO: result: $ac_cv_func_vset_lastauth" >&5
23290 echo "${ECHO_T}$ac_cv_func_vset_lastauth" >&6
23291 if test $ac_cv_func_vset_lastauth = yes; then
23293 cat >>confdefs.h
<<\_ACEOF
23294 #define HAVE_VSET_LASTAUTH 1
23308 # Check whether --with-authpgsqlrc or --without-authpgsqlrc was given.
23309 if test "${with_authpgsqlrc+set}" = set; then
23310 withval
="$with_authpgsqlrc"
23311 authpgsqlrc
="$withval"
23313 authpgsqlrc
="$pkgconfdir/authpgsqlrc"
23318 # Check whether --with-authpgsql or --without-authpgsql was given.
23319 if test "${with_authpgsql+set}" = set; then
23320 withval
="$with_authpgsql"
23321 doauthpgsql
="$withval"
23324 for ac_prog
in pg_config
23326 # Extract the first word of "$ac_prog", so it can be a program name with args.
23327 set dummy
$ac_prog; ac_word
=$2
23328 echo "$as_me:$LINENO: checking for $ac_word" >&5
23329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23330 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 ac_cv_path_PG_CONFIG
="$PG_CONFIG" # Let the user override the test with a path.
23338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23339 for as_dir
in $LPATH
23342 test -z "$as_dir" && as_dir
=.
23343 for ac_exec_ext
in '' $ac_executable_extensions; do
23344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23345 ac_cv_path_PG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23355 PG_CONFIG
=$ac_cv_path_PG_CONFIG
23357 if test -n "$PG_CONFIG"; then
23358 echo "$as_me:$LINENO: result: $PG_CONFIG" >&5
23359 echo "${ECHO_T}$PG_CONFIG" >&6
23361 echo "$as_me:$LINENO: result: no" >&5
23362 echo "${ECHO_T}no" >&6
23365 test -n "$PG_CONFIG" && break
23367 test -n "$PG_CONFIG" || PG_CONFIG
="pg_config"
23372 # Check whether --with-pgsql-libs or --without-pgsql-libs was given.
23373 if test "${with_pgsql_libs+set}" = set; then
23374 withval
="$with_pgsql_libs"
23375 PGSQL_LIBS
="-L$withval $PGSQL_LIBS"
23377 if test -x $PG_CONFIG
23379 PGSQL_LIBS
="-L`$PG_CONFIG --libdir` $PGSQL_LIBS"
23384 # Check whether --with-pgsql-includes or --without-pgsql-includes was given.
23385 if test "${with_pgsql_includes+set}" = set; then
23386 withval
="$with_pgsql_includes"
23387 PGSQL_CFLAGS
="-I$withval"
23389 if test -x $PG_CONFIG
23391 PGSQL_CFLAGS
="-I`$PG_CONFIG --includedir`"
23396 if test "$doauthpgsql" = ""
23398 LIBS
="$PGSQL_LIBS $LIBS"
23399 echo "$as_me:$LINENO: checking for PQsetdbLogin" >&5
23400 echo $ECHO_N "checking for PQsetdbLogin... $ECHO_C" >&6
23401 if test "${ac_cv_func_PQsetdbLogin+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23404 cat >conftest.
$ac_ext <<_ACEOF
23407 cat confdefs.h
>>conftest.
$ac_ext
23408 cat >>conftest.
$ac_ext <<_ACEOF
23409 /* end confdefs.h. */
23410 /* Define PQsetdbLogin to an innocuous variant, in case <limits.h> declares PQsetdbLogin.
23411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23412 #define PQsetdbLogin innocuous_PQsetdbLogin
23414 /* System header to define __stub macros and hopefully few prototypes,
23415 which can conflict with char PQsetdbLogin (); below.
23416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23417 <limits.h> exists even on freestanding compilers. */
23420 # include <limits.h>
23422 # include <assert.h>
23425 #undef PQsetdbLogin
23427 /* Override any gcc2 internal prototype to avoid an error. */
23432 /* We use char because int might match the return type of a gcc2
23433 builtin and then its argument prototype would still apply. */
23434 char PQsetdbLogin ();
23435 /* The GNU C library defines this for functions which it implements
23436 to always fail with ENOSYS. Some functions are actually named
23437 something starting with __ and the normal name is an alias. */
23438 #if defined (__stub_PQsetdbLogin) || defined (__stub___PQsetdbLogin)
23441 char (*f) () = PQsetdbLogin;
23450 return f != PQsetdbLogin;
23455 rm -f conftest.
$ac_objext conftest
$ac_exeext
23456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23457 (eval $ac_link) 2>conftest.er1
23459 grep -v '^ *+' conftest.er1
>conftest.err
23461 cat conftest.err
>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } &&
23464 { ac_try
='test -z "$ac_c_werror_flag"
23465 || test ! -s conftest.err'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try
='test -s conftest$ac_exeext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 ac_cv_func_PQsetdbLogin
=yes
23479 echo "$as_me: failed program was:" >&5
23480 sed 's/^/| /' conftest.
$ac_ext >&5
23482 ac_cv_func_PQsetdbLogin
=no
23484 rm -f conftest.err conftest.
$ac_objext \
23485 conftest
$ac_exeext conftest.
$ac_ext
23487 echo "$as_me:$LINENO: result: $ac_cv_func_PQsetdbLogin" >&5
23488 echo "${ECHO_T}$ac_cv_func_PQsetdbLogin" >&6
23489 if test $ac_cv_func_PQsetdbLogin = yes; then
23497 if test "$doauthpgsql" != "yes"
23503 LIBS
="$PGSQL_LIBS $LIBS"
23504 echo "$as_me:$LINENO: checking for PQsetdbLogin" >&5
23505 echo $ECHO_N "checking for PQsetdbLogin... $ECHO_C" >&6
23506 if test "${ac_cv_func_PQsetdbLogin+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 cat >conftest.
$ac_ext <<_ACEOF
23512 cat confdefs.h
>>conftest.
$ac_ext
23513 cat >>conftest.
$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 /* Define PQsetdbLogin to an innocuous variant, in case <limits.h> declares PQsetdbLogin.
23516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23517 #define PQsetdbLogin innocuous_PQsetdbLogin
23519 /* System header to define __stub macros and hopefully few prototypes,
23520 which can conflict with char PQsetdbLogin (); below.
23521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23522 <limits.h> exists even on freestanding compilers. */
23525 # include <limits.h>
23527 # include <assert.h>
23530 #undef PQsetdbLogin
23532 /* Override any gcc2 internal prototype to avoid an error. */
23537 /* We use char because int might match the return type of a gcc2
23538 builtin and then its argument prototype would still apply. */
23539 char PQsetdbLogin ();
23540 /* The GNU C library defines this for functions which it implements
23541 to always fail with ENOSYS. Some functions are actually named
23542 something starting with __ and the normal name is an alias. */
23543 #if defined (__stub_PQsetdbLogin) || defined (__stub___PQsetdbLogin)
23546 char (*f) () = PQsetdbLogin;
23555 return f != PQsetdbLogin;
23560 rm -f conftest.
$ac_objext conftest
$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 (eval $ac_link) 2>conftest.er1
23564 grep -v '^ *+' conftest.er1
>conftest.err
23566 cat conftest.err
>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } &&
23569 { ac_try
='test -z "$ac_c_werror_flag"
23570 || test ! -s conftest.err'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; } &&
23576 { ac_try
='test -s conftest$ac_exeext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23582 ac_cv_func_PQsetdbLogin
=yes
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.
$ac_ext >&5
23587 ac_cv_func_PQsetdbLogin
=no
23589 rm -f conftest.err conftest.
$ac_objext \
23590 conftest
$ac_exeext conftest.
$ac_ext
23592 echo "$as_me:$LINENO: result: $ac_cv_func_PQsetdbLogin" >&5
23593 echo "${ECHO_T}$ac_cv_func_PQsetdbLogin" >&6
23594 if test $ac_cv_func_PQsetdbLogin = yes; then
23595 AUTHPGSQL
="authpgsql"
23598 { { echo "$as_me:$LINENO: error: --with-authpgsql specified but no libpq.so" >&5
23599 echo "$as_me: error: --with-authpgsql specified but no libpq.so" >&2;}
23600 { (exit 1); exit 1; }; }
23605 CFLAGS
="$PGSQL_CFLAGS $CFLAGS"
23606 LIBAUTHPGSQL
="libauthpgsql.la"
23613 if test "$HAVE_AUTHPGSQL" = 1; then
23614 HAVE_AUTHPGSQL_TRUE
=
23615 HAVE_AUTHPGSQL_FALSE
='#'
23617 HAVE_AUTHPGSQL_TRUE
='#'
23618 HAVE_AUTHPGSQL_FALSE
=
23626 # Check whether --with-authmysqlrc or --without-authmysqlrc was given.
23627 if test "${with_authmysqlrc+set}" = set; then
23628 withval
="$with_authmysqlrc"
23629 authmysqlrc
="$withval"
23631 authmysqlrc
="$pkgconfdir/authmysqlrc"
23636 # Check whether --with-authmysql or --without-authmysql was given.
23637 if test "${with_authmysql+set}" = set; then
23638 withval
="$with_authmysql"
23639 doauthmysql
="$withval"
23642 # Check whether --with-mysql-libs or --without-mysql-libs was given.
23643 if test "${with_mysql_libs+set}" = set; then
23644 withval
="$with_mysql_libs"
23645 MYSQL_LIBS
="-L$withval -lmysqlclient"
23649 # Check whether --with-mysql-includes or --without-mysql-includes was given.
23650 if test "${with_mysql_includes+set}" = set; then
23651 withval
="$with_mysql_includes"
23652 MYSQL_CFLAGS
="-I$withval"
23656 for ac_prog
in mysql_config
23658 # Extract the first word of "$ac_prog", so it can be a program name with args.
23659 set dummy
$ac_prog; ac_word
=$2
23660 echo "$as_me:$LINENO: checking for $ac_word" >&5
23661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23662 if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 case $MYSQL_CONFIG in
23667 ac_cv_path_MYSQL_CONFIG
="$MYSQL_CONFIG" # Let the user override the test with a path.
23670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23671 for as_dir
in $LPATH
23674 test -z "$as_dir" && as_dir
=.
23675 for ac_exec_ext
in '' $ac_executable_extensions; do
23676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23677 ac_cv_path_MYSQL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23687 MYSQL_CONFIG
=$ac_cv_path_MYSQL_CONFIG
23689 if test -n "$MYSQL_CONFIG"; then
23690 echo "$as_me:$LINENO: result: $MYSQL_CONFIG" >&5
23691 echo "${ECHO_T}$MYSQL_CONFIG" >&6
23693 echo "$as_me:$LINENO: result: no" >&5
23694 echo "${ECHO_T}no" >&6
23697 test -n "$MYSQL_CONFIG" && break
23699 test -n "$MYSQL_CONFIG" || MYSQL_CONFIG
="mysql_config"
23702 if test -x "$MYSQL_CONFIG"
23704 MYSQL_CFLAGS
="`$MYSQL_CONFIG --cflags`"
23705 MYSQL_LIBS
="`$MYSQL_CONFIG --libs`"
23707 eval "MYSQL_CFLAGS=\"\`echo $MYSQL_CFLAGS\`\""
23708 eval "MYSQL_LIBS=\"\`echo $MYSQL_LIBS\`\""
23711 if test "$doauthmysql" = ""
23713 LIBS
="$MYSQL_LIBS $LIBS"
23714 echo "$as_me:$LINENO: checking for mysql_connect" >&5
23715 echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6
23716 if test "${ac_cv_func_mysql_connect+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 cat >conftest.
$ac_ext <<_ACEOF
23722 cat confdefs.h
>>conftest.
$ac_ext
23723 cat >>conftest.
$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725 /* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
23726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23727 #define mysql_connect innocuous_mysql_connect
23729 /* System header to define __stub macros and hopefully few prototypes,
23730 which can conflict with char mysql_connect (); below.
23731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23732 <limits.h> exists even on freestanding compilers. */
23735 # include <limits.h>
23737 # include <assert.h>
23740 #undef mysql_connect
23742 /* Override any gcc2 internal prototype to avoid an error. */
23747 /* We use char because int might match the return type of a gcc2
23748 builtin and then its argument prototype would still apply. */
23749 char mysql_connect ();
23750 /* The GNU C library defines this for functions which it implements
23751 to always fail with ENOSYS. Some functions are actually named
23752 something starting with __ and the normal name is an alias. */
23753 #if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
23756 char (*f) () = mysql_connect;
23765 return f != mysql_connect;
23770 rm -f conftest.
$ac_objext conftest
$ac_exeext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23772 (eval $ac_link) 2>conftest.er1
23774 grep -v '^ *+' conftest.er1
>conftest.err
23776 cat conftest.err
>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try
='test -z "$ac_c_werror_flag"
23780 || test ! -s conftest.err'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; } &&
23786 { ac_try
='test -s conftest$ac_exeext'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; }; then
23792 ac_cv_func_mysql_connect
=yes
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.
$ac_ext >&5
23797 ac_cv_func_mysql_connect
=no
23799 rm -f conftest.err conftest.
$ac_objext \
23800 conftest
$ac_exeext conftest.
$ac_ext
23802 echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
23803 echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6
23804 if test $ac_cv_func_mysql_connect = yes; then
23809 echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
23810 echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6
23811 if test "${ac_cv_func_mysql_real_connect+set}" = set; then
23812 echo $ECHO_N "(cached) $ECHO_C" >&6
23814 cat >conftest.
$ac_ext <<_ACEOF
23817 cat confdefs.h
>>conftest.
$ac_ext
23818 cat >>conftest.
$ac_ext <<_ACEOF
23819 /* end confdefs.h. */
23820 /* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
23821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23822 #define mysql_real_connect innocuous_mysql_real_connect
23824 /* System header to define __stub macros and hopefully few prototypes,
23825 which can conflict with char mysql_real_connect (); below.
23826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23827 <limits.h> exists even on freestanding compilers. */
23830 # include <limits.h>
23832 # include <assert.h>
23835 #undef mysql_real_connect
23837 /* Override any gcc2 internal prototype to avoid an error. */
23842 /* We use char because int might match the return type of a gcc2
23843 builtin and then its argument prototype would still apply. */
23844 char mysql_real_connect ();
23845 /* The GNU C library defines this for functions which it implements
23846 to always fail with ENOSYS. Some functions are actually named
23847 something starting with __ and the normal name is an alias. */
23848 #if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect)
23851 char (*f) () = mysql_real_connect;
23860 return f != mysql_real_connect;
23865 rm -f conftest.
$ac_objext conftest
$ac_exeext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23867 (eval $ac_link) 2>conftest.er1
23869 grep -v '^ *+' conftest.er1
>conftest.err
23871 cat conftest.err
>&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } &&
23874 { ac_try
='test -z "$ac_c_werror_flag"
23875 || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try
='test -s conftest$ac_exeext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_cv_func_mysql_real_connect
=yes
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23892 ac_cv_func_mysql_real_connect
=no
23894 rm -f conftest.err conftest.
$ac_objext \
23895 conftest
$ac_exeext conftest.
$ac_ext
23897 echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
23898 echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
23899 if test $ac_cv_func_mysql_real_connect = yes; then
23907 if test "$doauthmysql" != "yes"
23913 LIBS
="$MYSQL_LIBS $LIBS"
23914 echo "$as_me:$LINENO: checking for mysql_connect" >&5
23915 echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6
23916 if test "${ac_cv_func_mysql_connect+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23919 cat >conftest.
$ac_ext <<_ACEOF
23922 cat confdefs.h
>>conftest.
$ac_ext
23923 cat >>conftest.
$ac_ext <<_ACEOF
23924 /* end confdefs.h. */
23925 /* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
23926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23927 #define mysql_connect innocuous_mysql_connect
23929 /* System header to define __stub macros and hopefully few prototypes,
23930 which can conflict with char mysql_connect (); below.
23931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23932 <limits.h> exists even on freestanding compilers. */
23935 # include <limits.h>
23937 # include <assert.h>
23940 #undef mysql_connect
23942 /* Override any gcc2 internal prototype to avoid an error. */
23947 /* We use char because int might match the return type of a gcc2
23948 builtin and then its argument prototype would still apply. */
23949 char mysql_connect ();
23950 /* The GNU C library defines this for functions which it implements
23951 to always fail with ENOSYS. Some functions are actually named
23952 something starting with __ and the normal name is an alias. */
23953 #if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
23956 char (*f) () = mysql_connect;
23965 return f != mysql_connect;
23970 rm -f conftest.
$ac_objext conftest
$ac_exeext
23971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23972 (eval $ac_link) 2>conftest.er1
23974 grep -v '^ *+' conftest.er1
>conftest.err
23976 cat conftest.err
>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } &&
23979 { ac_try
='test -z "$ac_c_werror_flag"
23980 || test ! -s conftest.err'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; } &&
23986 { ac_try
='test -s conftest$ac_exeext'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 ac_cv_func_mysql_connect
=yes
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.
$ac_ext >&5
23997 ac_cv_func_mysql_connect
=no
23999 rm -f conftest.err conftest.
$ac_objext \
24000 conftest
$ac_exeext conftest.
$ac_ext
24002 echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
24003 echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6
24004 if test $ac_cv_func_mysql_connect = yes; then
24005 LIBAUTHMYSQL
="libauthmysql.la"
24009 echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
24010 echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6
24011 if test "${ac_cv_func_mysql_real_connect+set}" = set; then
24012 echo $ECHO_N "(cached) $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 /* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
24021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24022 #define mysql_real_connect innocuous_mysql_real_connect
24024 /* System header to define __stub macros and hopefully few prototypes,
24025 which can conflict with char mysql_real_connect (); below.
24026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24027 <limits.h> exists even on freestanding compilers. */
24030 # include <limits.h>
24032 # include <assert.h>
24035 #undef mysql_real_connect
24037 /* Override any gcc2 internal prototype to avoid an error. */
24042 /* We use char because int might match the return type of a gcc2
24043 builtin and then its argument prototype would still apply. */
24044 char mysql_real_connect ();
24045 /* The GNU C library defines this for functions which it implements
24046 to always fail with ENOSYS. Some functions are actually named
24047 something starting with __ and the normal name is an alias. */
24048 #if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect)
24051 char (*f) () = mysql_real_connect;
24060 return f != mysql_real_connect;
24065 rm -f conftest.
$ac_objext conftest
$ac_exeext
24066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24067 (eval $ac_link) 2>conftest.er1
24069 grep -v '^ *+' conftest.er1
>conftest.err
24071 cat conftest.err
>&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); } &&
24074 { ac_try
='test -z "$ac_c_werror_flag"
24075 || test ! -s conftest.err'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; } &&
24081 { ac_try
='test -s conftest$ac_exeext'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; }; then
24087 ac_cv_func_mysql_real_connect
=yes
24089 echo "$as_me: failed program was:" >&5
24090 sed 's/^/| /' conftest.
$ac_ext >&5
24092 ac_cv_func_mysql_real_connect
=no
24094 rm -f conftest.err conftest.
$ac_objext \
24095 conftest
$ac_exeext conftest.
$ac_ext
24097 echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
24098 echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
24099 if test $ac_cv_func_mysql_real_connect = yes; then
24100 LIBAUTHMYSQL
="libauthmysql.la"
24103 { { echo "$as_me:$LINENO: error: --with-authmysql specified but no mysqlclient.so" >&5
24104 echo "$as_me: error: --with-authmysql specified but no mysqlclient.so" >&2;}
24105 { (exit 1); exit 1; }; }
24115 CFLAGS
="$MYSQL_CFLAGS $CFLAGS"
24121 if test "$HAVE_AUTHMYSQL" = 1; then
24122 HAVE_AUTHMYSQL_TRUE
=
24123 HAVE_AUTHMYSQL_FALSE
='#'
24125 HAVE_AUTHMYSQL_TRUE
='#'
24126 HAVE_AUTHMYSQL_FALSE
=
24136 # Check whether --with-authcustom or --without-authcustom was given.
24137 if test "${with_authcustom+set}" = set; then
24138 withval
="$with_authcustom"
24139 doauthcustom
="$withval"
24146 if test "$doauthcustom" = "yes"
24148 LIBAUTHCUSTOM
="libauthcustom.la"
24153 if test "$AUTHCUSTOM" != ""; then
24155 HAVE_CUSTOM_FALSE
='#'
24157 HAVE_CUSTOM_TRUE
='#'
24169 # Check whether --with-pipeprog or --without-pipeprog was given.
24170 if test "${with_pipeprog+set}" = set; then
24171 withval
="$with_pipeprog"
24172 authProg
="$withval"
24174 authProg
="$pkgconfdir/authProg"
24179 # Check whether --with-authpipe or --without-authpipe was given.
24180 if test "${with_authpipe+set}" = set; then
24181 withval
="$with_authpipe"
24182 doauthpipe
="$withval"
24189 if test "$doauthpipe" = "yes"
24191 LIBAUTHPIPE
="libauthpipe.la"
24196 if test "$AUTHPIPE" != ""; then
24198 HAVE_PIPE_FALSE
='#'
24208 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
24209 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
24210 if test "${ac_cv_header_stdc+set}" = set; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 cat >conftest.
$ac_ext <<_ACEOF
24216 cat confdefs.h
>>conftest.
$ac_ext
24217 cat >>conftest.
$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 #include <stdlib.h>
24220 #include <stdarg.h>
24221 #include <string.h>
24232 rm -f conftest.
$ac_objext
24233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24234 (eval $ac_compile) 2>conftest.er1
24236 grep -v '^ *+' conftest.er1
>conftest.err
24238 cat conftest.err
>&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); } &&
24241 { ac_try
='test -z "$ac_c_werror_flag"
24242 || test ! -s conftest.err'
24243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244 (eval $ac_try) 2>&5
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; } &&
24248 { ac_try
='test -s conftest.$ac_objext'
24249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24250 (eval $ac_try) 2>&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); }; }; then
24254 ac_cv_header_stdc
=yes
24256 echo "$as_me: failed program was:" >&5
24257 sed 's/^/| /' conftest.
$ac_ext >&5
24259 ac_cv_header_stdc
=no
24261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24263 if test $ac_cv_header_stdc = yes; then
24264 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
24265 cat >conftest.
$ac_ext <<_ACEOF
24268 cat confdefs.h
>>conftest.
$ac_ext
24269 cat >>conftest.
$ac_ext <<_ACEOF
24270 /* end confdefs.h. */
24271 #include <string.h>
24274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24275 $EGREP "memchr" >/dev
/null
2>&1; then
24278 ac_cv_header_stdc
=no
24284 if test $ac_cv_header_stdc = yes; then
24285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
24286 cat >conftest.
$ac_ext <<_ACEOF
24289 cat confdefs.h
>>conftest.
$ac_ext
24290 cat >>conftest.
$ac_ext <<_ACEOF
24291 /* end confdefs.h. */
24292 #include <stdlib.h>
24295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24296 $EGREP "free" >/dev
/null
2>&1; then
24299 ac_cv_header_stdc
=no
24305 if test $ac_cv_header_stdc = yes; then
24306 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
24307 if test "$cross_compiling" = yes; then
24310 cat >conftest.
$ac_ext <<_ACEOF
24313 cat confdefs.h
>>conftest.
$ac_ext
24314 cat >>conftest.
$ac_ext <<_ACEOF
24315 /* end confdefs.h. */
24317 #if ((' ' & 0x0FF) == 0x020)
24318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
24319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
24321 # define ISLOWER(c) \
24322 (('a' <= (c) && (c) <= 'i') \
24323 || ('j' <= (c) && (c) <= 'r') \
24324 || ('s' <= (c) && (c) <= 'z'))
24325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
24328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
24333 for (i = 0; i < 256; i++)
24334 if (XOR (islower (i), ISLOWER (i))
24335 || toupper (i) != TOUPPER (i))
24340 rm -f conftest
$ac_exeext
24341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24342 (eval $ac_link) 2>&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24353 echo "$as_me: program exited with status $ac_status" >&5
24354 echo "$as_me: failed program was:" >&5
24355 sed 's/^/| /' conftest.
$ac_ext >&5
24357 ( exit $ac_status )
24358 ac_cv_header_stdc
=no
24360 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24364 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
24365 echo "${ECHO_T}$ac_cv_header_stdc" >&6
24366 if test $ac_cv_header_stdc = yes; then
24368 cat >>confdefs.h
<<\_ACEOF
24369 #define STDC_HEADERS 1
24374 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
24375 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
24376 if test "${ac_cv_header_sys_wait_h+set}" = set; then
24377 echo $ECHO_N "(cached) $ECHO_C" >&6
24379 cat >conftest.
$ac_ext <<_ACEOF
24382 cat confdefs.h
>>conftest.
$ac_ext
24383 cat >>conftest.
$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #include <sys/types.h>
24386 #include <sys/wait.h>
24387 #ifndef WEXITSTATUS
24388 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
24391 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
24399 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
24404 rm -f conftest.
$ac_objext
24405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24406 (eval $ac_compile) 2>conftest.er1
24408 grep -v '^ *+' conftest.er1
>conftest.err
24410 cat conftest.err
>&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); } &&
24413 { ac_try
='test -z "$ac_c_werror_flag"
24414 || test ! -s conftest.err'
24415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24416 (eval $ac_try) 2>&5
24418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24419 (exit $ac_status); }; } &&
24420 { ac_try
='test -s conftest.$ac_objext'
24421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24422 (eval $ac_try) 2>&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); }; }; then
24426 ac_cv_header_sys_wait_h
=yes
24428 echo "$as_me: failed program was:" >&5
24429 sed 's/^/| /' conftest.
$ac_ext >&5
24431 ac_cv_header_sys_wait_h
=no
24433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24435 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
24436 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
24437 if test $ac_cv_header_sys_wait_h = yes; then
24439 cat >>confdefs.h
<<\_ACEOF
24440 #define HAVE_SYS_WAIT_H 1
24453 for ac_header
in sys
/stat.h sys
/time.h sys
/wait.h sys
/select.h unistd.h fcntl.h
crypt.h termios.h
24455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24457 echo "$as_me:$LINENO: checking for $ac_header" >&5
24458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24465 # Is the header compilable?
24466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24468 cat >conftest.
$ac_ext <<_ACEOF
24471 cat confdefs.h
>>conftest.
$ac_ext
24472 cat >>conftest.
$ac_ext <<_ACEOF
24473 /* end confdefs.h. */
24474 $ac_includes_default
24475 #include <$ac_header>
24477 rm -f conftest.
$ac_objext
24478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24479 (eval $ac_compile) 2>conftest.er1
24481 grep -v '^ *+' conftest.er1
>conftest.err
24483 cat conftest.err
>&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } &&
24486 { ac_try
='test -z "$ac_c_werror_flag"
24487 || test ! -s conftest.err'
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; } &&
24493 { ac_try
='test -s conftest.$ac_objext'
24494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24495 (eval $ac_try) 2>&5
24497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498 (exit $ac_status); }; }; then
24499 ac_header_compiler
=yes
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.
$ac_ext >&5
24504 ac_header_compiler
=no
24506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24508 echo "${ECHO_T}$ac_header_compiler" >&6
24510 # Is the header present?
24511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24513 cat >conftest.
$ac_ext <<_ACEOF
24516 cat confdefs.h
>>conftest.
$ac_ext
24517 cat >>conftest.
$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519 #include <$ac_header>
24521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24522 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24524 grep -v '^ *+' conftest.er1
>conftest.err
24526 cat conftest.err
>&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } >/dev
/null
; then
24529 if test -s conftest.err
; then
24530 ac_cpp_err
=$ac_c_preproc_warn_flag
24531 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24538 if test -z "$ac_cpp_err"; then
24539 ac_header_preproc
=yes
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.
$ac_ext >&5
24544 ac_header_preproc
=no
24546 rm -f conftest.err conftest.
$ac_ext
24547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24548 echo "${ECHO_T}$ac_header_preproc" >&6
24550 # So? What about this header?
24551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24557 ac_header_preproc
=yes
24560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24574 ## -------------------------------------------------- ##
24575 ## Report this to courier-users@lists.sourceforge.net ##
24576 ## -------------------------------------------------- ##
24579 sed "s/^/$as_me: WARNING: /" >&2
24582 echo "$as_me:$LINENO: checking for $ac_header" >&5
24583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 eval "$as_ac_Header=\$ac_header_preproc"
24589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24594 cat >>confdefs.h
<<_ACEOF
24595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24603 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
24604 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
24605 if test "${ac_cv_c_const+set}" = set; then
24606 echo $ECHO_N "(cached) $ECHO_C" >&6
24608 cat >conftest.
$ac_ext <<_ACEOF
24611 cat confdefs.h
>>conftest.
$ac_ext
24612 cat >>conftest.
$ac_ext <<_ACEOF
24613 /* end confdefs.h. */
24618 /* FIXME: Include the comments suggested by Paul. */
24619 #ifndef __cplusplus
24620 /* Ultrix mips cc rejects this. */
24621 typedef int charset[2];
24623 /* SunOS 4.1.1 cc rejects this. */
24624 char const *const *ccp;
24626 /* NEC SVR4.0.2 mips cc rejects this. */
24627 struct point {int x, y;};
24628 static struct point const zero = {0,0};
24629 /* AIX XL C 1.02.0.0 rejects this.
24630 It does not let you subtract one const X* pointer from another in
24631 an arm of an if-expression whose if-part is not a constant
24633 const char *g = "string";
24634 ccp = &g + (g ? g-g : 0);
24635 /* HPUX 7.0 cc rejects these. */
24638 ccp = (char const *const *) p;
24639 { /* SCO 3.2v4 cc rejects this. */
24641 char const *s = 0 ? (char *) 0 : (char const *) 0;
24645 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
24646 int x[] = {25, 17};
24647 const int *foo = &x[0];
24650 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
24651 typedef const int *iptr;
24655 { /* AIX XL C 1.02.0.0 rejects this saying
24656 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
24657 struct s { int j; const int *ap[3]; };
24658 struct s *b; b->j = 5;
24660 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
24661 const int foo = 10;
24669 rm -f conftest.
$ac_objext
24670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24671 (eval $ac_compile) 2>conftest.er1
24673 grep -v '^ *+' conftest.er1
>conftest.err
24675 cat conftest.err
>&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); } &&
24678 { ac_try
='test -z "$ac_c_werror_flag"
24679 || test ! -s conftest.err'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; } &&
24685 { ac_try
='test -s conftest.$ac_objext'
24686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687 (eval $ac_try) 2>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); }; }; then
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.
$ac_ext >&5
24698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24700 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
24701 echo "${ECHO_T}$ac_cv_c_const" >&6
24702 if test $ac_cv_c_const = no
; then
24704 cat >>confdefs.h
<<\_ACEOF
24710 echo "$as_me:$LINENO: checking for pid_t" >&5
24711 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
24712 if test "${ac_cv_type_pid_t+set}" = set; then
24713 echo $ECHO_N "(cached) $ECHO_C" >&6
24715 cat >conftest.
$ac_ext <<_ACEOF
24718 cat confdefs.h
>>conftest.
$ac_ext
24719 cat >>conftest.
$ac_ext <<_ACEOF
24720 /* end confdefs.h. */
24721 $ac_includes_default
24727 if (sizeof (pid_t))
24733 rm -f conftest.
$ac_objext
24734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24735 (eval $ac_compile) 2>conftest.er1
24737 grep -v '^ *+' conftest.er1
>conftest.err
24739 cat conftest.err
>&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); } &&
24742 { ac_try
='test -z "$ac_c_werror_flag"
24743 || test ! -s conftest.err'
24744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24745 (eval $ac_try) 2>&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); }; } &&
24749 { ac_try
='test -s conftest.$ac_objext'
24750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24751 (eval $ac_try) 2>&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); }; }; then
24755 ac_cv_type_pid_t
=yes
24757 echo "$as_me: failed program was:" >&5
24758 sed 's/^/| /' conftest.
$ac_ext >&5
24760 ac_cv_type_pid_t
=no
24762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24764 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24765 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
24766 if test $ac_cv_type_pid_t = yes; then
24770 cat >>confdefs.h
<<_ACEOF
24776 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
24777 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
24778 if test "${ac_cv_type_uid_t+set}" = set; then
24779 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 cat >conftest.
$ac_ext <<_ACEOF
24784 cat confdefs.h
>>conftest.
$ac_ext
24785 cat >>conftest.
$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787 #include <sys/types.h>
24790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24791 $EGREP "uid_t" >/dev
/null
2>&1; then
24792 ac_cv_type_uid_t
=yes
24794 ac_cv_type_uid_t
=no
24799 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
24800 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
24801 if test $ac_cv_type_uid_t = no
; then
24803 cat >>confdefs.h
<<\_ACEOF
24808 cat >>confdefs.h
<<\_ACEOF
24814 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
24815 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
24816 if test "${ac_cv_type_signal+set}" = set; then
24817 echo $ECHO_N "(cached) $ECHO_C" >&6
24819 cat >conftest.
$ac_ext <<_ACEOF
24822 cat confdefs.h
>>conftest.
$ac_ext
24823 cat >>conftest.
$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825 #include <sys/types.h>
24826 #include <signal.h>
24831 extern "C" void (*signal (int, void (*)(int)))(int);
24833 void (*signal ()) ();
24844 rm -f conftest.
$ac_objext
24845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24846 (eval $ac_compile) 2>conftest.er1
24848 grep -v '^ *+' conftest.er1
>conftest.err
24850 cat conftest.err
>&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); } &&
24853 { ac_try
='test -z "$ac_c_werror_flag"
24854 || test ! -s conftest.err'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; } &&
24860 { ac_try
='test -s conftest.$ac_objext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 ac_cv_type_signal
=void
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.
$ac_ext >&5
24871 ac_cv_type_signal
=int
24873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24875 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
24876 echo "${ECHO_T}$ac_cv_type_signal" >&6
24878 cat >>confdefs.h
<<_ACEOF
24879 #define RETSIGTYPE $ac_cv_type_signal
24886 for ac_func
in setsid setlogin
24888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24889 echo "$as_me:$LINENO: checking for $ac_func" >&5
24890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24891 if eval "test \"\${$as_ac_var+set}\" = set"; then
24892 echo $ECHO_N "(cached) $ECHO_C" >&6
24894 cat >conftest.
$ac_ext <<_ACEOF
24897 cat confdefs.h
>>conftest.
$ac_ext
24898 cat >>conftest.
$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24902 #define $ac_func innocuous_$ac_func
24904 /* System header to define __stub macros and hopefully few prototypes,
24905 which can conflict with char $ac_func (); below.
24906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24907 <limits.h> exists even on freestanding compilers. */
24910 # include <limits.h>
24912 # include <assert.h>
24917 /* Override any gcc2 internal prototype to avoid an error. */
24922 /* We use char because int might match the return type of a gcc2
24923 builtin and then its argument prototype would still apply. */
24925 /* The GNU C library defines this for functions which it implements
24926 to always fail with ENOSYS. Some functions are actually named
24927 something starting with __ and the normal name is an alias. */
24928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24931 char (*f) () = $ac_func;
24940 return f != $ac_func;
24945 rm -f conftest.
$ac_objext conftest
$ac_exeext
24946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24947 (eval $ac_link) 2>conftest.er1
24949 grep -v '^ *+' conftest.er1
>conftest.err
24951 cat conftest.err
>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } &&
24954 { ac_try
='test -z "$ac_c_werror_flag"
24955 || test ! -s conftest.err'
24956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24957 (eval $ac_try) 2>&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); }; } &&
24961 { ac_try
='test -s conftest$ac_exeext'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; }; then
24967 eval "$as_ac_var=yes"
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.
$ac_ext >&5
24972 eval "$as_ac_var=no"
24974 rm -f conftest.err conftest.
$ac_objext \
24975 conftest
$ac_exeext conftest.
$ac_ext
24977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24979 if test `eval echo '${'$as_ac_var'}'` = yes; then
24980 cat >>confdefs.h
<<_ACEOF
24981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24987 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
24988 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
24989 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 ac_check_lib_save_LIBS
=$LIBS
24993 LIBS
="-lcrypt $LIBS"
24994 cat >conftest.
$ac_ext <<_ACEOF
24997 cat confdefs.h
>>conftest.
$ac_ext
24998 cat >>conftest.
$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25001 /* Override any gcc2 internal prototype to avoid an error. */
25005 /* We use char because int might match the return type of a gcc2
25006 builtin and then its argument prototype would still apply. */
25016 rm -f conftest.
$ac_objext conftest
$ac_exeext
25017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25018 (eval $ac_link) 2>conftest.er1
25020 grep -v '^ *+' conftest.er1
>conftest.err
25022 cat conftest.err
>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } &&
25025 { ac_try
='test -z "$ac_c_werror_flag"
25026 || test ! -s conftest.err'
25027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25028 (eval $ac_try) 2>&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); }; } &&
25032 { ac_try
='test -s conftest$ac_exeext'
25033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25034 (eval $ac_try) 2>&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; }; then
25038 ac_cv_lib_crypt_crypt
=yes
25040 echo "$as_me: failed program was:" >&5
25041 sed 's/^/| /' conftest.
$ac_ext >&5
25043 ac_cv_lib_crypt_crypt
=no
25045 rm -f conftest.err conftest.
$ac_objext \
25046 conftest
$ac_exeext conftest.
$ac_ext
25047 LIBS
=$ac_check_lib_save_LIBS
25049 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
25050 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
25051 if test $ac_cv_lib_crypt_crypt = yes; then
25052 CRYPTLIBS
="-lcrypt"
25056 LIBS
="$CRYPTLIBS $LIBS"
25057 echo "$as_me:$LINENO: checking for crypt" >&5
25058 echo $ECHO_N "checking for crypt... $ECHO_C" >&6
25059 if test "${ac_cv_func_crypt+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 cat >conftest.
$ac_ext <<_ACEOF
25065 cat confdefs.h
>>conftest.
$ac_ext
25066 cat >>conftest.
$ac_ext <<_ACEOF
25067 /* end confdefs.h. */
25068 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
25069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25070 #define crypt innocuous_crypt
25072 /* System header to define __stub macros and hopefully few prototypes,
25073 which can conflict with char crypt (); below.
25074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25075 <limits.h> exists even on freestanding compilers. */
25078 # include <limits.h>
25080 # include <assert.h>
25085 /* Override any gcc2 internal prototype to avoid an error. */
25090 /* We use char because int might match the return type of a gcc2
25091 builtin and then its argument prototype would still apply. */
25093 /* The GNU C library defines this for functions which it implements
25094 to always fail with ENOSYS. Some functions are actually named
25095 something starting with __ and the normal name is an alias. */
25096 #if defined (__stub_crypt) || defined (__stub___crypt)
25099 char (*f) () = crypt;
25113 rm -f conftest.
$ac_objext conftest
$ac_exeext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25115 (eval $ac_link) 2>conftest.er1
25117 grep -v '^ *+' conftest.er1
>conftest.err
25119 cat conftest.err
>&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); } &&
25122 { ac_try
='test -z "$ac_c_werror_flag"
25123 || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try
='test -s conftest$ac_exeext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 ac_cv_func_crypt
=yes
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.
$ac_ext >&5
25140 ac_cv_func_crypt
=no
25142 rm -f conftest.err conftest.
$ac_objext \
25143 conftest
$ac_exeext conftest.
$ac_ext
25145 echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
25146 echo "${ECHO_T}$ac_cv_func_crypt" >&6
25147 if test $ac_cv_func_crypt = yes; then
25149 cat >>confdefs.h
<<_ACEOF
25150 #define HAVE_CRYPT 1
25156 echo "$as_me:$LINENO: checking for crypt() prototype" >&5
25157 echo $ECHO_N "checking for crypt() prototype... $ECHO_C" >&6
25158 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
25159 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 cat >conftest.
$ac_ext <<_ACEOF
25164 cat confdefs.h
>>conftest.
$ac_ext
25165 cat >>conftest.
$ac_ext <<_ACEOF
25166 /* end confdefs.h. */
25172 #include <unistd.h>
25174 int crypt(int, int);
25185 rm -f conftest.
$ac_objext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25187 (eval $ac_compile) 2>conftest.er1
25189 grep -v '^ *+' conftest.er1
>conftest.err
25191 cat conftest.err
>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try
='test -z "$ac_c_werror_flag"
25195 || test ! -s conftest.err'
25196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25197 (eval $ac_try) 2>&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); }; } &&
25201 { ac_try
='test -s conftest.$ac_objext'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; }; then
25207 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
25209 echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.
$ac_ext >&5
25212 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
25214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25218 echo "$as_me:$LINENO: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
25219 echo "${ECHO_T}$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6
25222 cat >>confdefs.h
<<_ACEOF
25223 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
25232 # Check whether --with-authdaemonrc or --without-authdaemonrc was given.
25233 if test "${with_authdaemonrc+set}" = set; then
25234 withval
="$with_authdaemonrc"
25235 authdaemonrc
="$withval"
25237 authdaemonrc
="$pkgconfdir/authdaemonrc"
25242 # Check whether --with-authdaemonvar or --without-authdaemonvar was given.
25243 if test "${with_authdaemonvar+set}" = set; then
25244 withval
="$with_authdaemonvar"
25245 authdaemonvar
="$withval"
25247 authdaemonvar
="$localstatedir/spool/authdaemon"
25255 cat >>confdefs.h
<<_ACEOF
25256 #define SASL_LIST $SASL_LIST
25260 rm -f authdaemonrc.h authldaprc.h authmysqlrc.h authpgsqlrc.h vpopmail_config.h
25266 if test -x "$COURIERCONFIG"
25268 $COURIERCONFIG >conftest.out ||
exit 1
25269 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
25271 rm -f conftest.out conftest2.out
25273 cmailuser
="$mailuser"
25274 cmailgroup
="$mailgroup"
25275 result
=" (from courier-config)"
25278 if test -x "$bindir/courierauthconfig"
25280 $bindir/courierauthconfig
--configfiles >conftest.out ||
exit 1
25281 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
25283 rm -f conftest.out conftest2.out
25285 cmailuser
="$mailuser"
25286 cmailgroup
="$mailgroup"
25287 result
=" (from previous courierauthconfig)"
25297 echo "$as_me:$LINENO: checking for mail userid" >&5
25298 echo $ECHO_N "checking for mail userid... $ECHO_C" >&6
25301 # Check whether --with-mailuser or --without-mailuser was given.
25302 if test "${with_mailuser+set}" = set; then
25303 withval
="$with_mailuser"
25304 mailuser
="$withval"
25306 if test "$cmailuser" = ""
25308 if test "$cross_compiling" = yes; then
25309 { { echo "$as_me:$LINENO: error: Must use --with-mailuser when cross compiling." >&5
25310 echo "$as_me: error: Must use --with-mailuser when cross compiling." >&2;}
25311 { (exit 1); exit 1; }; }
25313 cat >conftest.
$ac_ext <<_ACEOF
25316 cat confdefs.h
>>conftest.
$ac_ext
25317 cat >>conftest.
$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25322 #include <stdlib.h>
25324 static const char *ids $LB $RB={"courier","daemon","adm","bin","root", 0};
25332 for (i=0; ids $LB i $RB; i++)
25333 if (getpwnam(ids $LB i $RB)) break;
25335 f=fopen("conftest.out", "w");
25336 if (f && ids $LB i $RB)
25338 fprintf(f, "%s\n", ids $LB i $RB);
25348 rm -f conftest
$ac_exeext
25349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25350 (eval $ac_link) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25355 (eval $ac_try) 2>&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); }; }; then
25359 mailuser
=`cat conftest.out`
25361 echo "$as_me: program exited with status $ac_status" >&5
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.
$ac_ext >&5
25365 ( exit $ac_status )
25366 { { echo "$as_me:$LINENO: error: Cannot determine mail user" >&5
25367 echo "$as_me: error: Cannot determine mail user" >&2;}
25368 { (exit use
--with-mailuser.
); exit use
--with-mailuser.
; }; }
25370 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25373 mailuser
="$cmailuser"
25375 ac_configure_args
="$ac_configure_args --with-mailuser=$mailuser"
25378 echo "$as_me:$LINENO: result: $mailuser $result" >&5
25379 echo "${ECHO_T}$mailuser $result" >&6
25381 echo "$as_me:$LINENO: checking for mail group id" >&5
25382 echo $ECHO_N "checking for mail group id... $ECHO_C" >&6
25385 # Check whether --with-mailgroup or --without-mailgroup was given.
25386 if test "${with_mailgroup+set}" = set; then
25387 withval
="$with_mailgroup"
25388 mailgroup
="$withval"
25390 if test "$cmailgroup" = ""
25392 if test "$cross_compiling" = yes; then
25393 { { echo "$as_me:$LINENO: error: Must use --with-mailgroup when cross compiling." >&5
25394 echo "$as_me: error: Must use --with-mailgroup when cross compiling." >&2;}
25395 { (exit 1); exit 1; }; }
25397 cat >conftest.
$ac_ext <<_ACEOF
25400 cat confdefs.h
>>conftest.
$ac_ext
25401 cat >>conftest.
$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25406 #include <stdlib.h>
25408 static const char *ids $LB $RB={"courier", "daemon","sys","adm", "root", 0};
25415 for (i=0; ids $LB i $RB; i++)
25416 if (getgrnam(ids $LB i $RB)) break;
25418 f=fopen("conftest.out", "w");
25419 if (f && ids $LB i $RB)
25421 fprintf(f, "%s\n", ids $LB i $RB);
25431 rm -f conftest
$ac_exeext
25432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25433 (eval $ac_link) 2>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25438 (eval $ac_try) 2>&5
25440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441 (exit $ac_status); }; }; then
25442 mailgroup
=`cat conftest.out`
25444 echo "$as_me: program exited with status $ac_status" >&5
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.
$ac_ext >&5
25448 ( exit $ac_status )
25449 { { echo "$as_me:$LINENO: error: Cannot determine mail group" >&5
25450 echo "$as_me: error: Cannot determine mail group" >&2;}
25451 { (exit use
--with-mailgroup.
); exit use
--with-mailgroup.
; }; }
25453 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25456 mailgroup
="$cmailgroup"
25458 ac_configure_args
="$ac_configure_args --with-mailgroup=$mailgroup"
25461 echo "$as_me:$LINENO: result: $mailgroup $result" >&5
25462 echo "${ECHO_T}$mailgroup $result" >&6
25468 # Check whether --with-stdheaderdir or --without-stdheaderdir was given.
25469 if test "${with_stdheaderdir+set}" = set; then
25470 withval
="$with_stdheaderdir"
25472 if test "$withval" = "no"
25475 cat >>confdefs.h
<<_ACEOF
25476 #define HAVE_NOSTDHEADERDIR 1
25483 echo "$as_me:$LINENO: checking for socklen_t" >&5
25484 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
25485 if test "${authlib_cv_hassocklen_t+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 cat >conftest.
$ac_ext <<_ACEOF
25491 cat confdefs.h
>>conftest.
$ac_ext
25492 cat >>conftest.
$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25495 #include <sys/types.h>
25496 #include <sys/socket.h>
25501 rm -f conftest.
$ac_objext
25502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25503 (eval $ac_compile) 2>conftest.er1
25505 grep -v '^ *+' conftest.er1
>conftest.err
25507 cat conftest.err
>&5
25508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509 (exit $ac_status); } &&
25510 { ac_try
='test -z "$ac_c_werror_flag"
25511 || test ! -s conftest.err'
25512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513 (eval $ac_try) 2>&5
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); }; } &&
25517 { ac_try
='test -s conftest.$ac_objext'
25518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25519 (eval $ac_try) 2>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); }; }; then
25523 authlib_cv_hassocklen_t
=yes
25525 echo "$as_me: failed program was:" >&5
25526 sed 's/^/| /' conftest.
$ac_ext >&5
25528 authlib_cv_hassocklen_t
=no
25530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25533 echo "$as_me:$LINENO: result: $authlib_cv_hassocklen_t" >&5
25534 echo "${ECHO_T}$authlib_cv_hassocklen_t" >&6
25538 if test $authlib_cv_hassocklen_t = yes
25543 cat >>confdefs.h
<<_ACEOF
25544 #define socklen_t int
25549 if test x
"$enable_ltdl_install" = x
"yes"
25551 LIBLTDL_SUBDIR
=libltdl
25557 # Check whether --with-repository or --without-repository was given.
25558 if test "${with_repository+set}" = set; then
25559 withval
="$with_repository"
25560 REPOSITORY
="$withval"
25566 if test -d ${srcdir}/docbook
; then
25568 HAVE_SGML_FALSE
='#'
25576 subdirs
="$subdirs libltdl bdbobj gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog"
25579 ac_config_files
="$ac_config_files Makefile authdaemond authdaemonrc authsystem.passwd README.authdebug.html dbobj.h authmigrate courier-authlib.spec courier-authlib.lpspec courier-authlib.sysvinit userdb-test-cram-md5.pl"
25581 cat >confcache
<<\_ACEOF
25582 # This file is a shell script that caches the results of configure
25583 # tests run on this system so they can be shared between configure
25584 # scripts and configure runs, see configure's option --config-cache.
25585 # It is not useful on other systems. If it contains results you don't
25586 # want to keep, you may remove or edit it.
25588 # config.status only pays attention to the cache file if you give it
25589 # the --recheck option to rerun configure.
25591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25593 # following values.
25597 # The following way of writing the cache mishandles newlines in values,
25598 # but we know of no workaround that is simple, portable, and efficient.
25599 # So, don't put newlines in cache variables' values.
25600 # Ultrix sh set writes to stderr and can't be redirected directly,
25601 # and sets the high bit in the cache file unless we assign to the vars.
25604 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25606 # `set' does not quote correctly, so add quotes (double-quote
25607 # substitution turns \\\\ into \\, and sed turns \\ into \).
25610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25613 # `set' quotes correctly as required by POSIX, so do not add quotes.
25615 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25624 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25626 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
25627 if test -w $cache_file; then
25628 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25629 cat confcache
>$cache_file
25631 echo "not updating unwritable cache $cache_file"
25636 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25637 # Let make expand exec_prefix.
25638 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25640 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25641 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25642 # trailing colons and then remove the whole line if VPATH becomes empty
25643 # (actually we leave an empty line to preserve line numbers).
25644 if test "x$srcdir" = x.
; then
25645 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25646 s/:*\$(srcdir):*/:/;
25647 s/:*\${srcdir}:*/:/;
25649 s/^\([^=]*=[ ]*\):*/\1/;
25655 DEFS
=-DHAVE_CONFIG_H
25659 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25660 # 1. Remove the extension, and $U if already installed.
25661 ac_i
=`echo "$ac_i" |
25662 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25664 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
25665 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
25667 LIBOBJS
=$ac_libobjs
25669 LTLIBOBJS
=$ac_ltlibobjs
25672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25673 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25674 Usually this means the macro was only invoked conditionally." >&5
25675 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25676 Usually this means the macro was only invoked conditionally." >&2;}
25677 { (exit 1); exit 1; }; }
25679 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25680 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25681 Usually this means the macro was only invoked conditionally." >&5
25682 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25683 Usually this means the macro was only invoked conditionally." >&2;}
25684 { (exit 1); exit 1; }; }
25686 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25687 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25688 Usually this means the macro was only invoked conditionally." >&5
25689 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25690 Usually this means the macro was only invoked conditionally." >&2;}
25691 { (exit 1); exit 1; }; }
25693 if test -z "${HAVE_MD5_TRUE}" && test -z "${HAVE_MD5_FALSE}"; then
25694 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MD5\" was never defined.
25695 Usually this means the macro was only invoked conditionally." >&5
25696 echo "$as_me: error: conditional \"HAVE_MD5\" was never defined.
25697 Usually this means the macro was only invoked conditionally." >&2;}
25698 { (exit 1); exit 1; }; }
25700 if test -z "${HAVE_SHA1_TRUE}" && test -z "${HAVE_SHA1_FALSE}"; then
25701 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SHA1\" was never defined.
25702 Usually this means the macro was only invoked conditionally." >&5
25703 echo "$as_me: error: conditional \"HAVE_SHA1\" was never defined.
25704 Usually this means the macro was only invoked conditionally." >&2;}
25705 { (exit 1); exit 1; }; }
25707 if test -z "${HAVE_HMACLIB_TRUE}" && test -z "${HAVE_HMACLIB_FALSE}"; then
25708 { { echo "$as_me:$LINENO: error: conditional \"HAVE_HMACLIB\" was never defined.
25709 Usually this means the macro was only invoked conditionally." >&5
25710 echo "$as_me: error: conditional \"HAVE_HMACLIB\" was never defined.
25711 Usually this means the macro was only invoked conditionally." >&2;}
25712 { (exit 1); exit 1; }; }
25714 if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
25715 { { echo "$as_me:$LINENO: error: conditional \"HAVE_LDAP\" was never defined.
25716 Usually this means the macro was only invoked conditionally." >&5
25717 echo "$as_me: error: conditional \"HAVE_LDAP\" was never defined.
25718 Usually this means the macro was only invoked conditionally." >&2;}
25719 { (exit 1); exit 1; }; }
25721 if test -z "${HAVE_AUTHPGSQL_TRUE}" && test -z "${HAVE_AUTHPGSQL_FALSE}"; then
25722 { { echo "$as_me:$LINENO: error: conditional \"HAVE_AUTHPGSQL\" was never defined.
25723 Usually this means the macro was only invoked conditionally." >&5
25724 echo "$as_me: error: conditional \"HAVE_AUTHPGSQL\" was never defined.
25725 Usually this means the macro was only invoked conditionally." >&2;}
25726 { (exit 1); exit 1; }; }
25728 if test -z "${HAVE_AUTHMYSQL_TRUE}" && test -z "${HAVE_AUTHMYSQL_FALSE}"; then
25729 { { echo "$as_me:$LINENO: error: conditional \"HAVE_AUTHMYSQL\" was never defined.
25730 Usually this means the macro was only invoked conditionally." >&5
25731 echo "$as_me: error: conditional \"HAVE_AUTHMYSQL\" was never defined.
25732 Usually this means the macro was only invoked conditionally." >&2;}
25733 { (exit 1); exit 1; }; }
25735 if test -z "${HAVE_CUSTOM_TRUE}" && test -z "${HAVE_CUSTOM_FALSE}"; then
25736 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CUSTOM\" was never defined.
25737 Usually this means the macro was only invoked conditionally." >&5
25738 echo "$as_me: error: conditional \"HAVE_CUSTOM\" was never defined.
25739 Usually this means the macro was only invoked conditionally." >&2;}
25740 { (exit 1); exit 1; }; }
25742 if test -z "${HAVE_PIPE_TRUE}" && test -z "${HAVE_PIPE_FALSE}"; then
25743 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PIPE\" was never defined.
25744 Usually this means the macro was only invoked conditionally." >&5
25745 echo "$as_me: error: conditional \"HAVE_PIPE\" was never defined.
25746 Usually this means the macro was only invoked conditionally." >&2;}
25747 { (exit 1); exit 1; }; }
25749 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
25750 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
25751 Usually this means the macro was only invoked conditionally." >&5
25752 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
25753 Usually this means the macro was only invoked conditionally." >&2;}
25754 { (exit 1); exit 1; }; }
25757 : ${CONFIG_STATUS=./config.status}
25758 ac_clean_files_save
=$ac_clean_files
25759 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25760 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25761 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25762 cat >$CONFIG_STATUS <<_ACEOF
25764 # Generated by $as_me.
25765 # Run this file to recreate the current configuration.
25766 # Compiler output produced by configure, useful for debugging
25767 # configure, is in config.log if it exists.
25770 ac_cs_recheck=false
25772 SHELL=\${CONFIG_SHELL-$SHELL}
25775 cat >>$CONFIG_STATUS <<\_ACEOF
25776 ## --------------------- ##
25777 ## M4sh Initialization. ##
25778 ## --------------------- ##
25780 # Be Bourne compatible
25781 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25784 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25785 # is contrary to our usage. Disable this feature.
25786 alias -g '${1+"$@"}'='"$@"'
25787 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25790 DUALCASE
=1; export DUALCASE
# for MKS sh
25792 # Support unset when possible.
25793 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
25800 # Work around bugs in pre-3.0 UWIN ksh.
25801 $as_unset ENV MAIL MAILPATH
25808 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25809 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25810 LC_TELEPHONE LC_TIME
25812 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25813 eval $as_var=C
; export $as_var
25819 # Required to use basename.
25820 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25826 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
25827 as_basename
=basename
25833 # Name of the executable.
25834 as_me
=`$as_basename "$0" ||
25835 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25836 X"$0" : 'X\(//\)$' \| \
25837 X"$0" : 'X\(/\)$' \| \
25838 . : '\(.\)' 2>/dev/null ||
25840 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25841 /^X\/\(\/\/\)$/{ s//\1/; q; }
25842 /^X\/\(\/\).*/{ s//\1/; q; }
25846 # PATH needs CR, and LINENO needs CR and PATH.
25847 # Avoid depending upon Character Ranges.
25848 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25849 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25850 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25851 as_cr_digits
='0123456789'
25852 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25854 # The user is always right.
25855 if test "${PATH_SEPARATOR+set}" != set; then
25856 echo "#! /bin/sh" >conf$$.sh
25857 echo "exit 0" >>conf$$.sh
25859 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25868 as_lineno_1
=$LINENO
25869 as_lineno_2
=$LINENO
25870 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
25871 test "x$as_lineno_1" != "x$as_lineno_2" &&
25872 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
25873 # Find who we are. Look in the path if we contain no path at all
25876 *[\\/]* ) as_myself
=$0 ;;
25877 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25878 for as_dir
in $PATH
25881 test -z "$as_dir" && as_dir
=.
25882 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25887 # We did not find ourselves, most probably we were run as `sh COMMAND'
25888 # in which case we are not to be found in the path.
25889 if test "x$as_myself" = x
; then
25892 if test ! -f "$as_myself"; then
25893 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25894 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25895 { (exit 1); exit 1; }; }
25897 case $CONFIG_SHELL in
25899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25900 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
25903 test -z "$as_dir" && as_dir
=.
25904 for as_base
in sh bash ksh sh5
; do
25907 if ("$as_dir/$as_base" -c '
25908 as_lineno_1=$LINENO
25909 as_lineno_2=$LINENO
25910 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25911 test "x$as_lineno_1" != "x$as_lineno_2" &&
25912 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
25913 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
25914 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
25915 CONFIG_SHELL
=$as_dir/$as_base
25916 export CONFIG_SHELL
25917 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25925 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25926 # uniformly replaced by the line number. The first 'sed' inserts a
25927 # line-number line before each line; the second 'sed' does the real
25928 # work. The second script uses 'N' to pair each line-number line
25929 # with the numbered line, and appends trailing '-' during
25930 # substitution so that $LINENO is not a special case at line end.
25931 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25932 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
25933 sed '=' <$as_myself |
25938 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
25941 s,^['$as_cr_digits']*\n,,
25942 ' >$as_me.lineno
&&
25943 chmod +x
$as_me.lineno ||
25944 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25945 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
25946 { (exit 1); exit 1; }; }
25948 # Don't try to exec as it changes $[0], causing all sort of problems
25949 # (the dirname of $[0] is not the place where we might find the
25950 # original and so on. Autoconf is especially sensible to this).
25952 # Exit status is that of the last command.
25957 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25958 *c
*,-n*) ECHO_N
= ECHO_C
='
25960 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
25961 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
25964 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25970 rm -f conf$$ conf$$.exe conf$$.
file
25972 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25973 # We could just check for DJGPP; but this test a) works b) is more generic
25974 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25975 if test -f conf$$.exe
; then
25976 # Don't use ln at all; we don't have any links
25981 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25986 rm -f conf$$ conf$$.exe conf$$.
file
25988 if mkdir
-p .
2>/dev
/null
; then
25991 test -d .
/-p && rmdir .
/-p
25995 as_executable_p
="test -f"
25997 # Sed expression to map a string onto a valid CPP name.
25998 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26000 # Sed expression to map a string onto a valid variable name.
26001 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26005 # We need space, tab and new line, in precisely that order.
26015 # Open the log real soon, to keep \$[0] and so on meaningful, and to
26016 # report actual input values of CONFIG_FILES etc. instead of their
26017 # values after options handling. Logging --version etc. is OK.
26021 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26022 ## Running $as_me. ##
26027 This file was extended by courier-authlib $as_me 0.59.3, which was
26028 generated by GNU Autoconf 2.59. Invocation command line was
26030 CONFIG_FILES = $CONFIG_FILES
26031 CONFIG_HEADERS = $CONFIG_HEADERS
26032 CONFIG_LINKS = $CONFIG_LINKS
26033 CONFIG_COMMANDS = $CONFIG_COMMANDS
26037 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26041 # Files that config.status was made for.
26042 if test -n "$ac_config_files"; then
26043 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26046 if test -n "$ac_config_headers"; then
26047 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26050 if test -n "$ac_config_links"; then
26051 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26054 if test -n "$ac_config_commands"; then
26055 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26058 cat >>$CONFIG_STATUS <<\_ACEOF
26061 \`$as_me' instantiates files from templates according to the
26062 current configuration.
26064 Usage: $0 [OPTIONS] [FILE]...
26066 -h, --help print this help, then exit
26067 -V, --version print version number, then exit
26068 -q, --quiet do not print progress messages
26069 -d, --debug don't remove temporary files
26070 --recheck update $as_me by reconfiguring in the same conditions
26071 --file=FILE[:TEMPLATE]
26072 instantiate the configuration file FILE
26073 --header=FILE[:TEMPLATE]
26074 instantiate the configuration header FILE
26076 Configuration files:
26079 Configuration headers:
26082 Configuration commands:
26085 Report bugs to <bug-autoconf@gnu.org>."
26088 cat >>$CONFIG_STATUS <<_ACEOF
26090 courier-authlib config.status 0.59.3
26091 configured by $0, generated by GNU Autoconf 2.59,
26092 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26094 Copyright (C) 2003 Free Software Foundation, Inc.
26095 This config.status script is free software; the Free Software Foundation
26096 gives unlimited permission to copy, distribute and modify it."
26101 cat >>$CONFIG_STATUS <<\_ACEOF
26102 # If no file are specified by the user, then we need to provide default
26103 # value. By we need to know if files were specified by the user.
26109 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
26110 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
26118 *) # This is not an option, so the user has probably given explicit
26121 ac_need_defaults
=false
;;
26125 # Handling of the options.
26127 cat >>$CONFIG_STATUS <<\_ACEOF
26128 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26130 --version |
--vers* |
-V )
26131 echo "$ac_cs_version"; exit 0 ;;
26133 # Conflict between --help and --header
26134 { { echo "$as_me:$LINENO: error: ambiguous option: $1
26135 Try \`$0 --help' for more information." >&5
26136 echo "$as_me: error: ambiguous option: $1
26137 Try \`$0 --help' for more information." >&2;}
26138 { (exit 1); exit 1; }; };;
26139 --help |
--hel |
-h )
26140 echo "$ac_cs_usage"; exit 0 ;;
26141 --debug |
--d* |
-d )
26143 --file |
--fil |
--fi |
--f )
26145 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26146 ac_need_defaults
=false
;;
26147 --header |
--heade |
--head |
--hea )
26149 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26150 ac_need_defaults
=false
;;
26151 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26152 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26155 # This is an error.
26156 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26157 Try \`$0 --help' for more information." >&5
26158 echo "$as_me: error: unrecognized option: $1
26159 Try \`$0 --help' for more information." >&2;}
26160 { (exit 1); exit 1; }; } ;;
26162 *) ac_config_targets
="$ac_config_targets $1" ;;
26168 ac_configure_extra_args
=
26170 if $ac_cs_silent; then
26172 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26176 cat >>$CONFIG_STATUS <<_ACEOF
26177 if \$ac_cs_recheck; then
26178 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26179 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26184 cat >>$CONFIG_STATUS <<_ACEOF
26186 # INIT-COMMANDS section.
26189 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26195 cat >>$CONFIG_STATUS <<\_ACEOF
26196 for ac_config_target
in $ac_config_targets
26198 case "$ac_config_target" in
26199 # Handling of arguments.
26200 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26201 "authdaemond" ) CONFIG_FILES
="$CONFIG_FILES authdaemond" ;;
26202 "authdaemonrc" ) CONFIG_FILES
="$CONFIG_FILES authdaemonrc" ;;
26203 "authsystem.passwd" ) CONFIG_FILES
="$CONFIG_FILES authsystem.passwd" ;;
26204 "README.authdebug.html" ) CONFIG_FILES
="$CONFIG_FILES README.authdebug.html" ;;
26205 "dbobj.h" ) CONFIG_FILES
="$CONFIG_FILES dbobj.h" ;;
26206 "authmigrate" ) CONFIG_FILES
="$CONFIG_FILES authmigrate" ;;
26207 "courier-authlib.spec" ) CONFIG_FILES
="$CONFIG_FILES courier-authlib.spec" ;;
26208 "courier-authlib.lpspec" ) CONFIG_FILES
="$CONFIG_FILES courier-authlib.lpspec" ;;
26209 "courier-authlib.sysvinit" ) CONFIG_FILES
="$CONFIG_FILES courier-authlib.sysvinit" ;;
26210 "userdb-test-cram-md5.pl" ) CONFIG_FILES
="$CONFIG_FILES userdb-test-cram-md5.pl" ;;
26211 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26212 "courier_auth_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS courier_auth_config.h" ;;
26213 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26214 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26215 { (exit 1); exit 1; }; };;
26219 # If the user did not use the arguments to specify the items to instantiate,
26220 # then the envvar interface is used. Set only those that are not.
26221 # We use the long form for the default assignment because of an extremely
26222 # bizarre bug on SunOS 4.1.3.
26223 if $ac_need_defaults; then
26224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26225 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26226 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26229 # Have a temporary directory for convenience. Make it in the build tree
26230 # simply because there is no reason to put it here, and in addition,
26231 # creating and moving files from /tmp can sometimes cause problems.
26232 # Create a temporary directory, and hook for its removal unless debugging.
26235 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26236 trap '{ (exit 1); exit 1; }' 1 2 13 15
26239 # Create a (secure) tmp directory for tmp files.
26242 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26243 test -n "$tmp" && test -d "$tmp"
26246 tmp
=.
/confstat$$
-$RANDOM
26247 (umask 077 && mkdir
$tmp)
26250 echo "$me: cannot create a temporary directory in ." >&2
26251 { (exit 1); exit 1; }
26256 cat >>$CONFIG_STATUS <<_ACEOF
26259 # CONFIG_FILES section.
26262 # No need to generate the scripts if there are no CONFIG_FILES.
26263 # This happens for instance when ./config.status config.h
26264 if test -n "\$CONFIG_FILES"; then
26265 # Protect against being on the right side of a sed subst in config.status.
26266 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26267 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26268 s,@SHELL@,$SHELL,;t t
26269 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26270 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26271 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26272 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26273 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26274 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26275 s,@exec_prefix@,$exec_prefix,;t t
26276 s,@prefix@,$prefix,;t t
26277 s,@program_transform_name@,$program_transform_name,;t t
26278 s,@bindir@,$bindir,;t t
26279 s,@sbindir@,$sbindir,;t t
26280 s,@libexecdir@,$libexecdir,;t t
26281 s,@datadir@,$datadir,;t t
26282 s,@sysconfdir@,$sysconfdir,;t t
26283 s,@sharedstatedir@,$sharedstatedir,;t t
26284 s,@localstatedir@,$localstatedir,;t t
26285 s,@libdir@,$libdir,;t t
26286 s,@includedir@,$includedir,;t t
26287 s,@oldincludedir@,$oldincludedir,;t t
26288 s,@infodir@,$infodir,;t t
26289 s,@mandir@,$mandir,;t t
26290 s,@build_alias@,$build_alias,;t t
26291 s,@host_alias@,$host_alias,;t t
26292 s,@target_alias@,$target_alias,;t t
26293 s,@DEFS@,$DEFS,;t t
26294 s,@ECHO_C@,$ECHO_C,;t t
26295 s,@ECHO_N@,$ECHO_N,;t t
26296 s,@ECHO_T@,$ECHO_T,;t t
26297 s,@LIBS@,$LIBS,;t t
26298 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26299 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26300 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26301 s,@CYGPATH_W@,$CYGPATH_W,;t t
26302 s,@PACKAGE@,$PACKAGE,;t t
26303 s,@VERSION@,$VERSION,;t t
26304 s,@ACLOCAL@,$ACLOCAL,;t t
26305 s,@AUTOCONF@,$AUTOCONF,;t t
26306 s,@AUTOMAKE@,$AUTOMAKE,;t t
26307 s,@AUTOHEADER@,$AUTOHEADER,;t t
26308 s,@MAKEINFO@,$MAKEINFO,;t t
26309 s,@install_sh@,$install_sh,;t t
26310 s,@STRIP@,$STRIP,;t t
26311 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26312 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26313 s,@mkdir_p@,$mkdir_p,;t t
26315 s,@SET_MAKE@,$SET_MAKE,;t t
26316 s,@am__leading_dot@,$am__leading_dot,;t t
26317 s,@AMTAR@,$AMTAR,;t t
26318 s,@am__tar@,$am__tar,;t t
26319 s,@am__untar@,$am__untar,;t t
26321 s,@CFLAGS@,$CFLAGS,;t t
26322 s,@LDFLAGS@,$LDFLAGS,;t t
26323 s,@CPPFLAGS@,$CPPFLAGS,;t t
26324 s,@ac_ct_CC@,$ac_ct_CC,;t t
26325 s,@EXEEXT@,$EXEEXT,;t t
26326 s,@OBJEXT@,$OBJEXT,;t t
26327 s,@DEPDIR@,$DEPDIR,;t t
26328 s,@am__include@,$am__include,;t t
26329 s,@am__quote@,$am__quote,;t t
26330 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26331 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26332 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26333 s,@CCDEPMODE@,$CCDEPMODE,;t t
26334 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26335 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26337 s,@LN_S@,$LN_S,;t t
26338 s,@SYSCONFTOOL_PERL@,$SYSCONFTOOL_PERL,;t t
26339 s,@SYSCONFTOOL@,$SYSCONFTOOL,;t t
26340 s,@build@,$build,;t t
26341 s,@build_cpu@,$build_cpu,;t t
26342 s,@build_vendor@,$build_vendor,;t t
26343 s,@build_os@,$build_os,;t t
26344 s,@host@,$host,;t t
26345 s,@host_cpu@,$host_cpu,;t t
26346 s,@host_vendor@,$host_vendor,;t t
26347 s,@host_os@,$host_os,;t t
26349 s,@EGREP@,$EGREP,;t t
26350 s,@ECHO@,$ECHO,;t t
26352 s,@ac_ct_AR@,$ac_ct_AR,;t t
26353 s,@RANLIB@,$RANLIB,;t t
26354 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26356 s,@CXXFLAGS@,$CXXFLAGS,;t t
26357 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26358 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
26359 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
26360 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
26361 s,@CXXCPP@,$CXXCPP,;t t
26363 s,@FFLAGS@,$FFLAGS,;t t
26364 s,@ac_ct_F77@,$ac_ct_F77,;t t
26365 s,@LIBTOOL@,$LIBTOOL,;t t
26366 s,@LTDLINCL@,$LTDLINCL,;t t
26367 s,@LIBLTDL@,$LIBLTDL,;t t
26368 s,@PERL@,$PERL,;t t
26369 s,@COURIERCONFIG@,$COURIERCONFIG,;t t
26370 s,@EXPECT@,$EXPECT,;t t
26371 s,@PASSWD@,$PASSWD,;t t
26372 s,@MD5LIB@,$MD5LIB,;t t
26373 s,@HAVE_MD5_TRUE@,$HAVE_MD5_TRUE,;t t
26374 s,@HAVE_MD5_FALSE@,$HAVE_MD5_FALSE,;t t
26375 s,@SHA1LIB@,$SHA1LIB,;t t
26376 s,@HAVE_SHA1_TRUE@,$HAVE_SHA1_TRUE,;t t
26377 s,@HAVE_SHA1_FALSE@,$HAVE_SHA1_FALSE,;t t
26378 s,@HMACLIB@,$HMACLIB,;t t
26379 s,@HAVE_HMACLIB_TRUE@,$HAVE_HMACLIB_TRUE,;t t
26380 s,@HAVE_HMACLIB_FALSE@,$HAVE_HMACLIB_FALSE,;t t
26381 s,@NETLIBS@,$NETLIBS,;t t
26382 s,@DBSUBDIR@,$DBSUBDIR,;t t
26383 s,@USE_GDBM@,$USE_GDBM,;t t
26384 s,@USE_DB@,$USE_DB,;t t
26385 s,@LIBDB@,$LIBDB,;t t
26386 s,@LIBGDBM@,$LIBGDBM,;t t
26387 s,@dblibrary@,$dblibrary,;t t
26388 s,@LIBAUTHUSERDB@,$LIBAUTHUSERDB,;t t
26389 s,@userdb@,$userdb,;t t
26390 s,@LIBDL@,$LIBDL,;t t
26391 s,@AUTHPAMCRYPT@,$AUTHPAMCRYPT,;t t
26392 s,@LIBAUTHPAM@,$LIBAUTHPAM,;t t
26393 s,@authldaprc@,$authldaprc,;t t
26394 s,@LDAPLIBS@,$LDAPLIBS,;t t
26395 s,@LIBAUTHLDAP@,$LIBAUTHLDAP,;t t
26396 s,@HAVE_LDAP_TRUE@,$HAVE_LDAP_TRUE,;t t
26397 s,@HAVE_LDAP_FALSE@,$HAVE_LDAP_FALSE,;t t
26398 s,@SHADOWLIBS@,$SHADOWLIBS,;t t
26399 s,@LIBAUTHSHADOW@,$LIBAUTHSHADOW,;t t
26400 s,@LIBAUTHPWD@,$LIBAUTHPWD,;t t
26401 s,@vpopmail_home@,$vpopmail_home,;t t
26402 s,@VPOPMAILLIBS@,$VPOPMAILLIBS,;t t
26403 s,@LIBAUTHVCHKPW@,$LIBAUTHVCHKPW,;t t
26404 s,@authpgsqlrc@,$authpgsqlrc,;t t
26405 s,@PG_CONFIG@,$PG_CONFIG,;t t
26406 s,@PGSQL_LIBS@,$PGSQL_LIBS,;t t
26407 s,@LIBAUTHPGSQL@,$LIBAUTHPGSQL,;t t
26408 s,@HAVE_AUTHPGSQL_TRUE@,$HAVE_AUTHPGSQL_TRUE,;t t
26409 s,@HAVE_AUTHPGSQL_FALSE@,$HAVE_AUTHPGSQL_FALSE,;t t
26410 s,@authmysqlrc@,$authmysqlrc,;t t
26411 s,@MYSQL_CONFIG@,$MYSQL_CONFIG,;t t
26412 s,@LIBAUTHMYSQL@,$LIBAUTHMYSQL,;t t
26413 s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
26414 s,@HAVE_AUTHMYSQL_TRUE@,$HAVE_AUTHMYSQL_TRUE,;t t
26415 s,@HAVE_AUTHMYSQL_FALSE@,$HAVE_AUTHMYSQL_FALSE,;t t
26416 s,@HAVE_CUSTOM_TRUE@,$HAVE_CUSTOM_TRUE,;t t
26417 s,@HAVE_CUSTOM_FALSE@,$HAVE_CUSTOM_FALSE,;t t
26418 s,@LIBAUTHCUSTOM@,$LIBAUTHCUSTOM,;t t
26419 s,@authProg@,$authProg,;t t
26420 s,@HAVE_PIPE_TRUE@,$HAVE_PIPE_TRUE,;t t
26421 s,@HAVE_PIPE_FALSE@,$HAVE_PIPE_FALSE,;t t
26422 s,@LIBAUTHPIPE@,$LIBAUTHPIPE,;t t
26423 s,@CRYPTLIBS@,$CRYPTLIBS,;t t
26424 s,@authdaemonrc@,$authdaemonrc,;t t
26425 s,@authdaemonvar@,$authdaemonvar,;t t
26426 s,@LIBM@,$LIBM,;t t
26427 s,@mailuser@,$mailuser,;t t
26428 s,@mailgroup@,$mailgroup,;t t
26429 s,@LIBLTDL_SUBDIR@,$LIBLTDL_SUBDIR,;t t
26430 s,@REPOSITORY@,$REPOSITORY,;t t
26431 s,@HAVE_SGML_TRUE@,$HAVE_SGML_TRUE,;t t
26432 s,@HAVE_SGML_FALSE@,$HAVE_SGML_FALSE,;t t
26433 s,@subdirs@,$subdirs,;t t
26434 s,@LIBOBJS@,$LIBOBJS,;t t
26435 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26440 cat >>$CONFIG_STATUS <<\_ACEOF
26441 # Split the substitutions into bite-sized pieces for seds with
26442 # small command number limits, like on Digital OSF/1 and HP-UX.
26443 ac_max_sed_lines
=48
26444 ac_sed_frag
=1 # Number of current file.
26445 ac_beg
=1 # First line for current file.
26446 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26449 while $ac_more_lines; do
26450 if test $ac_beg -gt 1; then
26451 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26453 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26455 if test ! -s $tmp/subs.frag
; then
26456 ac_more_lines
=false
26458 # The purpose of the label and of the branching condition is to
26459 # speed up the sed processing (if there are no `@' at all, there
26460 # is no need to browse any of the substitutions).
26461 # These are the two extra sed commands mentioned above.
26463 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
26464 if test -z "$ac_sed_cmds"; then
26465 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26467 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26469 ac_sed_frag
=`expr $ac_sed_frag + 1`
26471 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26474 if test -z "$ac_sed_cmds"; then
26477 fi # test -n "$CONFIG_FILES"
26480 cat >>$CONFIG_STATUS <<\_ACEOF
26481 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26482 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26484 - |
*:- |
*:-:* ) # input from stdin
26486 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26487 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26488 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26489 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26490 * ) ac_file_in
=$ac_file.
in ;;
26493 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26494 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26495 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26496 X"$ac_file" : 'X\(//\)[^/]' \| \
26497 X"$ac_file" : 'X\(//\)$' \| \
26498 X"$ac_file" : 'X\(/\)' \| \
26499 . : '\(.\)' 2>/dev/null ||
26501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26503 /^X\(\/\/\)$/{ s//\1/; q; }
26504 /^X\(\/\).*/{ s//\1/; q; }
26506 { if $as_mkdir_p; then
26511 while test ! -d "$as_dir"; do
26512 as_dirs
="$as_dir $as_dirs"
26513 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26515 X"$as_dir" : 'X\(//\)[^/]' \| \
26516 X"$as_dir" : 'X\(//\)$' \| \
26517 X"$as_dir" : 'X\(/\)' \| \
26518 . : '\(.\)' 2>/dev/null ||
26520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26522 /^X\(\/\/\)$/{ s//\1/; q; }
26523 /^X\(\/\).*/{ s//\1/; q; }
26526 test ! -n "$as_dirs" || mkdir
$as_dirs
26527 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26528 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26529 { (exit 1); exit 1; }; }; }
26533 if test "$ac_dir" != .
; then
26534 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26535 # A "../" for each directory in $ac_dir_suffix.
26536 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26538 ac_dir_suffix
= ac_top_builddir
=
26542 .
) # No --srcdir option. We are building in place.
26544 if test -z "$ac_top_builddir"; then
26547 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26549 [\\/]* | ?
:[\\/]* ) # Absolute path.
26550 ac_srcdir
=$srcdir$ac_dir_suffix;
26551 ac_top_srcdir
=$srcdir ;;
26552 *) # Relative path.
26553 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26554 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26557 # Do not use `cd foo && pwd` to compute absolute paths, because
26558 # the directories may not exist.
26560 .
) ac_abs_builddir
="$ac_dir";;
26563 .
) ac_abs_builddir
=`pwd`;;
26564 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26565 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26568 case $ac_abs_builddir in
26569 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26571 case ${ac_top_builddir}.
in
26572 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26573 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26574 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26577 case $ac_abs_builddir in
26578 .
) ac_abs_srcdir
=$ac_srcdir;;
26581 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26582 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26583 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26586 case $ac_abs_builddir in
26587 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26589 case $ac_top_srcdir in
26590 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26591 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26592 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26598 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26599 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
26602 if test x
"$ac_file" != x-
; then
26603 { echo "$as_me:$LINENO: creating $ac_file" >&5
26604 echo "$as_me: creating $ac_file" >&6;}
26607 # Let's still pretend it is `configure' which instantiates (i.e., don't
26608 # use $as_me), people would be surprised to read:
26609 # /* config.h. Generated by config.status. */
26610 if test x
"$ac_file" = x-
; then
26613 configure_input
="$ac_file. "
26615 configure_input
=$configure_input"Generated from `echo $ac_file_in |
26616 sed 's,.*/,,'` by configure."
26618 # First look for the input files in the build tree, otherwise in the
26620 ac_file_inputs
=`IFS=:
26621 for f in $ac_file_in; do
26623 -) echo $tmp/stdin ;;
26625 # Absolute (can't be DOS-style, as IFS=:)
26626 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26627 echo "$as_me: error: cannot find input file: $f" >&2;}
26628 { (exit 1); exit 1; }; }
26631 if test -f "$f"; then
26634 elif test -f "$srcdir/$f"; then
26639 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26640 echo "$as_me: error: cannot find input file: $f" >&2;}
26641 { (exit 1); exit 1; }; }
26644 done` ||
{ (exit 1); exit 1; }
26646 cat >>$CONFIG_STATUS <<_ACEOF
26650 cat >>$CONFIG_STATUS <<\_ACEOF
26652 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26653 s
,@configure_input@
,$configure_input,;t t
26654 s
,@srcdir@
,$ac_srcdir,;t t
26655 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
26656 s
,@top_srcdir@
,$ac_top_srcdir,;t t
26657 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
26658 s
,@builddir@
,$ac_builddir,;t t
26659 s
,@abs_builddir@
,$ac_abs_builddir,;t t
26660 s
,@top_builddir@
,$ac_top_builddir,;t t
26661 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
26662 s
,@INSTALL@
,$ac_INSTALL,;t t
26663 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26665 if test x"$ac_file" != x-; then
26666 mv $tmp/out $ac_file
26674 cat >>$CONFIG_STATUS <<\_ACEOF
26677 # CONFIG_HEADER section.
26680 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
26681 # NAME is the cpp macro being defined and VALUE is the value it is being given.
26683 # ac_d sets the value in "#define NAME VALUE" lines.
26684 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26685 ac_dB
='[ ].*$,\1#\2'
26688 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26689 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26690 ac_uB
='$,\1#\2define\3'
26694 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
26695 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26697 - |
*:- |
*:-:* ) # input from stdin
26699 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26700 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26701 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26702 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26703 * ) ac_file_in
=$ac_file.
in ;;
26706 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
26707 echo "$as_me: creating $ac_file" >&6;}
26709 # First look for the input files in the build tree, otherwise in the
26711 ac_file_inputs
=`IFS=:
26712 for f in $ac_file_in; do
26714 -) echo $tmp/stdin ;;
26716 # Absolute (can't be DOS-style, as IFS=:)
26717 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26718 echo "$as_me: error: cannot find input file: $f" >&2;}
26719 { (exit 1); exit 1; }; }
26720 # Do quote $f, to prevent DOS paths from being IFS'd.
26723 if test -f "$f"; then
26726 elif test -f "$srcdir/$f"; then
26731 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26732 echo "$as_me: error: cannot find input file: $f" >&2;}
26733 { (exit 1); exit 1; }; }
26736 done` ||
{ (exit 1); exit 1; }
26737 # Remove the trailing spaces.
26738 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26742 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26743 # `conftest.undefs', that substitutes the proper values into
26744 # config.h.in to produce config.h. The first handles `#define'
26745 # templates, and the second `#undef' templates.
26746 # And first: Protect against being on the right side of a sed subst in
26747 # config.status. Protect against being in an unquoted here document
26748 # in config.status.
26749 rm -f conftest.defines conftest.undefs
26750 # Using a here document instead of a string reduces the quoting nightmare.
26751 # Putting comments in sed scripts is not portable.
26753 # `end' is used to avoid that the second main sed command (meant for
26754 # 0-ary CPP macros) applies to n-ary macro definitions.
26755 # See the Autoconf documentation for `clear'.
26756 cat >confdef2sed.
sed <<\_ACEOF
26761 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26763 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26766 # If some macros were called several times there might be several times
26767 # the same #defines, which is useless. Nevertheless, we may not want to
26768 # sort them, since we want the *last* AC-DEFINE to be honored.
26769 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26770 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26771 rm -f confdef2sed.sed
26773 # This sed command replaces #undef with comments. This is necessary, for
26774 # example, in the case of _POSIX_SOURCE, which is predefined and required
26775 # on some systems where configure will not decide to define it.
26776 cat >>conftest.undefs <<\_ACEOF
26777 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26780 # Break up conftest.defines because some shells have a limit on the size
26781 # of here documents, and old seds have small limits too (100 cmds).
26782 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26783 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26784 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26785 echo ' :' >>$CONFIG_STATUS
26786 rm -f conftest.tail
26787 while grep . conftest.defines >/dev/null
26789 # Write a limited-size here document to $tmp/defines.sed.
26790 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26791 # Speed up: don't consider the non `#define' lines.
26792 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26793 # Work around the forget-to-reset-the-flag bug.
26794 echo 't clr' >>$CONFIG_STATUS
26795 echo ': clr' >>$CONFIG_STATUS
26796 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
26798 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26800 mv $tmp/out $tmp/in
26802 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
26803 rm -f conftest.defines
26804 mv conftest.
tail conftest.defines
26806 rm -f conftest.defines
26807 echo ' fi # grep' >>$CONFIG_STATUS
26808 echo >>$CONFIG_STATUS
26810 # Break up conftest.undefs because some shells have a limit on the size
26811 # of here documents, and old seds have small limits too (100 cmds).
26812 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26813 rm -f conftest.
tail
26814 while grep . conftest.undefs
>/dev
/null
26816 # Write a limited-size here document to $tmp/undefs.sed.
26817 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26818 # Speed up: don't consider the non
`#undef'
26819 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26820 # Work around the forget-to-reset-the-flag bug.
26821 echo 't clr' >>$CONFIG_STATUS
26822 echo ': clr' >>$CONFIG_STATUS
26823 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26825 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26827 mv $tmp/out $tmp/in
26829 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26830 rm -f conftest.undefs
26831 mv conftest.tail conftest.undefs
26833 rm -f conftest.undefs
26835 cat >>$CONFIG_STATUS <<\_ACEOF
26836 # Let's still pretend it is `configure
' which instantiates (i.e., don't
26837 # use $as_me), people would be surprised to read:
26838 # /* config.h. Generated by config.status. */
26839 if test x
"$ac_file" = x-
; then
26840 echo "/* Generated by configure. */" >$tmp/config.h
26842 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
26844 cat $tmp/in >>$tmp/config.h
26846 if test x
"$ac_file" != x-
; then
26847 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
26848 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26849 echo "$as_me: $ac_file is unchanged" >&6;}
26851 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26852 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26853 X"$ac_file" : 'X\(//\)[^/]' \| \
26854 X"$ac_file" : 'X\(//\)$' \| \
26855 X"$ac_file" : 'X\(/\)' \| \
26856 . : '\(.\)' 2>/dev/null ||
26858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26860 /^X\(\/\/\)$/{ s//\1/; q; }
26861 /^X\(\/\).*/{ s//\1/; q; }
26863 { if $as_mkdir_p; then
26868 while test ! -d "$as_dir"; do
26869 as_dirs
="$as_dir $as_dirs"
26870 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26872 X"$as_dir" : 'X\(//\)[^/]' \| \
26873 X"$as_dir" : 'X\(//\)$' \| \
26874 X"$as_dir" : 'X\(/\)' \| \
26875 . : '\(.\)' 2>/dev/null ||
26877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26878 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26879 /^X\(\/\/\)$/{ s//\1/; q; }
26880 /^X\(\/\).*/{ s//\1/; q; }
26883 test ! -n "$as_dirs" || mkdir
$as_dirs
26884 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26885 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26886 { (exit 1); exit 1; }; }; }
26889 mv $tmp/config.h
$ac_file
26893 rm -f $tmp/config.h
26895 # Compute $ac_file's index in $config_headers.
26897 for _am_header
in $config_headers :; do
26898 case $_am_header in
26899 $ac_file |
$ac_file:* )
26902 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26905 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
26906 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26907 X$ac_file : 'X\(//\)[^/]' \| \
26908 X$ac_file : 'X\(//\)$' \| \
26909 X$ac_file : 'X\(/\)' \| \
26910 . : '\(.\)' 2>/dev/null ||
26912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26914 /^X\(\/\/\)$/{ s//\1/; q; }
26915 /^X\(\/\).*/{ s//\1/; q; }
26916 s/.*/./; q'`/stamp-h
$_am_stamp_count
26919 cat >>$CONFIG_STATUS <<\_ACEOF
26922 # CONFIG_COMMANDS section.
26924 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
26925 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26926 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26927 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
26928 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26929 X"$ac_dest" : 'X\(//\)[^/]' \| \
26930 X"$ac_dest" : 'X\(//\)$' \| \
26931 X"$ac_dest" : 'X\(/\)' \| \
26932 . : '\(.\)' 2>/dev/null ||
26934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26936 /^X\(\/\/\)$/{ s//\1/; q; }
26937 /^X\(\/\).*/{ s//\1/; q; }
26939 { if $as_mkdir_p; then
26944 while test ! -d "$as_dir"; do
26945 as_dirs
="$as_dir $as_dirs"
26946 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26948 X"$as_dir" : 'X\(//\)[^/]' \| \
26949 X"$as_dir" : 'X\(//\)$' \| \
26950 X"$as_dir" : 'X\(/\)' \| \
26951 . : '\(.\)' 2>/dev/null ||
26953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26955 /^X\(\/\/\)$/{ s//\1/; q; }
26956 /^X\(\/\).*/{ s//\1/; q; }
26959 test ! -n "$as_dirs" || mkdir
$as_dirs
26960 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26961 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26962 { (exit 1); exit 1; }; }; }
26966 if test "$ac_dir" != .
; then
26967 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26968 # A "../" for each directory in $ac_dir_suffix.
26969 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26971 ac_dir_suffix
= ac_top_builddir
=
26975 .
) # No --srcdir option. We are building in place.
26977 if test -z "$ac_top_builddir"; then
26980 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26982 [\\/]* | ?
:[\\/]* ) # Absolute path.
26983 ac_srcdir
=$srcdir$ac_dir_suffix;
26984 ac_top_srcdir
=$srcdir ;;
26985 *) # Relative path.
26986 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26987 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26990 # Do not use `cd foo && pwd` to compute absolute paths, because
26991 # the directories may not exist.
26993 .
) ac_abs_builddir
="$ac_dir";;
26996 .
) ac_abs_builddir
=`pwd`;;
26997 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26998 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27001 case $ac_abs_builddir in
27002 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27004 case ${ac_top_builddir}.
in
27005 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27006 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27007 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27010 case $ac_abs_builddir in
27011 .
) ac_abs_srcdir
=$ac_srcdir;;
27014 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27015 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27016 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27019 case $ac_abs_builddir in
27020 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27022 case $ac_top_srcdir in
27023 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27024 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27025 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27030 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
27031 echo "$as_me: executing $ac_dest commands" >&6;}
27033 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27034 # Strip MF so we end up with the name of the file.
27035 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27036 # Check whether this is an Automake generated Makefile or not.
27037 # We used to match only the files named `Makefile.in', but
27038 # some people rename them; so instead we look at the file content.
27039 # Grep'ing the first line is not enough: some people post-process
27040 # each Makefile.in and add a new line on top of each file to say so.
27041 # So let's grep whole file.
27042 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
27043 dirpart
=`(dirname "$mf") 2>/dev/null ||
27044 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27045 X"$mf" : 'X\(//\)[^/]' \| \
27046 X"$mf" : 'X\(//\)$' \| \
27047 X"$mf" : 'X\(/\)' \| \
27048 . : '\(.\)' 2>/dev/null ||
27050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27051 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27052 /^X\(\/\/\)$/{ s//\1/; q; }
27053 /^X\(\/\).*/{ s//\1/; q; }
27058 # Extract the definition of DEPDIR, am__include, and am__quote
27059 # from the Makefile without running `make'.
27060 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27061 test -z "$DEPDIR" && continue
27062 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27063 test -z "am__include" && continue
27064 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27065 # When using ansi2knr, U may be empty or an underscore; expand it
27066 U
=`sed -n 's/^U = //p' < "$mf"`
27067 # Find all dependency output files, they are included files with
27068 # $(DEPDIR) in their names. We invoke sed twice because it is the
27069 # simplest approach to changing $(DEPDIR) to its actual value in the
27071 for file in `sed -n "
27072 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27073 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27074 # Make sure the directory exists.
27075 test -f "$dirpart/$file" && continue
27076 fdir
=`(dirname "$file") 2>/dev/null ||
27077 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27078 X"$file" : 'X\(//\)[^/]' \| \
27079 X"$file" : 'X\(//\)$' \| \
27080 X"$file" : 'X\(/\)' \| \
27081 . : '\(.\)' 2>/dev/null ||
27083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27085 /^X\(\/\/\)$/{ s//\1/; q; }
27086 /^X\(\/\).*/{ s//\1/; q; }
27088 { if $as_mkdir_p; then
27089 mkdir
-p $dirpart/$fdir
27091 as_dir
=$dirpart/$fdir
27093 while test ! -d "$as_dir"; do
27094 as_dirs
="$as_dir $as_dirs"
27095 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27097 X"$as_dir" : 'X\(//\)[^/]' \| \
27098 X"$as_dir" : 'X\(//\)$' \| \
27099 X"$as_dir" : 'X\(/\)' \| \
27100 . : '\(.\)' 2>/dev/null ||
27102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27104 /^X\(\/\/\)$/{ s//\1/; q; }
27105 /^X\(\/\).*/{ s//\1/; q; }
27108 test ! -n "$as_dirs" || mkdir
$as_dirs
27109 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27110 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27111 { (exit 1); exit 1; }; }; }
27113 # echo "creating $dirpart/$file"
27114 echo '# dummy' > "$dirpart/$file"
27122 cat >>$CONFIG_STATUS <<\_ACEOF
27124 { (exit 0); exit 0; }
27126 chmod +x
$CONFIG_STATUS
27127 ac_clean_files
=$ac_clean_files_save
27130 # configure is writing to config.log, and then calls config.status.
27131 # config.status does its own redirection, appending to config.log.
27132 # Unfortunately, on DOS this fails, as config.log is still kept open
27133 # by configure, so config.status won't be able to write to it; its
27134 # output is simply discarded. So we exec the FD to /dev/null,
27135 # effectively closing config.log, so it can be properly (re)opened and
27136 # appended to by config.status. When coming back to configure, we
27137 # need to make the FD available again.
27138 if test "$no_create" != yes; then
27140 ac_config_status_args
=
27141 test "$silent" = yes &&
27142 ac_config_status_args
="$ac_config_status_args --quiet"
27144 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27146 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27147 # would make configure fail if this is the last instruction.
27148 $ac_cs_success ||
{ (exit 1); exit 1; }
27152 # CONFIG_SUBDIRS section.
27154 if test "$no_recursion" != yes; then
27156 # Remove --cache-file and --srcdir arguments so they do not pile up.
27157 ac_sub_configure_args
=
27159 for ac_arg
in $ac_configure_args; do
27160 if test -n "$ac_prev"; then
27165 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27166 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27167 ac_prev
=cache_file
;;
27168 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27169 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27172 --config-cache |
-C)
27174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27178 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27180 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27182 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
27186 # Always prepend --prefix to ensure using the same prefix
27187 # in subdir configurations.
27188 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
27191 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27193 # Do not complain, so a configure script can configure whichever
27194 # parts of a large source tree are present.
27195 test -d $srcdir/$ac_dir ||
continue
27197 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
27198 echo "$as_me: configuring in $ac_dir" >&6;}
27199 { if $as_mkdir_p; then
27204 while test ! -d "$as_dir"; do
27205 as_dirs
="$as_dir $as_dirs"
27206 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27208 X"$as_dir" : 'X\(//\)[^/]' \| \
27209 X"$as_dir" : 'X\(//\)$' \| \
27210 X"$as_dir" : 'X\(/\)' \| \
27211 . : '\(.\)' 2>/dev/null ||
27213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27215 /^X\(\/\/\)$/{ s//\1/; q; }
27216 /^X\(\/\).*/{ s//\1/; q; }
27219 test ! -n "$as_dirs" || mkdir
$as_dirs
27220 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27221 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27222 { (exit 1); exit 1; }; }; }
27226 if test "$ac_dir" != .
; then
27227 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27228 # A "../" for each directory in $ac_dir_suffix.
27229 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27231 ac_dir_suffix
= ac_top_builddir
=
27235 .
) # No --srcdir option. We are building in place.
27237 if test -z "$ac_top_builddir"; then
27240 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27242 [\\/]* | ?
:[\\/]* ) # Absolute path.
27243 ac_srcdir
=$srcdir$ac_dir_suffix;
27244 ac_top_srcdir
=$srcdir ;;
27245 *) # Relative path.
27246 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27247 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27250 # Do not use `cd foo && pwd` to compute absolute paths, because
27251 # the directories may not exist.
27253 .
) ac_abs_builddir
="$ac_dir";;
27256 .
) ac_abs_builddir
=`pwd`;;
27257 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27258 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27261 case $ac_abs_builddir in
27262 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27264 case ${ac_top_builddir}.
in
27265 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27266 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27267 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27270 case $ac_abs_builddir in
27271 .
) ac_abs_srcdir
=$ac_srcdir;;
27274 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27275 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27276 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27279 case $ac_abs_builddir in
27280 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27282 case $ac_top_srcdir in
27283 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27284 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27285 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27292 # Check for guested configure; otherwise get Cygnus style configure.
27293 if test -f $ac_srcdir/configure.gnu
; then
27294 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
27295 elif test -f $ac_srcdir/configure
; then
27296 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
27297 elif test -f $ac_srcdir/configure.
in; then
27298 ac_sub_configure
=$ac_configure
27300 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
27301 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27305 # The recursion is here.
27306 if test -n "$ac_sub_configure"; then
27307 # Make the cache file name correct relative to the subdirectory.
27308 case $cache_file in
27309 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27310 *) # Relative path.
27311 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
27314 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27315 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27316 # The eval makes quoting arguments work.
27317 eval $ac_sub_configure $ac_sub_configure_args \
27318 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
27319 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
27320 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
27321 { (exit 1); exit 1; }; }