2 # From configure.in Id: configure.in 1559 2006-05-15 15:59:36Z sirvulcan .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for X3 1.5.
6 # Report bugs to <evilnet-devel@lists.sourceforge.net>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # Check that we are running under the correct shell.
249 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Remove one level of quotation (which was required for Make).
254 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
259 if test "X$1" = X
--no-reexec; then
260 # Discard the --no-reexec flag, and continue.
262 elif test "X$1" = X
--fallback-echo; then
263 # Avoid inline document here, it may be left over
265 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
266 # Yippee, $echo works!
269 # Restart under the correct shell.
270 exec $SHELL "$0" --no-reexec ${1+"$@"}
273 if test "X$1" = X
--fallback-echo; then
274 # used as fallback echo
282 # The HP-UX ksh and POSIX shell print the target directory to stdout
284 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
286 if test -z "$ECHO"; then
287 if test "X${echo_test_string+set}" != Xset
; then
288 # find a string as large as possible, as long as the shell can cope with it
289 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
292 echo_test_string
=`eval $cmd` &&
293 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
300 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
301 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
302 test "X$echo_testing_string" = "X$echo_test_string"; then
305 # The Solaris, AIX, and Digital Unix default echo programs unquote
306 # backslashes. This makes it impossible to quote backslashes using
307 # echo "$something" | sed 's/\\/\\\\/g'
309 # So, first we look for a working echo in the user's PATH.
311 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
312 for dir
in $PATH /usr
/ucb
; do
314 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
315 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
316 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
317 test "X$echo_testing_string" = "X$echo_test_string"; then
324 if test "X$echo" = Xecho
; then
325 # We didn't find a better echo, so look for alternatives.
326 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
327 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
328 test "X$echo_testing_string" = "X$echo_test_string"; then
329 # This shell has a builtin print -r that does the trick.
331 elif (test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext) &&
332 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
333 # If we have ksh, try running configure again with it.
334 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
335 export ORIGINAL_CONFIG_SHELL
336 CONFIG_SHELL
=/bin
/ksh
338 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
342 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
343 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
344 test "X$echo_testing_string" = "X$echo_test_string"; then
347 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
348 test "X$echo_testing_string" = 'X\t' &&
349 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
351 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
353 SHELL
="$CONFIG_SHELL"
355 echo="$CONFIG_SHELL $0 --fallback-echo"
356 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 echo="$CONFIG_SHELL $0 --fallback-echo"
362 # maybe with a smaller string...
365 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
366 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
373 if test "$prev" != 'sed 50q "$0"'; then
374 echo_test_string
=`eval $prev`
375 export echo_test_string
376 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
378 # Oops. We lost completely, so just stick with echo.
387 # Copy echo and quote the copy suitably for passing to libtool from
388 # the Makefile, instead of quoting the original, which is used later.
390 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
391 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
397 tagnames
=${tagnames+${tagnames},}CXX
399 tagnames
=${tagnames+${tagnames},}F77
402 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
403 # so uname gets run too.
404 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
411 ac_default_prefix
=/usr
/local
412 ac_config_libobj_dir
=.
417 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
420 # This variable seems obsolete. It should probably be removed, and
421 # only ac_max_sed_lines should be used.
422 : ${ac_max_here_lines=38}
424 # Identity of this package.
427 PACKAGE_VERSION
='1.5'
428 PACKAGE_STRING
='X3 1.5'
429 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
431 ac_unique_file
="src/opserv.c"
432 # Factoring default headers for most tests.
433 ac_includes_default
="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ALLOCA MODULE_OBJS MY_SUBDIRS RX_INCLUDES RX_LIBS TRACK 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 X3 1.5 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
]
1019 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1023 if test -n "$ac_init_help"; then
1024 case $ac_init_help in
1025 short
| recursive
) echo "Configuration of X3 1.5:";;
1030 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1031 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1032 --enable-maintainer-mode enable make rules and dependencies not useful
1033 (and sometimes confusing
) to the casual installer
1034 --disable-dependency-tracking speeds up one
-time build
1035 --enable-dependency-tracking do not reject slow dependency extractors
1036 --enable-shared[=PKGS
]
1037 build shared libraries
[default
=yes]
1038 --enable-static[=PKGS
]
1039 build static libraries
[default
=yes]
1040 --enable-fast-install[=PKGS
]
1041 optimize
for fast installation
[default
=yes]
1042 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1043 --disable-tokens Disables tokenization of P10 protocol output
1044 (tokens required
if linking to ircu
2.10.11)
1045 --enable-debug Enables debugging behaviors
1046 --enable-modules=list
,of
,modules Enable extra modules
1049 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1050 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1051 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1052 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1055 include additional configurations
[automatic
]
1056 --with-malloc=type Enables use of a special malloc library
; one of
:
1057 system
(the default
), boehm
-gc, dmalloc
, mpatrol
, x3
, slab
1058 --with-protocol=name Choose IRC dialect to support
; one of
:
1059 p10
(the default
), bahamut
1060 --without-getopt Disables building of the GNU getopt library
1062 Some influential environment variables
:
1063 CC C compiler
command
1064 CFLAGS C compiler flags
1065 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1066 nonstandard directory
<lib dir
>
1067 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1068 headers
in a nonstandard directory
<include dir
>
1070 CXX C
++ compiler
command
1071 CXXFLAGS C
++ compiler flags
1072 CXXCPP C
++ preprocessor
1073 F77 Fortran
77 compiler
command
1074 FFLAGS Fortran
77 compiler flags
1076 Use these variables to override the choices made by
`configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1079 Report bugs to <evilnet-devel@lists.sourceforge.net>.
1083 if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1090 if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1095 ac_dir_suffix= ac_top_builddir=
1099 .) # No --srcdir option. We are building in place.
1101 if test -z "$ac_top_builddir"; then
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1114 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1115 # the directories may not exist.
1117 .) ac_abs_builddir="$ac_dir";;
1120 .) ac_abs_builddir=`pwd`;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1122 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1125 case $ac_abs_builddir in
1126 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1128 case ${ac_top_builddir}. in
1129 .) ac_abs_top_builddir=$ac_abs_builddir;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1131 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1134 case $ac_abs_builddir in
1135 .) ac_abs_srcdir=$ac_srcdir;;
1138 .) ac_abs_srcdir=$ac_abs_builddir;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1140 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1143 case $ac_abs_builddir in
1144 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1146 case $ac_top_srcdir in
1147 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1149 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1154 # Check for guested configure; otherwise get Cygnus style configure.
1155 if test -f $ac_srcdir/configure.gnu; then
1157 $SHELL $ac_srcdir/configure.gnu --help=recursive
1158 elif test -f $ac_srcdir/configure; then
1160 $SHELL $ac_srcdir/configure --help=recursive
1161 elif test -f $ac_srcdir/configure.ac ||
1162 test -f $ac_srcdir/configure.in; then
1164 $ac_configure --help
1166 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1172 test -n "$ac_init_help" && exit 0
1173 if $ac_init_version; then
1176 generated by GNU Autoconf 2.59
1178 Copyright (C) 2003 Free Software Foundation, Inc.
1179 This configure script is free software; the Free Software Foundation
1180 gives unlimited permission to copy, distribute and modify it.
1186 This file contains any messages produced by compilers while
1187 running configure, to aid debugging if configure makes a mistake.
1189 It was created by X3 $as_me 1.5, which was
1190 generated by GNU Autoconf 2.59. Invocation command line was
1201 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1202 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1203 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1204 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1205 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1207 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1208 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1210 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1211 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1212 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1213 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1214 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1215 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1216 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1224 test -z "$as_dir" && as_dir=.
1225 echo "PATH: $as_dir"
1240 # Keep a trace of the command line.
1241 # Strip out --no-create and --no-recursion so they do not pile up.
1242 # Strip out --silent because we don't want to record it for future runs.
1243 # Also quote any args containing shell meta-characters.
1244 # Make two passes to allow for proper duplicate-argument suppression.
1249 ac_must_keep_next=false
1255 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257 | -silent | --silent | --silen | --sile | --sil)
1259 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1260 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1263 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1265 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1266 if test $ac_must_keep_next = true; then
1267 ac_must_keep_next=false # Got value, back to normal.
1270 *=* | --config-cache | -C | -disable-* | --disable-* \
1271 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1272 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1273 | -with-* | --with-* | -without-* | --without-* | --x)
1274 case "$ac_configure_args0 " in
1275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1278 -* ) ac_must_keep_next=true ;;
1281 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1282 # Get rid of the leading space.
1288 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1289 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1291 # When interrupted or exit'd, cleanup temporary files, and complete
1292 # config.log. We remove comments because anyway the quotes in there
1293 # would cause problems or look ugly.
1294 # WARNING: Be sure not to use single quotes in there, as some shells,
1295 # such as our DU 5.0 friend, will then `close
' the trap.
1296 trap 'exit_status
=$?
1297 # Save into config.log some information that might help in debugging.
1302 ## ---------------- ##
1303 ## Cache variables. ##
1304 ## ---------------- ##
1307 # The following way of writing the cache mishandles newlines in values,
1310 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1313 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1318 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1325 ## ----------------- ##
1326 ## Output variables. ##
1327 ## ----------------- ##
1330 for ac_var
in $ac_subst_vars
1332 eval ac_val
=$
`echo $ac_var`
1333 echo "$ac_var='"'"'$ac_val'"'"'"
1337 if test -n "$ac_subst_files"; then
1344 for ac_var
in $ac_subst_files
1346 eval ac_val
=$
`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1352 if test -s confdefs.h
; then
1359 sed "/^$/d" confdefs.h
| sort
1362 test "$ac_signal" != 0 &&
1363 echo "$as_me: caught signal $ac_signal"
1364 echo "$as_me: exit $exit_status"
1366 rm -f core
*.core
&&
1367 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1370 for ac_signal in 1 2 13 15; do
1371 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1376 rm -rf conftest* confdefs.h
1377 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1380 # Predefined preprocessor variables.
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_NAME "$PACKAGE_NAME"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1397 cat >>confdefs.h <<_ACEOF
1398 #define PACKAGE_STRING "$PACKAGE_STRING"
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1407 # Let the site file select an alternate cache file if it wants to.
1408 # Prefer explicitly selected file to automatically selected ones.
1409 if test -z "$CONFIG_SITE"; then
1410 if test "x$prefix" != xNONE; then
1411 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1413 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1416 for ac_site_file in $CONFIG_SITE; do
1417 if test -r "$ac_site_file"; then
1418 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1419 echo "$as_me: loading site script $ac_site_file" >&6;}
1420 sed 's
/^
/| /' "$ac_site_file" >&5
1425 if test -r "$cache_file"; then
1426 # Some versions of bash will fail to source /dev/null (special
1427 # files actually), so we avoid doing that.
1428 if test -f "$cache_file"; then
1429 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1430 echo "$as_me: loading cache $cache_file" >&6;}
1432 [\\/]* | ?:[\\/]* ) . $cache_file;;
1433 *) . ./$cache_file;;
1437 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1438 echo "$as_me: creating cache $cache_file" >&6;}
1442 # Check that the precious variables saved in the cache have kept the same
1444 ac_cache_corrupted=false
1445 for ac_var in `(set) 2>&1 |
1446 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1447 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1448 eval ac_new_set=\$ac_env_${ac_var}_set
1449 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1450 eval ac_new_val="\$ac_env_${ac_var}_value"
1451 case $ac_old_set,$ac_new_set in
1453 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1454 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1455 ac_cache_corrupted=: ;;
1457 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1458 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1459 ac_cache_corrupted=: ;;
1462 if test "x$ac_old_val" != "x$ac_new_val"; then
1463 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1464 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1465 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1466 echo "$as_me: former value: $ac_old_val" >&2;}
1467 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1468 echo "$as_me: current value: $ac_new_val" >&2;}
1469 ac_cache_corrupted=:
1472 # Pass precious variables to config.status.
1473 if test "$ac_new_set" = set; then
1475 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1476 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1477 *) ac_arg=$ac_var=$ac_new_val ;;
1479 case " $ac_configure_args " in
1480 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1481 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1485 if $ac_cache_corrupted; then
1486 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1487 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1488 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1489 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1490 { (exit 1); exit 1; }; }
1494 ac_cpp='$CPP $CPPFLAGS'
1495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1496 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1526 ac_config_headers="$ac_config_headers src/config.h"
1530 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1531 if test -f $ac_dir/install-sh; then
1533 ac_install_sh="$ac_aux_dir/install-sh -c"
1535 elif test -f $ac_dir/install.sh; then
1537 ac_install_sh="$ac_aux_dir/install.sh -c"
1539 elif test -f $ac_dir/shtool; then
1541 ac_install_sh="$ac_aux_dir/shtool install -c"
1545 if test -z "$ac_aux_dir"; then
1546 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1547 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1548 { (exit 1); exit 1; }; }
1550 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1554 # Make sure we can run config.sub.
1555 $ac_config_sub sun4 >/dev/null 2>&1 ||
1556 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1557 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1558 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: checking build system type" >&5
1561 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1562 if test "${ac_cv_build+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 ac_cv_build_alias=$build_alias
1566 test -z "$ac_cv_build_alias" &&
1567 ac_cv_build_alias=`$ac_config_guess`
1568 test -z "$ac_cv_build_alias" &&
1569 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1570 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1571 { (exit 1); exit 1; }; }
1572 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1573 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1574 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1575 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1579 echo "${ECHO_T}$ac_cv_build" >&6
1581 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1582 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1583 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1586 echo "$as_me:$LINENO: checking host system type" >&5
1587 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1588 if test "${ac_cv_host+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_host_alias=$host_alias
1592 test -z "$ac_cv_host_alias" &&
1593 ac_cv_host_alias=$ac_cv_build_alias
1594 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1601 echo "${ECHO_T}$ac_cv_host" >&6
1603 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1604 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1605 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1608 echo "$as_me:$LINENO: checking target system type" >&5
1609 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1610 if test "${ac_cv_target+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_target_alias=$target_alias
1614 test "x$ac_cv_target_alias" = "x" &&
1615 ac_cv_target_alias=$ac_cv_host_alias
1616 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1623 echo "${ECHO_T}$ac_cv_target" >&6
1624 target=$ac_cv_target
1625 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1626 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1627 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1630 # The aliases save the names the user supplied, while $host etc.
1631 # will get canonicalized.
1632 test -n "$target_alias" &&
1633 test "$program_prefix$program_suffix$program_transform_name" = \
1635 program_prefix=${target_alias}-
1636 am__api_version="1.9"
1637 # Find a good install program. We prefer a C program (faster),
1638 # so one script is as good as another. But avoid the broken or
1639 # incompatible versions:
1640 # SysV /etc/install, /usr/sbin/install
1641 # SunOS /usr/etc/install
1642 # IRIX /sbin/install
1644 # AmigaOS /C/install, which installs bootblocks on floppy discs
1645 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1646 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1647 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1648 # OS/2's system install, which has a completely different semantic
1649 # ./install, which can be erroneously created by make from ./install.sh.
1650 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1651 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1652 if test -z "$INSTALL"; then
1653 if test "${ac_cv_path_install+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1660 test -z "$as_dir" && as_dir
=.
1661 # Account for people who put trailing slashes in PATH elements.
1663 .
/ | .
// | /cC
/* | \
1664 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
1665 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1668 # OSF1 and SCO ODT 3.0 have their own names for install.
1669 # Don't use installbsd from OSF since it installs stuff as root
1671 for ac_prog
in ginstall scoinst
install; do
1672 for ac_exec_ext
in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1674 if test $ac_prog = install &&
1675 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1676 # AIX install. It has an incompatible calling convention.
1678 elif test $ac_prog = install &&
1679 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1680 # program-specific install script used by HP pwplus--don't use.
1683 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1695 if test "${ac_cv_path_install+set}" = set; then
1696 INSTALL
=$ac_cv_path_install
1698 # As a last resort, use the slow shell script. We don't cache a
1699 # path for INSTALL within a source directory, because that will
1700 # break other packages using the cache if that directory is
1701 # removed, or if the path is relative.
1702 INSTALL
=$ac_install_sh
1705 echo "$as_me:$LINENO: result: $INSTALL" >&5
1706 echo "${ECHO_T}$INSTALL" >&6
1708 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1709 # It thinks the first close brace ends the variable substitution.
1710 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1712 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1714 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1716 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1717 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1720 echo timestamp
> conftest.
file
1721 # Do `set' in a subshell so we don't clobber the current shell's
1722 # arguments. Must try -L first in case configure is actually a
1723 # symlink; some systems play weird games with the mod time of symlinks
1724 # (eg FreeBSD returns the mod time of the symlink's containing
1727 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1728 if test "$*" = "X"; then
1730 set X
`ls -t $srcdir/configure conftest.file`
1733 if test "$*" != "X $srcdir/configure conftest.file" \
1734 && test "$*" != "X conftest.file $srcdir/configure"; then
1736 # If neither matched, then we have a broken ls. This can happen
1737 # if, for instance, CONFIG_SHELL is bash and it inherits a
1738 # broken ls alias from the environment. This has actually
1739 # happened. Such a system could not be considered "sane".
1740 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1741 alias in your environment" >&5
1742 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1743 alias in your environment" >&2;}
1744 { (exit 1); exit 1; }; }
1747 test "$2" = conftest.
file
1753 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1754 Check your system clock" >&5
1755 echo "$as_me: error: newly created file is older than distributed files!
1756 Check your system clock" >&2;}
1757 { (exit 1); exit 1; }; }
1759 echo "$as_me:$LINENO: result: yes" >&5
1760 echo "${ECHO_T}yes" >&6
1761 test "$program_prefix" != NONE
&&
1762 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1763 # Use a double $ so make ignores it.
1764 test "$program_suffix" != NONE
&&
1765 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1766 # Double any \ or $. echo might interpret backslashes.
1767 # By default was `s,x,x', remove it if useless.
1768 cat <<\_ACEOF
>conftest.
sed
1769 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1771 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1774 # expand $ac_aux_dir to an absolute path
1775 am_aux_dir
=`cd $ac_aux_dir && pwd`
1777 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
1778 # Use eval to expand $SHELL
1779 if eval "$MISSING --run true"; then
1780 am_missing_run
="$MISSING --run "
1783 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1784 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1787 if mkdir -p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1788 # We used to keeping the `.' as first argument, in order to
1789 # allow $(mkdir_p) to be used without argument. As in
1790 # $(mkdir_p) $(somedir)
1791 # where $(somedir) is conditionally defined. However this is wrong
1793 # 1. if the package is installed by a user who cannot write `.'
1794 # make install will fail,
1795 # 2. the above comment should most certainly read
1796 # $(mkdir_p) $(DESTDIR)$(somedir)
1797 # so it does not work when $(somedir) is undefined and
1798 # $(DESTDIR) is not.
1799 # To support the latter case, we have to write
1800 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1801 # so the `.' trick is pointless.
1802 mkdir_p
='mkdir -p --'
1804 # On NextStep and OpenStep, the `mkdir' command does not
1805 # recognize any option. It will interpret all options as
1806 # directories to create, and then abort because `.' already
1808 for d
in .
/-p .
/--version;
1810 test -d $d && rmdir $d
1812 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1813 if test -f "$ac_aux_dir/mkinstalldirs"; then
1814 mkdir_p
='$(mkinstalldirs)'
1816 mkdir_p
='$(install_sh) -d'
1820 for ac_prog
in gawk mawk nawk
awk
1822 # Extract the first word of "$ac_prog", so it can be a program name with args.
1823 set dummy
$ac_prog; ac_word
=$2
1824 echo "$as_me:$LINENO: checking for $ac_word" >&5
1825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1826 if test "${ac_cv_prog_AWK+set}" = set; then
1827 echo $ECHO_N "(cached) $ECHO_C" >&6
1829 if test -n "$AWK"; then
1830 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1836 test -z "$as_dir" && as_dir
=.
1837 for ac_exec_ext
in '' $ac_executable_extensions; do
1838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1839 ac_cv_prog_AWK
="$ac_prog"
1840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1849 if test -n "$AWK"; then
1850 echo "$as_me:$LINENO: result: $AWK" >&5
1851 echo "${ECHO_T}$AWK" >&6
1853 echo "$as_me:$LINENO: result: no" >&5
1854 echo "${ECHO_T}no" >&6
1857 test -n "$AWK" && break
1860 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1861 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1862 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1863 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1864 echo $ECHO_N "(cached) $ECHO_C" >&6
1866 cat >conftest.
make <<\_ACEOF
1868 @
echo 'ac_maketemp="$(MAKE)"'
1870 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1871 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1872 if test -n "$ac_maketemp"; then
1873 eval ac_cv_prog_make_
${ac_make}_set
=yes
1875 eval ac_cv_prog_make_
${ac_make}_set
=no
1879 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1880 echo "$as_me:$LINENO: result: yes" >&5
1881 echo "${ECHO_T}yes" >&6
1884 echo "$as_me:$LINENO: result: no" >&5
1885 echo "${ECHO_T}no" >&6
1886 SET_MAKE
="MAKE=${MAKE-make}"
1889 rm -rf .tst
2>/dev
/null
1890 mkdir .tst
2>/dev
/null
1891 if test -d .tst
; then
1896 rmdir .tst
2>/dev
/null
1898 # test to see if srcdir already configured
1899 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1900 test -f $srcdir/config.status
; then
1901 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1902 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1903 { (exit 1); exit 1; }; }
1906 # test whether we have cygpath
1907 if test -z "$CYGPATH_W"; then
1908 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1909 CYGPATH_W
='cygpath -w'
1916 # Define the identity of the package.
1921 cat >>confdefs.h
<<_ACEOF
1922 #define PACKAGE "$PACKAGE"
1926 cat >>confdefs.h
<<_ACEOF
1927 #define VERSION "$VERSION"
1930 # Some tools Automake needs.
1932 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1935 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1938 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1941 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1944 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1946 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1948 # Installed binaries are usually stripped using `strip' when the user
1949 # run `make install-strip'. However `strip' might not be the right
1950 # tool to use in cross-compilation environments, therefore Automake
1951 # will honor the `STRIP' environment variable to overrule this program.
1952 if test "$cross_compiling" != no
; then
1953 if test -n "$ac_tool_prefix"; then
1954 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1955 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1956 echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1958 if test "${ac_cv_prog_STRIP+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1961 if test -n "$STRIP"; then
1962 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1968 test -z "$as_dir" && as_dir
=.
1969 for ac_exec_ext
in '' $ac_executable_extensions; do
1970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1971 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 STRIP
=$ac_cv_prog_STRIP
1981 if test -n "$STRIP"; then
1982 echo "$as_me:$LINENO: result: $STRIP" >&5
1983 echo "${ECHO_T}$STRIP" >&6
1985 echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6
1990 if test -z "$ac_cv_prog_STRIP"; then
1992 # Extract the first word of "strip", so it can be a program name with args.
1993 set dummy strip
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$ac_ct_STRIP"; then
2000 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_ac_ct_STRIP
="strip"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2019 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2020 if test -n "$ac_ct_STRIP"; then
2021 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2022 echo "${ECHO_T}$ac_ct_STRIP" >&6
2024 echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6
2030 STRIP
="$ac_cv_prog_STRIP"
2034 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2036 # We need awk for the "check" target. The system "awk" is bad on
2038 # Always define AMTAR for backward compatibility.
2040 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2042 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2048 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2049 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2050 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2051 if test "${enable_maintainer_mode+set}" = set; then
2052 enableval
="$enable_maintainer_mode"
2053 USE_MAINTAINER_MODE
=$enableval
2055 USE_MAINTAINER_MODE
=no
2057 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2058 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2061 if test $USE_MAINTAINER_MODE = yes; then
2062 MAINTAINER_MODE_TRUE
=
2063 MAINTAINER_MODE_FALSE
='#'
2065 MAINTAINER_MODE_TRUE
='#'
2066 MAINTAINER_MODE_FALSE
=
2069 MAINT
=$MAINTAINER_MODE_TRUE
2073 DEPDIR
="${am__leading_dot}deps"
2075 ac_config_commands
="$ac_config_commands depfiles"
2078 am_make
=${MAKE-make}
2079 cat > confinc
<< 'END'
2084 # If we don't find an include directive, just comment out the code.
2085 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2086 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2090 # First try GNU make style include.
2091 echo "include confinc" > confmf
2092 # We grep out `Entering directory' and `Leaving directory'
2093 # messages which can occur if `w' ends up in MAKEFLAGS.
2094 # In particular we don't look at `^make:' because GNU make might
2095 # be invoked under some other name (usually "gmake"), in which
2096 # case it prints its new name instead of `make'.
2097 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2102 # Now try BSD make style include.
2103 if test "$am__include" = "#"; then
2104 echo '.include "confinc"' > confmf
2105 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2106 am__include
=.include
2113 echo "$as_me:$LINENO: result: $_am_result" >&5
2114 echo "${ECHO_T}$_am_result" >&6
2115 rm -f confinc confmf
2117 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2118 if test "${enable_dependency_tracking+set}" = set; then
2119 enableval
="$enable_dependency_tracking"
2122 if test "x$enable_dependency_tracking" != xno
; then
2123 am_depcomp
="$ac_aux_dir/depcomp"
2128 if test "x$enable_dependency_tracking" != xno; then
2139 ac_cpp
='$CPP $CPPFLAGS'
2140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2145 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC
="$CC" # Let the user override the test.
2154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir
=.
2159 for ac_exec_ext
in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 if test -n "$CC"; then
2172 echo "$as_me:$LINENO: result: $CC" >&5
2173 echo "${ECHO_T}$CC" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2180 if test -z "$ac_cv_prog_CC"; then
2182 # Extract the first word of "gcc", so it can be a program name with args.
2183 set dummy gcc
; ac_word
=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$ac_ct_CC"; then
2190 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir
=.
2197 for ac_exec_ext
in '' $ac_executable_extensions; do
2198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2199 ac_cv_prog_ac_ct_CC
="gcc"
2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2209 if test -n "$ac_ct_CC"; then
2210 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2211 echo "${ECHO_T}$ac_ct_CC" >&6
2213 echo "$as_me:$LINENO: result: no" >&5
2214 echo "${ECHO_T}no" >&6
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2225 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC
="$CC" # Let the user override the test.
2234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir
=.
2239 for ac_exec_ext
in '' $ac_executable_extensions; do
2240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 if test -n "$CC"; then
2252 echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6
2255 echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6
2260 if test -z "$ac_cv_prog_CC"; then
2262 # Extract the first word of "cc", so it can be a program name with args.
2263 set dummy cc
; ac_word
=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$ac_ct_CC"; then
2270 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_ac_ct_CC
="cc"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2289 if test -n "$ac_ct_CC"; then
2290 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291 echo "${ECHO_T}$ac_ct_CC" >&6
2293 echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2303 if test -z "$CC"; then
2304 # Extract the first word of "cc", so it can be a program name with args.
2305 set dummy cc
; ac_word
=$2
2306 echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308 if test "${ac_cv_prog_CC+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC
="$CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2322 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2323 ac_prog_rejected
=yes
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 if test $ac_prog_rejected = yes; then
2334 # We found a bogon in the path, so make sure we never use it.
2335 set dummy
$ac_cv_prog_CC
2337 if test $# != 0; then
2338 # We chose a different compiler from the bogus one.
2339 # However, it has the same basename, so the bogon will be chosen
2340 # first if we set CC to just the basename; use the full file name.
2342 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2348 if test -n "$CC"; then
2349 echo "$as_me:$LINENO: result: $CC" >&5
2350 echo "${ECHO_T}$CC" >&6
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2357 if test -z "$CC"; then
2358 if test -n "$ac_tool_prefix"; then
2361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2363 echo "$as_me:$LINENO: checking for $ac_word" >&5
2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2365 if test "${ac_cv_prog_CC+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 if test -n "$CC"; then
2369 ac_cv_prog_CC
="$CC" # Let the user override the test.
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_exec_ext
in '' $ac_executable_extensions; do
2377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2378 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 if test -n "$CC"; then
2389 echo "$as_me:$LINENO: result: $CC" >&5
2390 echo "${ECHO_T}$CC" >&6
2392 echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6
2396 test -n "$CC" && break
2399 if test -z "$CC"; then
2403 # Extract the first word of "$ac_prog", so it can be a program name with args.
2404 set dummy
$ac_prog; ac_word
=$2
2405 echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 if test -n "$ac_ct_CC"; then
2411 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir
=.
2418 for ac_exec_ext
in '' $ac_executable_extensions; do
2419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420 ac_cv_prog_ac_ct_CC
="$ac_prog"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2430 if test -n "$ac_ct_CC"; then
2431 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2432 echo "${ECHO_T}$ac_ct_CC" >&6
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2438 test -n "$ac_ct_CC" && break
2447 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2448 See \`config.log' for more details." >&5
2449 echo "$as_me: error: no acceptable C compiler found in \$PATH
2450 See \`config.log' for more details." >&2;}
2451 { (exit 1); exit 1; }; }
2453 # Provide some information about the compiler.
2454 echo "$as_me:$LINENO:" \
2455 "checking for C compiler version" >&5
2456 ac_compiler
=`set X $ac_compile; echo $2`
2457 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2458 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }
2462 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2463 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }
2467 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2468 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }
2473 cat >conftest.
$ac_ext <<_ACEOF
2476 cat confdefs.h
>>conftest.
$ac_ext
2477 cat >>conftest.
$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2488 ac_clean_files_save
=$ac_clean_files
2489 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2490 # Try to create an executable without -o first, disregard a.out.
2491 # It will help us diagnose broken compilers, and finding out an intuition
2493 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2494 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2495 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2496 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2497 (eval $ac_link_default) 2>&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; then
2501 # Find the output, starting from the most likely. This scheme is
2502 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2505 # Be careful to initialize this variable, since it used to be cached.
2506 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2508 # b.out is created by i960 compilers.
2509 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2511 test -f "$ac_file" || continue
2513 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
2516 # This is the source file.
2519 # We found the default executable, but exeext='' is most
2523 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2524 # FIXME: I believe we export ac_cv_exeext for Libtool,
2525 # but it would be cool to find out if it's true. Does anybody
2526 # maintain Libtool? --akim.
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.
$ac_ext >&5
2537 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: C compiler cannot create executables
2540 See \`config.log' for more details." >&2;}
2541 { (exit 77); exit 77; }; }
2544 ac_exeext
=$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_file" >&5
2546 echo "${ECHO_T}$ac_file" >&6
2548 # Check the compiler produces executables we can run. If not, either
2549 # the compiler is broken, or we cross compile.
2550 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2551 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2552 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2553 # If not cross compiling, check that we can run a simple program.
2554 if test "$cross_compiling" != yes; then
2555 if { ac_try
='./$ac_file'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; }; then
2563 if test "$cross_compiling" = maybe
; then
2566 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2567 If you meant to cross compile, use \`--host'.
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: cannot run C compiled programs.
2570 If you meant to cross compile, use \`--host'.
2571 See \`config.log' for more details." >&2;}
2572 { (exit 1); exit 1; }; }
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2579 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2580 ac_clean_files
=$ac_clean_files_save
2581 # Check the compiler produces executables we can run. If not, either
2582 # the compiler is broken, or we cross compile.
2583 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2584 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2585 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2586 echo "${ECHO_T}$cross_compiling" >&6
2588 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2589 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2591 (eval $ac_link) 2>&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; then
2595 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2596 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2597 # work properly (i.e., refer to `conftest.exe'), while it won't with
2599 for ac_file
in conftest.exe conftest conftest.
*; do
2600 test -f "$ac_file" || continue
2602 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
2603 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2610 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2611 See \`config.log' for more details." >&5
2612 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2613 See \`config.log' for more details." >&2;}
2614 { (exit 1); exit 1; }; }
2617 rm -f conftest
$ac_cv_exeext
2618 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2619 echo "${ECHO_T}$ac_cv_exeext" >&6
2621 rm -f conftest.
$ac_ext
2622 EXEEXT
=$ac_cv_exeext
2624 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2625 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2626 if test "${ac_cv_objext+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 cat >conftest.
$ac_ext <<_ACEOF
2632 cat confdefs.h
>>conftest.
$ac_ext
2633 cat >>conftest.
$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 rm -f conftest.o conftest.obj
2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 (eval $ac_compile) 2>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; then
2650 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2652 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
2653 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2661 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2662 See \`config.log' for more details." >&5
2663 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2664 See \`config.log' for more details." >&2;}
2665 { (exit 1); exit 1; }; }
2668 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2670 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2671 echo "${ECHO_T}$ac_cv_objext" >&6
2672 OBJEXT
=$ac_cv_objext
2674 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2675 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2676 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 cat >conftest.
$ac_ext <<_ACEOF
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2697 rm -f conftest.
$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>conftest.er1
2701 grep -v '^ *+' conftest.er1
>conftest.err
2703 cat conftest.err
>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; } &&
2712 { ac_try
='test -s conftest.$ac_objext'
2713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }; }; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.
$ac_ext >&5
2725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2726 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2729 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2730 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2731 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2732 ac_test_CFLAGS
=${CFLAGS+set}
2733 ac_save_CFLAGS
=$CFLAGS
2735 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2736 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2737 if test "${ac_cv_prog_cc_g+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 cat >conftest.
$ac_ext <<_ACEOF
2743 cat confdefs.h
>>conftest.
$ac_ext
2744 cat >>conftest.
$ac_ext <<_ACEOF
2745 /* end confdefs.h. */
2755 rm -f conftest.
$ac_objext
2756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2757 (eval $ac_compile) 2>conftest.er1
2759 grep -v '^ *+' conftest.er1
>conftest.err
2761 cat conftest.err
>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; } &&
2770 { ac_try
='test -s conftest.$ac_objext'
2771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }; }; then
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.
$ac_ext >&5
2783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2785 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2786 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2787 if test "$ac_test_CFLAGS" = set; then
2788 CFLAGS
=$ac_save_CFLAGS
2789 elif test $ac_cv_prog_cc_g = yes; then
2790 if test "$GCC" = yes; then
2796 if test "$GCC" = yes; then
2802 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2803 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2804 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 ac_cv_prog_cc_stdc
=no
2809 cat >conftest.
$ac_ext <<_ACEOF
2812 cat confdefs.h
>>conftest.
$ac_ext
2813 cat >>conftest.
$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2817 #include <sys/types.h>
2818 #include <sys/stat.h>
2819 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2820 struct buf { int x; };
2821 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2822 static char *e (p, i)
2828 static char *f (char * (*g) (char **, int), char **p, ...)
2833 s = g (p, va_arg (v,int));
2838 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2839 function prototypes and stuff, but not '\xHH' hex character constants.
2840 These don't provoke an error unfortunately, instead are silently treated
2841 as 'x'. The following induces an error, until -std1 is added to get
2842 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2843 array size at least. It's necessary to write '\x00'==0 to get something
2844 that's true only with -std1. */
2845 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2847 int test (int i, double x);
2848 struct s1 {int (*f) (int a);};
2849 struct s2 {int (*f) (double a);};
2850 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2856 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2861 # Don't try gcc -ansi; that turns off useful extensions and
2862 # breaks some systems' header files.
2863 # AIX -qlanglvl=ansi
2864 # Ultrix and OSF/1 -std1
2865 # HP-UX 10.20 and later -Ae
2866 # HP-UX older versions -Aa -D_HPUX_SOURCE
2867 # SVR4 -Xc -D__EXTENSIONS__
2868 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2870 CC
="$ac_save_CC $ac_arg"
2871 rm -f conftest.
$ac_objext
2872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2873 (eval $ac_compile) 2>conftest.er1
2875 grep -v '^ *+' conftest.er1
>conftest.err
2877 cat conftest.err
>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } &&
2880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; } &&
2886 { ac_try
='test -s conftest.$ac_objext'
2887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then
2892 ac_cv_prog_cc_stdc
=$ac_arg
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2899 rm -f conftest.err conftest.
$ac_objext
2901 rm -f conftest.
$ac_ext conftest.
$ac_objext
2906 case "x$ac_cv_prog_cc_stdc" in
2908 echo "$as_me:$LINENO: result: none needed" >&5
2909 echo "${ECHO_T}none needed" >&6 ;;
2911 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2912 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2913 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2916 # Some people use a C++ compiler to compile C. Since we use `exit',
2917 # in C++ we need to declare it. In case someone uses the same compiler
2918 # for both compiling C and C++ we need to have the C++ compiler decide
2919 # the declaration of exit, since it's the most demanding environment.
2920 cat >conftest.
$ac_ext <<_ACEOF
2925 rm -f conftest.
$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2929 grep -v '^ *+' conftest.er1
>conftest.err
2931 cat conftest.err
>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; } &&
2940 { ac_try
='test -s conftest.$ac_objext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; }; then
2946 for ac_declaration
in \
2948 'extern "C" void std::exit (int) throw (); using std::exit;' \
2949 'extern "C" void std::exit (int); using std::exit;' \
2950 'extern "C" void exit (int) throw ();' \
2951 'extern "C" void exit (int);' \
2954 cat >conftest.
$ac_ext <<_ACEOF
2957 cat confdefs.h
>>conftest.
$ac_ext
2958 cat >>conftest.
$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2970 rm -f conftest.
$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2974 grep -v '^ *+' conftest.er1
>conftest.err
2976 cat conftest.err
>&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; } &&
2985 { ac_try
='test -s conftest.$ac_objext'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.
$ac_ext >&5
2998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2999 cat >conftest.
$ac_ext <<_ACEOF
3002 cat confdefs.h
>>conftest.
$ac_ext
3003 cat >>conftest.
$ac_ext <<_ACEOF
3004 /* end confdefs.h. */
3014 rm -f conftest.
$ac_objext
3015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3016 (eval $ac_compile) 2>conftest.er1
3018 grep -v '^ *+' conftest.er1
>conftest.err
3020 cat conftest.err
>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } &&
3023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; } &&
3029 { ac_try
='test -s conftest.$ac_objext'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; }; then
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.
$ac_ext >&5
3041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3044 if test -n "$ac_declaration"; then
3045 echo '#ifdef __cplusplus' >>confdefs.h
3046 echo $ac_declaration >>confdefs.h
3047 echo '#endif' >>confdefs.h
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.
$ac_ext >&5
3055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3057 ac_cpp
='$CPP $CPPFLAGS'
3058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3062 depcc
="$CC" am_compiler_list
=
3064 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3065 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3066 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3070 # We make a subdir and do the tests there. Otherwise we can end up
3071 # making bogus files that we don't know about and never remove. For
3072 # instance it was reported that on HP-UX the gcc test will end up
3073 # making a dummy file named `D' -- because `-MD' means `put the output
3076 # Copy depcomp to subdir because otherwise we won't find it if we're
3077 # using a relative directory.
3078 cp "$am_depcomp" conftest.dir
3080 # We will build objects and dependencies in a subdirectory because
3081 # it helps to detect inapplicable dependency modes. For instance
3082 # both Tru64's cc and ICC support -MD to output dependencies as a
3083 # side effect of compilation, but ICC will put the dependencies in
3084 # the current directory while Tru64 will put them in the object
3088 am_cv_CC_dependencies_compiler_type
=none
3089 if test "$am_compiler_list" = ""; then
3090 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3092 for depmode
in $am_compiler_list; do
3093 # Setup a source with many dependencies, because some compilers
3094 # like to wrap large dependency lists on column 80 (with \), and
3095 # we should not choose a depcomp mode which is confused by this.
3097 # We need to recreate these files for each test, as the compiler may
3098 # overwrite some of them when testing with obscure command lines.
3099 # This happens at least with the AIX C compiler.
3101 for i
in 1 2 3 4 5 6; do
3102 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3103 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3104 # Solaris 8's {/usr,}/bin/sh.
3105 touch sub
/conftst
$i.h
3107 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3111 # after this tag, mechanisms are not by side-effect, so they'll
3112 # only be used when explicitly requested
3113 if test "x$enable_dependency_tracking" = xyes
; then
3121 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3122 # mode. It turns out that the SunPro C++ compiler does not properly
3123 # handle `-M -o', and we need to detect this.
3124 if depmode
=$depmode \
3125 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3126 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3127 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3128 >/dev
/null
2>conftest.err
&&
3129 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3130 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3131 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3132 # icc doesn't choke on unknown options, it will just issue warnings
3133 # or remarks (even with -Werror). So we grep stderr for any message
3134 # that says an option was ignored or not supported.
3135 # When given -MP, icc 7.0 and 7.1 complain thusly:
3136 # icc: Command line warning: ignoring option '-M'; no argument required
3137 # The diagnosis changed in icc 8.0:
3138 # icc: Command line remark: option '-MP' not supported
3139 if (grep 'ignoring option' conftest.err
||
3140 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3141 am_cv_CC_dependencies_compiler_type
=$depmode
3150 am_cv_CC_dependencies_compiler_type
=none
3154 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3155 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3156 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3161 test "x$enable_dependency_tracking" != xno \
3162 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3164 am__fastdepCC_FALSE
='#'
3166 am__fastdepCC_TRUE
='#'
3167 am__fastdepCC_FALSE
=
3172 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3173 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3174 if test "${ac_cv_type_signal+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 cat >conftest.
$ac_ext <<_ACEOF
3180 cat confdefs.h
>>conftest.
$ac_ext
3181 cat >>conftest.
$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3183 #include <sys/types.h>
3189 extern "C" void (*signal (int, void (*)(int)))(int);
3191 void (*signal ()) ();
3202 rm -f conftest.
$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1
>conftest.err
3208 cat conftest.err
>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; } &&
3217 { ac_try
='test -s conftest.$ac_objext'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; }; then
3223 ac_cv_type_signal
=void
3225 echo "$as_me: failed program was:" >&5
3226 sed 's/^/| /' conftest.
$ac_ext >&5
3228 ac_cv_type_signal
=int
3230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3232 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3233 echo "${ECHO_T}$ac_cv_type_signal" >&6
3235 cat >>confdefs.h
<<_ACEOF
3236 #define RETSIGTYPE $ac_cv_type_signal
3240 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3241 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3242 if test "${ac_cv_c_const+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 cat >conftest.
$ac_ext <<_ACEOF
3248 cat confdefs.h
>>conftest.
$ac_ext
3249 cat >>conftest.
$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3255 /* FIXME: Include the comments suggested by Paul. */
3257 /* Ultrix mips cc rejects this. */
3258 typedef int charset[2];
3260 /* SunOS 4.1.1 cc rejects this. */
3261 char const *const *ccp;
3263 /* NEC SVR4.0.2 mips cc rejects this. */
3264 struct point {int x, y;};
3265 static struct point const zero = {0,0};
3266 /* AIX XL C 1.02.0.0 rejects this.
3267 It does not let you subtract one const X* pointer from another in
3268 an arm of an if-expression whose if-part is not a constant
3270 const char *g = "string";
3271 ccp = &g + (g ? g-g : 0);
3272 /* HPUX 7.0 cc rejects these. */
3275 ccp = (char const *const *) p;
3276 { /* SCO 3.2v4 cc rejects this. */
3278 char const *s = 0 ? (char *) 0 : (char const *) 0;
3282 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3284 const int *foo = &x[0];
3287 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3288 typedef const int *iptr;
3292 { /* AIX XL C 1.02.0.0 rejects this saying
3293 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3294 struct s { int j; const int *ap[3]; };
3295 struct s *b; b->j = 5;
3297 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3306 rm -f conftest.
$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3310 grep -v '^ *+' conftest.er1
>conftest.err
3312 cat conftest.err
>&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; } &&
3321 { ac_try
='test -s conftest.$ac_objext'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.
$ac_ext >&5
3334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3336 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3337 echo "${ECHO_T}$ac_cv_c_const" >&6
3338 if test $ac_cv_c_const = no
; then
3340 cat >>confdefs.h
<<\_ACEOF
3346 echo "$as_me:$LINENO: checking for inline" >&5
3347 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3348 if test "${ac_cv_c_inline+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 for ac_kw
in inline __inline__ __inline
; do
3353 cat >conftest.
$ac_ext <<_ACEOF
3356 cat confdefs.h
>>conftest.
$ac_ext
3357 cat >>conftest.
$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3361 static $ac_kw foo_t static_foo () {return 0; }
3362 $ac_kw foo_t foo () {return 0; }
3366 rm -f conftest.
$ac_objext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3368 (eval $ac_compile) 2>conftest.er1
3370 grep -v '^ *+' conftest.er1
>conftest.err
3372 cat conftest.err
>&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } &&
3375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; } &&
3381 { ac_try
='test -s conftest.$ac_objext'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; }; then
3387 ac_cv_c_inline
=$ac_kw; break
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.
$ac_ext >&5
3393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3397 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3398 echo "${ECHO_T}$ac_cv_c_inline" >&6
3401 case $ac_cv_c_inline in
3404 case $ac_cv_c_inline in
3406 *) ac_val
=$ac_cv_c_inline;;
3408 cat >>confdefs.h
<<_ACEOF
3410 #define inline $ac_val
3417 for ac_prog
in gawk mawk nawk
awk
3419 # Extract the first word of "$ac_prog", so it can be a program name with args.
3420 set dummy
$ac_prog; ac_word
=$2
3421 echo "$as_me:$LINENO: checking for $ac_word" >&5
3422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3423 if test "${ac_cv_prog_AWK+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 if test -n "$AWK"; then
3427 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir
=.
3434 for ac_exec_ext
in '' $ac_executable_extensions; do
3435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436 ac_cv_prog_AWK
="$ac_prog"
3437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 if test -n "$AWK"; then
3447 echo "$as_me:$LINENO: result: $AWK" >&5
3448 echo "${ECHO_T}$AWK" >&6
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3454 test -n "$AWK" && break
3458 ac_cpp
='$CPP $CPPFLAGS'
3459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3462 if test -n "$ac_tool_prefix"; then
3463 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3464 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3465 echo "$as_me:$LINENO: checking for $ac_word" >&5
3466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3467 if test "${ac_cv_prog_CC+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 if test -n "$CC"; then
3471 ac_cv_prog_CC
="$CC" # Let the user override the test.
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 if test -n "$CC"; then
3491 echo "$as_me:$LINENO: result: $CC" >&5
3492 echo "${ECHO_T}$CC" >&6
3494 echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6
3499 if test -z "$ac_cv_prog_CC"; then
3501 # Extract the first word of "gcc", so it can be a program name with args.
3502 set dummy gcc
; ac_word
=$2
3503 echo "$as_me:$LINENO: checking for $ac_word" >&5
3504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 if test -n "$ac_ct_CC"; then
3509 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3515 test -z "$as_dir" && as_dir
=.
3516 for ac_exec_ext
in '' $ac_executable_extensions; do
3517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3518 ac_cv_prog_ac_ct_CC
="gcc"
3519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3528 if test -n "$ac_ct_CC"; then
3529 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3530 echo "${ECHO_T}$ac_ct_CC" >&6
3532 echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6
3541 if test -z "$CC"; then
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3544 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_CC+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC
="$CC" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 if test -n "$CC"; then
3571 echo "$as_me:$LINENO: result: $CC" >&5
3572 echo "${ECHO_T}$CC" >&6
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3579 if test -z "$ac_cv_prog_CC"; then
3581 # Extract the first word of "cc", so it can be a program name with args.
3582 set dummy cc
; ac_word
=$2
3583 echo "$as_me:$LINENO: checking for $ac_word" >&5
3584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 if test -n "$ac_ct_CC"; then
3589 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3595 test -z "$as_dir" && as_dir
=.
3596 for ac_exec_ext
in '' $ac_executable_extensions; do
3597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3598 ac_cv_prog_ac_ct_CC
="cc"
3599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3610 echo "${ECHO_T}$ac_ct_CC" >&6
3612 echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6
3622 if test -z "$CC"; then
3623 # Extract the first word of "cc", so it can be a program name with args.
3624 set dummy cc
; ac_word
=$2
3625 echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3627 if test "${ac_cv_prog_CC+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC
="$CC" # Let the user override the test.
3634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir
=.
3639 for ac_exec_ext
in '' $ac_executable_extensions; do
3640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3641 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3642 ac_prog_rejected
=yes
3646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 if test $ac_prog_rejected = yes; then
3653 # We found a bogon in the path, so make sure we never use it.
3654 set dummy
$ac_cv_prog_CC
3656 if test $# != 0; then
3657 # We chose a different compiler from the bogus one.
3658 # However, it has the same basename, so the bogon will be chosen
3659 # first if we set CC to just the basename; use the full file name.
3661 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3667 if test -n "$CC"; then
3668 echo "$as_me:$LINENO: result: $CC" >&5
3669 echo "${ECHO_T}$CC" >&6
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3676 if test -z "$CC"; then
3677 if test -n "$ac_tool_prefix"; then
3680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3681 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3682 echo "$as_me:$LINENO: checking for $ac_word" >&5
3683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3684 if test "${ac_cv_prog_CC+set}" = set; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 if test -n "$CC"; then
3688 ac_cv_prog_CC
="$CC" # Let the user override the test.
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_exec_ext
in '' $ac_executable_extensions; do
3696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CC"; then
3708 echo "$as_me:$LINENO: result: $CC" >&5
3709 echo "${ECHO_T}$CC" >&6
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3715 test -n "$CC" && break
3718 if test -z "$CC"; then
3722 # Extract the first word of "$ac_prog", so it can be a program name with args.
3723 set dummy
$ac_prog; ac_word
=$2
3724 echo "$as_me:$LINENO: checking for $ac_word" >&5
3725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 if test -n "$ac_ct_CC"; then
3730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir
=.
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3739 ac_cv_prog_ac_ct_CC
="$ac_prog"
3740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3749 if test -n "$ac_ct_CC"; then
3750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3751 echo "${ECHO_T}$ac_ct_CC" >&6
3753 echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6
3757 test -n "$ac_ct_CC" && break
3766 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3767 See \`config.log' for more details." >&5
3768 echo "$as_me: error: no acceptable C compiler found in \$PATH
3769 See \`config.log' for more details." >&2;}
3770 { (exit 1); exit 1; }; }
3772 # Provide some information about the compiler.
3773 echo "$as_me:$LINENO:" \
3774 "checking for C compiler version" >&5
3775 ac_compiler
=`set X $ac_compile; echo $2`
3776 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3777 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }
3781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3782 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }
3786 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3787 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }
3792 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3793 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3794 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 cat >conftest.
$ac_ext <<_ACEOF
3800 cat confdefs.h
>>conftest.
$ac_ext
3801 cat >>conftest.
$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3815 rm -f conftest.
$ac_objext
3816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3817 (eval $ac_compile) 2>conftest.er1
3819 grep -v '^ *+' conftest.er1
>conftest.err
3821 cat conftest.err
>&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } &&
3824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; } &&
3830 { ac_try
='test -s conftest.$ac_objext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.
$ac_ext >&5
3843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3844 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3847 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3848 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3849 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3850 ac_test_CFLAGS
=${CFLAGS+set}
3851 ac_save_CFLAGS
=$CFLAGS
3853 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3854 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3855 if test "${ac_cv_prog_cc_g+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 cat >conftest.
$ac_ext <<_ACEOF
3861 cat confdefs.h
>>conftest.
$ac_ext
3862 cat >>conftest.
$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3873 rm -f conftest.
$ac_objext
3874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3875 (eval $ac_compile) 2>conftest.er1
3877 grep -v '^ *+' conftest.er1
>conftest.err
3879 cat conftest.err
>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } &&
3882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; } &&
3888 { ac_try
='test -s conftest.$ac_objext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.
$ac_ext >&5
3901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3903 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3904 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3905 if test "$ac_test_CFLAGS" = set; then
3906 CFLAGS
=$ac_save_CFLAGS
3907 elif test $ac_cv_prog_cc_g = yes; then
3908 if test "$GCC" = yes; then
3914 if test "$GCC" = yes; then
3920 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3921 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3922 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3925 ac_cv_prog_cc_stdc
=no
3927 cat >conftest.
$ac_ext <<_ACEOF
3930 cat confdefs.h
>>conftest.
$ac_ext
3931 cat >>conftest.
$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3935 #include <sys/types.h>
3936 #include <sys/stat.h>
3937 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3938 struct buf { int x; };
3939 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3940 static char *e (p, i)
3946 static char *f (char * (*g) (char **, int), char **p, ...)
3951 s = g (p, va_arg (v,int));
3956 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3957 function prototypes and stuff, but not '\xHH' hex character constants.
3958 These don't provoke an error unfortunately, instead are silently treated
3959 as 'x'. The following induces an error, until -std1 is added to get
3960 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3961 array size at least. It's necessary to write '\x00'==0 to get something
3962 that's true only with -std1. */
3963 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3965 int test (int i, double x);
3966 struct s1 {int (*f) (int a);};
3967 struct s2 {int (*f) (double a);};
3968 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3974 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3979 # Don't try gcc -ansi; that turns off useful extensions and
3980 # breaks some systems' header files.
3981 # AIX -qlanglvl=ansi
3982 # Ultrix and OSF/1 -std1
3983 # HP-UX 10.20 and later -Ae
3984 # HP-UX older versions -Aa -D_HPUX_SOURCE
3985 # SVR4 -Xc -D__EXTENSIONS__
3986 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3988 CC
="$ac_save_CC $ac_arg"
3989 rm -f conftest.
$ac_objext
3990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3991 (eval $ac_compile) 2>conftest.er1
3993 grep -v '^ *+' conftest.er1
>conftest.err
3995 cat conftest.err
>&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } &&
3998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; } &&
4004 { ac_try
='test -s conftest.$ac_objext'
4005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); }; }; then
4010 ac_cv_prog_cc_stdc
=$ac_arg
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.
$ac_ext >&5
4017 rm -f conftest.err conftest.
$ac_objext
4019 rm -f conftest.
$ac_ext conftest.
$ac_objext
4024 case "x$ac_cv_prog_cc_stdc" in
4026 echo "$as_me:$LINENO: result: none needed" >&5
4027 echo "${ECHO_T}none needed" >&6 ;;
4029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4030 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4031 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4034 # Some people use a C++ compiler to compile C. Since we use `exit',
4035 # in C++ we need to declare it. In case someone uses the same compiler
4036 # for both compiling C and C++ we need to have the C++ compiler decide
4037 # the declaration of exit, since it's the most demanding environment.
4038 cat >conftest.
$ac_ext <<_ACEOF
4043 rm -f conftest.
$ac_objext
4044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4045 (eval $ac_compile) 2>conftest.er1
4047 grep -v '^ *+' conftest.er1
>conftest.err
4049 cat conftest.err
>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } &&
4052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; } &&
4058 { ac_try
='test -s conftest.$ac_objext'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; }; then
4064 for ac_declaration
in \
4066 'extern "C" void std::exit (int) throw (); using std::exit;' \
4067 'extern "C" void std::exit (int); using std::exit;' \
4068 'extern "C" void exit (int) throw ();' \
4069 'extern "C" void exit (int);' \
4072 cat >conftest.
$ac_ext <<_ACEOF
4075 cat confdefs.h
>>conftest.
$ac_ext
4076 cat >>conftest.
$ac_ext <<_ACEOF
4077 /* end confdefs.h. */
4088 rm -f conftest.
$ac_objext
4089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4090 (eval $ac_compile) 2>conftest.er1
4092 grep -v '^ *+' conftest.er1
>conftest.err
4094 cat conftest.err
>&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); } &&
4097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; } &&
4103 { ac_try
='test -s conftest.$ac_objext'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; }; then
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4117 cat >conftest.
$ac_ext <<_ACEOF
4120 cat confdefs.h
>>conftest.
$ac_ext
4121 cat >>conftest.
$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4132 rm -f conftest.
$ac_objext
4133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4134 (eval $ac_compile) 2>conftest.er1
4136 grep -v '^ *+' conftest.er1
>conftest.err
4138 cat conftest.err
>&5
4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); } &&
4141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); }; } &&
4147 { ac_try
='test -s conftest.$ac_objext'
4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); }; }; then
4155 echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.
$ac_ext >&5
4159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4162 if test -n "$ac_declaration"; then
4163 echo '#ifdef __cplusplus' >>confdefs.h
4164 echo $ac_declaration >>confdefs.h
4165 echo '#endif' >>confdefs.h
4169 echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.
$ac_ext >&5
4173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4175 ac_cpp
='$CPP $CPPFLAGS'
4176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4180 depcc
="$CC" am_compiler_list
=
4182 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4183 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4184 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4188 # We make a subdir and do the tests there. Otherwise we can end up
4189 # making bogus files that we don't know about and never remove. For
4190 # instance it was reported that on HP-UX the gcc test will end up
4191 # making a dummy file named `D' -- because `-MD' means `put the output
4194 # Copy depcomp to subdir because otherwise we won't find it if we're
4195 # using a relative directory.
4196 cp "$am_depcomp" conftest.dir
4198 # We will build objects and dependencies in a subdirectory because
4199 # it helps to detect inapplicable dependency modes. For instance
4200 # both Tru64's cc and ICC support -MD to output dependencies as a
4201 # side effect of compilation, but ICC will put the dependencies in
4202 # the current directory while Tru64 will put them in the object
4206 am_cv_CC_dependencies_compiler_type
=none
4207 if test "$am_compiler_list" = ""; then
4208 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4210 for depmode
in $am_compiler_list; do
4211 # Setup a source with many dependencies, because some compilers
4212 # like to wrap large dependency lists on column 80 (with \), and
4213 # we should not choose a depcomp mode which is confused by this.
4215 # We need to recreate these files for each test, as the compiler may
4216 # overwrite some of them when testing with obscure command lines.
4217 # This happens at least with the AIX C compiler.
4219 for i
in 1 2 3 4 5 6; do
4220 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4221 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4222 # Solaris 8's {/usr,}/bin/sh.
4223 touch sub
/conftst
$i.h
4225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4229 # after this tag, mechanisms are not by side-effect, so they'll
4230 # only be used when explicitly requested
4231 if test "x$enable_dependency_tracking" = xyes
; then
4239 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4240 # mode. It turns out that the SunPro C++ compiler does not properly
4241 # handle `-M -o', and we need to detect this.
4242 if depmode
=$depmode \
4243 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4244 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4245 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4246 >/dev
/null
2>conftest.err
&&
4247 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4248 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4249 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4250 # icc doesn't choke on unknown options, it will just issue warnings
4251 # or remarks (even with -Werror). So we grep stderr for any message
4252 # that says an option was ignored or not supported.
4253 # When given -MP, icc 7.0 and 7.1 complain thusly:
4254 # icc: Command line warning: ignoring option '-M'; no argument required
4255 # The diagnosis changed in icc 8.0:
4256 # icc: Command line remark: option '-MP' not supported
4257 if (grep 'ignoring option' conftest.err
||
4258 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4259 am_cv_CC_dependencies_compiler_type
=$depmode
4268 am_cv_CC_dependencies_compiler_type
=none
4272 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4273 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4274 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4279 test "x$enable_dependency_tracking" != xno \
4280 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4282 am__fastdepCC_FALSE
='#'
4284 am__fastdepCC_TRUE
='#'
4285 am__fastdepCC_FALSE
=
4289 # Find a good install program. We prefer a C program (faster),
4290 # so one script is as good as another. But avoid the broken or
4291 # incompatible versions:
4292 # SysV /etc/install, /usr/sbin/install
4293 # SunOS /usr/etc/install
4294 # IRIX /sbin/install
4296 # AmigaOS /C/install, which installs bootblocks on floppy discs
4297 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4300 # OS/2's system install, which has a completely different semantic
4301 # ./install, which can be erroneously created by make from ./install.sh.
4302 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4303 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4304 if test -z "$INSTALL"; then
4305 if test "${ac_cv_path_install+set}" = set; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir
=.
4313 # Account for people who put trailing slashes in PATH elements.
4315 .
/ | .
// | /cC
/* | \
4316 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4317 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4320 # OSF1 and SCO ODT 3.0 have their own names for install.
4321 # Don't use installbsd from OSF since it installs stuff as root
4323 for ac_prog
in ginstall scoinst
install; do
4324 for ac_exec_ext
in '' $ac_executable_extensions; do
4325 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4326 if test $ac_prog = install &&
4327 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4328 # AIX install. It has an incompatible calling convention.
4330 elif test $ac_prog = install &&
4331 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4332 # program-specific install script used by HP pwplus--don't use.
4335 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4347 if test "${ac_cv_path_install+set}" = set; then
4348 INSTALL
=$ac_cv_path_install
4350 # As a last resort, use the slow shell script. We don't cache a
4351 # path for INSTALL within a source directory, because that will
4352 # break other packages using the cache if that directory is
4353 # removed, or if the path is relative.
4354 INSTALL
=$ac_install_sh
4357 echo "$as_me:$LINENO: result: $INSTALL" >&5
4358 echo "${ECHO_T}$INSTALL" >&6
4360 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4361 # It thinks the first close brace ends the variable substitution.
4362 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4364 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4366 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4368 # Check whether --enable-shared or --disable-shared was given.
4369 if test "${enable_shared+set}" = set; then
4370 enableval
="$enable_shared"
4371 p
=${PACKAGE-default}
4373 yes) enable_shared
=yes ;;
4374 no
) enable_shared
=no
;;
4377 # Look at the argument we got. We use all the common list separators.
4378 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4379 for pkg
in $enableval; do
4381 if test "X$pkg" = "X$p"; then
4392 # Check whether --enable-static or --disable-static was given.
4393 if test "${enable_static+set}" = set; then
4394 enableval
="$enable_static"
4395 p
=${PACKAGE-default}
4397 yes) enable_static
=yes ;;
4398 no
) enable_static
=no
;;
4401 # Look at the argument we got. We use all the common list separators.
4402 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4403 for pkg
in $enableval; do
4405 if test "X$pkg" = "X$p"; then
4416 # Check whether --enable-fast-install or --disable-fast-install was given.
4417 if test "${enable_fast_install+set}" = set; then
4418 enableval
="$enable_fast_install"
4419 p
=${PACKAGE-default}
4421 yes) enable_fast_install
=yes ;;
4422 no
) enable_fast_install
=no
;;
4424 enable_fast_install
=no
4425 # Look at the argument we got. We use all the common list separators.
4426 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4427 for pkg
in $enableval; do
4429 if test "X$pkg" = "X$p"; then
4430 enable_fast_install
=yes
4437 enable_fast_install
=yes
4440 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4441 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4442 if test "${lt_cv_path_SED+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 # Loop through the user's path and test for sed and gsed.
4446 # Then use that list of sed's as ones to test for truncation.
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir
=.
4452 for lt_ac_prog
in sed gsed
; do
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4455 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4462 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4463 # along with /bin/sed that truncates output.
4464 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4465 test ! -f $lt_ac_sed && continue
4466 cat /dev
/null
> conftest.
in
4468 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4469 # Check for GNU sed and select it if it is found.
4470 if "$lt_ac_sed" --version 2>&1 < /dev
/null
| grep 'GNU' > /dev
/null
; then
4471 lt_cv_path_SED
=$lt_ac_sed
4475 cat conftest.
in conftest.
in >conftest.tmp
4476 mv conftest.tmp conftest.
in
4477 cp conftest.
in conftest.
nl
4479 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out
|| break
4480 cmp -s conftest.out conftest.
nl || break
4481 # 10000 chars as input seems more than enough
4482 test $lt_ac_count -gt 10 && break
4483 lt_ac_count
=`expr $lt_ac_count + 1`
4484 if test $lt_ac_count -gt $lt_ac_max; then
4485 lt_ac_max
=$lt_ac_count
4486 lt_cv_path_SED
=$lt_ac_sed
4494 echo "$as_me:$LINENO: result: $SED" >&5
4495 echo "${ECHO_T}$SED" >&6
4497 echo "$as_me:$LINENO: checking for egrep" >&5
4498 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4499 if test "${ac_cv_prog_egrep+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
4503 then ac_cv_prog_egrep
='grep -E'
4504 else ac_cv_prog_egrep
='egrep'
4507 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4508 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4509 EGREP
=$ac_cv_prog_egrep
4513 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4514 if test "${with_gnu_ld+set}" = set; then
4515 withval
="$with_gnu_ld"
4516 test "$withval" = no
|| with_gnu_ld
=yes
4521 if test "$GCC" = yes; then
4522 # Check if gcc -print-prog-name=ld gives a path.
4523 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4524 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4527 # gcc leaves a trailing carriage return which upsets mingw
4528 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4530 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4533 # Accept absolute paths.
4535 re_direlt
='/[^/][^/]*/\.\./'
4536 # Canonicalize the pathname of ld
4537 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4538 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
4539 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4541 test -z "$LD" && LD
="$ac_prog"
4544 # If it fails, then pretend we aren't using GCC.
4548 # If it is relative, then search for the first ld in PATH.
4552 elif test "$with_gnu_ld" = yes; then
4553 echo "$as_me:$LINENO: checking for GNU ld" >&5
4554 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4556 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4557 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4559 if test "${lt_cv_path_LD+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 if test -z "$LD"; then
4563 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4564 for ac_dir
in $PATH; do
4566 test -z "$ac_dir" && ac_dir
=.
4567 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4568 lt_cv_path_LD
="$ac_dir/$ac_prog"
4569 # Check to see if the program is GNU ld. I'd rather use --version,
4570 # but apparently some variants of GNU ld only accept -v.
4571 # Break only if it was the GNU/non-GNU ld that we prefer.
4572 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4573 *GNU
* | *'with BFD'*)
4574 test "$with_gnu_ld" != no
&& break
4577 test "$with_gnu_ld" != yes && break
4584 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4589 if test -n "$LD"; then
4590 echo "$as_me:$LINENO: result: $LD" >&5
4591 echo "${ECHO_T}$LD" >&6
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4596 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4597 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4598 { (exit 1); exit 1; }; }
4599 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4600 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4601 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4605 case `$LD -v 2>&1 </dev/null` in
4606 *GNU
* | *'with BFD'*)
4607 lt_cv_prog_gnu_ld
=yes
4610 lt_cv_prog_gnu_ld
=no
4614 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4615 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4616 with_gnu_ld
=$lt_cv_prog_gnu_ld
4619 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4620 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4621 if test "${lt_cv_ld_reload_flag+set}" = set; then
4622 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 lt_cv_ld_reload_flag
='-r'
4626 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4627 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4628 reload_flag
=$lt_cv_ld_reload_flag
4629 case $reload_flag in
4631 *) reload_flag
=" $reload_flag" ;;
4633 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4636 if test "$GCC" = yes; then
4637 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4639 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4644 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4645 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4646 if test "${lt_cv_path_NM+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 if test -n "$NM"; then
4650 # Let the user override the test.
4653 lt_nm_to_check
="${ac_tool_prefix}nm"
4654 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4655 lt_nm_to_check
="$lt_nm_to_check nm"
4657 for lt_tmp_nm
in $lt_nm_to_check; do
4658 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4659 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4661 test -z "$ac_dir" && ac_dir
=.
4662 tmp_nm
="$ac_dir/$lt_tmp_nm"
4663 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4664 # Check to see if the nm accepts a BSD-compat flag.
4665 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4666 # nm: unknown option "B" ignored
4667 # Tru64's nm complains that /dev/null is an invalid object file
4668 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4669 */dev
/null
* | *'Invalid file or object type'*)
4670 lt_cv_path_NM
="$tmp_nm -B"
4674 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4676 lt_cv_path_NM
="$tmp_nm -p"
4680 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4681 continue # so that we can try to find one that supports BSD flags
4690 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4693 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4694 echo "${ECHO_T}$lt_cv_path_NM" >&6
4697 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4698 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4700 if test "$LN_S" = "ln -s"; then
4701 echo "$as_me:$LINENO: result: yes" >&5
4702 echo "${ECHO_T}yes" >&6
4704 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4705 echo "${ECHO_T}no, using $LN_S" >&6
4708 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4709 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4710 if test "${lt_cv_deplibs_check_method+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4714 lt_cv_file_magic_test_file
=
4715 lt_cv_deplibs_check_method
='unknown'
4716 # Need to set the preceding variable on all platforms that support
4717 # interlibrary dependencies.
4718 # 'none' -- dependencies not supported.
4719 # `unknown' -- same as none, but documents that we really don't know.
4720 # 'pass_all' -- all dependencies passed with no checks.
4721 # 'test_compile' -- check by making test program.
4722 # 'file_magic [[regex]]' -- check by looking for files in library path
4723 # which responds to the $file_magic_cmd with a given extended regex.
4724 # If you have `file' or equivalent on your system and you're not sure
4725 # whether `pass_all' will *always* work, you probably want this one.
4729 lt_cv_deplibs_check_method
=pass_all
4733 lt_cv_deplibs_check_method
=pass_all
4737 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4738 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4739 lt_cv_file_magic_test_file
=/shlib
/libc.so
4743 # func_win32_libid is a shell function defined in ltmain.sh
4744 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4745 lt_cv_file_magic_cmd
='func_win32_libid'
4749 # Base MSYS/MinGW do not provide the 'file' command needed by
4750 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4751 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4752 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4755 darwin
* | rhapsody
*)
4756 lt_cv_deplibs_check_method
=pass_all
4759 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4760 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
4763 # Not sure whether the presence of OpenBSD here was a mistake.
4764 # Let's accept both of them until this is cleared up.
4765 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4766 lt_cv_file_magic_cmd
=/usr
/bin
/file
4767 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4771 lt_cv_deplibs_check_method
=pass_all
4776 lt_cv_deplibs_check_method
=pass_all
4779 hpux10.20
* | hpux11
*)
4780 lt_cv_file_magic_cmd
=/usr
/bin
/file
4783 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4784 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4787 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]'
4788 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4791 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4792 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4798 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4799 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4802 irix5
* | irix6
* | nonstopux
*)
4804 *-32|*"-32 ") libmagic
=32-bit;;
4805 *-n32|*"-n32 ") libmagic
=N32
;;
4806 *-64|*"-64 ") libmagic
=64-bit;;
4807 *) libmagic
=never
-match;;
4809 lt_cv_deplibs_check_method
=pass_all
4812 # This must be Linux ELF.
4814 lt_cv_deplibs_check_method
=pass_all
4817 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
4818 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
4819 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4821 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4826 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4827 lt_cv_file_magic_cmd
=/usr
/bin
/file
4828 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4832 lt_cv_deplibs_check_method
=unknown
4836 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4837 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4839 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4843 osf3
* | osf4
* | osf5
*)
4844 lt_cv_deplibs_check_method
=pass_all
4848 lt_cv_deplibs_check_method
=pass_all
4852 case $host_vendor in
4854 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]'
4855 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4858 lt_cv_deplibs_check_method
=pass_all
4861 lt_cv_file_magic_cmd
='/bin/file'
4862 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4865 lt_cv_file_magic_cmd
='/bin/file'
4866 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4867 lt_cv_file_magic_test_file
=/lib
/libc.so
4870 lt_cv_deplibs_check_method
=pass_all
4873 lt_cv_deplibs_check_method
=pass_all
4878 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4879 lt_cv_deplibs_check_method
=pass_all
4884 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4885 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4886 file_magic_cmd
=$lt_cv_file_magic_cmd
4887 deplibs_check_method
=$lt_cv_deplibs_check_method
4888 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4893 # If no C compiler was specified, use CC.
4896 # If no C compiler flags were specified, use CFLAGS.
4897 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4899 # Allow CC to be a program name with arguments.
4902 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4903 if test "${enable_libtool_lock+set}" = set; then
4904 enableval
="$enable_libtool_lock"
4907 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4909 # Some flags need to be propagated to the compiler or linker for good
4913 # Find out which ABI we are using.
4914 echo 'int i;' > conftest.
$ac_ext
4915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4916 (eval $ac_compile) 2>&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; then
4920 case `/usr/bin/file conftest.$ac_objext` in
4932 # Find out which ABI we are using.
4933 echo '#line 4933 "configure"' > conftest.
$ac_ext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4935 (eval $ac_compile) 2>&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; then
4939 if test "$lt_cv_prog_gnu_ld" = yes; then
4940 case `/usr/bin/file conftest.$ac_objext` in
4942 LD
="${LD-ld} -melf32bsmip"
4945 LD
="${LD-ld} -melf32bmipn32"
4948 LD
="${LD-ld} -melf64bmip"
4952 case `/usr/bin/file conftest.$ac_objext` in
4968 x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4969 # Find out which ABI we are using.
4970 echo 'int i;' > conftest.
$ac_ext
4971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972 (eval $ac_compile) 2>&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; then
4976 case `/usr/bin/file conftest.o` in
4980 LD
="${LD-ld} -m elf_i386"
4982 ppc64
-*linux
*|powerpc64
-*linux
*)
4983 LD
="${LD-ld} -m elf32ppclinux"
4986 LD
="${LD-ld} -m elf_s390"
4989 LD
="${LD-ld} -m elf32_sparc"
4996 LD
="${LD-ld} -m elf_x86_64"
4998 ppc
*-*linux
*|powerpc
*-*linux
*)
4999 LD
="${LD-ld} -m elf64ppc"
5002 LD
="${LD-ld} -m elf64_s390"
5005 LD
="${LD-ld} -m elf64_sparc"
5015 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5016 SAVE_CFLAGS
="$CFLAGS"
5017 CFLAGS
="$CFLAGS -belf"
5018 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5019 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5020 if test "${lt_cv_cc_needs_belf+set}" = set; then
5021 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 ac_cpp
='$CPP $CPPFLAGS'
5025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5029 cat >conftest.
$ac_ext <<_ACEOF
5032 cat confdefs.h
>>conftest.
$ac_ext
5033 cat >>conftest.
$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5044 rm -f conftest.
$ac_objext conftest
$ac_exeext
5045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5046 (eval $ac_link) 2>conftest.er1
5048 grep -v '^ *+' conftest.er1
>conftest.err
5050 cat conftest.err
>&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } &&
5053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); }; } &&
5059 { ac_try
='test -s conftest$ac_exeext'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; }; then
5065 lt_cv_cc_needs_belf
=yes
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.
$ac_ext >&5
5070 lt_cv_cc_needs_belf
=no
5072 rm -f conftest.err conftest.
$ac_objext \
5073 conftest
$ac_exeext conftest.
$ac_ext
5075 ac_cpp
='$CPP $CPPFLAGS'
5076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5081 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5082 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5083 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5084 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5085 CFLAGS
="$SAVE_CFLAGS"
5089 # Find out which ABI we are using.
5090 echo 'int i;' > conftest.
$ac_ext
5091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5092 (eval $ac_compile) 2>&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); }; then
5096 case `/usr/bin/file conftest.o` in
5098 case $lt_cv_prog_gnu_ld in
5099 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5100 *) LD
="${LD-ld} -64" ;;
5111 need_locks
="$enable_libtool_lock"
5115 ac_cpp
='$CPP $CPPFLAGS'
5116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5119 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5120 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5121 # On Suns, sometimes $CPP names a directory.
5122 if test -n "$CPP" && test -d "$CPP"; then
5125 if test -z "$CPP"; then
5126 if test "${ac_cv_prog_CPP+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 # Double quotes because CPP needs to be expanded
5130 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5133 for ac_c_preproc_warn_flag
in '' yes
5135 # Use a header file that comes with gcc, so configuring glibc
5136 # with a fresh cross-compiler works.
5137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5138 # <limits.h> exists even on freestanding compilers.
5139 # On the NeXT, cc -E runs the code through the compiler's parser,
5140 # not just through cpp. "Syntax error" is here to catch this case.
5141 cat >conftest.
$ac_ext <<_ACEOF
5144 cat confdefs.h
>>conftest.
$ac_ext
5145 cat >>conftest.
$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5148 # include <limits.h>
5150 # include <assert.h>
5154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5157 grep -v '^ *+' conftest.er1
>conftest.err
5159 cat conftest.err
>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } >/dev
/null
; then
5162 if test -s conftest.err
; then
5163 ac_cpp_err
=$ac_c_preproc_warn_flag
5164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5171 if test -z "$ac_cpp_err"; then
5174 echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.
$ac_ext >&5
5177 # Broken: fails on valid input.
5180 rm -f conftest.err conftest.
$ac_ext
5182 # OK, works on sane cases. Now check whether non-existent headers
5183 # can be detected and how.
5184 cat >conftest.
$ac_ext <<_ACEOF
5187 cat confdefs.h
>>conftest.
$ac_ext
5188 cat >>conftest.
$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5190 #include <ac_nonexistent.h>
5192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5195 grep -v '^ *+' conftest.er1
>conftest.err
5197 cat conftest.err
>&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } >/dev
/null
; then
5200 if test -s conftest.err
; then
5201 ac_cpp_err
=$ac_c_preproc_warn_flag
5202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5209 if test -z "$ac_cpp_err"; then
5210 # Broken: success on invalid input.
5213 echo "$as_me: failed program was:" >&5
5214 sed 's/^/| /' conftest.
$ac_ext >&5
5216 # Passes both tests.
5220 rm -f conftest.err conftest.
$ac_ext
5223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5224 rm -f conftest.err conftest.
$ac_ext
5225 if $ac_preproc_ok; then
5237 echo "$as_me:$LINENO: result: $CPP" >&5
5238 echo "${ECHO_T}$CPP" >&6
5240 for ac_c_preproc_warn_flag
in '' yes
5242 # Use a header file that comes with gcc, so configuring glibc
5243 # with a fresh cross-compiler works.
5244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5245 # <limits.h> exists even on freestanding compilers.
5246 # On the NeXT, cc -E runs the code through the compiler's parser,
5247 # not just through cpp. "Syntax error" is here to catch this case.
5248 cat >conftest.
$ac_ext <<_ACEOF
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5255 # include <limits.h>
5257 # include <assert.h>
5261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5264 grep -v '^ *+' conftest.er1
>conftest.err
5266 cat conftest.err
>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } >/dev
/null
; then
5269 if test -s conftest.err
; then
5270 ac_cpp_err
=$ac_c_preproc_warn_flag
5271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5278 if test -z "$ac_cpp_err"; then
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.
$ac_ext >&5
5284 # Broken: fails on valid input.
5287 rm -f conftest.err conftest.
$ac_ext
5289 # OK, works on sane cases. Now check whether non-existent headers
5290 # can be detected and how.
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5297 #include <ac_nonexistent.h>
5299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5302 grep -v '^ *+' conftest.er1
>conftest.err
5304 cat conftest.err
>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } >/dev
/null
; then
5307 if test -s conftest.err
; then
5308 ac_cpp_err
=$ac_c_preproc_warn_flag
5309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5316 if test -z "$ac_cpp_err"; then
5317 # Broken: success on invalid input.
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.
$ac_ext >&5
5323 # Passes both tests.
5327 rm -f conftest.err conftest.
$ac_ext
5330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5331 rm -f conftest.err conftest.
$ac_ext
5332 if $ac_preproc_ok; then
5335 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5336 See \`config.log' for more details." >&5
5337 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5338 See \`config.log' for more details." >&2;}
5339 { (exit 1); exit 1; }; }
5343 ac_cpp
='$CPP $CPPFLAGS'
5344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5349 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5350 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5351 if test "${ac_cv_header_stdc+set}" = set; then
5352 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 cat >conftest.
$ac_ext <<_ACEOF
5357 cat confdefs.h
>>conftest.
$ac_ext
5358 cat >>conftest.
$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5373 rm -f conftest.
$ac_objext
5374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375 (eval $ac_compile) 2>conftest.er1
5377 grep -v '^ *+' conftest.er1
>conftest.err
5379 cat conftest.err
>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); }; } &&
5388 { ac_try
='test -s conftest.$ac_objext'
5389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); }; }; then
5394 ac_cv_header_stdc
=yes
5396 echo "$as_me: failed program was:" >&5
5397 sed 's/^/| /' conftest.
$ac_ext >&5
5399 ac_cv_header_stdc
=no
5401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5403 if test $ac_cv_header_stdc = yes; then
5404 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5405 cat >conftest.
$ac_ext <<_ACEOF
5408 cat confdefs.h
>>conftest.
$ac_ext
5409 cat >>conftest.
$ac_ext <<_ACEOF
5410 /* end confdefs.h. */
5414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5415 $EGREP "memchr" >/dev
/null
2>&1; then
5418 ac_cv_header_stdc
=no
5424 if test $ac_cv_header_stdc = yes; then
5425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5426 cat >conftest.
$ac_ext <<_ACEOF
5429 cat confdefs.h
>>conftest.
$ac_ext
5430 cat >>conftest.
$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5436 $EGREP "free" >/dev
/null
2>&1; then
5439 ac_cv_header_stdc
=no
5445 if test $ac_cv_header_stdc = yes; then
5446 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5447 if test "$cross_compiling" = yes; then
5450 cat >conftest.
$ac_ext <<_ACEOF
5453 cat confdefs.h
>>conftest.
$ac_ext
5454 cat >>conftest.
$ac_ext <<_ACEOF
5455 /* end confdefs.h. */
5457 #if ((' ' & 0x0FF) == 0x020)
5458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5461 # define ISLOWER(c) \
5462 (('a' <= (c) && (c) <= 'i') \
5463 || ('j' <= (c) && (c) <= 'r') \
5464 || ('s' <= (c) && (c) <= 'z'))
5465 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5468 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5473 for (i = 0; i < 256; i++)
5474 if (XOR (islower (i), ISLOWER (i))
5475 || toupper (i) != TOUPPER (i))
5480 rm -f conftest
$ac_exeext
5481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5482 (eval $ac_link) 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5493 echo "$as_me: program exited with status $ac_status" >&5
5494 echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.
$ac_ext >&5
5498 ac_cv_header_stdc
=no
5500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5504 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5505 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5506 if test $ac_cv_header_stdc = yes; then
5508 cat >>confdefs.h
<<\_ACEOF
5509 #define STDC_HEADERS 1
5514 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5524 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5525 inttypes.h stdint.h unistd.h
5527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5528 echo "$as_me:$LINENO: checking for $ac_header" >&5
5529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 cat >conftest.
$ac_ext <<_ACEOF
5536 cat confdefs.h
>>conftest.
$ac_ext
5537 cat >>conftest.
$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 $ac_includes_default
5541 #include <$ac_header>
5543 rm -f conftest.
$ac_objext
5544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5545 (eval $ac_compile) 2>conftest.er1
5547 grep -v '^ *+' conftest.er1
>conftest.err
5549 cat conftest.err
>&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } &&
5552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; } &&
5558 { ac_try
='test -s conftest.$ac_objext'
5559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; }; then
5564 eval "$as_ac_Header=yes"
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.
$ac_ext >&5
5569 eval "$as_ac_Header=no"
5571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5576 cat >>confdefs.h
<<_ACEOF
5577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5586 for ac_header
in dlfcn.h
5588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5590 echo "$as_me:$LINENO: checking for $ac_header" >&5
5591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5598 # Is the header compilable?
5599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5601 cat >conftest.
$ac_ext <<_ACEOF
5604 cat confdefs.h
>>conftest.
$ac_ext
5605 cat >>conftest.
$ac_ext <<_ACEOF
5606 /* end confdefs.h. */
5607 $ac_includes_default
5608 #include <$ac_header>
5610 rm -f conftest.
$ac_objext
5611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5612 (eval $ac_compile) 2>conftest.er1
5614 grep -v '^ *+' conftest.er1
>conftest.err
5616 cat conftest.err
>&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } &&
5619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; } &&
5625 { ac_try
='test -s conftest.$ac_objext'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; }; then
5631 ac_header_compiler
=yes
5633 echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.
$ac_ext >&5
5636 ac_header_compiler
=no
5638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5640 echo "${ECHO_T}$ac_header_compiler" >&6
5642 # Is the header present?
5643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5645 cat >conftest.
$ac_ext <<_ACEOF
5648 cat confdefs.h
>>conftest.
$ac_ext
5649 cat >>conftest.
$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 #include <$ac_header>
5653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5656 grep -v '^ *+' conftest.er1
>conftest.err
5658 cat conftest.err
>&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } >/dev
/null
; then
5661 if test -s conftest.err
; then
5662 ac_cpp_err
=$ac_c_preproc_warn_flag
5663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5670 if test -z "$ac_cpp_err"; then
5671 ac_header_preproc
=yes
5673 echo "$as_me: failed program was:" >&5
5674 sed 's/^/| /' conftest.
$ac_ext >&5
5676 ac_header_preproc
=no
5678 rm -f conftest.err conftest.
$ac_ext
5679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5680 echo "${ECHO_T}$ac_header_preproc" >&6
5682 # So? What about this header?
5683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5689 ac_header_preproc
=yes
5692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5706 ## -------------------------------------------------- ##
5707 ## Report this to evilnet-devel@lists.sourceforge.net ##
5708 ## -------------------------------------------------- ##
5711 sed "s/^/$as_me: WARNING: /" >&2
5714 echo "$as_me:$LINENO: checking for $ac_header" >&5
5715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 eval "$as_ac_Header=\$ac_header_preproc"
5721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5726 cat >>confdefs.h
<<_ACEOF
5727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5735 ac_cpp
='$CXXCPP $CPPFLAGS'
5736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5739 if test -n "$ac_tool_prefix"; then
5740 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5743 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5744 echo "$as_me:$LINENO: checking for $ac_word" >&5
5745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5746 if test "${ac_cv_prog_CXX+set}" = set; then
5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 if test -n "$CXX"; then
5750 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir
=.
5757 for ac_exec_ext
in '' $ac_executable_extensions; do
5758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 if test -n "$CXX"; then
5770 echo "$as_me:$LINENO: result: $CXX" >&5
5771 echo "${ECHO_T}$CXX" >&6
5773 echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6
5777 test -n "$CXX" && break
5780 if test -z "$CXX"; then
5782 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy
$ac_prog; ac_word
=$2
5786 echo "$as_me:$LINENO: checking for $ac_word" >&5
5787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5788 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if test -n "$ac_ct_CXX"; then
5792 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5798 test -z "$as_dir" && as_dir
=.
5799 for ac_exec_ext
in '' $ac_executable_extensions; do
5800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5811 if test -n "$ac_ct_CXX"; then
5812 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5813 echo "${ECHO_T}$ac_ct_CXX" >&6
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5819 test -n "$ac_ct_CXX" && break
5821 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5827 # Provide some information about the compiler.
5828 echo "$as_me:$LINENO:" \
5829 "checking for C++ compiler version" >&5
5830 ac_compiler
=`set X $ac_compile; echo $2`
5831 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5832 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }
5836 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5837 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }
5841 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5842 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }
5847 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5848 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5849 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 cat >conftest.
$ac_ext <<_ACEOF
5855 cat confdefs.h
>>conftest.
$ac_ext
5856 cat >>conftest.
$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5870 rm -f conftest.
$ac_objext
5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5872 (eval $ac_compile) 2>conftest.er1
5874 grep -v '^ *+' conftest.er1
>conftest.err
5876 cat conftest.err
>&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } &&
5879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try
='test -s conftest.$ac_objext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.
$ac_ext >&5
5898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5899 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5902 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5903 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5904 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5905 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5906 ac_save_CXXFLAGS
=$CXXFLAGS
5908 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5909 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5910 if test "${ac_cv_prog_cxx_g+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 cat >conftest.
$ac_ext <<_ACEOF
5916 cat confdefs.h
>>conftest.
$ac_ext
5917 cat >>conftest.
$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5928 rm -f conftest.
$ac_objext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5930 (eval $ac_compile) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; } &&
5943 { ac_try
='test -s conftest.$ac_objext'
5944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; }; then
5949 ac_cv_prog_cxx_g
=yes
5951 echo "$as_me: failed program was:" >&5
5952 sed 's/^/| /' conftest.
$ac_ext >&5
5956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5958 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5959 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5960 if test "$ac_test_CXXFLAGS" = set; then
5961 CXXFLAGS
=$ac_save_CXXFLAGS
5962 elif test $ac_cv_prog_cxx_g = yes; then
5963 if test "$GXX" = yes; then
5969 if test "$GXX" = yes; then
5975 for ac_declaration
in \
5977 'extern "C" void std::exit (int) throw (); using std::exit;' \
5978 'extern "C" void std::exit (int); using std::exit;' \
5979 'extern "C" void exit (int) throw ();' \
5980 'extern "C" void exit (int);' \
5983 cat >conftest.
$ac_ext <<_ACEOF
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5999 rm -f conftest.
$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); }; } &&
6014 { ac_try
='test -s conftest.$ac_objext'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; }; then
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.
$ac_ext >&5
6027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 cat >conftest.
$ac_ext <<_ACEOF
6031 cat confdefs.h
>>conftest.
$ac_ext
6032 cat >>conftest.
$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6043 rm -f conftest.
$ac_objext
6044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6045 (eval $ac_compile) 2>conftest.er1
6047 grep -v '^ *+' conftest.er1
>conftest.err
6049 cat conftest.err
>&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } &&
6052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; } &&
6058 { ac_try
='test -s conftest.$ac_objext'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }; then
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.
$ac_ext >&5
6070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6073 if test -n "$ac_declaration"; then
6074 echo '#ifdef __cplusplus' >>confdefs.h
6075 echo $ac_declaration >>confdefs.h
6076 echo '#endif' >>confdefs.h
6080 ac_cpp
='$CXXCPP $CPPFLAGS'
6081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6085 depcc
="$CXX" am_compiler_list
=
6087 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6088 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6089 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6093 # We make a subdir and do the tests there. Otherwise we can end up
6094 # making bogus files that we don't know about and never remove. For
6095 # instance it was reported that on HP-UX the gcc test will end up
6096 # making a dummy file named `D' -- because `-MD' means `put the output
6099 # Copy depcomp to subdir because otherwise we won't find it if we're
6100 # using a relative directory.
6101 cp "$am_depcomp" conftest.dir
6103 # We will build objects and dependencies in a subdirectory because
6104 # it helps to detect inapplicable dependency modes. For instance
6105 # both Tru64's cc and ICC support -MD to output dependencies as a
6106 # side effect of compilation, but ICC will put the dependencies in
6107 # the current directory while Tru64 will put them in the object
6111 am_cv_CXX_dependencies_compiler_type
=none
6112 if test "$am_compiler_list" = ""; then
6113 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6115 for depmode
in $am_compiler_list; do
6116 # Setup a source with many dependencies, because some compilers
6117 # like to wrap large dependency lists on column 80 (with \), and
6118 # we should not choose a depcomp mode which is confused by this.
6120 # We need to recreate these files for each test, as the compiler may
6121 # overwrite some of them when testing with obscure command lines.
6122 # This happens at least with the AIX C compiler.
6124 for i
in 1 2 3 4 5 6; do
6125 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6126 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6127 # Solaris 8's {/usr,}/bin/sh.
6128 touch sub
/conftst
$i.h
6130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6134 # after this tag, mechanisms are not by side-effect, so they'll
6135 # only be used when explicitly requested
6136 if test "x$enable_dependency_tracking" = xyes
; then
6144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6145 # mode. It turns out that the SunPro C++ compiler does not properly
6146 # handle `-M -o', and we need to detect this.
6147 if depmode
=$depmode \
6148 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6149 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6150 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6151 >/dev
/null
2>conftest.err
&&
6152 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6153 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6154 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6155 # icc doesn't choke on unknown options, it will just issue warnings
6156 # or remarks (even with -Werror). So we grep stderr for any message
6157 # that says an option was ignored or not supported.
6158 # When given -MP, icc 7.0 and 7.1 complain thusly:
6159 # icc: Command line warning: ignoring option '-M'; no argument required
6160 # The diagnosis changed in icc 8.0:
6161 # icc: Command line remark: option '-MP' not supported
6162 if (grep 'ignoring option' conftest.err
||
6163 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6164 am_cv_CXX_dependencies_compiler_type
=$depmode
6173 am_cv_CXX_dependencies_compiler_type
=none
6177 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6178 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6179 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6184 test "x$enable_dependency_tracking" != xno \
6185 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6186 am__fastdepCXX_TRUE
=
6187 am__fastdepCXX_FALSE
='#'
6189 am__fastdepCXX_TRUE
='#'
6190 am__fastdepCXX_FALSE
=
6196 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6197 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6198 (test "X$CXX" != "Xg++"))) ; then
6200 ac_cpp
='$CXXCPP $CPPFLAGS'
6201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6204 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6205 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6206 if test -z "$CXXCPP"; then
6207 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 # Double quotes because CXXCPP needs to be expanded
6211 for CXXCPP
in "$CXX -E" "/lib/cpp"
6214 for ac_cxx_preproc_warn_flag
in '' yes
6216 # Use a header file that comes with gcc, so configuring glibc
6217 # with a fresh cross-compiler works.
6218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6219 # <limits.h> exists even on freestanding compilers.
6220 # On the NeXT, cc -E runs the code through the compiler's parser,
6221 # not just through cpp. "Syntax error" is here to catch this case.
6222 cat >conftest.
$ac_ext <<_ACEOF
6225 cat confdefs.h
>>conftest.
$ac_ext
6226 cat >>conftest.
$ac_ext <<_ACEOF
6227 /* end confdefs.h. */
6229 # include <limits.h>
6231 # include <assert.h>
6235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6236 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6238 grep -v '^ *+' conftest.er1
>conftest.err
6240 cat conftest.err
>&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } >/dev
/null
; then
6243 if test -s conftest.err
; then
6244 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6245 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6252 if test -z "$ac_cpp_err"; then
6255 echo "$as_me: failed program was:" >&5
6256 sed 's/^/| /' conftest.
$ac_ext >&5
6258 # Broken: fails on valid input.
6261 rm -f conftest.err conftest.
$ac_ext
6263 # OK, works on sane cases. Now check whether non-existent headers
6264 # can be detected and how.
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 #include <ac_nonexistent.h>
6273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6276 grep -v '^ *+' conftest.er1
>conftest.err
6278 cat conftest.err
>&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } >/dev
/null
; then
6281 if test -s conftest.err
; then
6282 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6283 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6290 if test -z "$ac_cpp_err"; then
6291 # Broken: success on invalid input.
6294 echo "$as_me: failed program was:" >&5
6295 sed 's/^/| /' conftest.
$ac_ext >&5
6297 # Passes both tests.
6301 rm -f conftest.err conftest.
$ac_ext
6304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6305 rm -f conftest.err conftest.
$ac_ext
6306 if $ac_preproc_ok; then
6311 ac_cv_prog_CXXCPP
=$CXXCPP
6314 CXXCPP
=$ac_cv_prog_CXXCPP
6316 ac_cv_prog_CXXCPP
=$CXXCPP
6318 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6319 echo "${ECHO_T}$CXXCPP" >&6
6321 for ac_cxx_preproc_warn_flag
in '' yes
6323 # Use a header file that comes with gcc, so configuring glibc
6324 # with a fresh cross-compiler works.
6325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6326 # <limits.h> exists even on freestanding compilers.
6327 # On the NeXT, cc -E runs the code through the compiler's parser,
6328 # not just through cpp. "Syntax error" is here to catch this case.
6329 cat >conftest.
$ac_ext <<_ACEOF
6332 cat confdefs.h
>>conftest.
$ac_ext
6333 cat >>conftest.
$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 # include <limits.h>
6338 # include <assert.h>
6342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6345 grep -v '^ *+' conftest.er1
>conftest.err
6347 cat conftest.err
>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } >/dev
/null
; then
6350 if test -s conftest.err
; then
6351 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6352 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6359 if test -z "$ac_cpp_err"; then
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.
$ac_ext >&5
6365 # Broken: fails on valid input.
6368 rm -f conftest.err conftest.
$ac_ext
6370 # OK, works on sane cases. Now check whether non-existent headers
6371 # can be detected and how.
6372 cat >conftest.
$ac_ext <<_ACEOF
6375 cat confdefs.h
>>conftest.
$ac_ext
6376 cat >>conftest.
$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6378 #include <ac_nonexistent.h>
6380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6383 grep -v '^ *+' conftest.er1
>conftest.err
6385 cat conftest.err
>&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } >/dev
/null
; then
6388 if test -s conftest.err
; then
6389 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6390 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6397 if test -z "$ac_cpp_err"; then
6398 # Broken: success on invalid input.
6401 echo "$as_me: failed program was:" >&5
6402 sed 's/^/| /' conftest.
$ac_ext >&5
6404 # Passes both tests.
6408 rm -f conftest.err conftest.
$ac_ext
6411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6412 rm -f conftest.err conftest.
$ac_ext
6413 if $ac_preproc_ok; then
6416 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6417 See \`config.log' for more details." >&5
6418 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6419 See \`config.log' for more details." >&2;}
6420 { (exit 1); exit 1; }; }
6424 ac_cpp
='$CXXCPP $CPPFLAGS'
6425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6433 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6434 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6435 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6436 if test -n "$ac_tool_prefix"; then
6437 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6440 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6441 echo "$as_me:$LINENO: checking for $ac_word" >&5
6442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6443 if test "${ac_cv_prog_F77+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 if test -n "$F77"; then
6447 ac_cv_prog_F77
="$F77" # Let the user override the test.
6449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir
=.
6454 for ac_exec_ext
in '' $ac_executable_extensions; do
6455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 if test -n "$F77"; then
6467 echo "$as_me:$LINENO: result: $F77" >&5
6468 echo "${ECHO_T}$F77" >&6
6470 echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6
6474 test -n "$F77" && break
6477 if test -z "$F77"; then
6479 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6481 # Extract the first word of "$ac_prog", so it can be a program name with args.
6482 set dummy
$ac_prog; ac_word
=$2
6483 echo "$as_me:$LINENO: checking for $ac_word" >&5
6484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6485 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 if test -n "$ac_ct_F77"; then
6489 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir
=.
6496 for ac_exec_ext
in '' $ac_executable_extensions; do
6497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_ac_ct_F77
="$ac_prog"
6499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6508 if test -n "$ac_ct_F77"; then
6509 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6510 echo "${ECHO_T}$ac_ct_F77" >&6
6512 echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6
6516 test -n "$ac_ct_F77" && break
6523 # Provide some information about the compiler.
6524 echo "$as_me:6524:" \
6525 "checking for Fortran 77 compiler version" >&5
6526 ac_compiler
=`set X $ac_compile; echo $2`
6527 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6528 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }
6532 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6533 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }
6537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6538 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }
6544 # If we don't use `.F' as extension, the preprocessor is not run on the
6545 # input file. (Note that this only needs to work for GNU compilers.)
6548 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6549 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6550 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6551 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 cat >conftest.
$ac_ext <<_ACEOF
6561 rm -f conftest.
$ac_objext
6562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6563 (eval $ac_compile) 2>conftest.er1
6565 grep -v '^ *+' conftest.er1
>conftest.err
6567 cat conftest.err
>&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); } &&
6570 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try
='test -s conftest.$ac_objext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.
$ac_ext >&5
6589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6590 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
6593 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6594 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6596 ac_test_FFLAGS
=${FFLAGS+set}
6597 ac_save_FFLAGS
=$FFLAGS
6599 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6600 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6601 if test "${ac_cv_prog_f77_g+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6605 cat >conftest.
$ac_ext <<_ACEOF
6610 rm -f conftest.
$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>conftest.er1
6614 grep -v '^ *+' conftest.er1
>conftest.err
6616 cat conftest.err
>&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; } &&
6625 { ac_try
='test -s conftest.$ac_objext'
6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }; }; then
6631 ac_cv_prog_f77_g
=yes
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.
$ac_ext >&5
6638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6641 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6642 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6643 if test "$ac_test_FFLAGS" = set; then
6644 FFLAGS
=$ac_save_FFLAGS
6645 elif test $ac_cv_prog_f77_g = yes; then
6646 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6652 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6659 G77
=`test $ac_compiler_gnu = yes && echo yes`
6661 ac_cpp
='$CPP $CPPFLAGS'
6662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6668 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6670 # find the maximum length of command line arguments
6671 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6672 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6673 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6681 # On DJGPP, this test can blow up pretty badly due to problems in libc
6682 # (any single argument exceeding 2000 bytes causes a buffer overrun
6683 # during glob expansion). Even if it were fixed, the result of this
6684 # check would be larger than it should be.
6685 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6689 # Under GNU Hurd, this test is not required because there is
6690 # no limit to the length of command line arguments.
6691 # Libtool will interpret -1 as no limit whatsoever
6692 lt_cv_sys_max_cmd_len
=-1;
6696 # On Win9x/ME, this test blows up -- it succeeds, but takes
6697 # about 5 minutes as the teststring grows exponentially.
6698 # Worse, since 9x/ME are not pre-emptively multitasking,
6699 # you end up with a "frozen" computer, even though with patience
6700 # the test eventually succeeds (with a max line length of 256k).
6701 # Instead, let's just punt: use the minimum linelength reported by
6702 # all of the supported platforms: 8192 (on NT/2K/XP).
6703 lt_cv_sys_max_cmd_len
=8192;
6707 # On AmigaOS with pdksh, this test takes hours, literally.
6708 # So we just punt and use a minimum line length of 8192.
6709 lt_cv_sys_max_cmd_len
=8192;
6712 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6713 # This has been around since 386BSD, at least. Likely further.
6714 if test -x /sbin
/sysctl
; then
6715 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6716 elif test -x /usr
/sbin
/sysctl
; then
6717 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6719 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6721 # And add a safety zone
6722 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6723 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6727 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6728 lt_cv_sys_max_cmd_len
=196608
6732 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6733 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6734 # nice to cause kernel panics so lets avoid the loop below.
6735 # First set a reasonable default.
6736 lt_cv_sys_max_cmd_len
=16384
6738 if test -x /sbin
/sysconfig
; then
6739 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6740 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6745 lt_cv_sys_max_cmd_len
=102400
6747 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6748 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6749 if test -n "$kargmax"; then
6750 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6752 lt_cv_sys_max_cmd_len
=32768
6756 # If test is not a shell built-in, we'll probably end up computing a
6757 # maximum length that is only half of the actual maximum length, but
6759 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6760 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6761 = "XX$teststring") >/dev
/null
2>&1 &&
6762 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6763 lt_cv_sys_max_cmd_len
=$new_result &&
6764 test $i != 17 # 1/2 MB should be enough
6767 teststring
=$teststring$teststring
6770 # Add a significant safety factor because C++ compilers can tack on massive
6771 # amounts of additional arguments before passing them to the linker.
6772 # It appears as though 1/2 is a usable value.
6773 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6779 if test -n $lt_cv_sys_max_cmd_len ; then
6780 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6781 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6783 echo "$as_me:$LINENO: result: none" >&5
6784 echo "${ECHO_T}none" >&6
6790 # Check for command to grab the raw symbol name followed by C symbol from nm.
6791 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6792 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6793 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6794 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 # These are sane defaults that work on at least a few old systems.
6798 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6800 # Character class describing NM global symbol codes.
6801 symcode
='[BCDEGRST]'
6803 # Regexp to match symbols that can be accessed directly from C.
6804 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6806 # Transform an extracted symbol line into a proper C declaration
6807 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6809 # Transform an extracted symbol line into symbol name and symbol address
6810 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'"
6812 # Define system-specific variables.
6817 cygwin
* | mingw
* | pw32
*)
6818 symcode
='[ABCDGISTW]'
6820 hpux
*) # Its linker distinguishes data from code symbols
6821 if test "$host_cpu" = ia64
; then
6822 symcode
='[ABCDEGRST]'
6824 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6825 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'"
6828 if test "$host_cpu" = ia64
; then
6829 symcode
='[ABCDGIRSTW]'
6830 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6831 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'"
6835 symcode
='[BCDEGRST]'
6838 symcode
='[BCDEGQRST]'
6849 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6857 # Handle CRLF in mingw tool chain
6861 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6865 # If we're using GNU nm, then use its standard symbol codes.
6866 case `$NM -V 2>&1` in
6867 *GNU
* | *'with BFD'*)
6868 symcode
='[ABCDGIRSTW]' ;;
6871 # Try without a prefix undercore, then with it.
6872 for ac_symprfx
in "" "_"; do
6874 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6875 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6877 # Write the raw and C identifiers.
6878 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6880 # Check to see that the pipe works correctly.
6884 cat > conftest.
$ac_ext <<EOF
6889 void nm_test_func(){}
6893 int main(){nm_test_var='a';nm_test_func();return(0);}
6896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6897 (eval $ac_compile) 2>&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; then
6901 # Now try to grab the symbols.
6903 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6904 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } && test -s "$nlist"; then
6908 # Try sorting and uniquifying the output.
6909 if sort "$nlist" | uniq > "$nlist"T
; then
6910 mv -f "$nlist"T
"$nlist"
6915 # Make sure that we snagged all the symbols we need.
6916 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6917 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6918 cat <<EOF > conftest.$ac_ext
6924 # Now generate the symbol file.
6925 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6927 cat <<EOF >> conftest.$ac_ext
6928 #if defined (__STDC__) && __STDC__
6929 # define lt_ptr_t void *
6931 # define lt_ptr_t char *
6935 /* The mapping between symbol names and symbols. */
6940 lt_preloaded_symbols[] =
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main
>> conftest.
$ac_ext
6944 cat <<\EOF
>> conftest.
$ac_ext
6952 # Now try linking the two files.
6953 mv conftest.
$ac_objext conftstm.
$ac_objext
6954 lt_save_LIBS
="$LIBS"
6955 lt_save_CFLAGS
="$CFLAGS"
6956 LIBS
="conftstm.$ac_objext"
6957 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6959 (eval $ac_link) 2>&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6965 LIBS
="$lt_save_LIBS"
6966 CFLAGS
="$lt_save_CFLAGS"
6968 echo "cannot find nm_test_func in $nlist" >&5
6971 echo "cannot find nm_test_var in $nlist" >&5
6974 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6977 echo "$progname: failed program was:" >&5
6978 cat conftest.
$ac_ext >&5
6980 rm -f conftest
* conftst
*
6982 # Do not use the global_symbol_pipe unless it works.
6983 if test "$pipe_works" = yes; then
6986 lt_cv_sys_global_symbol_pipe
=
6992 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6993 lt_cv_sys_global_symbol_to_cdecl
=
6995 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6996 echo "$as_me:$LINENO: result: failed" >&5
6997 echo "${ECHO_T}failed" >&6
6999 echo "$as_me:$LINENO: result: ok" >&5
7000 echo "${ECHO_T}ok" >&6
7003 echo "$as_me:$LINENO: checking for objdir" >&5
7004 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7005 if test "${lt_cv_objdir+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 rm -f .libs
2>/dev
/null
7009 mkdir .libs
2>/dev
/null
7010 if test -d .libs
; then
7013 # MS-DOS does not allow filenames that begin with a dot.
7016 rmdir .libs
2>/dev
/null
7018 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7019 echo "${ECHO_T}$lt_cv_objdir" >&6
7020 objdir
=$lt_cv_objdir
7028 # AIX sometimes has problems with the GCC collect2 program. For some
7029 # reason, if we set the COLLECT_NAMES environment variable, the problems
7030 # vanish in a puff of smoke.
7031 if test "X${COLLECT_NAMES+set}" != Xset
; then
7033 export COLLECT_NAMES
7038 # Sed substitution that helps us do robust quoting. It backslashifies
7039 # metacharacters that are still active within double-quoted strings.
7040 Xsed
='sed -e 1s/^X//'
7041 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7043 # Same as above, but do not quote variable references.
7044 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7046 # Sed substitution to delay expansion of an escaped shell variable in a
7047 # double_quote_subst'ed string.
7048 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7050 # Sed substitution to avoid accidental globbing in evaled expressions
7051 no_glob_subst
='s/\*/\\\*/g'
7057 default_ofile
=libtool
7058 can_build_shared
=yes
7060 # All known linkers require a `.a' archive for static linking (except MSVC,
7061 # which needs '.lib').
7063 ltmain
="$ac_aux_dir/ltmain.sh"
7064 ofile
="$default_ofile"
7065 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7067 if test -n "$ac_tool_prefix"; then
7068 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7069 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7070 echo "$as_me:$LINENO: checking for $ac_word" >&5
7071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7072 if test "${ac_cv_prog_AR+set}" = set; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 if test -n "$AR"; then
7076 ac_cv_prog_AR
="$AR" # Let the user override the test.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir
=.
7083 for ac_exec_ext
in '' $ac_executable_extensions; do
7084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7085 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 if test -n "$AR"; then
7096 echo "$as_me:$LINENO: result: $AR" >&5
7097 echo "${ECHO_T}$AR" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7104 if test -z "$ac_cv_prog_AR"; then
7106 # Extract the first word of "ar", so it can be a program name with args.
7107 set dummy
ar; ac_word
=$2
7108 echo "$as_me:$LINENO: checking for $ac_word" >&5
7109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7110 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 if test -n "$ac_ct_AR"; then
7114 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir
=.
7121 for ac_exec_ext
in '' $ac_executable_extensions; do
7122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123 ac_cv_prog_ac_ct_AR
="ar"
7124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
7133 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7134 if test -n "$ac_ct_AR"; then
7135 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7136 echo "${ECHO_T}$ac_ct_AR" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7149 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7150 echo "$as_me:$LINENO: checking for $ac_word" >&5
7151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7152 if test "${ac_cv_prog_RANLIB+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 if test -n "$RANLIB"; then
7156 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir
=.
7163 for ac_exec_ext
in '' $ac_executable_extensions; do
7164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7165 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 RANLIB
=$ac_cv_prog_RANLIB
7175 if test -n "$RANLIB"; then
7176 echo "$as_me:$LINENO: result: $RANLIB" >&5
7177 echo "${ECHO_T}$RANLIB" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7184 if test -z "$ac_cv_prog_RANLIB"; then
7185 ac_ct_RANLIB
=$RANLIB
7186 # Extract the first word of "ranlib", so it can be a program name with args.
7187 set dummy ranlib
; ac_word
=$2
7188 echo "$as_me:$LINENO: checking for $ac_word" >&5
7189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7190 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 if test -n "$ac_ct_RANLIB"; then
7194 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7213 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7214 if test -n "$ac_ct_RANLIB"; then
7215 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7216 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7218 echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6
7222 RANLIB
=$ac_ct_RANLIB
7224 RANLIB
="$ac_cv_prog_RANLIB"
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7229 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7230 echo "$as_me:$LINENO: checking for $ac_word" >&5
7231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7232 if test "${ac_cv_prog_STRIP+set}" = set; then
7233 echo $ECHO_N "(cached) $ECHO_C" >&6
7235 if test -n "$STRIP"; then
7236 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7254 STRIP
=$ac_cv_prog_STRIP
7255 if test -n "$STRIP"; then
7256 echo "$as_me:$LINENO: result: $STRIP" >&5
7257 echo "${ECHO_T}$STRIP" >&6
7259 echo "$as_me:$LINENO: result: no" >&5
7260 echo "${ECHO_T}no" >&6
7264 if test -z "$ac_cv_prog_STRIP"; then
7266 # Extract the first word of "strip", so it can be a program name with args.
7267 set dummy strip
; ac_word
=$2
7268 echo "$as_me:$LINENO: checking for $ac_word" >&5
7269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7270 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7271 echo $ECHO_N "(cached) $ECHO_C" >&6
7273 if test -n "$ac_ct_STRIP"; then
7274 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7280 test -z "$as_dir" && as_dir
=.
7281 for ac_exec_ext
in '' $ac_executable_extensions; do
7282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7283 ac_cv_prog_ac_ct_STRIP
="strip"
7284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
7293 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7294 if test -n "$ac_ct_STRIP"; then
7295 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7296 echo "${ECHO_T}$ac_ct_STRIP" >&6
7298 echo "$as_me:$LINENO: result: no" >&5
7299 echo "${ECHO_T}no" >&6
7304 STRIP
="$ac_cv_prog_STRIP"
7309 old_CFLAGS
="$CFLAGS"
7311 # Set sane defaults for various variables
7312 test -z "$AR" && AR
=ar
7313 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7314 test -z "$AS" && AS
=as
7315 test -z "$CC" && CC
=cc
7316 test -z "$LTCC" && LTCC
=$CC
7317 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7318 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7319 test -z "$LD" && LD
=ld
7320 test -z "$LN_S" && LN_S
="ln -s"
7321 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7322 test -z "$NM" && NM
=nm
7323 test -z "$SED" && SED
=sed
7324 test -z "$OBJDUMP" && OBJDUMP
=objdump
7325 test -z "$RANLIB" && RANLIB
=:
7326 test -z "$STRIP" && STRIP
=:
7327 test -z "$ac_objext" && ac_objext
=o
7329 # Determine commands to create old-style static archives.
7330 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7331 old_postinstall_cmds
='chmod 644 $oldlib'
7332 old_postuninstall_cmds
=
7334 if test -n "$RANLIB"; then
7337 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7340 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7343 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7346 for cc_temp
in $compiler""; do
7348 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7349 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7354 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7357 # Only perform the check for file, if the check method requires it
7358 case $deplibs_check_method in
7360 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7361 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7362 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7363 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7371 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7372 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7373 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7374 for ac_dir
in $ac_dummy; do
7376 test -z "$ac_dir" && ac_dir
=.
7377 if test -f $ac_dir/${ac_tool_prefix}file; then
7378 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7379 if test -n "$file_magic_test_file"; then
7380 case $deplibs_check_method in
7382 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7383 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7384 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7385 $EGREP "$file_magic_regex" > /dev
/null
; then
7390 *** Warning: the command libtool uses to detect shared libraries,
7391 *** $file_magic_cmd, produces output that libtool cannot recognize.
7392 *** The result is that libtool may fail to recognize shared libraries
7393 *** as such. This will affect the creation of libtool libraries that
7394 *** depend on shared libraries, but programs linked with such libtool
7395 *** libraries will work regardless of this problem. Nevertheless, you
7396 *** may want to report the problem to your system manager and/or to
7397 *** bug-libtool@gnu.org
7407 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7412 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7413 if test -n "$MAGIC_CMD"; then
7414 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7415 echo "${ECHO_T}$MAGIC_CMD" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7421 if test -z "$lt_cv_path_MAGIC_CMD"; then
7422 if test -n "$ac_tool_prefix"; then
7423 echo "$as_me:$LINENO: checking for file" >&5
7424 echo $ECHO_N "checking for file... $ECHO_C" >&6
7425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6
7430 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7433 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7434 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7435 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7436 for ac_dir
in $ac_dummy; do
7438 test -z "$ac_dir" && ac_dir
=.
7439 if test -f $ac_dir/file; then
7440 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7441 if test -n "$file_magic_test_file"; then
7442 case $deplibs_check_method in
7444 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7445 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7446 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7447 $EGREP "$file_magic_regex" > /dev
/null
; then
7452 *** Warning: the command libtool uses to detect shared libraries,
7453 *** $file_magic_cmd, produces output that libtool cannot recognize.
7454 *** The result is that libtool may fail to recognize shared libraries
7455 *** as such. This will affect the creation of libtool libraries that
7456 *** depend on shared libraries, but programs linked with such libtool
7457 *** libraries will work regardless of this problem. Nevertheless, you
7458 *** may want to report the problem to your system manager and/or to
7459 *** bug-libtool@gnu.org
7469 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7474 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7475 if test -n "$MAGIC_CMD"; then
7476 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7477 echo "${ECHO_T}$MAGIC_CMD" >&6
7479 echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7495 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7496 if test "${enable_libtool_lock+set}" = set; then
7497 enableval
="$enable_libtool_lock"
7500 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7503 # Check whether --with-pic or --without-pic was given.
7504 if test "${with_pic+set}" = set; then
7510 test -z "$pic_mode" && pic_mode
=default
7512 # Use C for the default configuration in the libtool script
7516 ac_cpp
='$CPP $CPPFLAGS'
7517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7522 # Source file extension for C test sources.
7525 # Object file extension for compiled C test sources.
7529 # Code to be used in simple compile tests
7530 lt_simple_compile_test_code
="int some_variable = 0;\n"
7532 # Code to be used in simple link tests
7533 lt_simple_link_test_code
='int main(){return(0);}\n'
7536 # If no C compiler was specified, use CC.
7539 # If no C compiler flags were specified, use CFLAGS.
7540 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7542 # Allow CC to be a program name with arguments.
7546 # save warnings/boilerplate of simple test code
7547 ac_outfile
=conftest.
$ac_objext
7548 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7549 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7550 _lt_compiler_boilerplate
=`cat conftest.err`
7553 ac_outfile
=conftest.
$ac_objext
7554 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7555 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7556 _lt_linker_boilerplate
=`cat conftest.err`
7561 lt_prog_compiler_no_builtin_flag
=
7563 if test "$GCC" = yes; then
7564 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7567 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7568 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 lt_cv_prog_compiler_rtti_exceptions
=no
7573 ac_outfile
=conftest.
$ac_objext
7574 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7575 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7576 # Insert the option either (1) after the last *FLAGS variable, or
7577 # (2) before a word containing "conftest.", or (3) at the end.
7578 # Note that $ac_compile itself does not contain backslashes and begins
7579 # with a dollar sign (not a hyphen), so the echo should work correctly.
7580 # The option is referenced via a variable to avoid confusing sed.
7581 lt_compile
=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>conftest.err
)
7588 cat conftest.err
>&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s "$ac_outfile"; then
7591 # The compiler can only warn and ignore the option if not recognized
7592 # So say no if there are warnings other than the usual output.
7593 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7594 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7595 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7596 lt_cv_prog_compiler_rtti_exceptions
=yes
7602 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7603 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7605 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7606 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7613 lt_prog_compiler_wl
=
7614 lt_prog_compiler_pic
=
7615 lt_prog_compiler_static
=
7617 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7618 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7620 if test "$GCC" = yes; then
7621 lt_prog_compiler_wl
='-Wl,'
7622 lt_prog_compiler_static
='-static'
7626 # All AIX code is PIC.
7627 if test "$host_cpu" = ia64
; then
7628 # AIX 5 now supports IA64 processor
7629 lt_prog_compiler_static
='-Bstatic'
7634 # FIXME: we need at least 68020 code to build shared libraries, but
7635 # adding the `-m68020' flag to GCC prevents building anything better,
7637 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7640 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7641 # PIC is the default for these OSes.
7644 mingw
* | pw32
* | os2
*)
7645 # This hack is so that the source file can tell whether it is being
7646 # built for inclusion in a dll (and should export symbols for example).
7647 lt_prog_compiler_pic
='-DDLL_EXPORT'
7650 darwin
* | rhapsody
*)
7651 # PIC is the default on this platform
7652 # Common symbols not allowed in MH_DYLIB files
7653 lt_prog_compiler_pic
='-fno-common'
7657 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7658 # Instead, we relocate shared libraries at runtime.
7662 # Just because we use GCC doesn't mean we suddenly get shared libraries
7663 # on systems that don't support them.
7664 lt_prog_compiler_can_build_shared
=no
7669 if test -d /usr
/nec
; then
7670 lt_prog_compiler_pic
=-Kconform_pic
7675 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7682 lt_prog_compiler_pic
='-fPIC'
7688 lt_prog_compiler_pic
='-fPIC'
7692 # PORTME Check for flag to pass linker flags through the system compiler.
7695 lt_prog_compiler_wl
='-Wl,'
7696 if test "$host_cpu" = ia64
; then
7697 # AIX 5 now supports IA64 processor
7698 lt_prog_compiler_static
='-Bstatic'
7700 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7704 # PIC is the default on this platform
7705 # Common symbols not allowed in MH_DYLIB files
7706 case $cc_basename in
7708 lt_prog_compiler_pic
='-qnocommon'
7709 lt_prog_compiler_wl
='-Wl,'
7714 mingw
* | pw32
* | os2
*)
7715 # This hack is so that the source file can tell whether it is being
7716 # built for inclusion in a dll (and should export symbols for example).
7717 lt_prog_compiler_pic
='-DDLL_EXPORT'
7720 hpux9
* | hpux10
* | hpux11
*)
7721 lt_prog_compiler_wl
='-Wl,'
7722 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7729 lt_prog_compiler_pic
='+Z'
7732 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7733 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7736 irix5
* | irix6
* | nonstopux
*)
7737 lt_prog_compiler_wl
='-Wl,'
7738 # PIC (with -KPIC) is the default.
7739 lt_prog_compiler_static
='-non_shared'
7743 lt_prog_compiler_pic
='-KPIC'
7744 lt_prog_compiler_static
='-Bstatic'
7748 case $cc_basename in
7750 lt_prog_compiler_wl
='-Wl,'
7751 lt_prog_compiler_pic
='-KPIC'
7752 lt_prog_compiler_static
='-static'
7754 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7755 # Portland Group compilers (*not* the Pentium gcc compiler,
7756 # which looks to be a dead project)
7757 lt_prog_compiler_wl
='-Wl,'
7758 lt_prog_compiler_pic
='-fpic'
7759 lt_prog_compiler_static
='-Bstatic'
7762 lt_prog_compiler_wl
='-Wl,'
7763 # All Alpha code is PIC.
7764 lt_prog_compiler_static
='-non_shared'
7769 osf3
* | osf4
* | osf5
*)
7770 lt_prog_compiler_wl
='-Wl,'
7771 # All OSF/1 code is PIC.
7772 lt_prog_compiler_static
='-non_shared'
7776 lt_prog_compiler_pic
='-KPIC'
7777 lt_prog_compiler_static
='-Bstatic'
7778 case $cc_basename in
7780 lt_prog_compiler_wl
='-Qoption ld ';;
7782 lt_prog_compiler_wl
='-Wl,';;
7787 lt_prog_compiler_wl
='-Qoption ld '
7788 lt_prog_compiler_pic
='-PIC'
7789 lt_prog_compiler_static
='-Bstatic'
7792 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7793 lt_prog_compiler_wl
='-Wl,'
7794 lt_prog_compiler_pic
='-KPIC'
7795 lt_prog_compiler_static
='-Bstatic'
7799 if test -d /usr
/nec
;then
7800 lt_prog_compiler_pic
='-Kconform_pic'
7801 lt_prog_compiler_static
='-Bstatic'
7805 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7806 lt_prog_compiler_wl
='-Wl,'
7807 lt_prog_compiler_pic
='-KPIC'
7808 lt_prog_compiler_static
='-Bstatic'
7812 lt_prog_compiler_wl
='-Wl,'
7813 lt_prog_compiler_can_build_shared
=no
7817 lt_prog_compiler_pic
='-pic'
7818 lt_prog_compiler_static
='-Bstatic'
7822 lt_prog_compiler_can_build_shared
=no
7827 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7828 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7831 # Check to make sure the PIC flag actually works.
7833 if test -n "$lt_prog_compiler_pic"; then
7835 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7836 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7837 if test "${lt_prog_compiler_pic_works+set}" = set; then
7838 echo $ECHO_N "(cached) $ECHO_C" >&6
7840 lt_prog_compiler_pic_works
=no
7841 ac_outfile
=conftest.
$ac_objext
7842 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7843 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7844 # Insert the option either (1) after the last *FLAGS variable, or
7845 # (2) before a word containing "conftest.", or (3) at the end.
7846 # Note that $ac_compile itself does not contain backslashes and begins
7847 # with a dollar sign (not a hyphen), so the echo should work correctly.
7848 # The option is referenced via a variable to avoid confusing sed.
7849 lt_compile
=`echo "$ac_compile" | $SED \
7850 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7851 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7852 -e 's:$: $lt_compiler_flag:'`
7853 (eval echo "\"\$as_me:7853: $lt_compile\"" >&5)
7854 (eval "$lt_compile" 2>conftest.err
)
7856 cat conftest.err
>&5
7857 echo "$as_me:7857: \$? = $ac_status" >&5
7858 if (exit $ac_status) && test -s "$ac_outfile"; then
7859 # The compiler can only warn and ignore the option if not recognized
7860 # So say no if there are warnings other than the usual output.
7861 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7862 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7863 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7864 lt_prog_compiler_pic_works
=yes
7870 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7871 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7873 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7874 case $lt_prog_compiler_pic in
7876 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7879 lt_prog_compiler_pic
=
7880 lt_prog_compiler_can_build_shared
=no
7885 # For platforms which do not support PIC, -DPIC is meaningless:
7887 lt_prog_compiler_pic
=
7890 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7895 # Check to make sure the static flag actually works.
7897 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7898 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7899 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7900 if test "${lt_prog_compiler_static_works+set}" = set; then
7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 lt_prog_compiler_static_works
=no
7904 save_LDFLAGS
="$LDFLAGS"
7905 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7906 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7907 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7908 # The linker can only warn and ignore the option if not recognized
7909 # So say no if there are warnings
7910 if test -s conftest.err
; then
7911 # Append any errors to the config.log.
7912 cat conftest.err
1>&5
7913 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7914 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7915 if diff conftest.exp conftest.er2
>/dev
/null
; then
7916 lt_prog_compiler_static_works
=yes
7919 lt_prog_compiler_static_works
=yes
7923 LDFLAGS
="$save_LDFLAGS"
7926 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7927 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7929 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7932 lt_prog_compiler_static
=
7936 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7937 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7938 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 lt_cv_prog_compiler_c_o
=no
7942 $rm -r conftest
2>/dev
/null
7946 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7948 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7949 # Insert the option either (1) after the last *FLAGS variable, or
7950 # (2) before a word containing "conftest.", or (3) at the end.
7951 # Note that $ac_compile itself does not contain backslashes and begins
7952 # with a dollar sign (not a hyphen), so the echo should work correctly.
7953 lt_compile
=`echo "$ac_compile" | $SED \
7954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7956 -e 's:$: $lt_compiler_flag:'`
7957 (eval echo "\"\$as_me:7957: $lt_compile\"" >&5)
7958 (eval "$lt_compile" 2>out
/conftest.err
)
7960 cat out
/conftest.err
>&5
7961 echo "$as_me:7961: \$? = $ac_status" >&5
7962 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7964 # The compiler can only warn and ignore the option if not recognized
7965 # So say no if there are warnings
7966 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7967 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7968 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7969 lt_cv_prog_compiler_c_o
=yes
7974 # SGI C++ compiler will create directory out/ii_files/ for
7975 # template instantiation
7976 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7977 $rm out
/* && rmdir out
7983 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7984 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7987 hard_links
="nottested"
7988 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7989 # do not overwrite the value of need_locks provided by the user
7990 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7991 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7994 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7996 ln conftest.a conftest.b
2>&5 || hard_links
=no
7997 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7998 echo "$as_me:$LINENO: result: $hard_links" >&5
7999 echo "${ECHO_T}$hard_links" >&6
8000 if test "$hard_links" = no
; then
8001 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8002 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8009 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8010 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8013 allow_undefined_flag
=
8014 enable_shared_with_static_runtimes
=no
8016 archive_expsym_cmds
=
8017 old_archive_From_new_cmds
=
8018 old_archive_from_expsyms_cmds
=
8019 export_dynamic_flag_spec
=
8020 whole_archive_flag_spec
=
8021 thread_safe_flag_spec
=
8022 hardcode_libdir_flag_spec
=
8023 hardcode_libdir_flag_spec_ld
=
8024 hardcode_libdir_separator
=
8027 hardcode_shlibpath_var
=unsupported
8028 link_all_deplibs
=unknown
8029 hardcode_automatic
=no
8032 always_export_symbols
=no
8033 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8034 # include_expsyms should be a list of space-separated symbols to be *always*
8035 # included in the symbol list
8037 # exclude_expsyms can be an extended regexp of symbols to exclude
8038 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8039 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8040 # as well as any symbol that contains `d'.
8041 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8042 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8043 # platforms (ab)use it in PIC code, but their linkers get confused if
8044 # the symbol is explicitly referenced. Since portable code cannot
8045 # rely on this symbol name, it's probably fine to never include it in
8046 # preloaded symbol tables.
8047 extract_expsyms_cmds
=
8048 # Just being paranoid about ensuring that cc_basename is set.
8049 for cc_temp
in $compiler""; do
8051 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8052 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8057 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8060 cygwin
* | mingw
* | pw32
*)
8061 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8062 # When not using gcc, we currently assume that we are using
8063 # Microsoft Visual C++.
8064 if test "$GCC" != yes; then
8069 # we just hope/assume this is gcc and not c89 (= MSVC++)
8078 if test "$with_gnu_ld" = yes; then
8079 # If archive_cmds runs LD, not CC, wlarc should be empty
8082 # Set some defaults for GNU ld with shared library support. These
8083 # are reset later if shared libraries are not supported. Putting them
8084 # here allows them to be overridden if necessary.
8085 runpath_var
=LD_RUN_PATH
8086 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8087 export_dynamic_flag_spec
='${wl}--export-dynamic'
8088 # ancient GNU ld didn't support --whole-archive et. al.
8089 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
8090 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8092 whole_archive_flag_spec
=
8094 supports_anon_versioning
=no
8095 case `$LD -v 2>/dev/null` in
8096 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8097 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8098 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8099 *\
2.11.
*) ;; # other 2.11 versions
8100 *) supports_anon_versioning
=yes ;;
8103 # See if GNU ld supports shared libraries.
8105 aix3
* | aix4
* | aix5
*)
8106 # On AIX/PPC, the GNU linker is very broken
8107 if test "$host_cpu" != ia64
; then
8111 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8112 *** to be unable to reliably create shared libraries on AIX.
8113 *** Therefore, libtool is disabling shared libraries support. If you
8114 *** really care for shared libraries, you may want to modify your PATH
8115 *** so that a non-GNU linker is found, and then restart.
8122 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)'
8123 hardcode_libdir_flag_spec
='-L$libdir'
8124 hardcode_minus_L
=yes
8126 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8127 # that the semantics of dynamic libraries on AmigaOS, at least up
8128 # to version 4, is to share data among multiple programs linked
8129 # with the same dynamic library. Since this doesn't match the
8130 # behavior of shared libraries on other platforms, we can't use
8136 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8137 allow_undefined_flag
=unsupported
8138 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8139 # support --undefined. This deserves some investigation. FIXME
8140 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146 cygwin
* | mingw
* | pw32
*)
8147 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8148 # as there is no search path for DLLs.
8149 hardcode_libdir_flag_spec
='-L$libdir'
8150 allow_undefined_flag
=unsupported
8151 always_export_symbols
=no
8152 enable_shared_with_static_runtimes
=yes
8153 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8155 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
8156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8157 # If the export-symbols file already is a .def file (1st line
8158 # is EXPORTS), use it as is; otherwise, prepend...
8159 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8160 cp $export_symbols $output_objdir/$soname.def;
8162 echo EXPORTS > $output_objdir/$soname.def;
8163 cat $export_symbols >> $output_objdir/$soname.def;
8165 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8173 hardcode_shlibpath_var
=no
8174 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8175 export_dynamic_flag_spec
='${wl}-E'
8176 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8177 # Instead, shared libraries are loaded at an image base (0x10000000 by
8178 # default) and relocated if they conflict, which is a slow very memory
8179 # consuming and fragmenting process. To avoid this, we pick a random,
8180 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8181 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8182 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8183 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'
8187 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8189 case $cc_basename,$host_cpu in
8190 pgcc
*) # Portland Group C compiler
8191 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'
8192 tmp_addflag
=' $pic_flag'
8194 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8195 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'
8196 tmp_addflag
=' $pic_flag -Mnomain' ;;
8197 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8198 tmp_addflag
=' -i_dynamic' ;;
8199 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8200 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8201 ifc
* | ifort
*) # Intel Fortran compiler
8202 tmp_addflag
=' -nofor_main' ;;
8204 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8206 if test $supports_anon_versioning = yes; then
8207 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8208 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8209 $echo "local: *; };" >> $output_objdir/$libname.ver~
8210 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8218 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
8219 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
8220 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8223 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8224 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8229 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
8233 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8234 *** create shared libraries on Solaris systems. Therefore, libtool
8235 *** is disabling shared libraries support. We urge you to upgrade GNU
8236 *** binutils to release 2.9.1 or newer. Another option is to modify
8237 *** your PATH or compiler configuration so that the native linker is
8238 *** used, and then restart.
8241 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8242 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8243 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8249 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8250 case `$LD -v 2>&1` in
8251 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8255 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8256 *** reliably create shared libraries on SCO systems. Therefore, libtool
8257 *** is disabling shared libraries support. We urge you to upgrade GNU
8258 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8259 *** your PATH or compiler configuration so that the native linker is
8260 *** used, and then restart.
8265 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8266 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8267 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8268 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8277 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8280 hardcode_shlibpath_var
=no
8284 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8285 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8286 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8293 if test "$ld_shlibs" = no
; then
8295 hardcode_libdir_flag_spec
=
8296 export_dynamic_flag_spec
=
8297 whole_archive_flag_spec
=
8300 # PORTME fill in a description of your system's linker (not GNU ld)
8303 allow_undefined_flag
=unsupported
8304 always_export_symbols
=yes
8305 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'
8306 # Note: this linker hardcodes the directories in LIBPATH if there
8307 # are no directories specified by -L.
8308 hardcode_minus_L
=yes
8309 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8310 # Neither direct hardcoding nor static linking is supported with a
8312 hardcode_direct
=unsupported
8317 if test "$host_cpu" = ia64
; then
8318 # On IA64, the linker does run time linking by default, so we don't
8319 # have to do anything special.
8320 aix_use_runtimelinking
=no
8321 exp_sym_flag
='-Bexport'
8324 # If we're using GNU nm, then we don't want the "-C" option.
8325 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8326 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
8327 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'
8329 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'
8331 aix_use_runtimelinking
=no
8333 # Test if we are trying to use run time linking or normal
8334 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8335 # need to do runtime linking.
8336 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8337 for ld_flag
in $LDFLAGS; do
8338 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8339 aix_use_runtimelinking
=yes
8346 exp_sym_flag
='-bexport'
8347 no_entry_flag
='-bnoentry'
8350 # When large executables or shared objects are built, AIX ld can
8351 # have problems creating the table of contents. If linking a library
8352 # or program results in "error TOC overflow" add -mminimal-toc to
8353 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8354 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8358 hardcode_libdir_separator
=':'
8359 link_all_deplibs
=yes
8361 if test "$GCC" = yes; then
8362 case $host_os in aix4.
[012]|aix4.
[012].
*)
8363 # We only want to do this on AIX 4.2 and lower, the check
8364 # below for broken collect2 doesn't work under 4.3+
8365 collect2name
=`${CC} -print-prog-name=collect2`
8366 if test -f "$collect2name" && \
8367 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
8369 # We have reworked collect2
8372 # We have old collect2
8373 hardcode_direct
=unsupported
8374 # It fails to find uninstalled libraries when the uninstalled
8375 # path is not listed in the libpath. Setting hardcode_minus_L
8376 # to unsupported forces relinking
8377 hardcode_minus_L
=yes
8378 hardcode_libdir_flag_spec
='-L$libdir'
8379 hardcode_libdir_separator
=
8383 shared_flag
='-shared'
8384 if test "$aix_use_runtimelinking" = yes; then
8385 shared_flag
="$shared_flag "'${wl}-G'
8389 if test "$host_cpu" = ia64
; then
8390 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8391 # chokes on -Wl,-G. The following line is correct:
8394 if test "$aix_use_runtimelinking" = yes; then
8395 shared_flag
='${wl}-G'
8397 shared_flag
='${wl}-bM:SRE'
8402 # It seems that -bexpall does not export symbols beginning with
8403 # underscore (_), so it is better to generate a list of symbols to export.
8404 always_export_symbols
=yes
8405 if test "$aix_use_runtimelinking" = yes; then
8406 # Warning - without using the other runtime loading flags (-brtl),
8407 # -berok will link without error, but may produce a broken library.
8408 allow_undefined_flag
='-berok'
8409 # Determine the default libpath from the value encoded in an empty executable.
8410 cat >conftest.
$ac_ext <<_ACEOF
8413 cat confdefs.h
>>conftest.
$ac_ext
8414 cat >>conftest.
$ac_ext <<_ACEOF
8415 /* end confdefs.h. */
8425 rm -f conftest.
$ac_objext conftest
$ac_exeext
8426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8427 (eval $ac_link) 2>conftest.er1
8429 grep -v '^ *+' conftest.er1
>conftest.err
8431 cat conftest.err
>&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); } &&
8434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); }; } &&
8440 { ac_try
='test -s conftest$ac_exeext'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then
8447 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8449 # Check for a 64-bit object if we didn't find anything.
8450 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; }
8453 echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.
$ac_ext >&5
8457 rm -f conftest.err conftest.
$ac_objext \
8458 conftest
$ac_exeext conftest.
$ac_ext
8459 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8461 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8462 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"
8464 if test "$host_cpu" = ia64
; then
8465 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8466 allow_undefined_flag
="-z nodefs"
8467 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"
8469 # Determine the default libpath from the value encoded in an empty executable.
8470 cat >conftest.
$ac_ext <<_ACEOF
8473 cat confdefs.h
>>conftest.
$ac_ext
8474 cat >>conftest.
$ac_ext <<_ACEOF
8475 /* end confdefs.h. */
8485 rm -f conftest.
$ac_objext conftest
$ac_exeext
8486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8487 (eval $ac_link) 2>conftest.er1
8489 grep -v '^ *+' conftest.er1
>conftest.err
8491 cat conftest.err
>&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } &&
8494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; } &&
8500 { ac_try
='test -s conftest$ac_exeext'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; }; then
8507 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8509 # Check for a 64-bit object if we didn't find anything.
8510 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; }
8513 echo "$as_me: failed program was:" >&5
8514 sed 's/^/| /' conftest.
$ac_ext >&5
8517 rm -f conftest.err conftest.
$ac_objext \
8518 conftest
$ac_exeext conftest.
$ac_ext
8519 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8521 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8522 # Warning - without using the other run time loading flags,
8523 # -berok will link without error, but may produce a broken library.
8524 no_undefined_flag
=' ${wl}-bernotok'
8525 allow_undefined_flag
=' ${wl}-berok'
8526 # Exported symbols can be pulled into shared objects from archives
8527 whole_archive_flag_spec
='$convenience'
8528 archive_cmds_need_lc
=yes
8529 # This is similar to how AIX traditionally builds its shared libraries.
8530 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'
8536 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)'
8537 hardcode_libdir_flag_spec
='-L$libdir'
8538 hardcode_minus_L
=yes
8539 # see comment about different semantics on the GNU ld section
8544 export_dynamic_flag_spec
=-rdynamic
8547 cygwin
* | mingw
* | pw32
*)
8548 # When not using gcc, we currently assume that we are using
8549 # Microsoft Visual C++.
8550 # hardcode_libdir_flag_spec is actually meaningless, as there is
8551 # no search path for DLLs.
8552 hardcode_libdir_flag_spec
=' '
8553 allow_undefined_flag
=unsupported
8554 # Tell ltmain to make .lib files, not .a files.
8556 # Tell ltmain to make .dll files, not .so files.
8558 # FIXME: Setting linknames here is a bad hack.
8559 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8560 # The linker will automatically build a .lib file if we build a DLL.
8561 old_archive_From_new_cmds
='true'
8562 # FIXME: Should let the user specify the lib program.
8563 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8564 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8565 enable_shared_with_static_runtimes
=yes
8568 darwin
* | rhapsody
*)
8570 rhapsody
* | darwin1.
[012])
8571 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8574 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8575 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8577 case ${MACOSX_DEPLOYMENT_TARGET} in
8579 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8582 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8588 archive_cmds_need_lc
=no
8590 hardcode_automatic
=yes
8591 hardcode_shlibpath_var
=unsupported
8592 whole_archive_flag_spec
=''
8593 link_all_deplibs
=yes
8594 if test "$GCC" = yes ; then
8595 output_verbose_link_cmd
='echo'
8596 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8597 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8598 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8599 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}'
8600 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}'
8602 case $cc_basename in
8604 output_verbose_link_cmd
='echo'
8605 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8606 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8607 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8608 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}'
8609 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}'
8619 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8620 hardcode_libdir_flag_spec
='-L$libdir'
8621 hardcode_shlibpath_var
=no
8628 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8629 # support. Future versions do this automatically, but an explicit c++rt0.o
8630 # does not break anything, and helps significantly (at the cost of a little
8633 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8634 hardcode_libdir_flag_spec
='-R$libdir'
8636 hardcode_shlibpath_var
=no
8639 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8641 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8643 hardcode_minus_L
=yes
8644 hardcode_shlibpath_var
=no
8647 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8648 freebsd
* | dragonfly
*)
8649 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8650 hardcode_libdir_flag_spec
='-R$libdir'
8652 hardcode_shlibpath_var
=no
8655 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
8657 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8658 hardcode_libdir_flag_spec
='-R$libdir'
8660 hardcode_shlibpath_var
=no
8665 if test "$GCC" = yes; then
8666 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'
8668 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'
8670 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8671 hardcode_libdir_separator
=:
8674 # hardcode_minus_L: Not really in the search PATH,
8675 # but as the default location of the library.
8676 hardcode_minus_L
=yes
8677 export_dynamic_flag_spec
='${wl}-E'
8681 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8682 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8684 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8686 if test "$with_gnu_ld" = no
; then
8687 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8688 hardcode_libdir_separator
=:
8691 export_dynamic_flag_spec
='${wl}-E'
8693 # hardcode_minus_L: Not really in the search PATH,
8694 # but as the default location of the library.
8695 hardcode_minus_L
=yes
8700 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8703 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8706 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8715 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8718 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8721 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8725 if test "$with_gnu_ld" = no
; then
8726 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8727 hardcode_libdir_separator
=:
8731 hardcode_libdir_flag_spec_ld
='+b $libdir'
8733 hardcode_shlibpath_var
=no
8737 export_dynamic_flag_spec
='${wl}-E'
8739 # hardcode_minus_L: Not really in the search PATH,
8740 # but as the default location of the library.
8741 hardcode_minus_L
=yes
8747 irix5
* | irix6
* | nonstopux
*)
8748 if test "$GCC" = yes; then
8749 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'
8751 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'
8752 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8754 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8755 hardcode_libdir_separator
=:
8756 link_all_deplibs
=yes
8759 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
8760 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
8761 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8763 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8765 hardcode_libdir_flag_spec
='-R$libdir'
8767 hardcode_shlibpath_var
=no
8771 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8774 hardcode_libdir_separator
=:
8775 hardcode_shlibpath_var
=no
8780 hardcode_shlibpath_var
=no
8781 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8782 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8783 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8784 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8785 export_dynamic_flag_spec
='${wl}-E'
8788 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8789 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8790 hardcode_libdir_flag_spec
='-R$libdir'
8793 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8794 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8801 hardcode_libdir_flag_spec
='-L$libdir'
8802 hardcode_minus_L
=yes
8803 allow_undefined_flag
=unsupported
8804 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'
8805 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8809 if test "$GCC" = yes; then
8810 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8811 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'
8813 allow_undefined_flag
=' -expect_unresolved \*'
8814 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'
8816 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8817 hardcode_libdir_separator
=:
8820 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8821 if test "$GCC" = yes; then
8822 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8823 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'
8824 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8826 allow_undefined_flag
=' -expect_unresolved \*'
8827 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'
8828 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8829 $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'
8831 # Both c and cxx compiler support -rpath directly
8832 hardcode_libdir_flag_spec
='-rpath $libdir'
8834 hardcode_libdir_separator
=:
8838 no_undefined_flag
=' -z text'
8839 if test "$GCC" = yes; then
8841 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8842 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8843 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8846 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8847 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8848 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8850 hardcode_libdir_flag_spec
='-R$libdir'
8851 hardcode_shlibpath_var
=no
8853 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8855 # The compiler driver will combine linker options so we
8856 # cannot just pass the convience library names through
8857 # without $wl, iff we do not link with $LD.
8858 # Luckily, gcc supports the same syntax we need for Sun Studio.
8859 # Supported since Solaris 2.6 (maybe 2.5.1?)
8862 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8864 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' ;;
8867 link_all_deplibs
=yes
8871 if test "x$host_vendor" = xsequent
; then
8872 # Use $CC to link under sequent, because it throws in some extra .o
8873 # files that make .init and .fini sections work.
8874 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8876 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8878 hardcode_libdir_flag_spec
='-L$libdir'
8880 hardcode_minus_L
=yes
8881 hardcode_shlibpath_var
=no
8885 case $host_vendor in
8887 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8888 hardcode_direct
=yes # is this really true???
8891 ## LD is ld it makes a PLAMLIB
8892 ## CC just makes a GrossModule.
8893 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8894 reload_cmds
='$CC -r -o $output$reload_objs'
8898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8899 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8902 runpath_var
='LD_RUN_PATH'
8903 hardcode_shlibpath_var
=no
8907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8908 hardcode_shlibpath_var
=no
8909 export_dynamic_flag_spec
='-Bexport'
8913 if test -d /usr
/nec
; then
8914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8915 hardcode_shlibpath_var
=no
8916 runpath_var
=LD_RUN_PATH
8917 hardcode_runpath_var
=yes
8922 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8923 no_undefined_flag
='${wl}-z,text'
8924 archive_cmds_need_lc
=no
8925 hardcode_shlibpath_var
=no
8926 runpath_var
='LD_RUN_PATH'
8928 if test "$GCC" = yes; then
8929 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8930 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8932 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8933 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8937 sysv5
* | sco3.2v5
* | sco5v6
*)
8938 # Note: We can NOT use -z defs as we might desire, because we do not
8939 # link with -lc, and that would cause any symbols used from libc to
8940 # always be unresolved, which means just about no library would
8941 # ever link correctly. If we're not using GNU ld we use -z text
8942 # though, which does catch some bad symbols but isn't as heavy-handed
8944 no_undefined_flag
='${wl}-z,text'
8945 allow_undefined_flag
='${wl}-z,nodefs'
8946 archive_cmds_need_lc
=no
8947 hardcode_shlibpath_var
=no
8948 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8949 hardcode_libdir_separator
=':'
8950 link_all_deplibs
=yes
8951 export_dynamic_flag_spec
='${wl}-Bexport'
8952 runpath_var
='LD_RUN_PATH'
8954 if test "$GCC" = yes; then
8955 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8956 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8958 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8959 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8965 hardcode_libdir_flag_spec
='-L$libdir'
8966 hardcode_shlibpath_var
=no
8975 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8976 echo "${ECHO_T}$ld_shlibs" >&6
8977 test "$ld_shlibs" = no
&& can_build_shared
=no
8980 # Do we need to explicitly link libc?
8982 case "x$archive_cmds_need_lc" in
8984 # Assume -lc should be added
8985 archive_cmds_need_lc
=yes
8987 if test "$enable_shared" = yes && test "$GCC" = yes; then
8988 case $archive_cmds in
8990 # FIXME: we may have to deal with multi-command sequences.
8993 # Test whether the compiler implicitly links with -lc since on some
8994 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8995 # to ld, don't add -lc before -lgcc.
8996 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8997 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8999 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9002 (eval $ac_compile) 2>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } 2>conftest.err
; then
9008 libobjs
=conftest.
$ac_objext
9010 wl
=$lt_prog_compiler_wl
9011 pic_flag
=$lt_prog_compiler_pic
9017 lt_save_allow_undefined_flag
=$allow_undefined_flag
9018 allow_undefined_flag
=
9019 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9020 (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }
9025 archive_cmds_need_lc
=no
9027 archive_cmds_need_lc
=yes
9029 allow_undefined_flag
=$lt_save_allow_undefined_flag
9031 cat conftest.err
1>&5
9034 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9035 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9042 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9043 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9045 libname_spec
='lib$name'
9053 shlibpath_overrides_runpath
=unknown
9055 dynamic_linker
="$host_os ld.so"
9056 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9057 if test "$GCC" = yes; then
9058 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9059 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
9060 # if the path contains ";" then we assume it to be the separator
9061 # otherwise default to the standard path separator (i.e. ":") - it is
9062 # assumed that no part of a normal pathname contains ";" but that should
9063 # okay in the real world where ";" in dirpaths is itself problematic.
9064 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9066 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9069 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9071 need_lib_prefix
=unknown
9072 hardcode_into_libs
=no
9074 # when you set need_version to no, make sure it does not cause -set_version
9075 # flags to be left without arguments
9076 need_version
=unknown
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9082 shlibpath_var
=LIBPATH
9084 # AIX 3 has no versioning support, so we append a major version to the name.
9085 soname_spec
='${libname}${release}${shared_ext}$major'
9092 hardcode_into_libs
=yes
9093 if test "$host_cpu" = ia64
; then
9094 # AIX 5 supports IA64
9095 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9096 shlibpath_var
=LD_LIBRARY_PATH
9098 # With GCC up to 2.95.x, collect2 would create an import file
9099 # for dependence libraries. The import file would start with
9100 # the line `#! .'. This would cause the generated library to
9101 # depend on `.', always an invalid library. This was fixed in
9102 # development snapshots of GCC prior to 3.0.
9104 aix4
| aix4.
[01] | aix4.
[01].
*)
9105 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9107 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
9114 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9115 # soname into executable. Probably we can add versioning support to
9116 # collect2, so additional links can be useful in future.
9117 if test "$aix_use_runtimelinking" = yes; then
9118 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9119 # instead of lib<name>.a to let people know that these are not
9120 # typical AIX shared libraries.
9121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9123 # We preserve .a as extension for shared libraries through AIX4.2
9124 # and later when we are not doing run time linking.
9125 library_names_spec
='${libname}${release}.a $libname.a'
9126 soname_spec
='${libname}${release}${shared_ext}$major'
9128 shlibpath_var
=LIBPATH
9133 library_names_spec
='$libname.ixlibrary $libname.a'
9134 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9135 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'
9139 library_names_spec
='${libname}${shared_ext}'
9140 dynamic_linker
="$host_os ld.so"
9141 shlibpath_var
=LIBRARY_PATH
9147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9148 soname_spec
='${libname}${release}${shared_ext}$major'
9149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9150 shlibpath_var
=LD_LIBRARY_PATH
9151 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9152 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9153 # the default ld.so.conf also contains /usr/contrib/lib and
9154 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9155 # libtool to hard-code these into programs
9158 cygwin
* | mingw
* | pw32
*)
9159 version_type
=windows
9164 case $GCC,$host_os in
9165 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
9166 library_names_spec
='$libname.dll.a'
9167 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9168 postinstall_cmds
='base_file=`basename \${file}`~
9169 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9170 dldir=$destdir/`dirname \$dlpath`~
9171 test -d \$dldir || mkdir -p \$dldir~
9172 $install_prog $dir/$dlname \$dldir/$dlname~
9173 chmod a+x \$dldir/$dlname'
9174 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9175 dlpath=$dir/\$dldll~
9177 shlibpath_overrides_runpath
=yes
9181 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9182 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9183 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9186 # MinGW DLLs use traditional 'lib' prefix
9187 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9188 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9189 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
9190 # It is most probably a Windows format PATH printed by
9191 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9192 # path with ; separators, and with drive letters. We can handle the
9193 # drive letters (cygwin fileutils understands them), so leave them,
9194 # especially as we might pass files found there to a mingw objdump,
9195 # which wouldn't understand a cygwinified path. Ahh.
9196 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9198 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9202 # pw32 DLLs use 'pw' prefix rather than 'lib'
9203 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9209 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9212 dynamic_linker
='Win32 ld.exe'
9213 # FIXME: first we should search . and the directory the executable is in
9217 darwin
* | rhapsody
*)
9218 dynamic_linker
="$host_os dyld"
9222 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9223 soname_spec
='${libname}${release}${major}$shared_ext'
9224 shlibpath_overrides_runpath
=yes
9225 shlibpath_var
=DYLD_LIBRARY_PATH
9226 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9227 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9228 if test "$GCC" = yes; then
9229 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"`
9231 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9233 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9241 soname_spec
='${libname}${release}${shared_ext}$major'
9242 shlibpath_var
=LD_LIBRARY_PATH
9253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9254 soname_spec
='${libname}${release}${shared_ext}$major'
9255 shlibpath_var
=LD_LIBRARY_PATH
9256 shlibpath_overrides_runpath
=no
9257 hardcode_into_libs
=yes
9258 dynamic_linker
='GNU ld.so'
9261 freebsd
* | dragonfly
*)
9262 # DragonFly does not have aout. When/if they implement a new
9263 # versioning mechanism, adjust this.
9264 if test -x /usr
/bin
/objformat
; then
9265 objformat
=`/usr/bin/objformat`
9268 freebsd
[123]*) objformat
=aout
;;
9272 version_type
=freebsd
-$objformat
9273 case $version_type in
9275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9280 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9284 shlibpath_var
=LD_LIBRARY_PATH
9287 shlibpath_overrides_runpath
=yes
9289 freebsd3.
[01]* | freebsdelf3.
[01]*)
9290 shlibpath_overrides_runpath
=yes
9291 hardcode_into_libs
=yes
9293 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9294 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9295 shlibpath_overrides_runpath
=no
9296 hardcode_into_libs
=yes
9298 freebsd
*) # from 4.6 on
9299 shlibpath_overrides_runpath
=yes
9300 hardcode_into_libs
=yes
9309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9310 soname_spec
='${libname}${release}${shared_ext}$major'
9311 shlibpath_var
=LD_LIBRARY_PATH
9312 hardcode_into_libs
=yes
9315 hpux9
* | hpux10
* | hpux11
*)
9316 # Give a soname corresponding to the major version so that dld.sl refuses to
9317 # link against other versions.
9324 hardcode_into_libs
=yes
9325 dynamic_linker
="$host_os dld.so"
9326 shlibpath_var
=LD_LIBRARY_PATH
9327 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9329 soname_spec
='${libname}${release}${shared_ext}$major'
9330 if test "X$HPUX_IA64_MODE" = X32
; then
9331 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9333 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9335 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9339 hardcode_into_libs
=yes
9340 dynamic_linker
="$host_os dld.sl"
9341 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9342 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9344 soname_spec
='${libname}${release}${shared_ext}$major'
9345 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9346 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9350 dynamic_linker
="$host_os dld.sl"
9351 shlibpath_var
=SHLIB_PATH
9352 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9354 soname_spec
='${libname}${release}${shared_ext}$major'
9357 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9358 postinstall_cmds
='chmod 555 $lib'
9365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9366 soname_spec
='${libname}${release}${shared_ext}$major'
9367 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9368 shlibpath_var
=LD_LIBRARY_PATH
9369 shlibpath_overrides_runpath
=no
9370 hardcode_into_libs
=yes
9373 irix5
* | irix6
* | nonstopux
*)
9375 nonstopux
*) version_type
=nonstopux
;;
9377 if test "$lt_cv_prog_gnu_ld" = yes; then
9385 soname_spec
='${libname}${release}${shared_ext}$major'
9386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9388 irix5
* | nonstopux
*)
9392 case $LD in # libtool.m4 will add one of these switches to LD
9393 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9394 libsuff
= shlibsuff
= libmagic
=32-bit;;
9395 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9396 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9397 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9398 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9399 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9403 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9404 shlibpath_overrides_runpath
=no
9405 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9406 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9407 hardcode_into_libs
=yes
9410 # No shared lib support for Linux oldld, aout, or coff.
9411 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9415 # This must be Linux ELF.
9420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9421 soname_spec
='${libname}${release}${shared_ext}$major'
9422 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9423 shlibpath_var
=LD_LIBRARY_PATH
9424 shlibpath_overrides_runpath
=no
9425 # This implies no fast_install, which is unacceptable.
9426 # Some rework will be needed to allow for fast_install
9427 # before this can be enabled.
9428 hardcode_into_libs
=yes
9430 # Append ld.so.conf contents to the search path
9431 if test -f /etc
/ld.so.conf
; then
9432 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9433 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9436 # We used to test for /lib/ld.so.1 and disable shared libraries on
9437 # powerpc, because MkLinux only supported shared libraries with the
9438 # GNU dynamic linker. Since this was broken with cross compilers,
9439 # most powerpc-linux boxes support dynamic linking these days and
9440 # people can always --disable-shared, the test was removed, and we
9441 # assume the GNU/Linux dynamic linker is in use.
9442 dynamic_linker
='GNU/Linux ld.so'
9449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9450 soname_spec
='${libname}${release}${shared_ext}$major'
9451 shlibpath_var
=LD_LIBRARY_PATH
9452 shlibpath_overrides_runpath
=no
9453 hardcode_into_libs
=yes
9454 dynamic_linker
='NetBSD ld.elf_so'
9461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9462 soname_spec
='${libname}${release}${shared_ext}$major'
9463 shlibpath_var
=LD_LIBRARY_PATH
9464 shlibpath_overrides_runpath
=no
9465 hardcode_into_libs
=yes
9466 dynamic_linker
='GNU ld.so'
9473 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9475 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9476 dynamic_linker
='NetBSD (a.out) ld.so'
9478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9479 soname_spec
='${libname}${release}${shared_ext}$major'
9480 dynamic_linker
='NetBSD ld.elf_so'
9482 shlibpath_var
=LD_LIBRARY_PATH
9483 shlibpath_overrides_runpath
=yes
9484 hardcode_into_libs
=yes
9489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9490 shlibpath_var
=LD_LIBRARY_PATH
9491 shlibpath_overrides_runpath
=yes
9498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9499 soname_spec
='${libname}${release}${shared_ext}$major'
9500 shlibpath_var
=LD_LIBRARY_PATH
9501 shlibpath_overrides_runpath
=yes
9506 sys_lib_dlsearch_path_spec
="/usr/lib"
9508 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9510 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9511 *) need_version
=no
;;
9513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9514 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9515 shlibpath_var
=LD_LIBRARY_PATH
9516 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9518 openbsd2.
[89] | openbsd2.
[89].
*)
9519 shlibpath_overrides_runpath
=no
9522 shlibpath_overrides_runpath
=yes
9526 shlibpath_overrides_runpath
=yes
9531 libname_spec
='$name'
9534 library_names_spec
='$libname${shared_ext} $libname.a'
9535 dynamic_linker
='OS/2 ld.exe'
9536 shlibpath_var
=LIBPATH
9539 osf3
* | osf4
* | osf5
*)
9543 soname_spec
='${libname}${release}${shared_ext}$major'
9544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9545 shlibpath_var
=LD_LIBRARY_PATH
9546 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9547 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555 soname_spec
='${libname}${release}${shared_ext}$major'
9556 shlibpath_var
=LD_LIBRARY_PATH
9557 shlibpath_overrides_runpath
=yes
9558 hardcode_into_libs
=yes
9559 # ldd complains unless libraries are executable
9560 postinstall_cmds
='chmod +x $lib'
9565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9566 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9567 shlibpath_var
=LD_LIBRARY_PATH
9568 shlibpath_overrides_runpath
=yes
9569 if test "$with_gnu_ld" = yes; then
9577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9578 soname_spec
='${libname}${release}${shared_ext}$major'
9579 shlibpath_var
=LD_LIBRARY_PATH
9580 case $host_vendor in
9582 shlibpath_overrides_runpath
=no
9584 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9585 runpath_var
=LD_RUN_PATH
9593 shlibpath_overrides_runpath
=no
9594 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9600 if test -d /usr
/nec
;then
9602 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9603 soname_spec
='$libname${shared_ext}.$major'
9604 shlibpath_var
=LD_LIBRARY_PATH
9608 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9609 version_type
=freebsd
-elf
9612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9613 soname_spec
='${libname}${release}${shared_ext}$major'
9614 shlibpath_var
=LD_LIBRARY_PATH
9615 hardcode_into_libs
=yes
9616 if test "$with_gnu_ld" = yes; then
9617 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9618 shlibpath_overrides_runpath
=no
9620 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9621 shlibpath_overrides_runpath
=yes
9624 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9628 sys_lib_dlsearch_path_spec
='/usr/lib'
9633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9634 soname_spec
='${libname}${release}${shared_ext}$major'
9635 shlibpath_var
=LD_LIBRARY_PATH
9642 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9643 echo "${ECHO_T}$dynamic_linker" >&6
9644 test "$dynamic_linker" = no
&& can_build_shared
=no
9646 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9647 if test "$GCC" = yes; then
9648 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9651 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9652 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9654 if test -n "$hardcode_libdir_flag_spec" || \
9655 test -n "$runpath_var" || \
9656 test "X$hardcode_automatic" = "Xyes" ; then
9658 # We can hardcode non-existant directories.
9659 if test "$hardcode_direct" != no
&&
9660 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9661 # have to relink, otherwise we might link with an installed library
9662 # when we should be linking with a yet-to-be-installed one
9663 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9664 test "$hardcode_minus_L" != no
; then
9665 # Linking always hardcodes the temporary library directory.
9666 hardcode_action
=relink
9668 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9669 hardcode_action
=immediate
9672 # We cannot hardcode anything, or else we can only hardcode existing
9674 hardcode_action
=unsupported
9676 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9677 echo "${ECHO_T}$hardcode_action" >&6
9679 if test "$hardcode_action" = relink
; then
9680 # Fast installation is not supported
9681 enable_fast_install
=no
9682 elif test "$shlibpath_overrides_runpath" = yes ||
9683 test "$enable_shared" = no
; then
9684 # Fast installation is not necessary
9685 enable_fast_install
=needless
9690 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9691 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9692 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then
9693 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9694 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9695 echo "$as_me:$LINENO: result: yes" >&5
9696 echo "${ECHO_T}yes" >&6
9698 # FIXME - insert some real tests, host_os isn't really good enough
9701 if test -n "$STRIP" ; then
9702 striplib
="$STRIP -x"
9703 echo "$as_me:$LINENO: result: yes" >&5
9704 echo "${ECHO_T}yes" >&6
9706 echo "$as_me:$LINENO: result: no" >&5
9707 echo "${ECHO_T}no" >&6
9711 echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6
9717 if test "x$enable_dlopen" != xyes
; then
9718 enable_dlopen
=unknown
9719 enable_dlopen_self
=unknown
9720 enable_dlopen_self_static
=unknown
9727 lt_cv_dlopen
="load_add_on"
9729 lt_cv_dlopen_self
=yes
9733 lt_cv_dlopen
="LoadLibrary"
9738 lt_cv_dlopen
="dlopen"
9743 # if libdl is installed we need to link against it
9744 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9745 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9746 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9747 echo $ECHO_N "(cached) $ECHO_C" >&6
9749 ac_check_lib_save_LIBS
=$LIBS
9751 cat >conftest.
$ac_ext <<_ACEOF
9754 cat confdefs.h
>>conftest.
$ac_ext
9755 cat >>conftest.
$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9758 /* Override any gcc2 internal prototype to avoid an error. */
9762 /* We use char because int might match the return type of a gcc2
9763 builtin and then its argument prototype would still apply. */
9773 rm -f conftest.
$ac_objext conftest
$ac_exeext
9774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9775 (eval $ac_link) 2>conftest.er1
9777 grep -v '^ *+' conftest.er1
>conftest.err
9779 cat conftest.err
>&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } &&
9782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; } &&
9788 { ac_try
='test -s conftest$ac_exeext'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_cv_lib_dl_dlopen
=yes
9796 echo "$as_me: failed program was:" >&5
9797 sed 's/^/| /' conftest.
$ac_ext >&5
9799 ac_cv_lib_dl_dlopen
=no
9801 rm -f conftest.err conftest.
$ac_objext \
9802 conftest
$ac_exeext conftest.
$ac_ext
9803 LIBS
=$ac_check_lib_save_LIBS
9805 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9806 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9807 if test $ac_cv_lib_dl_dlopen = yes; then
9808 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9813 lt_cv_dlopen_self
=yes
9820 echo "$as_me:$LINENO: checking for shl_load" >&5
9821 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9822 if test "${ac_cv_func_shl_load+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9825 cat >conftest.
$ac_ext <<_ACEOF
9828 cat confdefs.h
>>conftest.
$ac_ext
9829 cat >>conftest.
$ac_ext <<_ACEOF
9830 /* end confdefs.h. */
9831 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9833 #define shl_load innocuous_shl_load
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char shl_load (); below.
9837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9838 <limits.h> exists even on freestanding compilers. */
9841 # include <limits.h>
9843 # include <assert.h>
9848 /* Override any gcc2 internal prototype to avoid an error. */
9853 /* We use char because int might match the return type of a gcc2
9854 builtin and then its argument prototype would still apply. */
9856 /* The GNU C library defines this for functions which it implements
9857 to always fail with ENOSYS. Some functions are actually named
9858 something starting with __ and the normal name is an alias. */
9859 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9862 char (*f) () = shl_load;
9871 return f != shl_load;
9876 rm -f conftest.
$ac_objext conftest
$ac_exeext
9877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9878 (eval $ac_link) 2>conftest.er1
9880 grep -v '^ *+' conftest.er1
>conftest.err
9882 cat conftest.err
>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } &&
9885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try
='test -s conftest$ac_exeext'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; }; then
9897 ac_cv_func_shl_load
=yes
9899 echo "$as_me: failed program was:" >&5
9900 sed 's/^/| /' conftest.
$ac_ext >&5
9902 ac_cv_func_shl_load
=no
9904 rm -f conftest.err conftest.
$ac_objext \
9905 conftest
$ac_exeext conftest.
$ac_ext
9907 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9908 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9909 if test $ac_cv_func_shl_load = yes; then
9910 lt_cv_dlopen
="shl_load"
9912 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9913 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9914 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 ac_check_lib_save_LIBS
=$LIBS
9919 cat >conftest.
$ac_ext <<_ACEOF
9922 cat confdefs.h
>>conftest.
$ac_ext
9923 cat >>conftest.
$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9926 /* Override any gcc2 internal prototype to avoid an error. */
9930 /* We use char because int might match the return type of a gcc2
9931 builtin and then its argument prototype would still apply. */
9941 rm -f conftest.
$ac_objext conftest
$ac_exeext
9942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9943 (eval $ac_link) 2>conftest.er1
9945 grep -v '^ *+' conftest.er1
>conftest.err
9947 cat conftest.err
>&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } &&
9950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); }; } &&
9956 { ac_try
='test -s conftest$ac_exeext'
9957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); }; }; then
9962 ac_cv_lib_dld_shl_load
=yes
9964 echo "$as_me: failed program was:" >&5
9965 sed 's/^/| /' conftest.
$ac_ext >&5
9967 ac_cv_lib_dld_shl_load
=no
9969 rm -f conftest.err conftest.
$ac_objext \
9970 conftest
$ac_exeext conftest.
$ac_ext
9971 LIBS
=$ac_check_lib_save_LIBS
9973 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9974 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9975 if test $ac_cv_lib_dld_shl_load = yes; then
9976 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9978 echo "$as_me:$LINENO: checking for dlopen" >&5
9979 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9980 if test "${ac_cv_func_dlopen+set}" = set; then
9981 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 cat >conftest.
$ac_ext <<_ACEOF
9986 cat confdefs.h
>>conftest.
$ac_ext
9987 cat >>conftest.
$ac_ext <<_ACEOF
9988 /* end confdefs.h. */
9989 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9991 #define dlopen innocuous_dlopen
9993 /* System header to define __stub macros and hopefully few prototypes,
9994 which can conflict with char dlopen (); below.
9995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9996 <limits.h> exists even on freestanding compilers. */
9999 # include <limits.h>
10001 # include <assert.h>
10006 /* Override any gcc2 internal prototype to avoid an error. */
10011 /* We use char because int might match the return type of a gcc2
10012 builtin and then its argument prototype would still apply. */
10014 /* The GNU C library defines this for functions which it implements
10015 to always fail with ENOSYS. Some functions are actually named
10016 something starting with __ and the normal name is an alias. */
10017 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10020 char (*f) () = dlopen;
10029 return f != dlopen;
10034 rm -f conftest.
$ac_objext conftest
$ac_exeext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10036 (eval $ac_link) 2>conftest.er1
10038 grep -v '^ *+' conftest.er1
>conftest.err
10040 cat conftest.err
>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; } &&
10049 { ac_try
='test -s conftest$ac_exeext'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then
10055 ac_cv_func_dlopen
=yes
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.
$ac_ext >&5
10060 ac_cv_func_dlopen
=no
10062 rm -f conftest.err conftest.
$ac_objext \
10063 conftest
$ac_exeext conftest.
$ac_ext
10065 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10066 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10067 if test $ac_cv_func_dlopen = yes; then
10068 lt_cv_dlopen
="dlopen"
10070 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10071 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 ac_check_lib_save_LIBS
=$LIBS
10077 cat >conftest.
$ac_ext <<_ACEOF
10080 cat confdefs.h
>>conftest.
$ac_ext
10081 cat >>conftest.
$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10084 /* Override any gcc2 internal prototype to avoid an error. */
10088 /* We use char because int might match the return type of a gcc2
10089 builtin and then its argument prototype would still apply. */
10099 rm -f conftest.
$ac_objext conftest
$ac_exeext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>conftest.er1
10103 grep -v '^ *+' conftest.er1
>conftest.err
10105 cat conftest.err
>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110 (eval $ac_try) 2>&5
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; } &&
10114 { ac_try
='test -s conftest$ac_exeext'
10115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10116 (eval $ac_try) 2>&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); }; }; then
10120 ac_cv_lib_dl_dlopen
=yes
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.
$ac_ext >&5
10125 ac_cv_lib_dl_dlopen
=no
10127 rm -f conftest.err conftest.
$ac_objext \
10128 conftest
$ac_exeext conftest.
$ac_ext
10129 LIBS
=$ac_check_lib_save_LIBS
10131 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10132 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10133 if test $ac_cv_lib_dl_dlopen = yes; then
10134 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10136 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10137 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10138 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10139 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 ac_check_lib_save_LIBS
=$LIBS
10142 LIBS
="-lsvld $LIBS"
10143 cat >conftest.
$ac_ext <<_ACEOF
10146 cat confdefs.h
>>conftest.
$ac_ext
10147 cat >>conftest.
$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10150 /* Override any gcc2 internal prototype to avoid an error. */
10154 /* We use char because int might match the return type of a gcc2
10155 builtin and then its argument prototype would still apply. */
10165 rm -f conftest.
$ac_objext conftest
$ac_exeext
10166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10167 (eval $ac_link) 2>conftest.er1
10169 grep -v '^ *+' conftest.er1
>conftest.err
10171 cat conftest.err
>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); } &&
10174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; } &&
10180 { ac_try
='test -s conftest$ac_exeext'
10181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10182 (eval $ac_try) 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then
10186 ac_cv_lib_svld_dlopen
=yes
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.
$ac_ext >&5
10191 ac_cv_lib_svld_dlopen
=no
10193 rm -f conftest.err conftest.
$ac_objext \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 LIBS
=$ac_check_lib_save_LIBS
10197 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10198 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10199 if test $ac_cv_lib_svld_dlopen = yes; then
10200 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10202 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10203 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10204 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10207 ac_check_lib_save_LIBS
=$LIBS
10209 cat >conftest.
$ac_ext <<_ACEOF
10212 cat confdefs.h
>>conftest.
$ac_ext
10213 cat >>conftest.
$ac_ext <<_ACEOF
10214 /* end confdefs.h. */
10216 /* Override any gcc2 internal prototype to avoid an error. */
10220 /* We use char because int might match the return type of a gcc2
10221 builtin and then its argument prototype would still apply. */
10231 rm -f conftest.
$ac_objext conftest
$ac_exeext
10232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10233 (eval $ac_link) 2>conftest.er1
10235 grep -v '^ *+' conftest.er1
>conftest.err
10237 cat conftest.err
>&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); } &&
10240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10242 (eval $ac_try) 2>&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); }; } &&
10246 { ac_try
='test -s conftest$ac_exeext'
10247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248 (eval $ac_try) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; }; then
10252 ac_cv_lib_dld_dld_link
=yes
10254 echo "$as_me: failed program was:" >&5
10255 sed 's/^/| /' conftest.
$ac_ext >&5
10257 ac_cv_lib_dld_dld_link
=no
10259 rm -f conftest.err conftest.
$ac_objext \
10260 conftest
$ac_exeext conftest.
$ac_ext
10261 LIBS
=$ac_check_lib_save_LIBS
10263 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10264 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10265 if test $ac_cv_lib_dld_dld_link = yes; then
10266 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10287 if test "x$lt_cv_dlopen" != xno
; then
10293 case $lt_cv_dlopen in
10295 save_CPPFLAGS
="$CPPFLAGS"
10296 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10298 save_LDFLAGS
="$LDFLAGS"
10299 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10302 LIBS
="$lt_cv_dlopen_libs $LIBS"
10304 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10305 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10306 if test "${lt_cv_dlopen_self+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 if test "$cross_compiling" = yes; then :
10310 lt_cv_dlopen_self
=cross
10312 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10313 lt_status
=$lt_dlunknown
10314 cat > conftest.
$ac_ext <<EOF
10315 #line 10315 "configure"
10316 #include "confdefs.h"
10325 # define LT_DLGLOBAL RTLD_GLOBAL
10328 # define LT_DLGLOBAL DL_GLOBAL
10330 # define LT_DLGLOBAL 0
10334 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10335 find out it does not work in some platform. */
10336 #ifndef LT_DLLAZY_OR_NOW
10338 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10341 # define LT_DLLAZY_OR_NOW DL_LAZY
10344 # define LT_DLLAZY_OR_NOW RTLD_NOW
10347 # define LT_DLLAZY_OR_NOW DL_NOW
10349 # define LT_DLLAZY_OR_NOW 0
10357 extern "C" void exit (int);
10360 void fnord() { int i=42;}
10363 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10364 int status = $lt_dlunknown;
10368 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10369 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10370 /* dlclose (self); */
10378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10379 (eval $ac_link) 2>&5
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10383 (.
/conftest
; exit; ) >&5 2>/dev
/null
10385 case x
$lt_status in
10386 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10387 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10388 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10391 # compilation failed
10392 lt_cv_dlopen_self
=no
10399 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10400 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10402 if test "x$lt_cv_dlopen_self" = xyes
; then
10403 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10404 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10405 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10406 if test "${lt_cv_dlopen_self_static+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 if test "$cross_compiling" = yes; then :
10410 lt_cv_dlopen_self_static
=cross
10412 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10413 lt_status
=$lt_dlunknown
10414 cat > conftest.
$ac_ext <<EOF
10415 #line 10415 "configure"
10416 #include "confdefs.h"
10425 # define LT_DLGLOBAL RTLD_GLOBAL
10428 # define LT_DLGLOBAL DL_GLOBAL
10430 # define LT_DLGLOBAL 0
10434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10435 find out it does not work in some platform. */
10436 #ifndef LT_DLLAZY_OR_NOW
10438 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10441 # define LT_DLLAZY_OR_NOW DL_LAZY
10444 # define LT_DLLAZY_OR_NOW RTLD_NOW
10447 # define LT_DLLAZY_OR_NOW DL_NOW
10449 # define LT_DLLAZY_OR_NOW 0
10457 extern "C" void exit (int);
10460 void fnord() { int i=42;}
10463 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10464 int status = $lt_dlunknown;
10468 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10469 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10470 /* dlclose (self); */
10478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10479 (eval $ac_link) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10483 (.
/conftest
; exit; ) >&5 2>/dev
/null
10485 case x
$lt_status in
10486 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10487 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10488 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10491 # compilation failed
10492 lt_cv_dlopen_self_static
=no
10499 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10500 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10503 CPPFLAGS
="$save_CPPFLAGS"
10504 LDFLAGS
="$save_LDFLAGS"
10509 case $lt_cv_dlopen_self in
10510 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10511 *) enable_dlopen_self
=unknown
;;
10514 case $lt_cv_dlopen_self_static in
10515 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10516 *) enable_dlopen_self_static
=unknown
;;
10521 # Report which library types will actually be built
10522 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10523 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10524 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10525 echo "${ECHO_T}$can_build_shared" >&6
10527 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10528 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10529 test "$can_build_shared" = "no" && enable_shared
=no
10531 # On AIX, shared libraries and static libraries use the same namespace, and
10532 # are all built from PIC.
10535 test "$enable_shared" = yes && enable_static
=no
10536 if test -n "$RANLIB"; then
10537 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10538 postinstall_cmds
='$RANLIB $lib'
10543 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10544 test "$enable_shared" = yes && enable_static
=no
10548 echo "$as_me:$LINENO: result: $enable_shared" >&5
10549 echo "${ECHO_T}$enable_shared" >&6
10551 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10552 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10553 # Make sure either enable_shared or enable_static is yes.
10554 test "$enable_shared" = yes || enable_static
=yes
10555 echo "$as_me:$LINENO: result: $enable_static" >&5
10556 echo "${ECHO_T}$enable_static" >&6
10558 # The else clause should only fire when bootstrapping the
10559 # libtool distribution, otherwise you forgot to ship ltmain.sh
10560 # with your package, and you will get complaints that there are
10561 # no rules to generate ltmain.sh.
10562 if test -f "$ltmain"; then
10563 # See if we are running on zsh, and set the options which allow our commands through
10564 # without removal of \ escapes.
10565 if test -n "${ZSH_VERSION+set}" ; then
10566 setopt NO_GLOB_SUBST
10568 # Now quote all the things that may contain metacharacters while being
10569 # careful not to overquote the AC_SUBSTed values. We take copies of the
10570 # variables and quote the copies for generation of the libtool script.
10571 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10573 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10574 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10575 deplibs_check_method reload_flag reload_cmds need_locks \
10576 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10577 lt_cv_sys_global_symbol_to_c_name_address \
10578 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10579 old_postinstall_cmds old_postuninstall_cmds \
10583 lt_prog_compiler_wl \
10584 lt_prog_compiler_pic \
10585 lt_prog_compiler_static \
10586 lt_prog_compiler_no_builtin_flag \
10587 export_dynamic_flag_spec \
10588 thread_safe_flag_spec \
10589 whole_archive_flag_spec \
10590 enable_shared_with_static_runtimes \
10592 old_archive_from_new_cmds \
10597 compiler_lib_search_path \
10599 archive_expsym_cmds \
10601 postuninstall_cmds \
10602 old_archive_from_expsyms_cmds \
10603 allow_undefined_flag \
10604 no_undefined_flag \
10605 export_symbols_cmds \
10606 hardcode_libdir_flag_spec \
10607 hardcode_libdir_flag_spec_ld \
10608 hardcode_libdir_separator \
10609 hardcode_automatic \
10611 module_expsym_cmds \
10612 lt_cv_prog_compiler_c_o \
10614 include_expsyms
; do
10617 old_archive_cmds
| \
10618 old_archive_from_new_cmds
| \
10620 archive_expsym_cmds
| \
10622 module_expsym_cmds
| \
10623 old_archive_from_expsyms_cmds
| \
10624 export_symbols_cmds
| \
10625 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
10626 postinstall_cmds
| postuninstall_cmds
| \
10627 old_postinstall_cmds
| old_postuninstall_cmds
| \
10628 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
10629 # Double-quote double-evaled strings.
10630 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10633 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10639 *'\$0 --fallback-echo"')
10640 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10644 cfgfile
="${ofile}T"
10645 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10647 { echo "$as_me:$LINENO: creating $ofile" >&5
10648 echo "$as_me: creating $ofile" >&6;}
10650 cat <<__EOF__ >> "$cfgfile"
10653 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10654 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10655 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10657 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10658 # Free Software Foundation, Inc.
10660 # This file is part of GNU Libtool:
10661 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10663 # This program is free software; you can redistribute it and/or modify
10664 # it under the terms of the GNU General Public License as published by
10665 # the Free Software Foundation; either version 2 of the License, or
10666 # (at your option) any later version.
10668 # This program is distributed in the hope that it will be useful, but
10669 # WITHOUT ANY WARRANTY; without even the implied warranty of
10670 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10671 # General Public License for more details.
10673 # You should have received a copy of the GNU General Public License
10674 # along with this program; if not, write to the Free Software
10675 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10677 # As a special exception to the GNU General Public License, if you
10678 # distribute this file as part of a program that contains a
10679 # configuration script generated by Autoconf, you may include it under
10680 # the same distribution terms that you use for the rest of that program.
10682 # A sed program that does not truncate output.
10685 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10686 Xsed="$SED -e 1s/^X//"
10688 # The HP-UX ksh and POSIX shell print the target directory to stdout
10689 # if CDPATH is set.
10690 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10692 # The names of the tagged configurations supported by this script.
10695 # ### BEGIN LIBTOOL CONFIG
10697 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10699 # Shell to use when invoking shell scripts.
10702 # Whether or not to build shared libraries.
10703 build_libtool_libs=$enable_shared
10705 # Whether or not to build static libraries.
10706 build_old_libs=$enable_static
10708 # Whether or not to add -lc for building shared libraries.
10709 build_libtool_need_lc=$archive_cmds_need_lc
10711 # Whether or not to disallow shared libs when runtime libs are static
10712 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10714 # Whether or not to optimize for fast installation.
10715 fast_install=$enable_fast_install
10718 host_alias=$host_alias
10722 # The build system.
10723 build_alias=$build_alias
10727 # An echo program that does not interpret backslashes.
10732 AR_FLAGS=$lt_AR_FLAGS
10737 # LTCC compiler flags.
10738 LTCFLAGS=$lt_LTCFLAGS
10740 # A language-specific compiler.
10743 # Is the compiler the GNU C compiler?
10749 # The linker used to build libraries.
10752 # Whether we need hard or soft links.
10755 # A BSD-compatible nm program.
10758 # A symbol stripping program
10761 # Used to examine libraries when file_magic_cmd begins "file"
10762 MAGIC_CMD=$MAGIC_CMD
10764 # Used on cygwin: DLL creation program.
10767 # Used on cygwin: object dumper.
10770 # Used on cygwin: assembler.
10773 # The name of the directory that contains temporary libtool files.
10776 # How to create reloadable object files.
10777 reload_flag=$lt_reload_flag
10778 reload_cmds=$lt_reload_cmds
10780 # How to pass a linker flag through the compiler.
10781 wl=$lt_lt_prog_compiler_wl
10783 # Object file suffix (normally "o").
10784 objext="$ac_objext"
10786 # Old archive suffix (normally "a").
10789 # Shared library suffix (normally ".so").
10790 shrext_cmds='$shrext_cmds'
10792 # Executable file suffix (normally "").
10795 # Additional compiler flags for building library objects.
10796 pic_flag=$lt_lt_prog_compiler_pic
10799 # What is the maximum length of a command?
10800 max_cmd_len=$lt_cv_sys_max_cmd_len
10802 # Does compiler simultaneously support -c and -o options?
10803 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10805 # Must we lock files when doing compilation?
10806 need_locks=$lt_need_locks
10808 # Do we need the lib prefix for modules?
10809 need_lib_prefix=$need_lib_prefix
10811 # Do we need a version for libraries?
10812 need_version=$need_version
10814 # Whether dlopen is supported.
10815 dlopen_support=$enable_dlopen
10817 # Whether dlopen of programs is supported.
10818 dlopen_self=$enable_dlopen_self
10820 # Whether dlopen of statically linked programs is supported.
10821 dlopen_self_static=$enable_dlopen_self_static
10823 # Compiler flag to prevent dynamic linking.
10824 link_static_flag=$lt_lt_prog_compiler_static
10826 # Compiler flag to turn off builtin functions.
10827 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10829 # Compiler flag to allow reflexive dlopens.
10830 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10832 # Compiler flag to generate shared objects directly from archives.
10833 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10835 # Compiler flag to generate thread-safe objects.
10836 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10838 # Library versioning type.
10839 version_type=$version_type
10841 # Format of library name prefix.
10842 libname_spec=$lt_libname_spec
10844 # List of archive names. First name is the real one, the rest are links.
10845 # The last name is the one that the linker finds with -lNAME.
10846 library_names_spec=$lt_library_names_spec
10848 # The coded name of the library, if different from the real name.
10849 soname_spec=$lt_soname_spec
10851 # Commands used to build and install an old-style archive.
10853 old_archive_cmds=$lt_old_archive_cmds
10854 old_postinstall_cmds=$lt_old_postinstall_cmds
10855 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10857 # Create an old-style archive from a shared archive.
10858 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10860 # Create a temporary old-style archive to link instead of a shared archive.
10861 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10863 # Commands used to build and install a shared archive.
10864 archive_cmds=$lt_archive_cmds
10865 archive_expsym_cmds=$lt_archive_expsym_cmds
10866 postinstall_cmds=$lt_postinstall_cmds
10867 postuninstall_cmds=$lt_postuninstall_cmds
10869 # Commands used to build a loadable module (assumed same as above if empty)
10870 module_cmds=$lt_module_cmds
10871 module_expsym_cmds=$lt_module_expsym_cmds
10873 # Commands to strip libraries.
10874 old_striplib=$lt_old_striplib
10875 striplib=$lt_striplib
10877 # Dependencies to place before the objects being linked to create a
10879 predep_objects=$lt_predep_objects
10881 # Dependencies to place after the objects being linked to create a
10883 postdep_objects=$lt_postdep_objects
10885 # Dependencies to place before the objects being linked to create a
10887 predeps=$lt_predeps
10889 # Dependencies to place after the objects being linked to create a
10891 postdeps=$lt_postdeps
10893 # The library search path used internally by the compiler when linking
10894 # a shared library.
10895 compiler_lib_search_path=$lt_compiler_lib_search_path
10897 # Method to check whether dependent libraries are shared objects.
10898 deplibs_check_method=$lt_deplibs_check_method
10900 # Command to use when deplibs_check_method == file_magic.
10901 file_magic_cmd=$lt_file_magic_cmd
10903 # Flag that allows shared libraries with undefined symbols to be built.
10904 allow_undefined_flag=$lt_allow_undefined_flag
10906 # Flag that forces no undefined symbols.
10907 no_undefined_flag=$lt_no_undefined_flag
10909 # Commands used to finish a libtool library installation in a directory.
10910 finish_cmds=$lt_finish_cmds
10912 # Same as above, but a single script fragment to be evaled but not shown.
10913 finish_eval=$lt_finish_eval
10915 # Take the output of nm and produce a listing of raw symbols and C names.
10916 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10918 # Transform the output of nm in a proper C declaration
10919 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10921 # Transform the output of nm in a C name address pair
10922 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10924 # This is the shared library runtime path variable.
10925 runpath_var=$runpath_var
10927 # This is the shared library path variable.
10928 shlibpath_var=$shlibpath_var
10930 # Is shlibpath searched before the hard-coded library search path?
10931 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10933 # How to hardcode a shared library path into an executable.
10934 hardcode_action=$hardcode_action
10936 # Whether we should hardcode library paths into libraries.
10937 hardcode_into_libs=$hardcode_into_libs
10939 # Flag to hardcode \$libdir into a binary during linking.
10940 # This must work even if \$libdir does not exist.
10941 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10943 # If ld is used when linking, flag to hardcode \$libdir into
10944 # a binary during linking. This must work even if \$libdir does
10946 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10948 # Whether we need a single -rpath flag with a separated argument.
10949 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10951 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10952 # resulting binary.
10953 hardcode_direct=$hardcode_direct
10955 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10956 # resulting binary.
10957 hardcode_minus_L=$hardcode_minus_L
10959 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10960 # the resulting binary.
10961 hardcode_shlibpath_var=$hardcode_shlibpath_var
10963 # Set to yes if building a shared library automatically hardcodes DIR into the library
10964 # and all subsequent libraries and executables linked against it.
10965 hardcode_automatic=$hardcode_automatic
10967 # Variables whose values should be saved in libtool wrapper scripts and
10968 # restored at relink time.
10969 variables_saved_for_relink="$variables_saved_for_relink"
10971 # Whether libtool must link a program against all its dependency libraries.
10972 link_all_deplibs=$link_all_deplibs
10974 # Compile-time system search path for libraries
10975 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10977 # Run-time system search path for libraries
10978 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10980 # Fix the shell variable \$srcfile for the compiler.
10981 fix_srcfile_path="$fix_srcfile_path"
10983 # Set to yes if exported symbols are required.
10984 always_export_symbols=$always_export_symbols
10986 # The commands to list exported symbols.
10987 export_symbols_cmds=$lt_export_symbols_cmds
10989 # The commands to extract the exported symbol list from a shared archive.
10990 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10992 # Symbols that should not be listed in the preloaded symbols.
10993 exclude_expsyms=$lt_exclude_expsyms
10995 # Symbols that must always be exported.
10996 include_expsyms=$lt_include_expsyms
10998 # ### END LIBTOOL CONFIG
11005 cat <<\EOF
>> "$cfgfile"
11007 # AIX sometimes has problems with the GCC collect2 program. For some
11008 # reason, if we set the COLLECT_NAMES environment variable, the problems
11009 # vanish in a puff of smoke.
11010 if test "X${COLLECT_NAMES+set}" != Xset
; then
11012 export COLLECT_NAMES
11018 # We use sed instead of cat because bash on DJGPP gets confused if
11019 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11020 # text mode, it properly converts lines to CR/LF. This bash problem
11021 # is reportedly fixed, but why not run on old versions too?
11022 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11024 mv -f "$cfgfile" "$ofile" || \
11025 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11029 # If there is no Makefile yet, we rely on a make rule to execute
11030 # `config.status --recheck' to rerun these tests and create the
11031 # libtool script then.
11032 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11033 if test -f "$ltmain_in"; then
11034 test -f Makefile
&& make "$ltmain"
11040 ac_cpp
='$CPP $CPPFLAGS'
11041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11048 # Check whether --with-tags or --without-tags was given.
11049 if test "${with_tags+set}" = set; then
11050 withval
="$with_tags"
11051 tagnames
="$withval"
11054 if test -f "$ltmain" && test -n "$tagnames"; then
11055 if test ! -f "${ofile}"; then
11056 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11057 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11060 if test -z "$LTCC"; then
11061 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11062 if test -z "$LTCC"; then
11063 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11064 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11066 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11067 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11070 if test -z "$LTCFLAGS"; then
11071 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11074 # Extract list of available tagged configurations in $ofile.
11075 # Note that this assumes the entire list is on one line.
11076 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11078 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
11079 for tagname
in $tagnames; do
11081 # Check whether tagname contains only valid characters
11082 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11084 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11085 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11086 { (exit 1); exit 1; }; }
11090 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
11092 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11093 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11094 { (exit 1); exit 1; }; }
11097 # Update the list of available tags.
11098 if test -n "$tagname"; then
11099 echo appending configuration tag
\"$tagname\" to
$ofile
11103 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11104 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11105 (test "X$CXX" != "Xg++"))) ; then
11107 ac_cpp
='$CXXCPP $CPPFLAGS'
11108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11115 archive_cmds_need_lc_CXX
=no
11116 allow_undefined_flag_CXX
=
11117 always_export_symbols_CXX
=no
11118 archive_expsym_cmds_CXX
=
11119 export_dynamic_flag_spec_CXX
=
11120 hardcode_direct_CXX
=no
11121 hardcode_libdir_flag_spec_CXX
=
11122 hardcode_libdir_flag_spec_ld_CXX
=
11123 hardcode_libdir_separator_CXX
=
11124 hardcode_minus_L_CXX
=no
11125 hardcode_shlibpath_var_CXX
=unsupported
11126 hardcode_automatic_CXX
=no
11128 module_expsym_cmds_CXX
=
11129 link_all_deplibs_CXX
=unknown
11130 old_archive_cmds_CXX
=$old_archive_cmds
11131 no_undefined_flag_CXX
=
11132 whole_archive_flag_spec_CXX
=
11133 enable_shared_with_static_runtimes_CXX
=no
11135 # Dependencies to place before and after the object being linked:
11136 predep_objects_CXX
=
11137 postdep_objects_CXX
=
11140 compiler_lib_search_path_CXX
=
11142 # Source file extension for C++ test sources.
11145 # Object file extension for compiled C++ test sources.
11149 # Code to be used in simple compile tests
11150 lt_simple_compile_test_code
="int some_variable = 0;\n"
11152 # Code to be used in simple link tests
11153 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
11155 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11157 # If no C compiler was specified, use CC.
11160 # If no C compiler flags were specified, use CFLAGS.
11161 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11163 # Allow CC to be a program name with arguments.
11167 # save warnings/boilerplate of simple test code
11168 ac_outfile
=conftest.
$ac_objext
11169 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
11170 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11171 _lt_compiler_boilerplate
=`cat conftest.err`
11174 ac_outfile
=conftest.
$ac_objext
11175 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
11176 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11177 _lt_linker_boilerplate
=`cat conftest.err`
11181 # Allow CC to be a program name with arguments.
11186 lt_save_with_gnu_ld
=$with_gnu_ld
11187 lt_save_path_LD
=$lt_cv_path_LD
11188 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11189 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11191 $as_unset lt_cv_prog_gnu_ld
11193 if test -n "${lt_cv_path_LDCXX+set}"; then
11194 lt_cv_path_LD
=$lt_cv_path_LDCXX
11196 $as_unset lt_cv_path_LD
11198 test -z "${LDCXX+set}" || LD
=$LDCXX
11202 for cc_temp
in $compiler""; do
11204 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11205 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11210 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11213 # We don't want -fno-exception wen compiling C++ code, so set the
11214 # no_builtin_flag separately
11215 if test "$GXX" = yes; then
11216 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11218 lt_prog_compiler_no_builtin_flag_CXX
=
11221 if test "$GXX" = yes; then
11222 # Set up default GNU C++ configuration
11225 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11226 if test "${with_gnu_ld+set}" = set; then
11227 withval
="$with_gnu_ld"
11228 test "$withval" = no
|| with_gnu_ld
=yes
11233 if test "$GCC" = yes; then
11234 # Check if gcc -print-prog-name=ld gives a path.
11235 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11236 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11239 # gcc leaves a trailing carriage return which upsets mingw
11240 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11242 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11245 # Accept absolute paths.
11247 re_direlt
='/[^/][^/]*/\.\./'
11248 # Canonicalize the pathname of ld
11249 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
11250 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
11251 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11253 test -z "$LD" && LD
="$ac_prog"
11256 # If it fails, then pretend we aren't using GCC.
11260 # If it is relative, then search for the first ld in PATH.
11261 with_gnu_ld
=unknown
11264 elif test "$with_gnu_ld" = yes; then
11265 echo "$as_me:$LINENO: checking for GNU ld" >&5
11266 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11268 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11269 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11271 if test "${lt_cv_path_LD+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11274 if test -z "$LD"; then
11275 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11276 for ac_dir
in $PATH; do
11278 test -z "$ac_dir" && ac_dir
=.
11279 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11280 lt_cv_path_LD
="$ac_dir/$ac_prog"
11281 # Check to see if the program is GNU ld. I'd rather use --version,
11282 # but apparently some variants of GNU ld only accept -v.
11283 # Break only if it was the GNU/non-GNU ld that we prefer.
11284 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11285 *GNU
* | *'with BFD'*)
11286 test "$with_gnu_ld" != no
&& break
11289 test "$with_gnu_ld" != yes && break
11296 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11300 LD
="$lt_cv_path_LD"
11301 if test -n "$LD"; then
11302 echo "$as_me:$LINENO: result: $LD" >&5
11303 echo "${ECHO_T}$LD" >&6
11305 echo "$as_me:$LINENO: result: no" >&5
11306 echo "${ECHO_T}no" >&6
11308 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11309 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11310 { (exit 1); exit 1; }; }
11311 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11312 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11313 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11317 case `$LD -v 2>&1 </dev/null` in
11318 *GNU
* | *'with BFD'*)
11319 lt_cv_prog_gnu_ld
=yes
11322 lt_cv_prog_gnu_ld
=no
11326 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11327 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11328 with_gnu_ld
=$lt_cv_prog_gnu_ld
11332 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11333 # archiving commands below assume that GNU ld is being used.
11334 if test "$with_gnu_ld" = yes; then
11335 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11336 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'
11338 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11339 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11341 # If archive_cmds runs LD, not CC, wlarc should be empty
11342 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11343 # investigate it a little bit more. (MM)
11346 # ancient GNU ld didn't support --whole-archive et. al.
11347 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11348 grep 'no-whole-archive' > /dev
/null
; then
11349 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11351 whole_archive_flag_spec_CXX
=
11357 # A generic and very simple default shared library creation
11358 # command for GNU C++ for the case where it uses the native
11359 # linker, instead of GNU ld. If possible, this setting should
11360 # overridden to take advantage of the native linker features on
11361 # the platform it is being used on.
11362 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11365 # Commands to make compiler produce verbose output that lists
11366 # what "hidden" libraries, object files and flags are used when
11367 # linking a shared library.
11368 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11376 # PORTME: fill in a description of your system's C++ link characteristics
11377 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11378 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11382 # FIXME: insert proper C++ library support
11386 if test "$host_cpu" = ia64
; then
11387 # On IA64, the linker does run time linking by default, so we don't
11388 # have to do anything special.
11389 aix_use_runtimelinking
=no
11390 exp_sym_flag
='-Bexport'
11393 aix_use_runtimelinking
=no
11395 # Test if we are trying to use run time linking or normal
11396 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11397 # need to do runtime linking.
11398 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11399 for ld_flag
in $LDFLAGS; do
11402 aix_use_runtimelinking
=yes
11410 exp_sym_flag
='-bexport'
11411 no_entry_flag
='-bnoentry'
11414 # When large executables or shared objects are built, AIX ld can
11415 # have problems creating the table of contents. If linking a library
11416 # or program results in "error TOC overflow" add -mminimal-toc to
11417 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11418 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11420 archive_cmds_CXX
=''
11421 hardcode_direct_CXX
=yes
11422 hardcode_libdir_separator_CXX
=':'
11423 link_all_deplibs_CXX
=yes
11425 if test "$GXX" = yes; then
11426 case $host_os in aix4.
[012]|aix4.
[012].
*)
11427 # We only want to do this on AIX 4.2 and lower, the check
11428 # below for broken collect2 doesn't work under 4.3+
11429 collect2name
=`${CC} -print-prog-name=collect2`
11430 if test -f "$collect2name" && \
11431 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
11433 # We have reworked collect2
11434 hardcode_direct_CXX
=yes
11436 # We have old collect2
11437 hardcode_direct_CXX
=unsupported
11438 # It fails to find uninstalled libraries when the uninstalled
11439 # path is not listed in the libpath. Setting hardcode_minus_L
11440 # to unsupported forces relinking
11441 hardcode_minus_L_CXX
=yes
11442 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11443 hardcode_libdir_separator_CXX
=
11447 shared_flag
='-shared'
11448 if test "$aix_use_runtimelinking" = yes; then
11449 shared_flag
="$shared_flag "'${wl}-G'
11453 if test "$host_cpu" = ia64
; then
11454 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11455 # chokes on -Wl,-G. The following line is correct:
11458 if test "$aix_use_runtimelinking" = yes; then
11459 shared_flag
='${wl}-G'
11461 shared_flag
='${wl}-bM:SRE'
11466 # It seems that -bexpall does not export symbols beginning with
11467 # underscore (_), so it is better to generate a list of symbols to export.
11468 always_export_symbols_CXX
=yes
11469 if test "$aix_use_runtimelinking" = yes; then
11470 # Warning - without using the other runtime loading flags (-brtl),
11471 # -berok will link without error, but may produce a broken library.
11472 allow_undefined_flag_CXX
='-berok'
11473 # Determine the default libpath from the value encoded in an empty executable.
11474 cat >conftest.
$ac_ext <<_ACEOF
11477 cat confdefs.h
>>conftest.
$ac_ext
11478 cat >>conftest.
$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11489 rm -f conftest.
$ac_objext conftest
$ac_exeext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11491 (eval $ac_link) 2>conftest.er1
11493 grep -v '^ *+' conftest.er1
>conftest.err
11495 cat conftest.err
>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try
='test -s conftest$ac_exeext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11511 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11513 # Check for a 64-bit object if we didn't find anything.
11514 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; }
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.
$ac_ext >&5
11521 rm -f conftest.err conftest.
$ac_objext \
11522 conftest
$ac_exeext conftest.
$ac_ext
11523 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11525 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11527 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"
11529 if test "$host_cpu" = ia64
; then
11530 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11531 allow_undefined_flag_CXX
="-z nodefs"
11532 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"
11534 # Determine the default libpath from the value encoded in an empty executable.
11535 cat >conftest.
$ac_ext <<_ACEOF
11538 cat confdefs.h
>>conftest.
$ac_ext
11539 cat >>conftest.
$ac_ext <<_ACEOF
11540 /* end confdefs.h. */
11550 rm -f conftest.
$ac_objext conftest
$ac_exeext
11551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11552 (eval $ac_link) 2>conftest.er1
11554 grep -v '^ *+' conftest.er1
>conftest.err
11556 cat conftest.err
>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); } &&
11559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; } &&
11565 { ac_try
='test -s conftest$ac_exeext'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; }; then
11572 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11574 # Check for a 64-bit object if we didn't find anything.
11575 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; }
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11582 rm -f conftest.err conftest.
$ac_objext \
11583 conftest
$ac_exeext conftest.
$ac_ext
11584 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11586 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11587 # Warning - without using the other run time loading flags,
11588 # -berok will link without error, but may produce a broken library.
11589 no_undefined_flag_CXX
=' ${wl}-bernotok'
11590 allow_undefined_flag_CXX
=' ${wl}-berok'
11591 # Exported symbols can be pulled into shared objects from archives
11592 whole_archive_flag_spec_CXX
='$convenience'
11593 archive_cmds_need_lc_CXX
=yes
11594 # This is similar to how AIX traditionally builds its shared libraries.
11595 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'
11601 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
11602 allow_undefined_flag_CXX
=unsupported
11603 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11604 # support --undefined. This deserves some investigation. FIXME
11605 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11612 case $cc_basename in
11614 # FIXME: insert proper C++ library support
11620 cygwin
* | mingw
* | pw32
*)
11621 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11622 # as there is no search path for DLLs.
11623 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11624 allow_undefined_flag_CXX
=unsupported
11625 always_export_symbols_CXX
=no
11626 enable_shared_with_static_runtimes_CXX
=yes
11628 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
11629 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'
11630 # If the export-symbols file already is a .def file (1st line
11631 # is EXPORTS), use it as is; otherwise, prepend...
11632 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11633 cp $export_symbols $output_objdir/$soname.def;
11635 echo EXPORTS > $output_objdir/$soname.def;
11636 cat $export_symbols >> $output_objdir/$soname.def;
11638 $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'
11643 darwin
* | rhapsody
*)
11645 rhapsody
* | darwin1.
[012])
11646 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11649 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11650 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11652 case ${MACOSX_DEPLOYMENT_TARGET} in
11654 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11657 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11663 archive_cmds_need_lc_CXX
=no
11664 hardcode_direct_CXX
=no
11665 hardcode_automatic_CXX
=yes
11666 hardcode_shlibpath_var_CXX
=unsupported
11667 whole_archive_flag_spec_CXX
=''
11668 link_all_deplibs_CXX
=yes
11670 if test "$GXX" = yes ; then
11671 lt_int_apple_cc_single_mod
=no
11672 output_verbose_link_cmd
='echo'
11673 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev
/null
; then
11674 lt_int_apple_cc_single_mod
=yes
11676 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11677 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11679 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'
11681 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11682 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11683 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11684 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}'
11686 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}'
11688 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}'
11690 case $cc_basename in
11692 output_verbose_link_cmd
='echo'
11693 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'
11694 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11695 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11696 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}'
11697 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}'
11707 case $cc_basename in
11709 # FIXME: insert proper C++ library support
11713 # Green Hills C++ Compiler
11714 # FIXME: insert proper C++ library support
11718 # FIXME: insert proper C++ library support
11724 # C++ shared libraries reported to be fairly broken before switch to ELF
11728 archive_cmds_need_lc_CXX
=no
11730 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11731 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11738 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11739 hardcode_libdir_separator_CXX
=:
11740 export_dynamic_flag_spec_CXX
='${wl}-E'
11741 hardcode_direct_CXX
=yes
11742 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11743 # but as the default
11744 # location of the library.
11746 case $cc_basename in
11748 # FIXME: insert proper C++ library support
11752 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'
11753 # Commands to make compiler produce verbose output that lists
11754 # what "hidden" libraries, object files and flags are used when
11755 # linking a shared library.
11757 # There doesn't appear to be a way to prevent this compiler from
11758 # explicitly linking system object files so we need to strip them
11759 # from the output so that they don't get included in the library
11761 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'
11764 if test "$GXX" = yes; then
11765 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'
11767 # FIXME: insert proper C++ library support
11774 if test $with_gnu_ld = no
; then
11775 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11776 hardcode_libdir_separator_CXX
=:
11780 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11783 export_dynamic_flag_spec_CXX
='${wl}-E'
11789 hardcode_direct_CXX
=no
11790 hardcode_shlibpath_var_CXX
=no
11793 hardcode_direct_CXX
=yes
11794 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11795 # but as the default
11796 # location of the library.
11800 case $cc_basename in
11802 # FIXME: insert proper C++ library support
11808 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11811 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11814 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11817 # Commands to make compiler produce verbose output that lists
11818 # what "hidden" libraries, object files and flags are used when
11819 # linking a shared library.
11821 # There doesn't appear to be a way to prevent this compiler from
11822 # explicitly linking system object files so we need to strip them
11823 # from the output so that they don't get included in the library
11825 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'
11828 if test "$GXX" = yes; then
11829 if test $with_gnu_ld = no
; then
11832 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11835 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11838 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'
11843 # FIXME: insert proper C++ library support
11850 hardcode_direct_CXX
=no
11851 hardcode_shlibpath_var_CXX
=no
11852 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11853 export_dynamic_flag_spec_CXX
='${wl}-E'
11854 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11855 # Instead, shared libraries are loaded at an image base (0x10000000 by
11856 # default) and relocated if they conflict, which is a slow very memory
11857 # consuming and fragmenting process. To avoid this, we pick a random,
11858 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11859 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11860 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'
11861 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'
11864 case $cc_basename in
11867 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'
11869 # Archives containing C++ object files must be created using
11870 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11871 # necessary to make sure instantiated templates are included
11873 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11876 if test "$GXX" = yes; then
11877 if test "$with_gnu_ld" = no
; then
11878 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'
11880 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'
11883 link_all_deplibs_CXX
=yes
11886 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11887 hardcode_libdir_separator_CXX
=:
11890 case $cc_basename in
11892 # Kuck and Associates, Inc. (KAI) C++ Compiler
11894 # KCC will only create a shared library if the output file
11895 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11896 # to its proper name (with version) after linking.
11897 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'
11898 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'
11899 # Commands to make compiler produce verbose output that lists
11900 # what "hidden" libraries, object files and flags are used when
11901 # linking a shared library.
11903 # There doesn't appear to be a way to prevent this compiler from
11904 # explicitly linking system object files so we need to strip them
11905 # from the output so that they don't get included in the library
11907 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'
11909 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11910 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11912 # Archives containing C++ object files must be created using
11913 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11914 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11919 # version 8.0 and above of icpc choke on multiply defined symbols
11920 # if we add $predep_objects and $postdep_objects, however 7.1 and
11921 # earlier do not add the objects themselves.
11922 case `$CC -V 2>&1` in
11924 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11925 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'
11927 *) # Version 8.0 or newer
11930 ia64
*) tmp_idyn
=' -i_dynamic';;
11932 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11933 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'
11936 archive_cmds_need_lc_CXX
=no
11937 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11938 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11939 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11942 # Portland Group C++ compiler
11943 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11944 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'
11946 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11947 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11948 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'
11952 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11953 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'
11955 runpath_var
=LD_RUN_PATH
11956 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11957 hardcode_libdir_separator_CXX
=:
11959 # Commands to make compiler produce verbose output that lists
11960 # what "hidden" libraries, object files and flags are used when
11961 # linking a shared library.
11963 # There doesn't appear to be a way to prevent this compiler from
11964 # explicitly linking system object files so we need to strip them
11965 # from the output so that they don't get included in the library
11967 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'
11972 # FIXME: insert proper C++ library support
11976 # FIXME: insert proper C++ library support
11980 case $cc_basename in
11982 # FIXME: insert proper C++ library support
11986 # FIXME: insert proper C++ library support
11991 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
11992 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
11993 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11995 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11996 hardcode_direct_CXX
=yes
11997 hardcode_shlibpath_var_CXX
=no
11999 # Workaround some broken pre-1.5 toolchains
12000 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12003 # C++ shared libraries are fairly broken
12007 hardcode_direct_CXX
=yes
12008 hardcode_shlibpath_var_CXX
=no
12009 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12010 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12011 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12012 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12013 export_dynamic_flag_spec_CXX
='${wl}-E'
12014 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12016 output_verbose_link_cmd
='echo'
12019 case $cc_basename in
12021 # Kuck and Associates, Inc. (KAI) C++ Compiler
12023 # KCC will only create a shared library if the output file
12024 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12025 # to its proper name (with version) after linking.
12026 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'
12028 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12029 hardcode_libdir_separator_CXX
=:
12031 # Archives containing C++ object files must be created using
12032 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12033 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12037 # Rational C++ 2.4.1
12038 # FIXME: insert proper C++ library support
12042 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12043 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'
12045 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12046 hardcode_libdir_separator_CXX
=:
12048 # Commands to make compiler produce verbose output that lists
12049 # what "hidden" libraries, object files and flags are used when
12050 # linking a shared library.
12052 # There doesn't appear to be a way to prevent this compiler from
12053 # explicitly linking system object files so we need to strip them
12054 # from the output so that they don't get included in the library
12056 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'
12059 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12060 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12061 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'
12063 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12064 hardcode_libdir_separator_CXX
=:
12066 # Commands to make compiler produce verbose output that lists
12067 # what "hidden" libraries, object files and flags are used when
12068 # linking a shared library.
12069 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12072 # FIXME: insert proper C++ library support
12079 case $cc_basename in
12081 # Kuck and Associates, Inc. (KAI) C++ Compiler
12083 # KCC will only create a shared library if the output file
12084 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12085 # to its proper name (with version) after linking.
12086 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'
12088 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12089 hardcode_libdir_separator_CXX
=:
12091 # Archives containing C++ object files must be created using
12092 # the KAI C++ compiler.
12093 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12096 # Rational C++ 2.4.1
12097 # FIXME: insert proper C++ library support
12101 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12102 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'
12103 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12104 echo "-hidden">> $lib.exp~
12105 $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~
12108 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12109 hardcode_libdir_separator_CXX
=:
12111 # Commands to make compiler produce verbose output that lists
12112 # what "hidden" libraries, object files and flags are used when
12113 # linking a shared library.
12115 # There doesn't appear to be a way to prevent this compiler from
12116 # explicitly linking system object files so we need to strip them
12117 # from the output so that they don't get included in the library
12119 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'
12122 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12123 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12124 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'
12126 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12127 hardcode_libdir_separator_CXX
=:
12129 # Commands to make compiler produce verbose output that lists
12130 # what "hidden" libraries, object files and flags are used when
12131 # linking a shared library.
12132 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12135 # FIXME: insert proper C++ library support
12142 # FIXME: insert proper C++ library support
12146 case $cc_basename in
12149 # FIXME: insert proper C++ library support
12154 # FIXME: insert proper C++ library support
12158 # FIXME: insert proper C++ library support
12164 case $cc_basename in
12166 # Sun C++ 4.2, 5.x and Centerline C++
12167 archive_cmds_need_lc_CXX
=yes
12168 no_undefined_flag_CXX
=' -zdefs'
12169 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12170 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12171 $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'
12173 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12174 hardcode_shlibpath_var_CXX
=no
12176 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12178 # The C++ compiler is used as linker so we must use $wl
12179 # flag to pass the commands to the underlying system
12180 # linker. We must also pass each convience library through
12181 # to the system linker between allextract/defaultextract.
12182 # The C++ compiler will combine linker options so we
12183 # cannot just pass the convience library names through
12185 # Supported since Solaris 2.6 (maybe 2.5.1?)
12186 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'
12189 link_all_deplibs_CXX
=yes
12191 output_verbose_link_cmd
='echo'
12193 # Archives containing C++ object files must be created using
12194 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12195 # necessary to make sure instantiated templates are included
12197 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12200 # Green Hills C++ Compiler
12201 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12203 # The C++ compiler must be used to create the archive.
12204 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12207 # GNU C++ compiler with Solaris linker
12208 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12209 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12210 if $CC --version | grep -v '^2\.7' > /dev
/null
; then
12211 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12212 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12213 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12215 # Commands to make compiler produce verbose output that lists
12216 # what "hidden" libraries, object files and flags are used when
12217 # linking a shared library.
12218 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12220 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12222 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12223 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12224 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12226 # Commands to make compiler produce verbose output that lists
12227 # what "hidden" libraries, object files and flags are used when
12228 # linking a shared library.
12229 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12232 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12237 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12238 no_undefined_flag_CXX
='${wl}-z,text'
12239 archive_cmds_need_lc_CXX
=no
12240 hardcode_shlibpath_var_CXX
=no
12241 runpath_var
='LD_RUN_PATH'
12243 case $cc_basename in
12245 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12246 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12249 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12250 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12254 sysv5
* | sco3.2v5
* | sco5v6
*)
12255 # Note: We can NOT use -z defs as we might desire, because we do not
12256 # link with -lc, and that would cause any symbols used from libc to
12257 # always be unresolved, which means just about no library would
12258 # ever link correctly. If we're not using GNU ld we use -z text
12259 # though, which does catch some bad symbols but isn't as heavy-handed
12261 # For security reasons, it is highly recommended that you always
12262 # use absolute paths for naming shared libraries, and exclude the
12263 # DT_RUNPATH tag from executables and libraries. But doing so
12264 # requires that you compile everything twice, which is a pain.
12265 # So that behaviour is only enabled if SCOABSPATH is set to a
12266 # non-empty value in the environment. Most likely only useful for
12267 # creating official distributions of packages.
12268 # This is a hack until libtool officially supports absolute path
12269 # names for shared libraries.
12270 no_undefined_flag_CXX
='${wl}-z,text'
12271 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12272 archive_cmds_need_lc_CXX
=no
12273 hardcode_shlibpath_var_CXX
=no
12274 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12275 hardcode_libdir_separator_CXX
=':'
12276 link_all_deplibs_CXX
=yes
12277 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12278 runpath_var
='LD_RUN_PATH'
12280 case $cc_basename in
12282 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12283 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12286 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12287 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12292 case $cc_basename in
12294 # NonStop-UX NCC 3.20
12295 # FIXME: insert proper C++ library support
12299 # FIXME: insert proper C++ library support
12305 # FIXME: insert proper C++ library support
12309 # FIXME: insert proper C++ library support
12313 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12314 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12315 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12321 cat > conftest.
$ac_ext <<EOF
12325 Foo (void) { a = 0; }
12331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12332 (eval $ac_compile) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; then
12336 # Parse the compiler output and extract the necessary
12337 # objects, libraries and library flags.
12339 # Sentinel used to keep track of whether or not we are before
12340 # the conftest object file.
12341 pre_test_object_deps_done
=no
12343 # The `*' in the case matches for architectures that use `case' in
12344 # $output_verbose_cmd can trigger glob expansion during the loop
12345 # eval without this substitution.
12346 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12348 for p
in `eval $output_verbose_link_cmd`; do
12352 # Some compilers place space between "-{L,R}" and the path.
12353 # Remove the space.
12354 if test $p = "-L" \
12355 || test $p = "-R"; then
12362 if test "$pre_test_object_deps_done" = no
; then
12365 # Internal compiler library paths should come after those
12366 # provided the user. The postdeps already come after the
12367 # user supplied libs so there is no need to process them.
12368 if test -z "$compiler_lib_search_path_CXX"; then
12369 compiler_lib_search_path_CXX
="${prev}${p}"
12371 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12374 # The "-l" case would never come before the object being
12375 # linked, so don't bother handling this case.
12378 if test -z "$postdeps_CXX"; then
12379 postdeps_CXX
="${prev}${p}"
12381 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12387 # This assumes that the test object file only shows up
12388 # once in the compiler output.
12389 if test "$p" = "conftest.$objext"; then
12390 pre_test_object_deps_done
=yes
12394 if test "$pre_test_object_deps_done" = no
; then
12395 if test -z "$predep_objects_CXX"; then
12396 predep_objects_CXX
="$p"
12398 predep_objects_CXX
="$predep_objects_CXX $p"
12401 if test -z "$postdep_objects_CXX"; then
12402 postdep_objects_CXX
="$p"
12404 postdep_objects_CXX
="$postdep_objects_CXX $p"
12409 *) ;; # Ignore the rest.
12417 echo "libtool.m4: error: problem compiling CXX test program"
12420 $rm -f confest.
$objext
12422 # PORTME: override above test on systems where it is broken
12425 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12426 # hack all around it, let's just trust "g++" to DTRT.
12427 predep_objects_CXX
=
12428 postdep_objects_CXX
=
12433 case $cc_basename in
12435 # Adding this requires a known-good setup of shared libraries for
12436 # Sun compiler versions before 5.6, else PIC objects from an old
12437 # archive will be linked into the output, leading to subtle bugs.
12438 postdeps_CXX
='-lCstd -lCrun'
12445 case " $postdeps_CXX " in
12446 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12449 lt_prog_compiler_wl_CXX
=
12450 lt_prog_compiler_pic_CXX
=
12451 lt_prog_compiler_static_CXX
=
12453 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12454 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12456 # C++ specific cases for pic, static, wl, etc.
12457 if test "$GXX" = yes; then
12458 lt_prog_compiler_wl_CXX
='-Wl,'
12459 lt_prog_compiler_static_CXX
='-static'
12463 # All AIX code is PIC.
12464 if test "$host_cpu" = ia64
; then
12465 # AIX 5 now supports IA64 processor
12466 lt_prog_compiler_static_CXX
='-Bstatic'
12470 # FIXME: we need at least 68020 code to build shared libraries, but
12471 # adding the `-m68020' flag to GCC prevents building anything better,
12473 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12475 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12476 # PIC is the default for these OSes.
12478 mingw
* | os2
* | pw32
*)
12479 # This hack is so that the source file can tell whether it is being
12480 # built for inclusion in a dll (and should export symbols for example).
12481 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12483 darwin
* | rhapsody
*)
12484 # PIC is the default on this platform
12485 # Common symbols not allowed in MH_DYLIB files
12486 lt_prog_compiler_pic_CXX
='-fno-common'
12489 # DJGPP does not support shared libraries at all
12490 lt_prog_compiler_pic_CXX
=
12493 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12494 # Instead, we relocate shared libraries at runtime.
12497 if test -d /usr
/nec
; then
12498 lt_prog_compiler_pic_CXX
=-Kconform_pic
12502 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12503 # not for PA HP-UX.
12508 lt_prog_compiler_pic_CXX
='-fPIC'
12513 lt_prog_compiler_pic_CXX
='-fPIC'
12519 # All AIX code is PIC.
12520 if test "$host_cpu" = ia64
; then
12521 # AIX 5 now supports IA64 processor
12522 lt_prog_compiler_static_CXX
='-Bstatic'
12524 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12528 case $cc_basename in
12530 # Green Hills C++ Compiler
12531 # _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"
12536 # PIC is the default on this platform
12537 # Common symbols not allowed in MH_DYLIB files
12538 case $cc_basename in
12540 lt_prog_compiler_pic_CXX
='-qnocommon'
12541 lt_prog_compiler_wl_CXX
='-Wl,'
12546 case $cc_basename in
12548 lt_prog_compiler_pic_CXX
='-KPIC'
12551 # Green Hills C++ Compiler
12552 lt_prog_compiler_pic_CXX
='-pic'
12558 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12559 # FreeBSD uses GNU C++
12561 hpux9
* | hpux10
* | hpux11
*)
12562 case $cc_basename in
12564 lt_prog_compiler_wl_CXX
='-Wl,'
12565 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12566 if test "$host_cpu" != ia64
; then
12567 lt_prog_compiler_pic_CXX
='+Z'
12571 lt_prog_compiler_wl_CXX
='-Wl,'
12572 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12578 lt_prog_compiler_pic_CXX
='+Z'
12587 # This is c89, which is MS Visual C++ (no shared libs)
12588 # Anyone wants to do a port?
12590 irix5
* | irix6
* | nonstopux
*)
12591 case $cc_basename in
12593 lt_prog_compiler_wl_CXX
='-Wl,'
12594 lt_prog_compiler_static_CXX
='-non_shared'
12595 # CC pic flag -KPIC is the default.
12602 case $cc_basename in
12605 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12606 lt_prog_compiler_pic_CXX
='-fPIC'
12610 lt_prog_compiler_wl_CXX
='-Wl,'
12611 lt_prog_compiler_pic_CXX
='-KPIC'
12612 lt_prog_compiler_static_CXX
='-static'
12615 # Portland Group C++ compiler.
12616 lt_prog_compiler_wl_CXX
='-Wl,'
12617 lt_prog_compiler_pic_CXX
='-fpic'
12618 lt_prog_compiler_static_CXX
='-Bstatic'
12622 # Make sure the PIC flag is empty. It appears that all Alpha
12623 # Linux and Compaq Tru64 Unix objects are PIC.
12624 lt_prog_compiler_pic_CXX
=
12625 lt_prog_compiler_static_CXX
='-non_shared'
12636 case $cc_basename in
12638 lt_prog_compiler_pic_CXX
='-W c,exportall'
12644 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
12646 osf3
* | osf4
* | osf5
*)
12647 case $cc_basename in
12649 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12652 # Rational C++ 2.4.1
12653 lt_prog_compiler_pic_CXX
='-pic'
12656 # Digital/Compaq C++
12657 lt_prog_compiler_wl_CXX
='-Wl,'
12658 # Make sure the PIC flag is empty. It appears that all Alpha
12659 # Linux and Compaq Tru64 Unix objects are PIC.
12660 lt_prog_compiler_pic_CXX
=
12661 lt_prog_compiler_static_CXX
='-non_shared'
12670 case $cc_basename in
12672 # Sun C++ 4.2, 5.x and Centerline C++
12673 lt_prog_compiler_pic_CXX
='-KPIC'
12674 lt_prog_compiler_static_CXX
='-Bstatic'
12675 lt_prog_compiler_wl_CXX
='-Qoption ld '
12678 # Green Hills C++ Compiler
12679 lt_prog_compiler_pic_CXX
='-PIC'
12686 case $cc_basename in
12689 lt_prog_compiler_pic_CXX
='-pic'
12690 lt_prog_compiler_static_CXX
='-Bstatic'
12694 lt_prog_compiler_pic_CXX
='-pic'
12701 case $cc_basename in
12703 # NonStop-UX NCC 3.20
12704 lt_prog_compiler_pic_CXX
='-KPIC'
12710 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12711 case $cc_basename in
12713 lt_prog_compiler_wl_CXX
='-Wl,'
12714 lt_prog_compiler_pic_CXX
='-KPIC'
12715 lt_prog_compiler_static_CXX
='-Bstatic'
12722 lt_prog_compiler_can_build_shared_CXX
=no
12727 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12728 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12731 # Check to make sure the PIC flag actually works.
12733 if test -n "$lt_prog_compiler_pic_CXX"; then
12735 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12736 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12737 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12738 echo $ECHO_N "(cached) $ECHO_C" >&6
12740 lt_prog_compiler_pic_works_CXX
=no
12741 ac_outfile
=conftest.
$ac_objext
12742 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12743 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12744 # Insert the option either (1) after the last *FLAGS variable, or
12745 # (2) before a word containing "conftest.", or (3) at the end.
12746 # Note that $ac_compile itself does not contain backslashes and begins
12747 # with a dollar sign (not a hyphen), so the echo should work correctly.
12748 # The option is referenced via a variable to avoid confusing sed.
12749 lt_compile
=`echo "$ac_compile" | $SED \
12750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12752 -e 's:$: $lt_compiler_flag:'`
12753 (eval echo "\"\$as_me:12753: $lt_compile\"" >&5)
12754 (eval "$lt_compile" 2>conftest.err
)
12756 cat conftest.err
>&5
12757 echo "$as_me:12757: \$? = $ac_status" >&5
12758 if (exit $ac_status) && test -s "$ac_outfile"; then
12759 # The compiler can only warn and ignore the option if not recognized
12760 # So say no if there are warnings other than the usual output.
12761 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12762 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12763 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12764 lt_prog_compiler_pic_works_CXX
=yes
12770 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12771 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12773 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12774 case $lt_prog_compiler_pic_CXX in
12776 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12779 lt_prog_compiler_pic_CXX
=
12780 lt_prog_compiler_can_build_shared_CXX
=no
12785 # For platforms which do not support PIC, -DPIC is meaningless:
12787 lt_prog_compiler_pic_CXX
=
12790 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12795 # Check to make sure the static flag actually works.
12797 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12798 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12799 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12800 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 lt_prog_compiler_static_works_CXX
=no
12804 save_LDFLAGS
="$LDFLAGS"
12805 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12806 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12807 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12808 # The linker can only warn and ignore the option if not recognized
12809 # So say no if there are warnings
12810 if test -s conftest.err
; then
12811 # Append any errors to the config.log.
12812 cat conftest.err
1>&5
12813 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12814 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12815 if diff conftest.exp conftest.er2
>/dev
/null
; then
12816 lt_prog_compiler_static_works_CXX
=yes
12819 lt_prog_compiler_static_works_CXX
=yes
12823 LDFLAGS
="$save_LDFLAGS"
12826 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12827 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12829 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12832 lt_prog_compiler_static_CXX
=
12836 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12837 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12838 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 lt_cv_prog_compiler_c_o_CXX
=no
12842 $rm -r conftest
2>/dev
/null
12846 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12848 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12849 # Insert the option either (1) after the last *FLAGS variable, or
12850 # (2) before a word containing "conftest.", or (3) at the end.
12851 # Note that $ac_compile itself does not contain backslashes and begins
12852 # with a dollar sign (not a hyphen), so the echo should work correctly.
12853 lt_compile
=`echo "$ac_compile" | $SED \
12854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12856 -e 's:$: $lt_compiler_flag:'`
12857 (eval echo "\"\$as_me:12857: $lt_compile\"" >&5)
12858 (eval "$lt_compile" 2>out
/conftest.err
)
12860 cat out
/conftest.err
>&5
12861 echo "$as_me:12861: \$? = $ac_status" >&5
12862 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12864 # The compiler can only warn and ignore the option if not recognized
12865 # So say no if there are warnings
12866 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12867 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12868 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12869 lt_cv_prog_compiler_c_o_CXX
=yes
12874 # SGI C++ compiler will create directory out/ii_files/ for
12875 # template instantiation
12876 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12877 $rm out
/* && rmdir out
12883 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12884 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12887 hard_links
="nottested"
12888 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12889 # do not overwrite the value of need_locks provided by the user
12890 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12891 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12894 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12896 ln conftest.a conftest.b
2>&5 || hard_links
=no
12897 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12898 echo "$as_me:$LINENO: result: $hard_links" >&5
12899 echo "${ECHO_T}$hard_links" >&6
12900 if test "$hard_links" = no
; then
12901 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12902 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12909 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12910 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12912 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12915 # If we're using GNU nm, then we don't want the "-C" option.
12916 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12917 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
12918 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'
12920 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'
12924 export_symbols_cmds_CXX
="$ltdll_cmds"
12927 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'
12930 link_all_deplibs_CXX
=no
12933 link_all_deplibs_CXX
=no
12936 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12940 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12941 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12942 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12945 # Do we need to explicitly link libc?
12947 case "x$archive_cmds_need_lc_CXX" in
12949 # Assume -lc should be added
12950 archive_cmds_need_lc_CXX
=yes
12952 if test "$enable_shared" = yes && test "$GCC" = yes; then
12953 case $archive_cmds_CXX in
12955 # FIXME: we may have to deal with multi-command sequences.
12958 # Test whether the compiler implicitly links with -lc since on some
12959 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12960 # to ld, don't add -lc before -lgcc.
12961 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12962 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12964 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); } 2>conftest.err
; then
12973 libobjs
=conftest.
$ac_objext
12975 wl
=$lt_prog_compiler_wl_CXX
12976 pic_flag
=$lt_prog_compiler_pic_CXX
12982 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12983 allow_undefined_flag_CXX
=
12984 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12985 (eval $archive_cmds_CXX 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }
12990 archive_cmds_need_lc_CXX
=no
12992 archive_cmds_need_lc_CXX
=yes
12994 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12996 cat conftest.err
1>&5
12999 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13000 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13007 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13008 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13009 library_names_spec
=
13010 libname_spec
='lib$name'
13014 postuninstall_cmds
=
13018 shlibpath_overrides_runpath
=unknown
13020 dynamic_linker
="$host_os ld.so"
13021 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13022 if test "$GCC" = yes; then
13023 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13024 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
13025 # if the path contains ";" then we assume it to be the separator
13026 # otherwise default to the standard path separator (i.e. ":") - it is
13027 # assumed that no part of a normal pathname contains ";" but that should
13028 # okay in the real world where ";" in dirpaths is itself problematic.
13029 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13031 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13034 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13036 need_lib_prefix
=unknown
13037 hardcode_into_libs
=no
13039 # when you set need_version to no, make sure it does not cause -set_version
13040 # flags to be left without arguments
13041 need_version
=unknown
13046 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13047 shlibpath_var
=LIBPATH
13049 # AIX 3 has no versioning support, so we append a major version to the name.
13050 soname_spec
='${libname}${release}${shared_ext}$major'
13057 hardcode_into_libs
=yes
13058 if test "$host_cpu" = ia64
; then
13059 # AIX 5 supports IA64
13060 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13061 shlibpath_var
=LD_LIBRARY_PATH
13063 # With GCC up to 2.95.x, collect2 would create an import file
13064 # for dependence libraries. The import file would start with
13065 # the line `#! .'. This would cause the generated library to
13066 # depend on `.', always an invalid library. This was fixed in
13067 # development snapshots of GCC prior to 3.0.
13069 aix4
| aix4.
[01] | aix4.
[01].
*)
13070 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13072 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
13075 can_build_shared
=no
13079 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13080 # soname into executable. Probably we can add versioning support to
13081 # collect2, so additional links can be useful in future.
13082 if test "$aix_use_runtimelinking" = yes; then
13083 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13084 # instead of lib<name>.a to let people know that these are not
13085 # typical AIX shared libraries.
13086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13088 # We preserve .a as extension for shared libraries through AIX4.2
13089 # and later when we are not doing run time linking.
13090 library_names_spec
='${libname}${release}.a $libname.a'
13091 soname_spec
='${libname}${release}${shared_ext}$major'
13093 shlibpath_var
=LIBPATH
13098 library_names_spec
='$libname.ixlibrary $libname.a'
13099 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13100 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'
13104 library_names_spec
='${libname}${shared_ext}'
13105 dynamic_linker
="$host_os ld.so"
13106 shlibpath_var
=LIBRARY_PATH
13112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13113 soname_spec
='${libname}${release}${shared_ext}$major'
13114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13115 shlibpath_var
=LD_LIBRARY_PATH
13116 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13117 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13118 # the default ld.so.conf also contains /usr/contrib/lib and
13119 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13120 # libtool to hard-code these into programs
13123 cygwin
* | mingw
* | pw32
*)
13124 version_type
=windows
13129 case $GCC,$host_os in
13130 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
13131 library_names_spec
='$libname.dll.a'
13132 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13133 postinstall_cmds
='base_file=`basename \${file}`~
13134 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13135 dldir=$destdir/`dirname \$dlpath`~
13136 test -d \$dldir || mkdir -p \$dldir~
13137 $install_prog $dir/$dlname \$dldir/$dlname~
13138 chmod a+x \$dldir/$dlname'
13139 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13140 dlpath=$dir/\$dldll~
13142 shlibpath_overrides_runpath
=yes
13146 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13147 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13148 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13151 # MinGW DLLs use traditional 'lib' prefix
13152 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13153 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13154 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
13155 # It is most probably a Windows format PATH printed by
13156 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13157 # path with ; separators, and with drive letters. We can handle the
13158 # drive letters (cygwin fileutils understands them), so leave them,
13159 # especially as we might pass files found there to a mingw objdump,
13160 # which wouldn't understand a cygwinified path. Ahh.
13161 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13163 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13167 # pw32 DLLs use 'pw' prefix rather than 'lib'
13168 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13174 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13177 dynamic_linker
='Win32 ld.exe'
13178 # FIXME: first we should search . and the directory the executable is in
13182 darwin
* | rhapsody
*)
13183 dynamic_linker
="$host_os dyld"
13184 version_type
=darwin
13187 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13188 soname_spec
='${libname}${release}${major}$shared_ext'
13189 shlibpath_overrides_runpath
=yes
13190 shlibpath_var
=DYLD_LIBRARY_PATH
13191 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13192 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13193 if test "$GCC" = yes; then
13194 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"`
13196 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13198 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13206 soname_spec
='${libname}${release}${shared_ext}$major'
13207 shlibpath_var
=LD_LIBRARY_PATH
13218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13219 soname_spec
='${libname}${release}${shared_ext}$major'
13220 shlibpath_var
=LD_LIBRARY_PATH
13221 shlibpath_overrides_runpath
=no
13222 hardcode_into_libs
=yes
13223 dynamic_linker
='GNU ld.so'
13226 freebsd
* | dragonfly
*)
13227 # DragonFly does not have aout. When/if they implement a new
13228 # versioning mechanism, adjust this.
13229 if test -x /usr
/bin
/objformat
; then
13230 objformat
=`/usr/bin/objformat`
13233 freebsd
[123]*) objformat
=aout
;;
13234 *) objformat
=elf
;;
13237 version_type
=freebsd
-$objformat
13238 case $version_type in
13240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13245 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13249 shlibpath_var
=LD_LIBRARY_PATH
13252 shlibpath_overrides_runpath
=yes
13254 freebsd3.
[01]* | freebsdelf3.
[01]*)
13255 shlibpath_overrides_runpath
=yes
13256 hardcode_into_libs
=yes
13258 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13259 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13260 shlibpath_overrides_runpath
=no
13261 hardcode_into_libs
=yes
13263 freebsd
*) # from 4.6 on
13264 shlibpath_overrides_runpath
=yes
13265 hardcode_into_libs
=yes
13274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13275 soname_spec
='${libname}${release}${shared_ext}$major'
13276 shlibpath_var
=LD_LIBRARY_PATH
13277 hardcode_into_libs
=yes
13280 hpux9
* | hpux10
* | hpux11
*)
13281 # Give a soname corresponding to the major version so that dld.sl refuses to
13282 # link against other versions.
13289 hardcode_into_libs
=yes
13290 dynamic_linker
="$host_os dld.so"
13291 shlibpath_var
=LD_LIBRARY_PATH
13292 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13294 soname_spec
='${libname}${release}${shared_ext}$major'
13295 if test "X$HPUX_IA64_MODE" = X32
; then
13296 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13298 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13300 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13304 hardcode_into_libs
=yes
13305 dynamic_linker
="$host_os dld.sl"
13306 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13307 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13309 soname_spec
='${libname}${release}${shared_ext}$major'
13310 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13315 dynamic_linker
="$host_os dld.sl"
13316 shlibpath_var
=SHLIB_PATH
13317 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13319 soname_spec
='${libname}${release}${shared_ext}$major'
13322 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13323 postinstall_cmds
='chmod 555 $lib'
13330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13331 soname_spec
='${libname}${release}${shared_ext}$major'
13332 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13333 shlibpath_var
=LD_LIBRARY_PATH
13334 shlibpath_overrides_runpath
=no
13335 hardcode_into_libs
=yes
13338 irix5
* | irix6
* | nonstopux
*)
13340 nonstopux
*) version_type
=nonstopux
;;
13342 if test "$lt_cv_prog_gnu_ld" = yes; then
13350 soname_spec
='${libname}${release}${shared_ext}$major'
13351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13353 irix5
* | nonstopux
*)
13354 libsuff
= shlibsuff
=
13357 case $LD in # libtool.m4 will add one of these switches to LD
13358 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13359 libsuff
= shlibsuff
= libmagic
=32-bit;;
13360 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13361 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13362 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13363 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13364 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13368 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13369 shlibpath_overrides_runpath
=no
13370 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13371 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13372 hardcode_into_libs
=yes
13375 # No shared lib support for Linux oldld, aout, or coff.
13376 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13380 # This must be Linux ELF.
13385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13386 soname_spec
='${libname}${release}${shared_ext}$major'
13387 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13388 shlibpath_var
=LD_LIBRARY_PATH
13389 shlibpath_overrides_runpath
=no
13390 # This implies no fast_install, which is unacceptable.
13391 # Some rework will be needed to allow for fast_install
13392 # before this can be enabled.
13393 hardcode_into_libs
=yes
13395 # Append ld.so.conf contents to the search path
13396 if test -f /etc
/ld.so.conf
; then
13397 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13398 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13401 # We used to test for /lib/ld.so.1 and disable shared libraries on
13402 # powerpc, because MkLinux only supported shared libraries with the
13403 # GNU dynamic linker. Since this was broken with cross compilers,
13404 # most powerpc-linux boxes support dynamic linking these days and
13405 # people can always --disable-shared, the test was removed, and we
13406 # assume the GNU/Linux dynamic linker is in use.
13407 dynamic_linker
='GNU/Linux ld.so'
13414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13415 soname_spec
='${libname}${release}${shared_ext}$major'
13416 shlibpath_var
=LD_LIBRARY_PATH
13417 shlibpath_overrides_runpath
=no
13418 hardcode_into_libs
=yes
13419 dynamic_linker
='NetBSD ld.elf_so'
13426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13427 soname_spec
='${libname}${release}${shared_ext}$major'
13428 shlibpath_var
=LD_LIBRARY_PATH
13429 shlibpath_overrides_runpath
=no
13430 hardcode_into_libs
=yes
13431 dynamic_linker
='GNU ld.so'
13438 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
13439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13441 dynamic_linker
='NetBSD (a.out) ld.so'
13443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13444 soname_spec
='${libname}${release}${shared_ext}$major'
13445 dynamic_linker
='NetBSD ld.elf_so'
13447 shlibpath_var
=LD_LIBRARY_PATH
13448 shlibpath_overrides_runpath
=yes
13449 hardcode_into_libs
=yes
13454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13455 shlibpath_var
=LD_LIBRARY_PATH
13456 shlibpath_overrides_runpath
=yes
13463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13464 soname_spec
='${libname}${release}${shared_ext}$major'
13465 shlibpath_var
=LD_LIBRARY_PATH
13466 shlibpath_overrides_runpath
=yes
13471 sys_lib_dlsearch_path_spec
="/usr/lib"
13473 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13475 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13476 *) need_version
=no
;;
13478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13480 shlibpath_var
=LD_LIBRARY_PATH
13481 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13483 openbsd2.
[89] | openbsd2.
[89].
*)
13484 shlibpath_overrides_runpath
=no
13487 shlibpath_overrides_runpath
=yes
13491 shlibpath_overrides_runpath
=yes
13496 libname_spec
='$name'
13499 library_names_spec
='$libname${shared_ext} $libname.a'
13500 dynamic_linker
='OS/2 ld.exe'
13501 shlibpath_var
=LIBPATH
13504 osf3
* | osf4
* | osf5
*)
13508 soname_spec
='${libname}${release}${shared_ext}$major'
13509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13510 shlibpath_var
=LD_LIBRARY_PATH
13511 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13512 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520 soname_spec
='${libname}${release}${shared_ext}$major'
13521 shlibpath_var
=LD_LIBRARY_PATH
13522 shlibpath_overrides_runpath
=yes
13523 hardcode_into_libs
=yes
13524 # ldd complains unless libraries are executable
13525 postinstall_cmds
='chmod +x $lib'
13530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13531 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13532 shlibpath_var
=LD_LIBRARY_PATH
13533 shlibpath_overrides_runpath
=yes
13534 if test "$with_gnu_ld" = yes; then
13542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13543 soname_spec
='${libname}${release}${shared_ext}$major'
13544 shlibpath_var
=LD_LIBRARY_PATH
13545 case $host_vendor in
13547 shlibpath_overrides_runpath
=no
13549 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13550 runpath_var
=LD_RUN_PATH
13558 shlibpath_overrides_runpath
=no
13559 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13565 if test -d /usr
/nec
;then
13567 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13568 soname_spec
='$libname${shared_ext}.$major'
13569 shlibpath_var
=LD_LIBRARY_PATH
13573 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13574 version_type
=freebsd
-elf
13577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13578 soname_spec
='${libname}${release}${shared_ext}$major'
13579 shlibpath_var
=LD_LIBRARY_PATH
13580 hardcode_into_libs
=yes
13581 if test "$with_gnu_ld" = yes; then
13582 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13583 shlibpath_overrides_runpath
=no
13585 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13586 shlibpath_overrides_runpath
=yes
13589 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13593 sys_lib_dlsearch_path_spec
='/usr/lib'
13598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13599 soname_spec
='${libname}${release}${shared_ext}$major'
13600 shlibpath_var
=LD_LIBRARY_PATH
13607 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13608 echo "${ECHO_T}$dynamic_linker" >&6
13609 test "$dynamic_linker" = no
&& can_build_shared
=no
13611 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13612 if test "$GCC" = yes; then
13613 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13616 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13617 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13618 hardcode_action_CXX
=
13619 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13620 test -n "$runpath_var_CXX" || \
13621 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13623 # We can hardcode non-existant directories.
13624 if test "$hardcode_direct_CXX" != no
&&
13625 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13626 # have to relink, otherwise we might link with an installed library
13627 # when we should be linking with a yet-to-be-installed one
13628 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13629 test "$hardcode_minus_L_CXX" != no
; then
13630 # Linking always hardcodes the temporary library directory.
13631 hardcode_action_CXX
=relink
13633 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13634 hardcode_action_CXX
=immediate
13637 # We cannot hardcode anything, or else we can only hardcode existing
13639 hardcode_action_CXX
=unsupported
13641 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13642 echo "${ECHO_T}$hardcode_action_CXX" >&6
13644 if test "$hardcode_action_CXX" = relink
; then
13645 # Fast installation is not supported
13646 enable_fast_install
=no
13647 elif test "$shlibpath_overrides_runpath" = yes ||
13648 test "$enable_shared" = no
; then
13649 # Fast installation is not necessary
13650 enable_fast_install
=needless
13654 # The else clause should only fire when bootstrapping the
13655 # libtool distribution, otherwise you forgot to ship ltmain.sh
13656 # with your package, and you will get complaints that there are
13657 # no rules to generate ltmain.sh.
13658 if test -f "$ltmain"; then
13659 # See if we are running on zsh, and set the options which allow our commands through
13660 # without removal of \ escapes.
13661 if test -n "${ZSH_VERSION+set}" ; then
13662 setopt NO_GLOB_SUBST
13664 # Now quote all the things that may contain metacharacters while being
13665 # careful not to overquote the AC_SUBSTed values. We take copies of the
13666 # variables and quote the copies for generation of the libtool script.
13667 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13669 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13670 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13671 deplibs_check_method reload_flag reload_cmds need_locks \
13672 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13673 lt_cv_sys_global_symbol_to_c_name_address \
13674 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13675 old_postinstall_cmds old_postuninstall_cmds \
13679 lt_prog_compiler_wl_CXX \
13680 lt_prog_compiler_pic_CXX \
13681 lt_prog_compiler_static_CXX \
13682 lt_prog_compiler_no_builtin_flag_CXX \
13683 export_dynamic_flag_spec_CXX \
13684 thread_safe_flag_spec_CXX \
13685 whole_archive_flag_spec_CXX \
13686 enable_shared_with_static_runtimes_CXX \
13687 old_archive_cmds_CXX \
13688 old_archive_from_new_cmds_CXX \
13689 predep_objects_CXX \
13690 postdep_objects_CXX \
13693 compiler_lib_search_path_CXX \
13695 archive_expsym_cmds_CXX \
13696 postinstall_cmds_CXX \
13697 postuninstall_cmds_CXX \
13698 old_archive_from_expsyms_cmds_CXX \
13699 allow_undefined_flag_CXX \
13700 no_undefined_flag_CXX \
13701 export_symbols_cmds_CXX \
13702 hardcode_libdir_flag_spec_CXX \
13703 hardcode_libdir_flag_spec_ld_CXX \
13704 hardcode_libdir_separator_CXX \
13705 hardcode_automatic_CXX \
13707 module_expsym_cmds_CXX \
13708 lt_cv_prog_compiler_c_o_CXX \
13709 exclude_expsyms_CXX \
13710 include_expsyms_CXX
; do
13713 old_archive_cmds_CXX
| \
13714 old_archive_from_new_cmds_CXX
| \
13715 archive_cmds_CXX
| \
13716 archive_expsym_cmds_CXX
| \
13717 module_cmds_CXX
| \
13718 module_expsym_cmds_CXX
| \
13719 old_archive_from_expsyms_cmds_CXX
| \
13720 export_symbols_cmds_CXX
| \
13721 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
13722 postinstall_cmds
| postuninstall_cmds
| \
13723 old_postinstall_cmds
| old_postuninstall_cmds
| \
13724 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
13725 # Double-quote double-evaled strings.
13726 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13729 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13735 *'\$0 --fallback-echo"')
13736 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13742 cat <<__EOF__ >> "$cfgfile"
13743 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13745 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13747 # Shell to use when invoking shell scripts.
13750 # Whether or not to build shared libraries.
13751 build_libtool_libs=$enable_shared
13753 # Whether or not to build static libraries.
13754 build_old_libs=$enable_static
13756 # Whether or not to add -lc for building shared libraries.
13757 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13759 # Whether or not to disallow shared libs when runtime libs are static
13760 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13762 # Whether or not to optimize for fast installation.
13763 fast_install=$enable_fast_install
13766 host_alias=$host_alias
13770 # The build system.
13771 build_alias=$build_alias
13775 # An echo program that does not interpret backslashes.
13780 AR_FLAGS=$lt_AR_FLAGS
13785 # LTCC compiler flags.
13786 LTCFLAGS=$lt_LTCFLAGS
13788 # A language-specific compiler.
13789 CC=$lt_compiler_CXX
13791 # Is the compiler the GNU C compiler?
13797 # The linker used to build libraries.
13800 # Whether we need hard or soft links.
13803 # A BSD-compatible nm program.
13806 # A symbol stripping program
13809 # Used to examine libraries when file_magic_cmd begins "file"
13810 MAGIC_CMD=$MAGIC_CMD
13812 # Used on cygwin: DLL creation program.
13815 # Used on cygwin: object dumper.
13818 # Used on cygwin: assembler.
13821 # The name of the directory that contains temporary libtool files.
13824 # How to create reloadable object files.
13825 reload_flag=$lt_reload_flag
13826 reload_cmds=$lt_reload_cmds
13828 # How to pass a linker flag through the compiler.
13829 wl=$lt_lt_prog_compiler_wl_CXX
13831 # Object file suffix (normally "o").
13832 objext="$ac_objext"
13834 # Old archive suffix (normally "a").
13837 # Shared library suffix (normally ".so").
13838 shrext_cmds='$shrext_cmds'
13840 # Executable file suffix (normally "").
13843 # Additional compiler flags for building library objects.
13844 pic_flag=$lt_lt_prog_compiler_pic_CXX
13847 # What is the maximum length of a command?
13848 max_cmd_len=$lt_cv_sys_max_cmd_len
13850 # Does compiler simultaneously support -c and -o options?
13851 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13853 # Must we lock files when doing compilation?
13854 need_locks=$lt_need_locks
13856 # Do we need the lib prefix for modules?
13857 need_lib_prefix=$need_lib_prefix
13859 # Do we need a version for libraries?
13860 need_version=$need_version
13862 # Whether dlopen is supported.
13863 dlopen_support=$enable_dlopen
13865 # Whether dlopen of programs is supported.
13866 dlopen_self=$enable_dlopen_self
13868 # Whether dlopen of statically linked programs is supported.
13869 dlopen_self_static=$enable_dlopen_self_static
13871 # Compiler flag to prevent dynamic linking.
13872 link_static_flag=$lt_lt_prog_compiler_static_CXX
13874 # Compiler flag to turn off builtin functions.
13875 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13877 # Compiler flag to allow reflexive dlopens.
13878 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13880 # Compiler flag to generate shared objects directly from archives.
13881 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13883 # Compiler flag to generate thread-safe objects.
13884 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13886 # Library versioning type.
13887 version_type=$version_type
13889 # Format of library name prefix.
13890 libname_spec=$lt_libname_spec
13892 # List of archive names. First name is the real one, the rest are links.
13893 # The last name is the one that the linker finds with -lNAME.
13894 library_names_spec=$lt_library_names_spec
13896 # The coded name of the library, if different from the real name.
13897 soname_spec=$lt_soname_spec
13899 # Commands used to build and install an old-style archive.
13901 old_archive_cmds=$lt_old_archive_cmds_CXX
13902 old_postinstall_cmds=$lt_old_postinstall_cmds
13903 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13905 # Create an old-style archive from a shared archive.
13906 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13908 # Create a temporary old-style archive to link instead of a shared archive.
13909 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13911 # Commands used to build and install a shared archive.
13912 archive_cmds=$lt_archive_cmds_CXX
13913 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13914 postinstall_cmds=$lt_postinstall_cmds
13915 postuninstall_cmds=$lt_postuninstall_cmds
13917 # Commands used to build a loadable module (assumed same as above if empty)
13918 module_cmds=$lt_module_cmds_CXX
13919 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13921 # Commands to strip libraries.
13922 old_striplib=$lt_old_striplib
13923 striplib=$lt_striplib
13925 # Dependencies to place before the objects being linked to create a
13927 predep_objects=$lt_predep_objects_CXX
13929 # Dependencies to place after the objects being linked to create a
13931 postdep_objects=$lt_postdep_objects_CXX
13933 # Dependencies to place before the objects being linked to create a
13935 predeps=$lt_predeps_CXX
13937 # Dependencies to place after the objects being linked to create a
13939 postdeps=$lt_postdeps_CXX
13941 # The library search path used internally by the compiler when linking
13942 # a shared library.
13943 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13945 # Method to check whether dependent libraries are shared objects.
13946 deplibs_check_method=$lt_deplibs_check_method
13948 # Command to use when deplibs_check_method == file_magic.
13949 file_magic_cmd=$lt_file_magic_cmd
13951 # Flag that allows shared libraries with undefined symbols to be built.
13952 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13954 # Flag that forces no undefined symbols.
13955 no_undefined_flag=$lt_no_undefined_flag_CXX
13957 # Commands used to finish a libtool library installation in a directory.
13958 finish_cmds=$lt_finish_cmds
13960 # Same as above, but a single script fragment to be evaled but not shown.
13961 finish_eval=$lt_finish_eval
13963 # Take the output of nm and produce a listing of raw symbols and C names.
13964 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13966 # Transform the output of nm in a proper C declaration
13967 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13969 # Transform the output of nm in a C name address pair
13970 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13972 # This is the shared library runtime path variable.
13973 runpath_var=$runpath_var
13975 # This is the shared library path variable.
13976 shlibpath_var=$shlibpath_var
13978 # Is shlibpath searched before the hard-coded library search path?
13979 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13981 # How to hardcode a shared library path into an executable.
13982 hardcode_action=$hardcode_action_CXX
13984 # Whether we should hardcode library paths into libraries.
13985 hardcode_into_libs=$hardcode_into_libs
13987 # Flag to hardcode \$libdir into a binary during linking.
13988 # This must work even if \$libdir does not exist.
13989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13991 # If ld is used when linking, flag to hardcode \$libdir into
13992 # a binary during linking. This must work even if \$libdir does
13994 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13996 # Whether we need a single -rpath flag with a separated argument.
13997 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13999 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14000 # resulting binary.
14001 hardcode_direct=$hardcode_direct_CXX
14003 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14004 # resulting binary.
14005 hardcode_minus_L=$hardcode_minus_L_CXX
14007 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14008 # the resulting binary.
14009 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14011 # Set to yes if building a shared library automatically hardcodes DIR into the library
14012 # and all subsequent libraries and executables linked against it.
14013 hardcode_automatic=$hardcode_automatic_CXX
14015 # Variables whose values should be saved in libtool wrapper scripts and
14016 # restored at relink time.
14017 variables_saved_for_relink="$variables_saved_for_relink"
14019 # Whether libtool must link a program against all its dependency libraries.
14020 link_all_deplibs=$link_all_deplibs_CXX
14022 # Compile-time system search path for libraries
14023 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14025 # Run-time system search path for libraries
14026 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14028 # Fix the shell variable \$srcfile for the compiler.
14029 fix_srcfile_path="$fix_srcfile_path_CXX"
14031 # Set to yes if exported symbols are required.
14032 always_export_symbols=$always_export_symbols_CXX
14034 # The commands to list exported symbols.
14035 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14037 # The commands to extract the exported symbol list from a shared archive.
14038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14040 # Symbols that should not be listed in the preloaded symbols.
14041 exclude_expsyms=$lt_exclude_expsyms_CXX
14043 # Symbols that must always be exported.
14044 include_expsyms=$lt_include_expsyms_CXX
14046 # ### END LIBTOOL TAG CONFIG: $tagname
14052 # If there is no Makefile yet, we rely on a make rule to execute
14053 # `config.status --recheck' to rerun these tests and create the
14054 # libtool script then.
14055 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14056 if test -f "$ltmain_in"; then
14057 test -f Makefile
&& make "$ltmain"
14063 ac_cpp
='$CPP $CPPFLAGS'
14064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14072 with_gnu_ldcxx
=$with_gnu_ld
14073 with_gnu_ld
=$lt_save_with_gnu_ld
14074 lt_cv_path_LDCXX
=$lt_cv_path_LD
14075 lt_cv_path_LD
=$lt_save_path_LD
14076 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14077 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14085 if test -n "$F77" && test "X$F77" != "Xno"; then
14088 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14089 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14090 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14093 archive_cmds_need_lc_F77
=no
14094 allow_undefined_flag_F77
=
14095 always_export_symbols_F77
=no
14096 archive_expsym_cmds_F77
=
14097 export_dynamic_flag_spec_F77
=
14098 hardcode_direct_F77
=no
14099 hardcode_libdir_flag_spec_F77
=
14100 hardcode_libdir_flag_spec_ld_F77
=
14101 hardcode_libdir_separator_F77
=
14102 hardcode_minus_L_F77
=no
14103 hardcode_automatic_F77
=no
14105 module_expsym_cmds_F77
=
14106 link_all_deplibs_F77
=unknown
14107 old_archive_cmds_F77
=$old_archive_cmds
14108 no_undefined_flag_F77
=
14109 whole_archive_flag_spec_F77
=
14110 enable_shared_with_static_runtimes_F77
=no
14112 # Source file extension for f77 test sources.
14115 # Object file extension for compiled f77 test sources.
14119 # Code to be used in simple compile tests
14120 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14122 # Code to be used in simple link tests
14123 lt_simple_link_test_code
=" program t\n end\n"
14125 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14127 # If no C compiler was specified, use CC.
14130 # If no C compiler flags were specified, use CFLAGS.
14131 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14133 # Allow CC to be a program name with arguments.
14137 # save warnings/boilerplate of simple test code
14138 ac_outfile
=conftest.
$ac_objext
14139 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14140 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14141 _lt_compiler_boilerplate
=`cat conftest.err`
14144 ac_outfile
=conftest.
$ac_objext
14145 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14146 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14147 _lt_linker_boilerplate
=`cat conftest.err`
14151 # Allow CC to be a program name with arguments.
14156 for cc_temp
in $compiler""; do
14158 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
14159 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
14164 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14167 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14168 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14169 echo "$as_me:$LINENO: result: $can_build_shared" >&5
14170 echo "${ECHO_T}$can_build_shared" >&6
14172 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14173 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14174 test "$can_build_shared" = "no" && enable_shared
=no
14176 # On AIX, shared libraries and static libraries use the same namespace, and
14177 # are all built from PIC.
14180 test "$enable_shared" = yes && enable_static
=no
14181 if test -n "$RANLIB"; then
14182 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14183 postinstall_cmds
='$RANLIB $lib'
14187 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14188 test "$enable_shared" = yes && enable_static
=no
14192 echo "$as_me:$LINENO: result: $enable_shared" >&5
14193 echo "${ECHO_T}$enable_shared" >&6
14195 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14196 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14197 # Make sure either enable_shared or enable_static is yes.
14198 test "$enable_shared" = yes || enable_static
=yes
14199 echo "$as_me:$LINENO: result: $enable_static" >&5
14200 echo "${ECHO_T}$enable_static" >&6
14205 lt_prog_compiler_wl_F77
=
14206 lt_prog_compiler_pic_F77
=
14207 lt_prog_compiler_static_F77
=
14209 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14210 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14212 if test "$GCC" = yes; then
14213 lt_prog_compiler_wl_F77
='-Wl,'
14214 lt_prog_compiler_static_F77
='-static'
14218 # All AIX code is PIC.
14219 if test "$host_cpu" = ia64
; then
14220 # AIX 5 now supports IA64 processor
14221 lt_prog_compiler_static_F77
='-Bstatic'
14226 # FIXME: we need at least 68020 code to build shared libraries, but
14227 # adding the `-m68020' flag to GCC prevents building anything better,
14229 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14232 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14233 # PIC is the default for these OSes.
14236 mingw
* | pw32
* | os2
*)
14237 # This hack is so that the source file can tell whether it is being
14238 # built for inclusion in a dll (and should export symbols for example).
14239 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14242 darwin
* | rhapsody
*)
14243 # PIC is the default on this platform
14244 # Common symbols not allowed in MH_DYLIB files
14245 lt_prog_compiler_pic_F77
='-fno-common'
14249 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14250 # Instead, we relocate shared libraries at runtime.
14254 # Just because we use GCC doesn't mean we suddenly get shared libraries
14255 # on systems that don't support them.
14256 lt_prog_compiler_can_build_shared_F77
=no
14261 if test -d /usr
/nec
; then
14262 lt_prog_compiler_pic_F77
=-Kconform_pic
14267 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14268 # not for PA HP-UX.
14274 lt_prog_compiler_pic_F77
='-fPIC'
14280 lt_prog_compiler_pic_F77
='-fPIC'
14284 # PORTME Check for flag to pass linker flags through the system compiler.
14287 lt_prog_compiler_wl_F77
='-Wl,'
14288 if test "$host_cpu" = ia64
; then
14289 # AIX 5 now supports IA64 processor
14290 lt_prog_compiler_static_F77
='-Bstatic'
14292 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14296 # PIC is the default on this platform
14297 # Common symbols not allowed in MH_DYLIB files
14298 case $cc_basename in
14300 lt_prog_compiler_pic_F77
='-qnocommon'
14301 lt_prog_compiler_wl_F77
='-Wl,'
14306 mingw
* | pw32
* | os2
*)
14307 # This hack is so that the source file can tell whether it is being
14308 # built for inclusion in a dll (and should export symbols for example).
14309 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14312 hpux9
* | hpux10
* | hpux11
*)
14313 lt_prog_compiler_wl_F77
='-Wl,'
14314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14315 # not for PA HP-UX.
14321 lt_prog_compiler_pic_F77
='+Z'
14324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14325 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14328 irix5
* | irix6
* | nonstopux
*)
14329 lt_prog_compiler_wl_F77
='-Wl,'
14330 # PIC (with -KPIC) is the default.
14331 lt_prog_compiler_static_F77
='-non_shared'
14335 lt_prog_compiler_pic_F77
='-KPIC'
14336 lt_prog_compiler_static_F77
='-Bstatic'
14340 case $cc_basename in
14342 lt_prog_compiler_wl_F77
='-Wl,'
14343 lt_prog_compiler_pic_F77
='-KPIC'
14344 lt_prog_compiler_static_F77
='-static'
14346 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14347 # Portland Group compilers (*not* the Pentium gcc compiler,
14348 # which looks to be a dead project)
14349 lt_prog_compiler_wl_F77
='-Wl,'
14350 lt_prog_compiler_pic_F77
='-fpic'
14351 lt_prog_compiler_static_F77
='-Bstatic'
14354 lt_prog_compiler_wl_F77
='-Wl,'
14355 # All Alpha code is PIC.
14356 lt_prog_compiler_static_F77
='-non_shared'
14361 osf3
* | osf4
* | osf5
*)
14362 lt_prog_compiler_wl_F77
='-Wl,'
14363 # All OSF/1 code is PIC.
14364 lt_prog_compiler_static_F77
='-non_shared'
14368 lt_prog_compiler_pic_F77
='-KPIC'
14369 lt_prog_compiler_static_F77
='-Bstatic'
14370 case $cc_basename in
14371 f77
* | f90
* | f95
*)
14372 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14374 lt_prog_compiler_wl_F77
='-Wl,';;
14379 lt_prog_compiler_wl_F77
='-Qoption ld '
14380 lt_prog_compiler_pic_F77
='-PIC'
14381 lt_prog_compiler_static_F77
='-Bstatic'
14384 sysv4
| sysv4.2uw2
* | sysv4.3
*)
14385 lt_prog_compiler_wl_F77
='-Wl,'
14386 lt_prog_compiler_pic_F77
='-KPIC'
14387 lt_prog_compiler_static_F77
='-Bstatic'
14391 if test -d /usr
/nec
;then
14392 lt_prog_compiler_pic_F77
='-Kconform_pic'
14393 lt_prog_compiler_static_F77
='-Bstatic'
14397 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14398 lt_prog_compiler_wl_F77
='-Wl,'
14399 lt_prog_compiler_pic_F77
='-KPIC'
14400 lt_prog_compiler_static_F77
='-Bstatic'
14404 lt_prog_compiler_wl_F77
='-Wl,'
14405 lt_prog_compiler_can_build_shared_F77
=no
14409 lt_prog_compiler_pic_F77
='-pic'
14410 lt_prog_compiler_static_F77
='-Bstatic'
14414 lt_prog_compiler_can_build_shared_F77
=no
14419 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14420 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14423 # Check to make sure the PIC flag actually works.
14425 if test -n "$lt_prog_compiler_pic_F77"; then
14427 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14428 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14429 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 lt_prog_compiler_pic_works_F77
=no
14433 ac_outfile
=conftest.
$ac_objext
14434 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14435 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14436 # Insert the option either (1) after the last *FLAGS variable, or
14437 # (2) before a word containing "conftest.", or (3) at the end.
14438 # Note that $ac_compile itself does not contain backslashes and begins
14439 # with a dollar sign (not a hyphen), so the echo should work correctly.
14440 # The option is referenced via a variable to avoid confusing sed.
14441 lt_compile
=`echo "$ac_compile" | $SED \
14442 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14443 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14444 -e 's:$: $lt_compiler_flag:'`
14445 (eval echo "\"\$as_me:14445: $lt_compile\"" >&5)
14446 (eval "$lt_compile" 2>conftest.err
)
14448 cat conftest.err
>&5
14449 echo "$as_me:14449: \$? = $ac_status" >&5
14450 if (exit $ac_status) && test -s "$ac_outfile"; then
14451 # The compiler can only warn and ignore the option if not recognized
14452 # So say no if there are warnings other than the usual output.
14453 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14454 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14455 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14456 lt_prog_compiler_pic_works_F77
=yes
14462 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14463 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14465 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14466 case $lt_prog_compiler_pic_F77 in
14468 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14471 lt_prog_compiler_pic_F77
=
14472 lt_prog_compiler_can_build_shared_F77
=no
14477 # For platforms which do not support PIC, -DPIC is meaningless:
14479 lt_prog_compiler_pic_F77
=
14482 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14487 # Check to make sure the static flag actually works.
14489 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14490 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14491 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14492 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14495 lt_prog_compiler_static_works_F77
=no
14496 save_LDFLAGS
="$LDFLAGS"
14497 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14498 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14499 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14500 # The linker can only warn and ignore the option if not recognized
14501 # So say no if there are warnings
14502 if test -s conftest.err
; then
14503 # Append any errors to the config.log.
14504 cat conftest.err
1>&5
14505 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14506 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14507 if diff conftest.exp conftest.er2
>/dev
/null
; then
14508 lt_prog_compiler_static_works_F77
=yes
14511 lt_prog_compiler_static_works_F77
=yes
14515 LDFLAGS
="$save_LDFLAGS"
14518 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14519 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14521 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14524 lt_prog_compiler_static_F77
=
14528 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14529 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14530 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14531 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 lt_cv_prog_compiler_c_o_F77
=no
14534 $rm -r conftest
2>/dev
/null
14538 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14540 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14541 # Insert the option either (1) after the last *FLAGS variable, or
14542 # (2) before a word containing "conftest.", or (3) at the end.
14543 # Note that $ac_compile itself does not contain backslashes and begins
14544 # with a dollar sign (not a hyphen), so the echo should work correctly.
14545 lt_compile
=`echo "$ac_compile" | $SED \
14546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14548 -e 's:$: $lt_compiler_flag:'`
14549 (eval echo "\"\$as_me:14549: $lt_compile\"" >&5)
14550 (eval "$lt_compile" 2>out
/conftest.err
)
14552 cat out
/conftest.err
>&5
14553 echo "$as_me:14553: \$? = $ac_status" >&5
14554 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14556 # The compiler can only warn and ignore the option if not recognized
14557 # So say no if there are warnings
14558 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
14559 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14560 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14561 lt_cv_prog_compiler_c_o_F77
=yes
14566 # SGI C++ compiler will create directory out/ii_files/ for
14567 # template instantiation
14568 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14569 $rm out
/* && rmdir out
14575 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14576 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
14579 hard_links
="nottested"
14580 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14581 # do not overwrite the value of need_locks provided by the user
14582 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14583 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14586 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14588 ln conftest.a conftest.b
2>&5 || hard_links
=no
14589 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14590 echo "$as_me:$LINENO: result: $hard_links" >&5
14591 echo "${ECHO_T}$hard_links" >&6
14592 if test "$hard_links" = no
; then
14593 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14594 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14601 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14602 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14605 allow_undefined_flag_F77
=
14606 enable_shared_with_static_runtimes_F77
=no
14608 archive_expsym_cmds_F77
=
14609 old_archive_From_new_cmds_F77
=
14610 old_archive_from_expsyms_cmds_F77
=
14611 export_dynamic_flag_spec_F77
=
14612 whole_archive_flag_spec_F77
=
14613 thread_safe_flag_spec_F77
=
14614 hardcode_libdir_flag_spec_F77
=
14615 hardcode_libdir_flag_spec_ld_F77
=
14616 hardcode_libdir_separator_F77
=
14617 hardcode_direct_F77
=no
14618 hardcode_minus_L_F77
=no
14619 hardcode_shlibpath_var_F77
=unsupported
14620 link_all_deplibs_F77
=unknown
14621 hardcode_automatic_F77
=no
14623 module_expsym_cmds_F77
=
14624 always_export_symbols_F77
=no
14625 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14626 # include_expsyms should be a list of space-separated symbols to be *always*
14627 # included in the symbol list
14628 include_expsyms_F77
=
14629 # exclude_expsyms can be an extended regexp of symbols to exclude
14630 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14631 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14632 # as well as any symbol that contains `d'.
14633 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14634 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14635 # platforms (ab)use it in PIC code, but their linkers get confused if
14636 # the symbol is explicitly referenced. Since portable code cannot
14637 # rely on this symbol name, it's probably fine to never include it in
14638 # preloaded symbol tables.
14639 extract_expsyms_cmds
=
14640 # Just being paranoid about ensuring that cc_basename is set.
14641 for cc_temp
in $compiler""; do
14643 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
14644 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
14649 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14652 cygwin
* | mingw
* | pw32
*)
14653 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14654 # When not using gcc, we currently assume that we are using
14655 # Microsoft Visual C++.
14656 if test "$GCC" != yes; then
14661 # we just hope/assume this is gcc and not c89 (= MSVC++)
14670 if test "$with_gnu_ld" = yes; then
14671 # If archive_cmds runs LD, not CC, wlarc should be empty
14674 # Set some defaults for GNU ld with shared library support. These
14675 # are reset later if shared libraries are not supported. Putting them
14676 # here allows them to be overridden if necessary.
14677 runpath_var
=LD_RUN_PATH
14678 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14679 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14680 # ancient GNU ld didn't support --whole-archive et. al.
14681 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
14682 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14684 whole_archive_flag_spec_F77
=
14686 supports_anon_versioning
=no
14687 case `$LD -v 2>/dev/null` in
14688 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
14689 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14690 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14691 *\
2.11.
*) ;; # other 2.11 versions
14692 *) supports_anon_versioning
=yes ;;
14695 # See if GNU ld supports shared libraries.
14697 aix3
* | aix4
* | aix5
*)
14698 # On AIX/PPC, the GNU linker is very broken
14699 if test "$host_cpu" != ia64
; then
14703 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14704 *** to be unable to reliably create shared libraries on AIX.
14705 *** Therefore, libtool is disabling shared libraries support. If you
14706 *** really care for shared libraries, you may want to modify your PATH
14707 *** so that a non-GNU linker is found, and then restart.
14714 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)'
14715 hardcode_libdir_flag_spec_F77
='-L$libdir'
14716 hardcode_minus_L_F77
=yes
14718 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14719 # that the semantics of dynamic libraries on AmigaOS, at least up
14720 # to version 4, is to share data among multiple programs linked
14721 # with the same dynamic library. Since this doesn't match the
14722 # behavior of shared libraries on other platforms, we can't use
14728 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14729 allow_undefined_flag_F77
=unsupported
14730 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14731 # support --undefined. This deserves some investigation. FIXME
14732 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14738 cygwin
* | mingw
* | pw32
*)
14739 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14740 # as there is no search path for DLLs.
14741 hardcode_libdir_flag_spec_F77
='-L$libdir'
14742 allow_undefined_flag_F77
=unsupported
14743 always_export_symbols_F77
=no
14744 enable_shared_with_static_runtimes_F77
=yes
14745 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14747 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
14748 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14749 # If the export-symbols file already is a .def file (1st line
14750 # is EXPORTS), use it as is; otherwise, prepend...
14751 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14752 cp $export_symbols $output_objdir/$soname.def;
14754 echo EXPORTS > $output_objdir/$soname.def;
14755 cat $export_symbols >> $output_objdir/$soname.def;
14757 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14764 hardcode_direct_F77
=no
14765 hardcode_shlibpath_var_F77
=no
14766 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14767 export_dynamic_flag_spec_F77
='${wl}-E'
14768 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14769 # Instead, shared libraries are loaded at an image base (0x10000000 by
14770 # default) and relocated if they conflict, which is a slow very memory
14771 # consuming and fragmenting process. To avoid this, we pick a random,
14772 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14773 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14774 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'
14775 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'
14779 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14781 case $cc_basename,$host_cpu in
14782 pgcc
*) # Portland Group C compiler
14783 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'
14784 tmp_addflag
=' $pic_flag'
14786 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14787 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'
14788 tmp_addflag
=' $pic_flag -Mnomain' ;;
14789 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14790 tmp_addflag
=' -i_dynamic' ;;
14791 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14792 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14793 ifc
* | ifort
*) # Intel Fortran compiler
14794 tmp_addflag
=' -nofor_main' ;;
14796 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14798 if test $supports_anon_versioning = yes; then
14799 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14800 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14801 $echo "local: *; };" >> $output_objdir/$libname.ver~
14802 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14804 link_all_deplibs_F77
=no
14810 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
14811 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
14812 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14815 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14816 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14821 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
14825 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14826 *** create shared libraries on Solaris systems. Therefore, libtool
14827 *** is disabling shared libraries support. We urge you to upgrade GNU
14828 *** binutils to release 2.9.1 or newer. Another option is to modify
14829 *** your PATH or compiler configuration so that the native linker is
14830 *** used, and then restart.
14833 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14834 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14835 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14841 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14842 case `$LD -v 2>&1` in
14843 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
14847 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14848 *** reliably create shared libraries on SCO systems. Therefore, libtool
14849 *** is disabling shared libraries support. We urge you to upgrade GNU
14850 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14851 *** your PATH or compiler configuration so that the native linker is
14852 *** used, and then restart.
14857 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14858 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14859 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14860 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14869 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14871 hardcode_direct_F77
=yes
14872 hardcode_shlibpath_var_F77
=no
14876 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
14877 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14878 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14885 if test "$ld_shlibs_F77" = no
; then
14887 hardcode_libdir_flag_spec_F77
=
14888 export_dynamic_flag_spec_F77
=
14889 whole_archive_flag_spec_F77
=
14892 # PORTME fill in a description of your system's linker (not GNU ld)
14895 allow_undefined_flag_F77
=unsupported
14896 always_export_symbols_F77
=yes
14897 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'
14898 # Note: this linker hardcodes the directories in LIBPATH if there
14899 # are no directories specified by -L.
14900 hardcode_minus_L_F77
=yes
14901 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14902 # Neither direct hardcoding nor static linking is supported with a
14904 hardcode_direct_F77
=unsupported
14909 if test "$host_cpu" = ia64
; then
14910 # On IA64, the linker does run time linking by default, so we don't
14911 # have to do anything special.
14912 aix_use_runtimelinking
=no
14913 exp_sym_flag
='-Bexport'
14916 # If we're using GNU nm, then we don't want the "-C" option.
14917 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14918 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
14919 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'
14921 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'
14923 aix_use_runtimelinking
=no
14925 # Test if we are trying to use run time linking or normal
14926 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14927 # need to do runtime linking.
14928 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14929 for ld_flag
in $LDFLAGS; do
14930 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14931 aix_use_runtimelinking
=yes
14938 exp_sym_flag
='-bexport'
14939 no_entry_flag
='-bnoentry'
14942 # When large executables or shared objects are built, AIX ld can
14943 # have problems creating the table of contents. If linking a library
14944 # or program results in "error TOC overflow" add -mminimal-toc to
14945 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14946 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14948 archive_cmds_F77
=''
14949 hardcode_direct_F77
=yes
14950 hardcode_libdir_separator_F77
=':'
14951 link_all_deplibs_F77
=yes
14953 if test "$GCC" = yes; then
14954 case $host_os in aix4.
[012]|aix4.
[012].
*)
14955 # We only want to do this on AIX 4.2 and lower, the check
14956 # below for broken collect2 doesn't work under 4.3+
14957 collect2name
=`${CC} -print-prog-name=collect2`
14958 if test -f "$collect2name" && \
14959 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
14961 # We have reworked collect2
14962 hardcode_direct_F77
=yes
14964 # We have old collect2
14965 hardcode_direct_F77
=unsupported
14966 # It fails to find uninstalled libraries when the uninstalled
14967 # path is not listed in the libpath. Setting hardcode_minus_L
14968 # to unsupported forces relinking
14969 hardcode_minus_L_F77
=yes
14970 hardcode_libdir_flag_spec_F77
='-L$libdir'
14971 hardcode_libdir_separator_F77
=
14975 shared_flag
='-shared'
14976 if test "$aix_use_runtimelinking" = yes; then
14977 shared_flag
="$shared_flag "'${wl}-G'
14981 if test "$host_cpu" = ia64
; then
14982 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14983 # chokes on -Wl,-G. The following line is correct:
14986 if test "$aix_use_runtimelinking" = yes; then
14987 shared_flag
='${wl}-G'
14989 shared_flag
='${wl}-bM:SRE'
14994 # It seems that -bexpall does not export symbols beginning with
14995 # underscore (_), so it is better to generate a list of symbols to export.
14996 always_export_symbols_F77
=yes
14997 if test "$aix_use_runtimelinking" = yes; then
14998 # Warning - without using the other runtime loading flags (-brtl),
14999 # -berok will link without error, but may produce a broken library.
15000 allow_undefined_flag_F77
='-berok'
15001 # Determine the default libpath from the value encoded in an empty executable.
15002 cat >conftest.
$ac_ext <<_ACEOF
15007 rm -f conftest.
$ac_objext conftest
$ac_exeext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15009 (eval $ac_link) 2>conftest.er1
15011 grep -v '^ *+' conftest.er1
>conftest.err
15013 cat conftest.err
>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } &&
15016 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; } &&
15022 { ac_try
='test -s conftest$ac_exeext'
15023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024 (eval $ac_try) 2>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; }; then
15029 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15031 # Check for a 64-bit object if we didn't find anything.
15032 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; }
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.
$ac_ext >&5
15039 rm -f conftest.err conftest.
$ac_objext \
15040 conftest
$ac_exeext conftest.
$ac_ext
15041 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15043 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15044 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"
15046 if test "$host_cpu" = ia64
; then
15047 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
15048 allow_undefined_flag_F77
="-z nodefs"
15049 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"
15051 # Determine the default libpath from the value encoded in an empty executable.
15052 cat >conftest.
$ac_ext <<_ACEOF
15057 rm -f conftest.
$ac_objext conftest
$ac_exeext
15058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15059 (eval $ac_link) 2>conftest.er1
15061 grep -v '^ *+' conftest.er1
>conftest.err
15063 cat conftest.err
>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); } &&
15066 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; } &&
15072 { ac_try
='test -s conftest$ac_exeext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15079 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15081 # Check for a 64-bit object if we didn't find anything.
15082 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; }
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.
$ac_ext >&5
15089 rm -f conftest.err conftest.
$ac_objext \
15090 conftest
$ac_exeext conftest.
$ac_ext
15091 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15093 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15094 # Warning - without using the other run time loading flags,
15095 # -berok will link without error, but may produce a broken library.
15096 no_undefined_flag_F77
=' ${wl}-bernotok'
15097 allow_undefined_flag_F77
=' ${wl}-berok'
15098 # Exported symbols can be pulled into shared objects from archives
15099 whole_archive_flag_spec_F77
='$convenience'
15100 archive_cmds_need_lc_F77
=yes
15101 # This is similar to how AIX traditionally builds its shared libraries.
15102 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'
15108 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)'
15109 hardcode_libdir_flag_spec_F77
='-L$libdir'
15110 hardcode_minus_L_F77
=yes
15111 # see comment about different semantics on the GNU ld section
15116 export_dynamic_flag_spec_F77
=-rdynamic
15119 cygwin
* | mingw
* | pw32
*)
15120 # When not using gcc, we currently assume that we are using
15121 # Microsoft Visual C++.
15122 # hardcode_libdir_flag_spec is actually meaningless, as there is
15123 # no search path for DLLs.
15124 hardcode_libdir_flag_spec_F77
=' '
15125 allow_undefined_flag_F77
=unsupported
15126 # Tell ltmain to make .lib files, not .a files.
15128 # Tell ltmain to make .dll files, not .so files.
15130 # FIXME: Setting linknames here is a bad hack.
15131 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15132 # The linker will automatically build a .lib file if we build a DLL.
15133 old_archive_From_new_cmds_F77
='true'
15134 # FIXME: Should let the user specify the lib program.
15135 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15136 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15137 enable_shared_with_static_runtimes_F77
=yes
15140 darwin
* | rhapsody
*)
15142 rhapsody
* | darwin1.
[012])
15143 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15146 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15147 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15149 case ${MACOSX_DEPLOYMENT_TARGET} in
15151 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15154 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15160 archive_cmds_need_lc_F77
=no
15161 hardcode_direct_F77
=no
15162 hardcode_automatic_F77
=yes
15163 hardcode_shlibpath_var_F77
=unsupported
15164 whole_archive_flag_spec_F77
=''
15165 link_all_deplibs_F77
=yes
15166 if test "$GCC" = yes ; then
15167 output_verbose_link_cmd
='echo'
15168 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15169 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15170 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15171 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}'
15172 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}'
15174 case $cc_basename in
15176 output_verbose_link_cmd
='echo'
15177 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15178 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15179 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15180 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}'
15181 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}'
15191 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15192 hardcode_libdir_flag_spec_F77
='-L$libdir'
15193 hardcode_shlibpath_var_F77
=no
15200 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15201 # support. Future versions do this automatically, but an explicit c++rt0.o
15202 # does not break anything, and helps significantly (at the cost of a little
15205 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15206 hardcode_libdir_flag_spec_F77
='-R$libdir'
15207 hardcode_direct_F77
=yes
15208 hardcode_shlibpath_var_F77
=no
15211 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15213 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15214 hardcode_direct_F77
=yes
15215 hardcode_minus_L_F77
=yes
15216 hardcode_shlibpath_var_F77
=no
15219 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15220 freebsd
* | dragonfly
*)
15221 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15222 hardcode_libdir_flag_spec_F77
='-R$libdir'
15223 hardcode_direct_F77
=yes
15224 hardcode_shlibpath_var_F77
=no
15227 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
15229 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15230 hardcode_libdir_flag_spec_F77
='-R$libdir'
15231 hardcode_direct_F77
=yes
15232 hardcode_shlibpath_var_F77
=no
15233 link_all_deplibs_F77
=no
15237 if test "$GCC" = yes; then
15238 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'
15240 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'
15242 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15243 hardcode_libdir_separator_F77
=:
15244 hardcode_direct_F77
=yes
15246 # hardcode_minus_L: Not really in the search PATH,
15247 # but as the default location of the library.
15248 hardcode_minus_L_F77
=yes
15249 export_dynamic_flag_spec_F77
='${wl}-E'
15253 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15254 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15256 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15258 if test "$with_gnu_ld" = no
; then
15259 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15260 hardcode_libdir_separator_F77
=:
15262 hardcode_direct_F77
=yes
15263 export_dynamic_flag_spec_F77
='${wl}-E'
15265 # hardcode_minus_L: Not really in the search PATH,
15266 # but as the default location of the library.
15267 hardcode_minus_L_F77
=yes
15272 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15275 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15278 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15281 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15287 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15290 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15293 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15297 if test "$with_gnu_ld" = no
; then
15298 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15299 hardcode_libdir_separator_F77
=:
15303 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15304 hardcode_direct_F77
=no
15305 hardcode_shlibpath_var_F77
=no
15308 hardcode_direct_F77
=yes
15309 export_dynamic_flag_spec_F77
='${wl}-E'
15311 # hardcode_minus_L: Not really in the search PATH,
15312 # but as the default location of the library.
15313 hardcode_minus_L_F77
=yes
15319 irix5
* | irix6
* | nonstopux
*)
15320 if test "$GCC" = yes; then
15321 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'
15323 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'
15324 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15326 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15327 hardcode_libdir_separator_F77
=:
15328 link_all_deplibs_F77
=yes
15331 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
15332 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
15333 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15335 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15337 hardcode_libdir_flag_spec_F77
='-R$libdir'
15338 hardcode_direct_F77
=yes
15339 hardcode_shlibpath_var_F77
=no
15343 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15344 hardcode_direct_F77
=yes
15345 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15346 hardcode_libdir_separator_F77
=:
15347 hardcode_shlibpath_var_F77
=no
15351 hardcode_direct_F77
=yes
15352 hardcode_shlibpath_var_F77
=no
15353 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15354 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15355 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15356 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15357 export_dynamic_flag_spec_F77
='${wl}-E'
15360 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15361 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15362 hardcode_libdir_flag_spec_F77
='-R$libdir'
15365 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15366 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15373 hardcode_libdir_flag_spec_F77
='-L$libdir'
15374 hardcode_minus_L_F77
=yes
15375 allow_undefined_flag_F77
=unsupported
15376 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'
15377 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15381 if test "$GCC" = yes; then
15382 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15383 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'
15385 allow_undefined_flag_F77
=' -expect_unresolved \*'
15386 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'
15388 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15389 hardcode_libdir_separator_F77
=:
15392 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15393 if test "$GCC" = yes; then
15394 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15395 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'
15396 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15398 allow_undefined_flag_F77
=' -expect_unresolved \*'
15399 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'
15400 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~
15401 $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'
15403 # Both c and cxx compiler support -rpath directly
15404 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15406 hardcode_libdir_separator_F77
=:
15410 no_undefined_flag_F77
=' -z text'
15411 if test "$GCC" = yes; then
15413 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15414 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15415 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15418 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15419 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15420 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15422 hardcode_libdir_flag_spec_F77
='-R$libdir'
15423 hardcode_shlibpath_var_F77
=no
15425 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15427 # The compiler driver will combine linker options so we
15428 # cannot just pass the convience library names through
15429 # without $wl, iff we do not link with $LD.
15430 # Luckily, gcc supports the same syntax we need for Sun Studio.
15431 # Supported since Solaris 2.6 (maybe 2.5.1?)
15434 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15436 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' ;;
15439 link_all_deplibs_F77
=yes
15443 if test "x$host_vendor" = xsequent
; then
15444 # Use $CC to link under sequent, because it throws in some extra .o
15445 # files that make .init and .fini sections work.
15446 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15450 hardcode_libdir_flag_spec_F77
='-L$libdir'
15451 hardcode_direct_F77
=yes
15452 hardcode_minus_L_F77
=yes
15453 hardcode_shlibpath_var_F77
=no
15457 case $host_vendor in
15459 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15460 hardcode_direct_F77
=yes # is this really true???
15463 ## LD is ld it makes a PLAMLIB
15464 ## CC just makes a GrossModule.
15465 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15466 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15467 hardcode_direct_F77
=no
15470 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15471 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15474 runpath_var
='LD_RUN_PATH'
15475 hardcode_shlibpath_var_F77
=no
15479 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15480 hardcode_shlibpath_var_F77
=no
15481 export_dynamic_flag_spec_F77
='-Bexport'
15485 if test -d /usr
/nec
; then
15486 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15487 hardcode_shlibpath_var_F77
=no
15488 runpath_var
=LD_RUN_PATH
15489 hardcode_runpath_var
=yes
15494 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15495 no_undefined_flag_F77
='${wl}-z,text'
15496 archive_cmds_need_lc_F77
=no
15497 hardcode_shlibpath_var_F77
=no
15498 runpath_var
='LD_RUN_PATH'
15500 if test "$GCC" = yes; then
15501 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15502 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15504 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15505 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15509 sysv5
* | sco3.2v5
* | sco5v6
*)
15510 # Note: We can NOT use -z defs as we might desire, because we do not
15511 # link with -lc, and that would cause any symbols used from libc to
15512 # always be unresolved, which means just about no library would
15513 # ever link correctly. If we're not using GNU ld we use -z text
15514 # though, which does catch some bad symbols but isn't as heavy-handed
15516 no_undefined_flag_F77
='${wl}-z,text'
15517 allow_undefined_flag_F77
='${wl}-z,nodefs'
15518 archive_cmds_need_lc_F77
=no
15519 hardcode_shlibpath_var_F77
=no
15520 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15521 hardcode_libdir_separator_F77
=':'
15522 link_all_deplibs_F77
=yes
15523 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15524 runpath_var
='LD_RUN_PATH'
15526 if test "$GCC" = yes; then
15527 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15528 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15530 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15531 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15536 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15537 hardcode_libdir_flag_spec_F77
='-L$libdir'
15538 hardcode_shlibpath_var_F77
=no
15547 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15548 echo "${ECHO_T}$ld_shlibs_F77" >&6
15549 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15552 # Do we need to explicitly link libc?
15554 case "x$archive_cmds_need_lc_F77" in
15556 # Assume -lc should be added
15557 archive_cmds_need_lc_F77
=yes
15559 if test "$enable_shared" = yes && test "$GCC" = yes; then
15560 case $archive_cmds_F77 in
15562 # FIXME: we may have to deal with multi-command sequences.
15565 # Test whether the compiler implicitly links with -lc since on some
15566 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15567 # to ld, don't add -lc before -lgcc.
15568 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15569 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15571 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } 2>conftest.err
; then
15580 libobjs
=conftest.
$ac_objext
15582 wl
=$lt_prog_compiler_wl_F77
15583 pic_flag
=$lt_prog_compiler_pic_F77
15589 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15590 allow_undefined_flag_F77
=
15591 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15592 (eval $archive_cmds_F77 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }
15597 archive_cmds_need_lc_F77
=no
15599 archive_cmds_need_lc_F77
=yes
15601 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15603 cat conftest.err
1>&5
15606 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15607 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15614 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15615 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15616 library_names_spec
=
15617 libname_spec
='lib$name'
15621 postuninstall_cmds
=
15625 shlibpath_overrides_runpath
=unknown
15627 dynamic_linker
="$host_os ld.so"
15628 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15629 if test "$GCC" = yes; then
15630 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15631 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
15632 # if the path contains ";" then we assume it to be the separator
15633 # otherwise default to the standard path separator (i.e. ":") - it is
15634 # assumed that no part of a normal pathname contains ";" but that should
15635 # okay in the real world where ";" in dirpaths is itself problematic.
15636 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15638 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15641 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15643 need_lib_prefix
=unknown
15644 hardcode_into_libs
=no
15646 # when you set need_version to no, make sure it does not cause -set_version
15647 # flags to be left without arguments
15648 need_version
=unknown
15653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15654 shlibpath_var
=LIBPATH
15656 # AIX 3 has no versioning support, so we append a major version to the name.
15657 soname_spec
='${libname}${release}${shared_ext}$major'
15664 hardcode_into_libs
=yes
15665 if test "$host_cpu" = ia64
; then
15666 # AIX 5 supports IA64
15667 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15668 shlibpath_var
=LD_LIBRARY_PATH
15670 # With GCC up to 2.95.x, collect2 would create an import file
15671 # for dependence libraries. The import file would start with
15672 # the line `#! .'. This would cause the generated library to
15673 # depend on `.', always an invalid library. This was fixed in
15674 # development snapshots of GCC prior to 3.0.
15676 aix4
| aix4.
[01] | aix4.
[01].
*)
15677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15679 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
15682 can_build_shared
=no
15686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15687 # soname into executable. Probably we can add versioning support to
15688 # collect2, so additional links can be useful in future.
15689 if test "$aix_use_runtimelinking" = yes; then
15690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15691 # instead of lib<name>.a to let people know that these are not
15692 # typical AIX shared libraries.
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15695 # We preserve .a as extension for shared libraries through AIX4.2
15696 # and later when we are not doing run time linking.
15697 library_names_spec
='${libname}${release}.a $libname.a'
15698 soname_spec
='${libname}${release}${shared_ext}$major'
15700 shlibpath_var
=LIBPATH
15705 library_names_spec
='$libname.ixlibrary $libname.a'
15706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15707 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'
15711 library_names_spec
='${libname}${shared_ext}'
15712 dynamic_linker
="$host_os ld.so"
15713 shlibpath_var
=LIBRARY_PATH
15719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15720 soname_spec
='${libname}${release}${shared_ext}$major'
15721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15722 shlibpath_var
=LD_LIBRARY_PATH
15723 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15724 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15725 # the default ld.so.conf also contains /usr/contrib/lib and
15726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15727 # libtool to hard-code these into programs
15730 cygwin
* | mingw
* | pw32
*)
15731 version_type
=windows
15736 case $GCC,$host_os in
15737 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
15738 library_names_spec
='$libname.dll.a'
15739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15740 postinstall_cmds
='base_file=`basename \${file}`~
15741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15742 dldir=$destdir/`dirname \$dlpath`~
15743 test -d \$dldir || mkdir -p \$dldir~
15744 $install_prog $dir/$dlname \$dldir/$dlname~
15745 chmod a+x \$dldir/$dlname'
15746 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15747 dlpath=$dir/\$dldll~
15749 shlibpath_overrides_runpath
=yes
15753 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15754 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15755 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15758 # MinGW DLLs use traditional 'lib' prefix
15759 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15760 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15761 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
15762 # It is most probably a Windows format PATH printed by
15763 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15764 # path with ; separators, and with drive letters. We can handle the
15765 # drive letters (cygwin fileutils understands them), so leave them,
15766 # especially as we might pass files found there to a mingw objdump,
15767 # which wouldn't understand a cygwinified path. Ahh.
15768 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15770 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15774 # pw32 DLLs use 'pw' prefix rather than 'lib'
15775 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15781 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15784 dynamic_linker
='Win32 ld.exe'
15785 # FIXME: first we should search . and the directory the executable is in
15789 darwin
* | rhapsody
*)
15790 dynamic_linker
="$host_os dyld"
15791 version_type
=darwin
15794 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15795 soname_spec
='${libname}${release}${major}$shared_ext'
15796 shlibpath_overrides_runpath
=yes
15797 shlibpath_var
=DYLD_LIBRARY_PATH
15798 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15799 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15800 if test "$GCC" = yes; then
15801 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"`
15803 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15805 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15813 soname_spec
='${libname}${release}${shared_ext}$major'
15814 shlibpath_var
=LD_LIBRARY_PATH
15825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15826 soname_spec
='${libname}${release}${shared_ext}$major'
15827 shlibpath_var
=LD_LIBRARY_PATH
15828 shlibpath_overrides_runpath
=no
15829 hardcode_into_libs
=yes
15830 dynamic_linker
='GNU ld.so'
15833 freebsd
* | dragonfly
*)
15834 # DragonFly does not have aout. When/if they implement a new
15835 # versioning mechanism, adjust this.
15836 if test -x /usr
/bin
/objformat
; then
15837 objformat
=`/usr/bin/objformat`
15840 freebsd
[123]*) objformat
=aout
;;
15841 *) objformat
=elf
;;
15844 version_type
=freebsd
-$objformat
15845 case $version_type in
15847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15852 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15856 shlibpath_var
=LD_LIBRARY_PATH
15859 shlibpath_overrides_runpath
=yes
15861 freebsd3.
[01]* | freebsdelf3.
[01]*)
15862 shlibpath_overrides_runpath
=yes
15863 hardcode_into_libs
=yes
15865 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15866 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15867 shlibpath_overrides_runpath
=no
15868 hardcode_into_libs
=yes
15870 freebsd
*) # from 4.6 on
15871 shlibpath_overrides_runpath
=yes
15872 hardcode_into_libs
=yes
15881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15882 soname_spec
='${libname}${release}${shared_ext}$major'
15883 shlibpath_var
=LD_LIBRARY_PATH
15884 hardcode_into_libs
=yes
15887 hpux9
* | hpux10
* | hpux11
*)
15888 # Give a soname corresponding to the major version so that dld.sl refuses to
15889 # link against other versions.
15896 hardcode_into_libs
=yes
15897 dynamic_linker
="$host_os dld.so"
15898 shlibpath_var
=LD_LIBRARY_PATH
15899 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15901 soname_spec
='${libname}${release}${shared_ext}$major'
15902 if test "X$HPUX_IA64_MODE" = X32
; then
15903 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15905 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15911 hardcode_into_libs
=yes
15912 dynamic_linker
="$host_os dld.sl"
15913 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15914 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15916 soname_spec
='${libname}${release}${shared_ext}$major'
15917 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15918 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15922 dynamic_linker
="$host_os dld.sl"
15923 shlibpath_var
=SHLIB_PATH
15924 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15926 soname_spec
='${libname}${release}${shared_ext}$major'
15929 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15930 postinstall_cmds
='chmod 555 $lib'
15937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15938 soname_spec
='${libname}${release}${shared_ext}$major'
15939 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15940 shlibpath_var
=LD_LIBRARY_PATH
15941 shlibpath_overrides_runpath
=no
15942 hardcode_into_libs
=yes
15945 irix5
* | irix6
* | nonstopux
*)
15947 nonstopux
*) version_type
=nonstopux
;;
15949 if test "$lt_cv_prog_gnu_ld" = yes; then
15957 soname_spec
='${libname}${release}${shared_ext}$major'
15958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15960 irix5
* | nonstopux
*)
15961 libsuff
= shlibsuff
=
15964 case $LD in # libtool.m4 will add one of these switches to LD
15965 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15966 libsuff
= shlibsuff
= libmagic
=32-bit;;
15967 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15968 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15969 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15970 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15971 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15975 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15976 shlibpath_overrides_runpath
=no
15977 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15978 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15979 hardcode_into_libs
=yes
15982 # No shared lib support for Linux oldld, aout, or coff.
15983 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15987 # This must be Linux ELF.
15992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15993 soname_spec
='${libname}${release}${shared_ext}$major'
15994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15995 shlibpath_var
=LD_LIBRARY_PATH
15996 shlibpath_overrides_runpath
=no
15997 # This implies no fast_install, which is unacceptable.
15998 # Some rework will be needed to allow for fast_install
15999 # before this can be enabled.
16000 hardcode_into_libs
=yes
16002 # Append ld.so.conf contents to the search path
16003 if test -f /etc
/ld.so.conf
; then
16004 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16005 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16008 # We used to test for /lib/ld.so.1 and disable shared libraries on
16009 # powerpc, because MkLinux only supported shared libraries with the
16010 # GNU dynamic linker. Since this was broken with cross compilers,
16011 # most powerpc-linux boxes support dynamic linking these days and
16012 # people can always --disable-shared, the test was removed, and we
16013 # assume the GNU/Linux dynamic linker is in use.
16014 dynamic_linker
='GNU/Linux ld.so'
16021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16022 soname_spec
='${libname}${release}${shared_ext}$major'
16023 shlibpath_var
=LD_LIBRARY_PATH
16024 shlibpath_overrides_runpath
=no
16025 hardcode_into_libs
=yes
16026 dynamic_linker
='NetBSD ld.elf_so'
16033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16034 soname_spec
='${libname}${release}${shared_ext}$major'
16035 shlibpath_var
=LD_LIBRARY_PATH
16036 shlibpath_overrides_runpath
=no
16037 hardcode_into_libs
=yes
16038 dynamic_linker
='GNU ld.so'
16045 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
16046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16047 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16048 dynamic_linker
='NetBSD (a.out) ld.so'
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16051 soname_spec
='${libname}${release}${shared_ext}$major'
16052 dynamic_linker
='NetBSD ld.elf_so'
16054 shlibpath_var
=LD_LIBRARY_PATH
16055 shlibpath_overrides_runpath
=yes
16056 hardcode_into_libs
=yes
16061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16062 shlibpath_var
=LD_LIBRARY_PATH
16063 shlibpath_overrides_runpath
=yes
16070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16071 soname_spec
='${libname}${release}${shared_ext}$major'
16072 shlibpath_var
=LD_LIBRARY_PATH
16073 shlibpath_overrides_runpath
=yes
16078 sys_lib_dlsearch_path_spec
="/usr/lib"
16080 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16082 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
16083 *) need_version
=no
;;
16085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16087 shlibpath_var
=LD_LIBRARY_PATH
16088 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16090 openbsd2.
[89] | openbsd2.
[89].
*)
16091 shlibpath_overrides_runpath
=no
16094 shlibpath_overrides_runpath
=yes
16098 shlibpath_overrides_runpath
=yes
16103 libname_spec
='$name'
16106 library_names_spec
='$libname${shared_ext} $libname.a'
16107 dynamic_linker
='OS/2 ld.exe'
16108 shlibpath_var
=LIBPATH
16111 osf3
* | osf4
* | osf5
*)
16115 soname_spec
='${libname}${release}${shared_ext}$major'
16116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16117 shlibpath_var
=LD_LIBRARY_PATH
16118 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16119 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16127 soname_spec
='${libname}${release}${shared_ext}$major'
16128 shlibpath_var
=LD_LIBRARY_PATH
16129 shlibpath_overrides_runpath
=yes
16130 hardcode_into_libs
=yes
16131 # ldd complains unless libraries are executable
16132 postinstall_cmds
='chmod +x $lib'
16137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16138 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16139 shlibpath_var
=LD_LIBRARY_PATH
16140 shlibpath_overrides_runpath
=yes
16141 if test "$with_gnu_ld" = yes; then
16149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16150 soname_spec
='${libname}${release}${shared_ext}$major'
16151 shlibpath_var
=LD_LIBRARY_PATH
16152 case $host_vendor in
16154 shlibpath_overrides_runpath
=no
16156 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16157 runpath_var
=LD_RUN_PATH
16165 shlibpath_overrides_runpath
=no
16166 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16172 if test -d /usr
/nec
;then
16174 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16175 soname_spec
='$libname${shared_ext}.$major'
16176 shlibpath_var
=LD_LIBRARY_PATH
16180 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16181 version_type
=freebsd
-elf
16184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16185 soname_spec
='${libname}${release}${shared_ext}$major'
16186 shlibpath_var
=LD_LIBRARY_PATH
16187 hardcode_into_libs
=yes
16188 if test "$with_gnu_ld" = yes; then
16189 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16190 shlibpath_overrides_runpath
=no
16192 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16193 shlibpath_overrides_runpath
=yes
16196 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16200 sys_lib_dlsearch_path_spec
='/usr/lib'
16205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16206 soname_spec
='${libname}${release}${shared_ext}$major'
16207 shlibpath_var
=LD_LIBRARY_PATH
16214 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16215 echo "${ECHO_T}$dynamic_linker" >&6
16216 test "$dynamic_linker" = no
&& can_build_shared
=no
16218 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16219 if test "$GCC" = yes; then
16220 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16223 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16224 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16225 hardcode_action_F77
=
16226 if test -n "$hardcode_libdir_flag_spec_F77" || \
16227 test -n "$runpath_var_F77" || \
16228 test "X$hardcode_automatic_F77" = "Xyes" ; then
16230 # We can hardcode non-existant directories.
16231 if test "$hardcode_direct_F77" != no
&&
16232 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16233 # have to relink, otherwise we might link with an installed library
16234 # when we should be linking with a yet-to-be-installed one
16235 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16236 test "$hardcode_minus_L_F77" != no
; then
16237 # Linking always hardcodes the temporary library directory.
16238 hardcode_action_F77
=relink
16240 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16241 hardcode_action_F77
=immediate
16244 # We cannot hardcode anything, or else we can only hardcode existing
16246 hardcode_action_F77
=unsupported
16248 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16249 echo "${ECHO_T}$hardcode_action_F77" >&6
16251 if test "$hardcode_action_F77" = relink
; then
16252 # Fast installation is not supported
16253 enable_fast_install
=no
16254 elif test "$shlibpath_overrides_runpath" = yes ||
16255 test "$enable_shared" = no
; then
16256 # Fast installation is not necessary
16257 enable_fast_install
=needless
16261 # The else clause should only fire when bootstrapping the
16262 # libtool distribution, otherwise you forgot to ship ltmain.sh
16263 # with your package, and you will get complaints that there are
16264 # no rules to generate ltmain.sh.
16265 if test -f "$ltmain"; then
16266 # See if we are running on zsh, and set the options which allow our commands through
16267 # without removal of \ escapes.
16268 if test -n "${ZSH_VERSION+set}" ; then
16269 setopt NO_GLOB_SUBST
16271 # Now quote all the things that may contain metacharacters while being
16272 # careful not to overquote the AC_SUBSTed values. We take copies of the
16273 # variables and quote the copies for generation of the libtool script.
16274 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16276 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16277 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16278 deplibs_check_method reload_flag reload_cmds need_locks \
16279 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16280 lt_cv_sys_global_symbol_to_c_name_address \
16281 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16282 old_postinstall_cmds old_postuninstall_cmds \
16286 lt_prog_compiler_wl_F77 \
16287 lt_prog_compiler_pic_F77 \
16288 lt_prog_compiler_static_F77 \
16289 lt_prog_compiler_no_builtin_flag_F77 \
16290 export_dynamic_flag_spec_F77 \
16291 thread_safe_flag_spec_F77 \
16292 whole_archive_flag_spec_F77 \
16293 enable_shared_with_static_runtimes_F77 \
16294 old_archive_cmds_F77 \
16295 old_archive_from_new_cmds_F77 \
16296 predep_objects_F77 \
16297 postdep_objects_F77 \
16300 compiler_lib_search_path_F77 \
16302 archive_expsym_cmds_F77 \
16303 postinstall_cmds_F77 \
16304 postuninstall_cmds_F77 \
16305 old_archive_from_expsyms_cmds_F77 \
16306 allow_undefined_flag_F77 \
16307 no_undefined_flag_F77 \
16308 export_symbols_cmds_F77 \
16309 hardcode_libdir_flag_spec_F77 \
16310 hardcode_libdir_flag_spec_ld_F77 \
16311 hardcode_libdir_separator_F77 \
16312 hardcode_automatic_F77 \
16314 module_expsym_cmds_F77 \
16315 lt_cv_prog_compiler_c_o_F77 \
16316 exclude_expsyms_F77 \
16317 include_expsyms_F77
; do
16320 old_archive_cmds_F77
| \
16321 old_archive_from_new_cmds_F77
| \
16322 archive_cmds_F77
| \
16323 archive_expsym_cmds_F77
| \
16324 module_cmds_F77
| \
16325 module_expsym_cmds_F77
| \
16326 old_archive_from_expsyms_cmds_F77
| \
16327 export_symbols_cmds_F77
| \
16328 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
16329 postinstall_cmds
| postuninstall_cmds
| \
16330 old_postinstall_cmds
| old_postuninstall_cmds
| \
16331 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
16332 # Double-quote double-evaled strings.
16333 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16336 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16342 *'\$0 --fallback-echo"')
16343 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16349 cat <<__EOF__ >> "$cfgfile"
16350 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16352 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16354 # Shell to use when invoking shell scripts.
16357 # Whether or not to build shared libraries.
16358 build_libtool_libs=$enable_shared
16360 # Whether or not to build static libraries.
16361 build_old_libs=$enable_static
16363 # Whether or not to add -lc for building shared libraries.
16364 build_libtool_need_lc=$archive_cmds_need_lc_F77
16366 # Whether or not to disallow shared libs when runtime libs are static
16367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16369 # Whether or not to optimize for fast installation.
16370 fast_install=$enable_fast_install
16373 host_alias=$host_alias
16377 # The build system.
16378 build_alias=$build_alias
16382 # An echo program that does not interpret backslashes.
16387 AR_FLAGS=$lt_AR_FLAGS
16392 # LTCC compiler flags.
16393 LTCFLAGS=$lt_LTCFLAGS
16395 # A language-specific compiler.
16396 CC=$lt_compiler_F77
16398 # Is the compiler the GNU C compiler?
16404 # The linker used to build libraries.
16407 # Whether we need hard or soft links.
16410 # A BSD-compatible nm program.
16413 # A symbol stripping program
16416 # Used to examine libraries when file_magic_cmd begins "file"
16417 MAGIC_CMD=$MAGIC_CMD
16419 # Used on cygwin: DLL creation program.
16422 # Used on cygwin: object dumper.
16425 # Used on cygwin: assembler.
16428 # The name of the directory that contains temporary libtool files.
16431 # How to create reloadable object files.
16432 reload_flag=$lt_reload_flag
16433 reload_cmds=$lt_reload_cmds
16435 # How to pass a linker flag through the compiler.
16436 wl=$lt_lt_prog_compiler_wl_F77
16438 # Object file suffix (normally "o").
16439 objext="$ac_objext"
16441 # Old archive suffix (normally "a").
16444 # Shared library suffix (normally ".so").
16445 shrext_cmds='$shrext_cmds'
16447 # Executable file suffix (normally "").
16450 # Additional compiler flags for building library objects.
16451 pic_flag=$lt_lt_prog_compiler_pic_F77
16454 # What is the maximum length of a command?
16455 max_cmd_len=$lt_cv_sys_max_cmd_len
16457 # Does compiler simultaneously support -c and -o options?
16458 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16460 # Must we lock files when doing compilation?
16461 need_locks=$lt_need_locks
16463 # Do we need the lib prefix for modules?
16464 need_lib_prefix=$need_lib_prefix
16466 # Do we need a version for libraries?
16467 need_version=$need_version
16469 # Whether dlopen is supported.
16470 dlopen_support=$enable_dlopen
16472 # Whether dlopen of programs is supported.
16473 dlopen_self=$enable_dlopen_self
16475 # Whether dlopen of statically linked programs is supported.
16476 dlopen_self_static=$enable_dlopen_self_static
16478 # Compiler flag to prevent dynamic linking.
16479 link_static_flag=$lt_lt_prog_compiler_static_F77
16481 # Compiler flag to turn off builtin functions.
16482 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16484 # Compiler flag to allow reflexive dlopens.
16485 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16487 # Compiler flag to generate shared objects directly from archives.
16488 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16490 # Compiler flag to generate thread-safe objects.
16491 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16493 # Library versioning type.
16494 version_type=$version_type
16496 # Format of library name prefix.
16497 libname_spec=$lt_libname_spec
16499 # List of archive names. First name is the real one, the rest are links.
16500 # The last name is the one that the linker finds with -lNAME.
16501 library_names_spec=$lt_library_names_spec
16503 # The coded name of the library, if different from the real name.
16504 soname_spec=$lt_soname_spec
16506 # Commands used to build and install an old-style archive.
16508 old_archive_cmds=$lt_old_archive_cmds_F77
16509 old_postinstall_cmds=$lt_old_postinstall_cmds
16510 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16512 # Create an old-style archive from a shared archive.
16513 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16515 # Create a temporary old-style archive to link instead of a shared archive.
16516 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16518 # Commands used to build and install a shared archive.
16519 archive_cmds=$lt_archive_cmds_F77
16520 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16521 postinstall_cmds=$lt_postinstall_cmds
16522 postuninstall_cmds=$lt_postuninstall_cmds
16524 # Commands used to build a loadable module (assumed same as above if empty)
16525 module_cmds=$lt_module_cmds_F77
16526 module_expsym_cmds=$lt_module_expsym_cmds_F77
16528 # Commands to strip libraries.
16529 old_striplib=$lt_old_striplib
16530 striplib=$lt_striplib
16532 # Dependencies to place before the objects being linked to create a
16534 predep_objects=$lt_predep_objects_F77
16536 # Dependencies to place after the objects being linked to create a
16538 postdep_objects=$lt_postdep_objects_F77
16540 # Dependencies to place before the objects being linked to create a
16542 predeps=$lt_predeps_F77
16544 # Dependencies to place after the objects being linked to create a
16546 postdeps=$lt_postdeps_F77
16548 # The library search path used internally by the compiler when linking
16549 # a shared library.
16550 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16552 # Method to check whether dependent libraries are shared objects.
16553 deplibs_check_method=$lt_deplibs_check_method
16555 # Command to use when deplibs_check_method == file_magic.
16556 file_magic_cmd=$lt_file_magic_cmd
16558 # Flag that allows shared libraries with undefined symbols to be built.
16559 allow_undefined_flag=$lt_allow_undefined_flag_F77
16561 # Flag that forces no undefined symbols.
16562 no_undefined_flag=$lt_no_undefined_flag_F77
16564 # Commands used to finish a libtool library installation in a directory.
16565 finish_cmds=$lt_finish_cmds
16567 # Same as above, but a single script fragment to be evaled but not shown.
16568 finish_eval=$lt_finish_eval
16570 # Take the output of nm and produce a listing of raw symbols and C names.
16571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16573 # Transform the output of nm in a proper C declaration
16574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16576 # Transform the output of nm in a C name address pair
16577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16579 # This is the shared library runtime path variable.
16580 runpath_var=$runpath_var
16582 # This is the shared library path variable.
16583 shlibpath_var=$shlibpath_var
16585 # Is shlibpath searched before the hard-coded library search path?
16586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16588 # How to hardcode a shared library path into an executable.
16589 hardcode_action=$hardcode_action_F77
16591 # Whether we should hardcode library paths into libraries.
16592 hardcode_into_libs=$hardcode_into_libs
16594 # Flag to hardcode \$libdir into a binary during linking.
16595 # This must work even if \$libdir does not exist.
16596 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16598 # If ld is used when linking, flag to hardcode \$libdir into
16599 # a binary during linking. This must work even if \$libdir does
16601 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16603 # Whether we need a single -rpath flag with a separated argument.
16604 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16606 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16607 # resulting binary.
16608 hardcode_direct=$hardcode_direct_F77
16610 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16611 # resulting binary.
16612 hardcode_minus_L=$hardcode_minus_L_F77
16614 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16615 # the resulting binary.
16616 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16618 # Set to yes if building a shared library automatically hardcodes DIR into the library
16619 # and all subsequent libraries and executables linked against it.
16620 hardcode_automatic=$hardcode_automatic_F77
16622 # Variables whose values should be saved in libtool wrapper scripts and
16623 # restored at relink time.
16624 variables_saved_for_relink="$variables_saved_for_relink"
16626 # Whether libtool must link a program against all its dependency libraries.
16627 link_all_deplibs=$link_all_deplibs_F77
16629 # Compile-time system search path for libraries
16630 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16632 # Run-time system search path for libraries
16633 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16635 # Fix the shell variable \$srcfile for the compiler.
16636 fix_srcfile_path="$fix_srcfile_path_F77"
16638 # Set to yes if exported symbols are required.
16639 always_export_symbols=$always_export_symbols_F77
16641 # The commands to list exported symbols.
16642 export_symbols_cmds=$lt_export_symbols_cmds_F77
16644 # The commands to extract the exported symbol list from a shared archive.
16645 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16647 # Symbols that should not be listed in the preloaded symbols.
16648 exclude_expsyms=$lt_exclude_expsyms_F77
16650 # Symbols that must always be exported.
16651 include_expsyms=$lt_include_expsyms_F77
16653 # ### END LIBTOOL TAG CONFIG: $tagname
16659 # If there is no Makefile yet, we rely on a make rule to execute
16660 # `config.status --recheck' to rerun these tests and create the
16661 # libtool script then.
16662 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16663 if test -f "$ltmain_in"; then
16664 test -f Makefile
&& make "$ltmain"
16670 ac_cpp
='$CPP $CPPFLAGS'
16671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16683 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16687 # Source file extension for Java test sources.
16690 # Object file extension for compiled Java test sources.
16694 # Code to be used in simple compile tests
16695 lt_simple_compile_test_code
="class foo {}\n"
16697 # Code to be used in simple link tests
16698 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16700 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16702 # If no C compiler was specified, use CC.
16705 # If no C compiler flags were specified, use CFLAGS.
16706 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16708 # Allow CC to be a program name with arguments.
16712 # save warnings/boilerplate of simple test code
16713 ac_outfile
=conftest.
$ac_objext
16714 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16715 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
16716 _lt_compiler_boilerplate
=`cat conftest.err`
16719 ac_outfile
=conftest.
$ac_objext
16720 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16721 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
16722 _lt_linker_boilerplate
=`cat conftest.err`
16726 # Allow CC to be a program name with arguments.
16731 for cc_temp
in $compiler""; do
16733 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
16734 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
16739 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16742 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16743 archive_cmds_need_lc_GCJ
=no
16745 old_archive_cmds_GCJ
=$old_archive_cmds
16748 lt_prog_compiler_no_builtin_flag_GCJ
=
16750 if test "$GCC" = yes; then
16751 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16754 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16755 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16756 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 lt_cv_prog_compiler_rtti_exceptions
=no
16760 ac_outfile
=conftest.
$ac_objext
16761 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16762 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16763 # Insert the option either (1) after the last *FLAGS variable, or
16764 # (2) before a word containing "conftest.", or (3) at the end.
16765 # Note that $ac_compile itself does not contain backslashes and begins
16766 # with a dollar sign (not a hyphen), so the echo should work correctly.
16767 # The option is referenced via a variable to avoid confusing sed.
16768 lt_compile
=`echo "$ac_compile" | $SED \
16769 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16770 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16771 -e 's:$: $lt_compiler_flag:'`
16772 (eval echo "\"\$as_me:16772: $lt_compile\"" >&5)
16773 (eval "$lt_compile" 2>conftest.err
)
16775 cat conftest.err
>&5
16776 echo "$as_me:16776: \$? = $ac_status" >&5
16777 if (exit $ac_status) && test -s "$ac_outfile"; then
16778 # The compiler can only warn and ignore the option if not recognized
16779 # So say no if there are warnings other than the usual output.
16780 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16781 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16782 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16783 lt_cv_prog_compiler_rtti_exceptions
=yes
16789 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16790 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16792 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16793 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16800 lt_prog_compiler_wl_GCJ
=
16801 lt_prog_compiler_pic_GCJ
=
16802 lt_prog_compiler_static_GCJ
=
16804 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16805 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16807 if test "$GCC" = yes; then
16808 lt_prog_compiler_wl_GCJ
='-Wl,'
16809 lt_prog_compiler_static_GCJ
='-static'
16813 # All AIX code is PIC.
16814 if test "$host_cpu" = ia64
; then
16815 # AIX 5 now supports IA64 processor
16816 lt_prog_compiler_static_GCJ
='-Bstatic'
16821 # FIXME: we need at least 68020 code to build shared libraries, but
16822 # adding the `-m68020' flag to GCC prevents building anything better,
16824 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16827 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16828 # PIC is the default for these OSes.
16831 mingw
* | pw32
* | os2
*)
16832 # This hack is so that the source file can tell whether it is being
16833 # built for inclusion in a dll (and should export symbols for example).
16834 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16837 darwin
* | rhapsody
*)
16838 # PIC is the default on this platform
16839 # Common symbols not allowed in MH_DYLIB files
16840 lt_prog_compiler_pic_GCJ
='-fno-common'
16844 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16845 # Instead, we relocate shared libraries at runtime.
16849 # Just because we use GCC doesn't mean we suddenly get shared libraries
16850 # on systems that don't support them.
16851 lt_prog_compiler_can_build_shared_GCJ
=no
16856 if test -d /usr
/nec
; then
16857 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16862 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16863 # not for PA HP-UX.
16869 lt_prog_compiler_pic_GCJ
='-fPIC'
16875 lt_prog_compiler_pic_GCJ
='-fPIC'
16879 # PORTME Check for flag to pass linker flags through the system compiler.
16882 lt_prog_compiler_wl_GCJ
='-Wl,'
16883 if test "$host_cpu" = ia64
; then
16884 # AIX 5 now supports IA64 processor
16885 lt_prog_compiler_static_GCJ
='-Bstatic'
16887 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16891 # PIC is the default on this platform
16892 # Common symbols not allowed in MH_DYLIB files
16893 case $cc_basename in
16895 lt_prog_compiler_pic_GCJ
='-qnocommon'
16896 lt_prog_compiler_wl_GCJ
='-Wl,'
16901 mingw
* | pw32
* | os2
*)
16902 # This hack is so that the source file can tell whether it is being
16903 # built for inclusion in a dll (and should export symbols for example).
16904 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16907 hpux9
* | hpux10
* | hpux11
*)
16908 lt_prog_compiler_wl_GCJ
='-Wl,'
16909 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16910 # not for PA HP-UX.
16916 lt_prog_compiler_pic_GCJ
='+Z'
16919 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16920 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16923 irix5
* | irix6
* | nonstopux
*)
16924 lt_prog_compiler_wl_GCJ
='-Wl,'
16925 # PIC (with -KPIC) is the default.
16926 lt_prog_compiler_static_GCJ
='-non_shared'
16930 lt_prog_compiler_pic_GCJ
='-KPIC'
16931 lt_prog_compiler_static_GCJ
='-Bstatic'
16935 case $cc_basename in
16937 lt_prog_compiler_wl_GCJ
='-Wl,'
16938 lt_prog_compiler_pic_GCJ
='-KPIC'
16939 lt_prog_compiler_static_GCJ
='-static'
16941 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16942 # Portland Group compilers (*not* the Pentium gcc compiler,
16943 # which looks to be a dead project)
16944 lt_prog_compiler_wl_GCJ
='-Wl,'
16945 lt_prog_compiler_pic_GCJ
='-fpic'
16946 lt_prog_compiler_static_GCJ
='-Bstatic'
16949 lt_prog_compiler_wl_GCJ
='-Wl,'
16950 # All Alpha code is PIC.
16951 lt_prog_compiler_static_GCJ
='-non_shared'
16956 osf3
* | osf4
* | osf5
*)
16957 lt_prog_compiler_wl_GCJ
='-Wl,'
16958 # All OSF/1 code is PIC.
16959 lt_prog_compiler_static_GCJ
='-non_shared'
16963 lt_prog_compiler_pic_GCJ
='-KPIC'
16964 lt_prog_compiler_static_GCJ
='-Bstatic'
16965 case $cc_basename in
16966 f77
* | f90
* | f95
*)
16967 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16969 lt_prog_compiler_wl_GCJ
='-Wl,';;
16974 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16975 lt_prog_compiler_pic_GCJ
='-PIC'
16976 lt_prog_compiler_static_GCJ
='-Bstatic'
16979 sysv4
| sysv4.2uw2
* | sysv4.3
*)
16980 lt_prog_compiler_wl_GCJ
='-Wl,'
16981 lt_prog_compiler_pic_GCJ
='-KPIC'
16982 lt_prog_compiler_static_GCJ
='-Bstatic'
16986 if test -d /usr
/nec
;then
16987 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16988 lt_prog_compiler_static_GCJ
='-Bstatic'
16992 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16993 lt_prog_compiler_wl_GCJ
='-Wl,'
16994 lt_prog_compiler_pic_GCJ
='-KPIC'
16995 lt_prog_compiler_static_GCJ
='-Bstatic'
16999 lt_prog_compiler_wl_GCJ
='-Wl,'
17000 lt_prog_compiler_can_build_shared_GCJ
=no
17004 lt_prog_compiler_pic_GCJ
='-pic'
17005 lt_prog_compiler_static_GCJ
='-Bstatic'
17009 lt_prog_compiler_can_build_shared_GCJ
=no
17014 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17015 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17018 # Check to make sure the PIC flag actually works.
17020 if test -n "$lt_prog_compiler_pic_GCJ"; then
17022 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17023 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17024 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 lt_prog_compiler_pic_works_GCJ
=no
17028 ac_outfile
=conftest.
$ac_objext
17029 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17030 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17031 # Insert the option either (1) after the last *FLAGS variable, or
17032 # (2) before a word containing "conftest.", or (3) at the end.
17033 # Note that $ac_compile itself does not contain backslashes and begins
17034 # with a dollar sign (not a hyphen), so the echo should work correctly.
17035 # The option is referenced via a variable to avoid confusing sed.
17036 lt_compile
=`echo "$ac_compile" | $SED \
17037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17039 -e 's:$: $lt_compiler_flag:'`
17040 (eval echo "\"\$as_me:17040: $lt_compile\"" >&5)
17041 (eval "$lt_compile" 2>conftest.err
)
17043 cat conftest.err
>&5
17044 echo "$as_me:17044: \$? = $ac_status" >&5
17045 if (exit $ac_status) && test -s "$ac_outfile"; then
17046 # The compiler can only warn and ignore the option if not recognized
17047 # So say no if there are warnings other than the usual output.
17048 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17049 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17050 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
17051 lt_prog_compiler_pic_works_GCJ
=yes
17057 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17058 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17060 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17061 case $lt_prog_compiler_pic_GCJ in
17063 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17066 lt_prog_compiler_pic_GCJ
=
17067 lt_prog_compiler_can_build_shared_GCJ
=no
17072 # For platforms which do not support PIC, -DPIC is meaningless:
17074 lt_prog_compiler_pic_GCJ
=
17077 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17082 # Check to make sure the static flag actually works.
17084 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17085 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17086 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
17087 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 lt_prog_compiler_static_works_GCJ
=no
17091 save_LDFLAGS
="$LDFLAGS"
17092 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17093 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
17094 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17095 # The linker can only warn and ignore the option if not recognized
17096 # So say no if there are warnings
17097 if test -s conftest.err
; then
17098 # Append any errors to the config.log.
17099 cat conftest.err
1>&5
17100 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17101 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17102 if diff conftest.exp conftest.er2
>/dev
/null
; then
17103 lt_prog_compiler_static_works_GCJ
=yes
17106 lt_prog_compiler_static_works_GCJ
=yes
17110 LDFLAGS
="$save_LDFLAGS"
17113 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17114 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
17116 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17119 lt_prog_compiler_static_GCJ
=
17123 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17124 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17125 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17126 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 lt_cv_prog_compiler_c_o_GCJ
=no
17129 $rm -r conftest
2>/dev
/null
17133 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17135 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17136 # Insert the option either (1) after the last *FLAGS variable, or
17137 # (2) before a word containing "conftest.", or (3) at the end.
17138 # Note that $ac_compile itself does not contain backslashes and begins
17139 # with a dollar sign (not a hyphen), so the echo should work correctly.
17140 lt_compile
=`echo "$ac_compile" | $SED \
17141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17143 -e 's:$: $lt_compiler_flag:'`
17144 (eval echo "\"\$as_me:17144: $lt_compile\"" >&5)
17145 (eval "$lt_compile" 2>out
/conftest.err
)
17147 cat out
/conftest.err
>&5
17148 echo "$as_me:17148: \$? = $ac_status" >&5
17149 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17151 # The compiler can only warn and ignore the option if not recognized
17152 # So say no if there are warnings
17153 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
17154 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17155 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17156 lt_cv_prog_compiler_c_o_GCJ
=yes
17161 # SGI C++ compiler will create directory out/ii_files/ for
17162 # template instantiation
17163 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17164 $rm out
/* && rmdir out
17170 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17171 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17174 hard_links
="nottested"
17175 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17176 # do not overwrite the value of need_locks provided by the user
17177 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17178 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17181 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17183 ln conftest.a conftest.b
2>&5 || hard_links
=no
17184 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17185 echo "$as_me:$LINENO: result: $hard_links" >&5
17186 echo "${ECHO_T}$hard_links" >&6
17187 if test "$hard_links" = no
; then
17188 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17189 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17196 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17197 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17200 allow_undefined_flag_GCJ
=
17201 enable_shared_with_static_runtimes_GCJ
=no
17203 archive_expsym_cmds_GCJ
=
17204 old_archive_From_new_cmds_GCJ
=
17205 old_archive_from_expsyms_cmds_GCJ
=
17206 export_dynamic_flag_spec_GCJ
=
17207 whole_archive_flag_spec_GCJ
=
17208 thread_safe_flag_spec_GCJ
=
17209 hardcode_libdir_flag_spec_GCJ
=
17210 hardcode_libdir_flag_spec_ld_GCJ
=
17211 hardcode_libdir_separator_GCJ
=
17212 hardcode_direct_GCJ
=no
17213 hardcode_minus_L_GCJ
=no
17214 hardcode_shlibpath_var_GCJ
=unsupported
17215 link_all_deplibs_GCJ
=unknown
17216 hardcode_automatic_GCJ
=no
17218 module_expsym_cmds_GCJ
=
17219 always_export_symbols_GCJ
=no
17220 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17221 # include_expsyms should be a list of space-separated symbols to be *always*
17222 # included in the symbol list
17223 include_expsyms_GCJ
=
17224 # exclude_expsyms can be an extended regexp of symbols to exclude
17225 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17226 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17227 # as well as any symbol that contains `d'.
17228 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17229 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17230 # platforms (ab)use it in PIC code, but their linkers get confused if
17231 # the symbol is explicitly referenced. Since portable code cannot
17232 # rely on this symbol name, it's probably fine to never include it in
17233 # preloaded symbol tables.
17234 extract_expsyms_cmds
=
17235 # Just being paranoid about ensuring that cc_basename is set.
17236 for cc_temp
in $compiler""; do
17238 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
17239 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
17244 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17247 cygwin
* | mingw
* | pw32
*)
17248 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17249 # When not using gcc, we currently assume that we are using
17250 # Microsoft Visual C++.
17251 if test "$GCC" != yes; then
17256 # we just hope/assume this is gcc and not c89 (= MSVC++)
17265 if test "$with_gnu_ld" = yes; then
17266 # If archive_cmds runs LD, not CC, wlarc should be empty
17269 # Set some defaults for GNU ld with shared library support. These
17270 # are reset later if shared libraries are not supported. Putting them
17271 # here allows them to be overridden if necessary.
17272 runpath_var
=LD_RUN_PATH
17273 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17274 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17275 # ancient GNU ld didn't support --whole-archive et. al.
17276 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
17277 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17279 whole_archive_flag_spec_GCJ
=
17281 supports_anon_versioning
=no
17282 case `$LD -v 2>/dev/null` in
17283 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
17284 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17285 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17286 *\
2.11.
*) ;; # other 2.11 versions
17287 *) supports_anon_versioning
=yes ;;
17290 # See if GNU ld supports shared libraries.
17292 aix3
* | aix4
* | aix5
*)
17293 # On AIX/PPC, the GNU linker is very broken
17294 if test "$host_cpu" != ia64
; then
17298 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17299 *** to be unable to reliably create shared libraries on AIX.
17300 *** Therefore, libtool is disabling shared libraries support. If you
17301 *** really care for shared libraries, you may want to modify your PATH
17302 *** so that a non-GNU linker is found, and then restart.
17309 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)'
17310 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17311 hardcode_minus_L_GCJ
=yes
17313 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17314 # that the semantics of dynamic libraries on AmigaOS, at least up
17315 # to version 4, is to share data among multiple programs linked
17316 # with the same dynamic library. Since this doesn't match the
17317 # behavior of shared libraries on other platforms, we can't use
17323 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17324 allow_undefined_flag_GCJ
=unsupported
17325 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17326 # support --undefined. This deserves some investigation. FIXME
17327 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17333 cygwin
* | mingw
* | pw32
*)
17334 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17335 # as there is no search path for DLLs.
17336 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17337 allow_undefined_flag_GCJ
=unsupported
17338 always_export_symbols_GCJ
=no
17339 enable_shared_with_static_runtimes_GCJ
=yes
17340 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17342 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
17343 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17344 # If the export-symbols file already is a .def file (1st line
17345 # is EXPORTS), use it as is; otherwise, prepend...
17346 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17347 cp $export_symbols $output_objdir/$soname.def;
17349 echo EXPORTS > $output_objdir/$soname.def;
17350 cat $export_symbols >> $output_objdir/$soname.def;
17352 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17359 hardcode_direct_GCJ
=no
17360 hardcode_shlibpath_var_GCJ
=no
17361 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17362 export_dynamic_flag_spec_GCJ
='${wl}-E'
17363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17364 # Instead, shared libraries are loaded at an image base (0x10000000 by
17365 # default) and relocated if they conflict, which is a slow very memory
17366 # consuming and fragmenting process. To avoid this, we pick a random,
17367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17369 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'
17370 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'
17374 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17376 case $cc_basename,$host_cpu in
17377 pgcc
*) # Portland Group C compiler
17378 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'
17379 tmp_addflag
=' $pic_flag'
17381 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17382 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'
17383 tmp_addflag
=' $pic_flag -Mnomain' ;;
17384 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17385 tmp_addflag
=' -i_dynamic' ;;
17386 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17387 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17388 ifc
* | ifort
*) # Intel Fortran compiler
17389 tmp_addflag
=' -nofor_main' ;;
17391 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17393 if test $supports_anon_versioning = yes; then
17394 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17395 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17396 $echo "local: *; };" >> $output_objdir/$libname.ver~
17397 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17399 link_all_deplibs_GCJ
=no
17405 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
17406 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
17407 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17410 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17411 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17416 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
17420 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17421 *** create shared libraries on Solaris systems. Therefore, libtool
17422 *** is disabling shared libraries support. We urge you to upgrade GNU
17423 *** binutils to release 2.9.1 or newer. Another option is to modify
17424 *** your PATH or compiler configuration so that the native linker is
17425 *** used, and then restart.
17428 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17429 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17430 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17436 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17437 case `$LD -v 2>&1` in
17438 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
17442 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17443 *** reliably create shared libraries on SCO systems. Therefore, libtool
17444 *** is disabling shared libraries support. We urge you to upgrade GNU
17445 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17446 *** your PATH or compiler configuration so that the native linker is
17447 *** used, and then restart.
17452 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17453 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17454 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17455 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17464 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17466 hardcode_direct_GCJ
=yes
17467 hardcode_shlibpath_var_GCJ
=no
17471 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
17472 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17473 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17480 if test "$ld_shlibs_GCJ" = no
; then
17482 hardcode_libdir_flag_spec_GCJ
=
17483 export_dynamic_flag_spec_GCJ
=
17484 whole_archive_flag_spec_GCJ
=
17487 # PORTME fill in a description of your system's linker (not GNU ld)
17490 allow_undefined_flag_GCJ
=unsupported
17491 always_export_symbols_GCJ
=yes
17492 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'
17493 # Note: this linker hardcodes the directories in LIBPATH if there
17494 # are no directories specified by -L.
17495 hardcode_minus_L_GCJ
=yes
17496 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17497 # Neither direct hardcoding nor static linking is supported with a
17499 hardcode_direct_GCJ
=unsupported
17504 if test "$host_cpu" = ia64
; then
17505 # On IA64, the linker does run time linking by default, so we don't
17506 # have to do anything special.
17507 aix_use_runtimelinking
=no
17508 exp_sym_flag
='-Bexport'
17511 # If we're using GNU nm, then we don't want the "-C" option.
17512 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17513 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
17514 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'
17516 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'
17518 aix_use_runtimelinking
=no
17520 # Test if we are trying to use run time linking or normal
17521 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17522 # need to do runtime linking.
17523 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17524 for ld_flag
in $LDFLAGS; do
17525 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17526 aix_use_runtimelinking
=yes
17533 exp_sym_flag
='-bexport'
17534 no_entry_flag
='-bnoentry'
17537 # When large executables or shared objects are built, AIX ld can
17538 # have problems creating the table of contents. If linking a library
17539 # or program results in "error TOC overflow" add -mminimal-toc to
17540 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17541 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17543 archive_cmds_GCJ
=''
17544 hardcode_direct_GCJ
=yes
17545 hardcode_libdir_separator_GCJ
=':'
17546 link_all_deplibs_GCJ
=yes
17548 if test "$GCC" = yes; then
17549 case $host_os in aix4.
[012]|aix4.
[012].
*)
17550 # We only want to do this on AIX 4.2 and lower, the check
17551 # below for broken collect2 doesn't work under 4.3+
17552 collect2name
=`${CC} -print-prog-name=collect2`
17553 if test -f "$collect2name" && \
17554 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
17556 # We have reworked collect2
17557 hardcode_direct_GCJ
=yes
17559 # We have old collect2
17560 hardcode_direct_GCJ
=unsupported
17561 # It fails to find uninstalled libraries when the uninstalled
17562 # path is not listed in the libpath. Setting hardcode_minus_L
17563 # to unsupported forces relinking
17564 hardcode_minus_L_GCJ
=yes
17565 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17566 hardcode_libdir_separator_GCJ
=
17570 shared_flag
='-shared'
17571 if test "$aix_use_runtimelinking" = yes; then
17572 shared_flag
="$shared_flag "'${wl}-G'
17576 if test "$host_cpu" = ia64
; then
17577 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17578 # chokes on -Wl,-G. The following line is correct:
17581 if test "$aix_use_runtimelinking" = yes; then
17582 shared_flag
='${wl}-G'
17584 shared_flag
='${wl}-bM:SRE'
17589 # It seems that -bexpall does not export symbols beginning with
17590 # underscore (_), so it is better to generate a list of symbols to export.
17591 always_export_symbols_GCJ
=yes
17592 if test "$aix_use_runtimelinking" = yes; then
17593 # Warning - without using the other runtime loading flags (-brtl),
17594 # -berok will link without error, but may produce a broken library.
17595 allow_undefined_flag_GCJ
='-berok'
17596 # Determine the default libpath from the value encoded in an empty executable.
17597 cat >conftest.
$ac_ext <<_ACEOF
17600 cat confdefs.h
>>conftest.
$ac_ext
17601 cat >>conftest.
$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17612 rm -f conftest.
$ac_objext conftest
$ac_exeext
17613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17614 (eval $ac_link) 2>conftest.er1
17616 grep -v '^ *+' conftest.er1
>conftest.err
17618 cat conftest.err
>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; } &&
17627 { ac_try
='test -s conftest$ac_exeext'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; }; then
17634 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17636 # Check for a 64-bit object if we didn't find anything.
17637 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; }
17640 echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.
$ac_ext >&5
17644 rm -f conftest.err conftest.
$ac_objext \
17645 conftest
$ac_exeext conftest.
$ac_ext
17646 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17648 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17649 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"
17651 if test "$host_cpu" = ia64
; then
17652 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17653 allow_undefined_flag_GCJ
="-z nodefs"
17654 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"
17656 # Determine the default libpath from the value encoded in an empty executable.
17657 cat >conftest.
$ac_ext <<_ACEOF
17660 cat confdefs.h
>>conftest.
$ac_ext
17661 cat >>conftest.
$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17672 rm -f conftest.
$ac_objext conftest
$ac_exeext
17673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17674 (eval $ac_link) 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; } &&
17687 { ac_try
='test -s conftest$ac_exeext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17694 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17696 # Check for a 64-bit object if we didn't find anything.
17697 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; }
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.
$ac_ext >&5
17704 rm -f conftest.err conftest.
$ac_objext \
17705 conftest
$ac_exeext conftest.
$ac_ext
17706 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17708 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17709 # Warning - without using the other run time loading flags,
17710 # -berok will link without error, but may produce a broken library.
17711 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17712 allow_undefined_flag_GCJ
=' ${wl}-berok'
17713 # Exported symbols can be pulled into shared objects from archives
17714 whole_archive_flag_spec_GCJ
='$convenience'
17715 archive_cmds_need_lc_GCJ
=yes
17716 # This is similar to how AIX traditionally builds its shared libraries.
17717 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'
17723 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)'
17724 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17725 hardcode_minus_L_GCJ
=yes
17726 # see comment about different semantics on the GNU ld section
17731 export_dynamic_flag_spec_GCJ
=-rdynamic
17734 cygwin
* | mingw
* | pw32
*)
17735 # When not using gcc, we currently assume that we are using
17736 # Microsoft Visual C++.
17737 # hardcode_libdir_flag_spec is actually meaningless, as there is
17738 # no search path for DLLs.
17739 hardcode_libdir_flag_spec_GCJ
=' '
17740 allow_undefined_flag_GCJ
=unsupported
17741 # Tell ltmain to make .lib files, not .a files.
17743 # Tell ltmain to make .dll files, not .so files.
17745 # FIXME: Setting linknames here is a bad hack.
17746 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17747 # The linker will automatically build a .lib file if we build a DLL.
17748 old_archive_From_new_cmds_GCJ
='true'
17749 # FIXME: Should let the user specify the lib program.
17750 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17751 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17752 enable_shared_with_static_runtimes_GCJ
=yes
17755 darwin
* | rhapsody
*)
17757 rhapsody
* | darwin1.
[012])
17758 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17761 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17762 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17764 case ${MACOSX_DEPLOYMENT_TARGET} in
17766 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17769 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17775 archive_cmds_need_lc_GCJ
=no
17776 hardcode_direct_GCJ
=no
17777 hardcode_automatic_GCJ
=yes
17778 hardcode_shlibpath_var_GCJ
=unsupported
17779 whole_archive_flag_spec_GCJ
=''
17780 link_all_deplibs_GCJ
=yes
17781 if test "$GCC" = yes ; then
17782 output_verbose_link_cmd
='echo'
17783 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17784 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17785 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17786 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}'
17787 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}'
17789 case $cc_basename in
17791 output_verbose_link_cmd
='echo'
17792 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17793 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17794 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17795 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}'
17796 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}'
17806 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17807 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17808 hardcode_shlibpath_var_GCJ
=no
17815 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17816 # support. Future versions do this automatically, but an explicit c++rt0.o
17817 # does not break anything, and helps significantly (at the cost of a little
17820 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17821 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17822 hardcode_direct_GCJ
=yes
17823 hardcode_shlibpath_var_GCJ
=no
17826 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17828 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17829 hardcode_direct_GCJ
=yes
17830 hardcode_minus_L_GCJ
=yes
17831 hardcode_shlibpath_var_GCJ
=no
17834 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17835 freebsd
* | dragonfly
*)
17836 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17837 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17838 hardcode_direct_GCJ
=yes
17839 hardcode_shlibpath_var_GCJ
=no
17842 # GNU/kFreeBSD uses gcc -shared to do shared libraries.
17844 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17845 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17846 hardcode_direct_GCJ
=yes
17847 hardcode_shlibpath_var_GCJ
=no
17848 link_all_deplibs_GCJ
=no
17852 if test "$GCC" = yes; then
17853 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'
17855 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'
17857 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17858 hardcode_libdir_separator_GCJ
=:
17859 hardcode_direct_GCJ
=yes
17861 # hardcode_minus_L: Not really in the search PATH,
17862 # but as the default location of the library.
17863 hardcode_minus_L_GCJ
=yes
17864 export_dynamic_flag_spec_GCJ
='${wl}-E'
17868 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17869 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17871 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17873 if test "$with_gnu_ld" = no
; then
17874 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17875 hardcode_libdir_separator_GCJ
=:
17877 hardcode_direct_GCJ
=yes
17878 export_dynamic_flag_spec_GCJ
='${wl}-E'
17880 # hardcode_minus_L: Not really in the search PATH,
17881 # but as the default location of the library.
17882 hardcode_minus_L_GCJ
=yes
17887 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17890 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17893 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17896 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17902 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17905 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17908 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17912 if test "$with_gnu_ld" = no
; then
17913 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17914 hardcode_libdir_separator_GCJ
=:
17918 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17919 hardcode_direct_GCJ
=no
17920 hardcode_shlibpath_var_GCJ
=no
17923 hardcode_direct_GCJ
=yes
17924 export_dynamic_flag_spec_GCJ
='${wl}-E'
17926 # hardcode_minus_L: Not really in the search PATH,
17927 # but as the default location of the library.
17928 hardcode_minus_L_GCJ
=yes
17934 irix5
* | irix6
* | nonstopux
*)
17935 if test "$GCC" = yes; then
17936 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'
17938 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'
17939 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17941 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17942 hardcode_libdir_separator_GCJ
=:
17943 link_all_deplibs_GCJ
=yes
17946 netbsd
* | netbsdelf
*-gnu | knetbsd
*-gnu)
17947 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
17948 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17950 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17952 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17953 hardcode_direct_GCJ
=yes
17954 hardcode_shlibpath_var_GCJ
=no
17958 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17959 hardcode_direct_GCJ
=yes
17960 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17961 hardcode_libdir_separator_GCJ
=:
17962 hardcode_shlibpath_var_GCJ
=no
17966 hardcode_direct_GCJ
=yes
17967 hardcode_shlibpath_var_GCJ
=no
17968 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17969 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17970 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17971 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17972 export_dynamic_flag_spec_GCJ
='${wl}-E'
17975 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17976 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17977 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17980 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17981 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17988 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17989 hardcode_minus_L_GCJ
=yes
17990 allow_undefined_flag_GCJ
=unsupported
17991 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'
17992 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17996 if test "$GCC" = yes; then
17997 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17998 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'
18000 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18001 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'
18003 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18004 hardcode_libdir_separator_GCJ
=:
18007 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18008 if test "$GCC" = yes; then
18009 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18010 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'
18011 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18013 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18014 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'
18015 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~
18016 $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'
18018 # Both c and cxx compiler support -rpath directly
18019 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18021 hardcode_libdir_separator_GCJ
=:
18025 no_undefined_flag_GCJ
=' -z text'
18026 if test "$GCC" = yes; then
18028 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18029 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18030 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18033 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18034 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18035 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18037 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18038 hardcode_shlibpath_var_GCJ
=no
18040 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18042 # The compiler driver will combine linker options so we
18043 # cannot just pass the convience library names through
18044 # without $wl, iff we do not link with $LD.
18045 # Luckily, gcc supports the same syntax we need for Sun Studio.
18046 # Supported since Solaris 2.6 (maybe 2.5.1?)
18049 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
18051 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' ;;
18054 link_all_deplibs_GCJ
=yes
18058 if test "x$host_vendor" = xsequent
; then
18059 # Use $CC to link under sequent, because it throws in some extra .o
18060 # files that make .init and .fini sections work.
18061 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18063 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18065 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18066 hardcode_direct_GCJ
=yes
18067 hardcode_minus_L_GCJ
=yes
18068 hardcode_shlibpath_var_GCJ
=no
18072 case $host_vendor in
18074 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18075 hardcode_direct_GCJ
=yes # is this really true???
18078 ## LD is ld it makes a PLAMLIB
18079 ## CC just makes a GrossModule.
18080 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18081 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18082 hardcode_direct_GCJ
=no
18085 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18086 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18089 runpath_var
='LD_RUN_PATH'
18090 hardcode_shlibpath_var_GCJ
=no
18094 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18095 hardcode_shlibpath_var_GCJ
=no
18096 export_dynamic_flag_spec_GCJ
='-Bexport'
18100 if test -d /usr
/nec
; then
18101 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18102 hardcode_shlibpath_var_GCJ
=no
18103 runpath_var
=LD_RUN_PATH
18104 hardcode_runpath_var
=yes
18109 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
18110 no_undefined_flag_GCJ
='${wl}-z,text'
18111 archive_cmds_need_lc_GCJ
=no
18112 hardcode_shlibpath_var_GCJ
=no
18113 runpath_var
='LD_RUN_PATH'
18115 if test "$GCC" = yes; then
18116 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18117 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18119 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18120 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18124 sysv5
* | sco3.2v5
* | sco5v6
*)
18125 # Note: We can NOT use -z defs as we might desire, because we do not
18126 # link with -lc, and that would cause any symbols used from libc to
18127 # always be unresolved, which means just about no library would
18128 # ever link correctly. If we're not using GNU ld we use -z text
18129 # though, which does catch some bad symbols but isn't as heavy-handed
18131 no_undefined_flag_GCJ
='${wl}-z,text'
18132 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18133 archive_cmds_need_lc_GCJ
=no
18134 hardcode_shlibpath_var_GCJ
=no
18135 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18136 hardcode_libdir_separator_GCJ
=':'
18137 link_all_deplibs_GCJ
=yes
18138 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18139 runpath_var
='LD_RUN_PATH'
18141 if test "$GCC" = yes; then
18142 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18143 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18145 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18146 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18151 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18152 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18153 hardcode_shlibpath_var_GCJ
=no
18162 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18163 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18164 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18167 # Do we need to explicitly link libc?
18169 case "x$archive_cmds_need_lc_GCJ" in
18171 # Assume -lc should be added
18172 archive_cmds_need_lc_GCJ
=yes
18174 if test "$enable_shared" = yes && test "$GCC" = yes; then
18175 case $archive_cmds_GCJ in
18177 # FIXME: we may have to deal with multi-command sequences.
18180 # Test whether the compiler implicitly links with -lc since on some
18181 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18182 # to ld, don't add -lc before -lgcc.
18183 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18184 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18186 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18189 (eval $ac_compile) 2>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } 2>conftest.err
; then
18195 libobjs
=conftest.
$ac_objext
18197 wl
=$lt_prog_compiler_wl_GCJ
18198 pic_flag
=$lt_prog_compiler_pic_GCJ
18204 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18205 allow_undefined_flag_GCJ
=
18206 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18207 (eval $archive_cmds_GCJ 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }
18212 archive_cmds_need_lc_GCJ
=no
18214 archive_cmds_need_lc_GCJ
=yes
18216 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18218 cat conftest.err
1>&5
18221 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18222 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18229 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18230 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18231 library_names_spec
=
18232 libname_spec
='lib$name'
18236 postuninstall_cmds
=
18240 shlibpath_overrides_runpath
=unknown
18242 dynamic_linker
="$host_os ld.so"
18243 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18244 if test "$GCC" = yes; then
18245 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18246 if echo "$sys_lib_search_path_spec" | grep ';' >/dev
/null
; then
18247 # if the path contains ";" then we assume it to be the separator
18248 # otherwise default to the standard path separator (i.e. ":") - it is
18249 # assumed that no part of a normal pathname contains ";" but that should
18250 # okay in the real world where ";" in dirpaths is itself problematic.
18251 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18253 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18256 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18258 need_lib_prefix
=unknown
18259 hardcode_into_libs
=no
18261 # when you set need_version to no, make sure it does not cause -set_version
18262 # flags to be left without arguments
18263 need_version
=unknown
18268 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18269 shlibpath_var
=LIBPATH
18271 # AIX 3 has no versioning support, so we append a major version to the name.
18272 soname_spec
='${libname}${release}${shared_ext}$major'
18279 hardcode_into_libs
=yes
18280 if test "$host_cpu" = ia64
; then
18281 # AIX 5 supports IA64
18282 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18283 shlibpath_var
=LD_LIBRARY_PATH
18285 # With GCC up to 2.95.x, collect2 would create an import file
18286 # for dependence libraries. The import file would start with
18287 # the line `#! .'. This would cause the generated library to
18288 # depend on `.', always an invalid library. This was fixed in
18289 # development snapshots of GCC prior to 3.0.
18291 aix4
| aix4.
[01] | aix4.
[01].
*)
18292 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18294 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
18297 can_build_shared
=no
18301 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18302 # soname into executable. Probably we can add versioning support to
18303 # collect2, so additional links can be useful in future.
18304 if test "$aix_use_runtimelinking" = yes; then
18305 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18306 # instead of lib<name>.a to let people know that these are not
18307 # typical AIX shared libraries.
18308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18310 # We preserve .a as extension for shared libraries through AIX4.2
18311 # and later when we are not doing run time linking.
18312 library_names_spec
='${libname}${release}.a $libname.a'
18313 soname_spec
='${libname}${release}${shared_ext}$major'
18315 shlibpath_var
=LIBPATH
18320 library_names_spec
='$libname.ixlibrary $libname.a'
18321 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18322 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'
18326 library_names_spec
='${libname}${shared_ext}'
18327 dynamic_linker
="$host_os ld.so"
18328 shlibpath_var
=LIBRARY_PATH
18334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18335 soname_spec
='${libname}${release}${shared_ext}$major'
18336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18337 shlibpath_var
=LD_LIBRARY_PATH
18338 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18339 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18340 # the default ld.so.conf also contains /usr/contrib/lib and
18341 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18342 # libtool to hard-code these into programs
18345 cygwin
* | mingw
* | pw32
*)
18346 version_type
=windows
18351 case $GCC,$host_os in
18352 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
18353 library_names_spec
='$libname.dll.a'
18354 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18355 postinstall_cmds
='base_file=`basename \${file}`~
18356 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18357 dldir=$destdir/`dirname \$dlpath`~
18358 test -d \$dldir || mkdir -p \$dldir~
18359 $install_prog $dir/$dlname \$dldir/$dlname~
18360 chmod a+x \$dldir/$dlname'
18361 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18362 dlpath=$dir/\$dldll~
18364 shlibpath_overrides_runpath
=yes
18368 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18369 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
18370 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18373 # MinGW DLLs use traditional 'lib' prefix
18374 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
18375 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18376 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
18377 # It is most probably a Windows format PATH printed by
18378 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18379 # path with ; separators, and with drive letters. We can handle the
18380 # drive letters (cygwin fileutils understands them), so leave them,
18381 # especially as we might pass files found there to a mingw objdump,
18382 # which wouldn't understand a cygwinified path. Ahh.
18383 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18385 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18389 # pw32 DLLs use 'pw' prefix rather than 'lib'
18390 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
18396 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
18399 dynamic_linker
='Win32 ld.exe'
18400 # FIXME: first we should search . and the directory the executable is in
18404 darwin
* | rhapsody
*)
18405 dynamic_linker
="$host_os dyld"
18406 version_type
=darwin
18409 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18410 soname_spec
='${libname}${release}${major}$shared_ext'
18411 shlibpath_overrides_runpath
=yes
18412 shlibpath_var
=DYLD_LIBRARY_PATH
18413 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18414 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18415 if test "$GCC" = yes; then
18416 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"`
18418 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18420 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18428 soname_spec
='${libname}${release}${shared_ext}$major'
18429 shlibpath_var
=LD_LIBRARY_PATH
18440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18441 soname_spec
='${libname}${release}${shared_ext}$major'
18442 shlibpath_var
=LD_LIBRARY_PATH
18443 shlibpath_overrides_runpath
=no
18444 hardcode_into_libs
=yes
18445 dynamic_linker
='GNU ld.so'
18448 freebsd
* | dragonfly
*)
18449 # DragonFly does not have aout. When/if they implement a new
18450 # versioning mechanism, adjust this.
18451 if test -x /usr
/bin
/objformat
; then
18452 objformat
=`/usr/bin/objformat`
18455 freebsd
[123]*) objformat
=aout
;;
18456 *) objformat
=elf
;;
18459 version_type
=freebsd
-$objformat
18460 case $version_type in
18462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18467 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18471 shlibpath_var
=LD_LIBRARY_PATH
18474 shlibpath_overrides_runpath
=yes
18476 freebsd3.
[01]* | freebsdelf3.
[01]*)
18477 shlibpath_overrides_runpath
=yes
18478 hardcode_into_libs
=yes
18480 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18481 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18482 shlibpath_overrides_runpath
=no
18483 hardcode_into_libs
=yes
18485 freebsd
*) # from 4.6 on
18486 shlibpath_overrides_runpath
=yes
18487 hardcode_into_libs
=yes
18496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18497 soname_spec
='${libname}${release}${shared_ext}$major'
18498 shlibpath_var
=LD_LIBRARY_PATH
18499 hardcode_into_libs
=yes
18502 hpux9
* | hpux10
* | hpux11
*)
18503 # Give a soname corresponding to the major version so that dld.sl refuses to
18504 # link against other versions.
18511 hardcode_into_libs
=yes
18512 dynamic_linker
="$host_os dld.so"
18513 shlibpath_var
=LD_LIBRARY_PATH
18514 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18516 soname_spec
='${libname}${release}${shared_ext}$major'
18517 if test "X$HPUX_IA64_MODE" = X32
; then
18518 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18520 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18522 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18526 hardcode_into_libs
=yes
18527 dynamic_linker
="$host_os dld.sl"
18528 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18529 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18531 soname_spec
='${libname}${release}${shared_ext}$major'
18532 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18533 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18537 dynamic_linker
="$host_os dld.sl"
18538 shlibpath_var
=SHLIB_PATH
18539 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18541 soname_spec
='${libname}${release}${shared_ext}$major'
18544 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18545 postinstall_cmds
='chmod 555 $lib'
18552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18553 soname_spec
='${libname}${release}${shared_ext}$major'
18554 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18555 shlibpath_var
=LD_LIBRARY_PATH
18556 shlibpath_overrides_runpath
=no
18557 hardcode_into_libs
=yes
18560 irix5
* | irix6
* | nonstopux
*)
18562 nonstopux
*) version_type
=nonstopux
;;
18564 if test "$lt_cv_prog_gnu_ld" = yes; then
18572 soname_spec
='${libname}${release}${shared_ext}$major'
18573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18575 irix5
* | nonstopux
*)
18576 libsuff
= shlibsuff
=
18579 case $LD in # libtool.m4 will add one of these switches to LD
18580 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18581 libsuff
= shlibsuff
= libmagic
=32-bit;;
18582 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18583 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18584 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18585 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18586 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
18590 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18591 shlibpath_overrides_runpath
=no
18592 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18593 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18594 hardcode_into_libs
=yes
18597 # No shared lib support for Linux oldld, aout, or coff.
18598 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18602 # This must be Linux ELF.
18607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18608 soname_spec
='${libname}${release}${shared_ext}$major'
18609 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18610 shlibpath_var
=LD_LIBRARY_PATH
18611 shlibpath_overrides_runpath
=no
18612 # This implies no fast_install, which is unacceptable.
18613 # Some rework will be needed to allow for fast_install
18614 # before this can be enabled.
18615 hardcode_into_libs
=yes
18617 # Append ld.so.conf contents to the search path
18618 if test -f /etc
/ld.so.conf
; then
18619 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18620 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18623 # We used to test for /lib/ld.so.1 and disable shared libraries on
18624 # powerpc, because MkLinux only supported shared libraries with the
18625 # GNU dynamic linker. Since this was broken with cross compilers,
18626 # most powerpc-linux boxes support dynamic linking these days and
18627 # people can always --disable-shared, the test was removed, and we
18628 # assume the GNU/Linux dynamic linker is in use.
18629 dynamic_linker
='GNU/Linux ld.so'
18636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18637 soname_spec
='${libname}${release}${shared_ext}$major'
18638 shlibpath_var
=LD_LIBRARY_PATH
18639 shlibpath_overrides_runpath
=no
18640 hardcode_into_libs
=yes
18641 dynamic_linker
='NetBSD ld.elf_so'
18648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18649 soname_spec
='${libname}${release}${shared_ext}$major'
18650 shlibpath_var
=LD_LIBRARY_PATH
18651 shlibpath_overrides_runpath
=no
18652 hardcode_into_libs
=yes
18653 dynamic_linker
='GNU ld.so'
18660 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
18661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18663 dynamic_linker
='NetBSD (a.out) ld.so'
18665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18666 soname_spec
='${libname}${release}${shared_ext}$major'
18667 dynamic_linker
='NetBSD ld.elf_so'
18669 shlibpath_var
=LD_LIBRARY_PATH
18670 shlibpath_overrides_runpath
=yes
18671 hardcode_into_libs
=yes
18676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18677 shlibpath_var
=LD_LIBRARY_PATH
18678 shlibpath_overrides_runpath
=yes
18685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18686 soname_spec
='${libname}${release}${shared_ext}$major'
18687 shlibpath_var
=LD_LIBRARY_PATH
18688 shlibpath_overrides_runpath
=yes
18693 sys_lib_dlsearch_path_spec
="/usr/lib"
18695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18697 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
18698 *) need_version
=no
;;
18700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18702 shlibpath_var
=LD_LIBRARY_PATH
18703 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18705 openbsd2.
[89] | openbsd2.
[89].
*)
18706 shlibpath_overrides_runpath
=no
18709 shlibpath_overrides_runpath
=yes
18713 shlibpath_overrides_runpath
=yes
18718 libname_spec
='$name'
18721 library_names_spec
='$libname${shared_ext} $libname.a'
18722 dynamic_linker
='OS/2 ld.exe'
18723 shlibpath_var
=LIBPATH
18726 osf3
* | osf4
* | osf5
*)
18730 soname_spec
='${libname}${release}${shared_ext}$major'
18731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18732 shlibpath_var
=LD_LIBRARY_PATH
18733 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18734 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18742 soname_spec
='${libname}${release}${shared_ext}$major'
18743 shlibpath_var
=LD_LIBRARY_PATH
18744 shlibpath_overrides_runpath
=yes
18745 hardcode_into_libs
=yes
18746 # ldd complains unless libraries are executable
18747 postinstall_cmds
='chmod +x $lib'
18752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18753 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18754 shlibpath_var
=LD_LIBRARY_PATH
18755 shlibpath_overrides_runpath
=yes
18756 if test "$with_gnu_ld" = yes; then
18764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18765 soname_spec
='${libname}${release}${shared_ext}$major'
18766 shlibpath_var
=LD_LIBRARY_PATH
18767 case $host_vendor in
18769 shlibpath_overrides_runpath
=no
18771 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18772 runpath_var
=LD_RUN_PATH
18780 shlibpath_overrides_runpath
=no
18781 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18787 if test -d /usr
/nec
;then
18789 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18790 soname_spec
='$libname${shared_ext}.$major'
18791 shlibpath_var
=LD_LIBRARY_PATH
18795 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18796 version_type
=freebsd
-elf
18799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18800 soname_spec
='${libname}${release}${shared_ext}$major'
18801 shlibpath_var
=LD_LIBRARY_PATH
18802 hardcode_into_libs
=yes
18803 if test "$with_gnu_ld" = yes; then
18804 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18805 shlibpath_overrides_runpath
=no
18807 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18808 shlibpath_overrides_runpath
=yes
18811 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18815 sys_lib_dlsearch_path_spec
='/usr/lib'
18820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18821 soname_spec
='${libname}${release}${shared_ext}$major'
18822 shlibpath_var
=LD_LIBRARY_PATH
18829 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18830 echo "${ECHO_T}$dynamic_linker" >&6
18831 test "$dynamic_linker" = no
&& can_build_shared
=no
18833 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18834 if test "$GCC" = yes; then
18835 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18838 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18839 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18840 hardcode_action_GCJ
=
18841 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18842 test -n "$runpath_var_GCJ" || \
18843 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18845 # We can hardcode non-existant directories.
18846 if test "$hardcode_direct_GCJ" != no
&&
18847 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18848 # have to relink, otherwise we might link with an installed library
18849 # when we should be linking with a yet-to-be-installed one
18850 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18851 test "$hardcode_minus_L_GCJ" != no
; then
18852 # Linking always hardcodes the temporary library directory.
18853 hardcode_action_GCJ
=relink
18855 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18856 hardcode_action_GCJ
=immediate
18859 # We cannot hardcode anything, or else we can only hardcode existing
18861 hardcode_action_GCJ
=unsupported
18863 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18864 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18866 if test "$hardcode_action_GCJ" = relink
; then
18867 # Fast installation is not supported
18868 enable_fast_install
=no
18869 elif test "$shlibpath_overrides_runpath" = yes ||
18870 test "$enable_shared" = no
; then
18871 # Fast installation is not necessary
18872 enable_fast_install
=needless
18876 # The else clause should only fire when bootstrapping the
18877 # libtool distribution, otherwise you forgot to ship ltmain.sh
18878 # with your package, and you will get complaints that there are
18879 # no rules to generate ltmain.sh.
18880 if test -f "$ltmain"; then
18881 # See if we are running on zsh, and set the options which allow our commands through
18882 # without removal of \ escapes.
18883 if test -n "${ZSH_VERSION+set}" ; then
18884 setopt NO_GLOB_SUBST
18886 # Now quote all the things that may contain metacharacters while being
18887 # careful not to overquote the AC_SUBSTed values. We take copies of the
18888 # variables and quote the copies for generation of the libtool script.
18889 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18891 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18892 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18893 deplibs_check_method reload_flag reload_cmds need_locks \
18894 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18895 lt_cv_sys_global_symbol_to_c_name_address \
18896 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18897 old_postinstall_cmds old_postuninstall_cmds \
18901 lt_prog_compiler_wl_GCJ \
18902 lt_prog_compiler_pic_GCJ \
18903 lt_prog_compiler_static_GCJ \
18904 lt_prog_compiler_no_builtin_flag_GCJ \
18905 export_dynamic_flag_spec_GCJ \
18906 thread_safe_flag_spec_GCJ \
18907 whole_archive_flag_spec_GCJ \
18908 enable_shared_with_static_runtimes_GCJ \
18909 old_archive_cmds_GCJ \
18910 old_archive_from_new_cmds_GCJ \
18911 predep_objects_GCJ \
18912 postdep_objects_GCJ \
18915 compiler_lib_search_path_GCJ \
18917 archive_expsym_cmds_GCJ \
18918 postinstall_cmds_GCJ \
18919 postuninstall_cmds_GCJ \
18920 old_archive_from_expsyms_cmds_GCJ \
18921 allow_undefined_flag_GCJ \
18922 no_undefined_flag_GCJ \
18923 export_symbols_cmds_GCJ \
18924 hardcode_libdir_flag_spec_GCJ \
18925 hardcode_libdir_flag_spec_ld_GCJ \
18926 hardcode_libdir_separator_GCJ \
18927 hardcode_automatic_GCJ \
18929 module_expsym_cmds_GCJ \
18930 lt_cv_prog_compiler_c_o_GCJ \
18931 exclude_expsyms_GCJ \
18932 include_expsyms_GCJ
; do
18935 old_archive_cmds_GCJ
| \
18936 old_archive_from_new_cmds_GCJ
| \
18937 archive_cmds_GCJ
| \
18938 archive_expsym_cmds_GCJ
| \
18939 module_cmds_GCJ
| \
18940 module_expsym_cmds_GCJ
| \
18941 old_archive_from_expsyms_cmds_GCJ
| \
18942 export_symbols_cmds_GCJ
| \
18943 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
18944 postinstall_cmds
| postuninstall_cmds
| \
18945 old_postinstall_cmds
| old_postuninstall_cmds
| \
18946 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
18947 # Double-quote double-evaled strings.
18948 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18951 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18957 *'\$0 --fallback-echo"')
18958 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18964 cat <<__EOF__ >> "$cfgfile"
18965 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18967 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18969 # Shell to use when invoking shell scripts.
18972 # Whether or not to build shared libraries.
18973 build_libtool_libs=$enable_shared
18975 # Whether or not to build static libraries.
18976 build_old_libs=$enable_static
18978 # Whether or not to add -lc for building shared libraries.
18979 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18981 # Whether or not to disallow shared libs when runtime libs are static
18982 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18984 # Whether or not to optimize for fast installation.
18985 fast_install=$enable_fast_install
18988 host_alias=$host_alias
18992 # The build system.
18993 build_alias=$build_alias
18997 # An echo program that does not interpret backslashes.
19002 AR_FLAGS=$lt_AR_FLAGS
19007 # LTCC compiler flags.
19008 LTCFLAGS=$lt_LTCFLAGS
19010 # A language-specific compiler.
19011 CC=$lt_compiler_GCJ
19013 # Is the compiler the GNU C compiler?
19019 # The linker used to build libraries.
19022 # Whether we need hard or soft links.
19025 # A BSD-compatible nm program.
19028 # A symbol stripping program
19031 # Used to examine libraries when file_magic_cmd begins "file"
19032 MAGIC_CMD=$MAGIC_CMD
19034 # Used on cygwin: DLL creation program.
19037 # Used on cygwin: object dumper.
19040 # Used on cygwin: assembler.
19043 # The name of the directory that contains temporary libtool files.
19046 # How to create reloadable object files.
19047 reload_flag=$lt_reload_flag
19048 reload_cmds=$lt_reload_cmds
19050 # How to pass a linker flag through the compiler.
19051 wl=$lt_lt_prog_compiler_wl_GCJ
19053 # Object file suffix (normally "o").
19054 objext="$ac_objext"
19056 # Old archive suffix (normally "a").
19059 # Shared library suffix (normally ".so").
19060 shrext_cmds='$shrext_cmds'
19062 # Executable file suffix (normally "").
19065 # Additional compiler flags for building library objects.
19066 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19069 # What is the maximum length of a command?
19070 max_cmd_len=$lt_cv_sys_max_cmd_len
19072 # Does compiler simultaneously support -c and -o options?
19073 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19075 # Must we lock files when doing compilation?
19076 need_locks=$lt_need_locks
19078 # Do we need the lib prefix for modules?
19079 need_lib_prefix=$need_lib_prefix
19081 # Do we need a version for libraries?
19082 need_version=$need_version
19084 # Whether dlopen is supported.
19085 dlopen_support=$enable_dlopen
19087 # Whether dlopen of programs is supported.
19088 dlopen_self=$enable_dlopen_self
19090 # Whether dlopen of statically linked programs is supported.
19091 dlopen_self_static=$enable_dlopen_self_static
19093 # Compiler flag to prevent dynamic linking.
19094 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19096 # Compiler flag to turn off builtin functions.
19097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19099 # Compiler flag to allow reflexive dlopens.
19100 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19102 # Compiler flag to generate shared objects directly from archives.
19103 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19105 # Compiler flag to generate thread-safe objects.
19106 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19108 # Library versioning type.
19109 version_type=$version_type
19111 # Format of library name prefix.
19112 libname_spec=$lt_libname_spec
19114 # List of archive names. First name is the real one, the rest are links.
19115 # The last name is the one that the linker finds with -lNAME.
19116 library_names_spec=$lt_library_names_spec
19118 # The coded name of the library, if different from the real name.
19119 soname_spec=$lt_soname_spec
19121 # Commands used to build and install an old-style archive.
19123 old_archive_cmds=$lt_old_archive_cmds_GCJ
19124 old_postinstall_cmds=$lt_old_postinstall_cmds
19125 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19127 # Create an old-style archive from a shared archive.
19128 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19130 # Create a temporary old-style archive to link instead of a shared archive.
19131 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19133 # Commands used to build and install a shared archive.
19134 archive_cmds=$lt_archive_cmds_GCJ
19135 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19136 postinstall_cmds=$lt_postinstall_cmds
19137 postuninstall_cmds=$lt_postuninstall_cmds
19139 # Commands used to build a loadable module (assumed same as above if empty)
19140 module_cmds=$lt_module_cmds_GCJ
19141 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19143 # Commands to strip libraries.
19144 old_striplib=$lt_old_striplib
19145 striplib=$lt_striplib
19147 # Dependencies to place before the objects being linked to create a
19149 predep_objects=$lt_predep_objects_GCJ
19151 # Dependencies to place after the objects being linked to create a
19153 postdep_objects=$lt_postdep_objects_GCJ
19155 # Dependencies to place before the objects being linked to create a
19157 predeps=$lt_predeps_GCJ
19159 # Dependencies to place after the objects being linked to create a
19161 postdeps=$lt_postdeps_GCJ
19163 # The library search path used internally by the compiler when linking
19164 # a shared library.
19165 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19167 # Method to check whether dependent libraries are shared objects.
19168 deplibs_check_method=$lt_deplibs_check_method
19170 # Command to use when deplibs_check_method == file_magic.
19171 file_magic_cmd=$lt_file_magic_cmd
19173 # Flag that allows shared libraries with undefined symbols to be built.
19174 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19176 # Flag that forces no undefined symbols.
19177 no_undefined_flag=$lt_no_undefined_flag_GCJ
19179 # Commands used to finish a libtool library installation in a directory.
19180 finish_cmds=$lt_finish_cmds
19182 # Same as above, but a single script fragment to be evaled but not shown.
19183 finish_eval=$lt_finish_eval
19185 # Take the output of nm and produce a listing of raw symbols and C names.
19186 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19188 # Transform the output of nm in a proper C declaration
19189 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19191 # Transform the output of nm in a C name address pair
19192 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19194 # This is the shared library runtime path variable.
19195 runpath_var=$runpath_var
19197 # This is the shared library path variable.
19198 shlibpath_var=$shlibpath_var
19200 # Is shlibpath searched before the hard-coded library search path?
19201 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19203 # How to hardcode a shared library path into an executable.
19204 hardcode_action=$hardcode_action_GCJ
19206 # Whether we should hardcode library paths into libraries.
19207 hardcode_into_libs=$hardcode_into_libs
19209 # Flag to hardcode \$libdir into a binary during linking.
19210 # This must work even if \$libdir does not exist.
19211 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19213 # If ld is used when linking, flag to hardcode \$libdir into
19214 # a binary during linking. This must work even if \$libdir does
19216 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19218 # Whether we need a single -rpath flag with a separated argument.
19219 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19221 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19222 # resulting binary.
19223 hardcode_direct=$hardcode_direct_GCJ
19225 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19226 # resulting binary.
19227 hardcode_minus_L=$hardcode_minus_L_GCJ
19229 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19230 # the resulting binary.
19231 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19233 # Set to yes if building a shared library automatically hardcodes DIR into the library
19234 # and all subsequent libraries and executables linked against it.
19235 hardcode_automatic=$hardcode_automatic_GCJ
19237 # Variables whose values should be saved in libtool wrapper scripts and
19238 # restored at relink time.
19239 variables_saved_for_relink="$variables_saved_for_relink"
19241 # Whether libtool must link a program against all its dependency libraries.
19242 link_all_deplibs=$link_all_deplibs_GCJ
19244 # Compile-time system search path for libraries
19245 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19247 # Run-time system search path for libraries
19248 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19250 # Fix the shell variable \$srcfile for the compiler.
19251 fix_srcfile_path="$fix_srcfile_path_GCJ"
19253 # Set to yes if exported symbols are required.
19254 always_export_symbols=$always_export_symbols_GCJ
19256 # The commands to list exported symbols.
19257 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19259 # The commands to extract the exported symbol list from a shared archive.
19260 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19262 # Symbols that should not be listed in the preloaded symbols.
19263 exclude_expsyms=$lt_exclude_expsyms_GCJ
19265 # Symbols that must always be exported.
19266 include_expsyms=$lt_include_expsyms_GCJ
19268 # ### END LIBTOOL TAG CONFIG: $tagname
19274 # If there is no Makefile yet, we rely on a make rule to execute
19275 # `config.status --recheck' to rerun these tests and create the
19276 # libtool script then.
19277 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19278 if test -f "$ltmain_in"; then
19279 test -f Makefile
&& make "$ltmain"
19285 ac_cpp
='$CPP $CPPFLAGS'
19286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19301 # Source file extension for RC test sources.
19304 # Object file extension for compiled RC test sources.
19308 # Code to be used in simple compile tests
19309 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19311 # Code to be used in simple link tests
19312 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19314 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19316 # If no C compiler was specified, use CC.
19319 # If no C compiler flags were specified, use CFLAGS.
19320 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19322 # Allow CC to be a program name with arguments.
19326 # save warnings/boilerplate of simple test code
19327 ac_outfile
=conftest.
$ac_objext
19328 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19329 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
19330 _lt_compiler_boilerplate
=`cat conftest.err`
19333 ac_outfile
=conftest.
$ac_objext
19334 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19335 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
19336 _lt_linker_boilerplate
=`cat conftest.err`
19340 # Allow CC to be a program name with arguments.
19345 for cc_temp
in $compiler""; do
19347 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
19348 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
19353 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19355 lt_cv_prog_compiler_c_o_RC
=yes
19357 # The else clause should only fire when bootstrapping the
19358 # libtool distribution, otherwise you forgot to ship ltmain.sh
19359 # with your package, and you will get complaints that there are
19360 # no rules to generate ltmain.sh.
19361 if test -f "$ltmain"; then
19362 # See if we are running on zsh, and set the options which allow our commands through
19363 # without removal of \ escapes.
19364 if test -n "${ZSH_VERSION+set}" ; then
19365 setopt NO_GLOB_SUBST
19367 # Now quote all the things that may contain metacharacters while being
19368 # careful not to overquote the AC_SUBSTed values. We take copies of the
19369 # variables and quote the copies for generation of the libtool script.
19370 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19372 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19373 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19374 deplibs_check_method reload_flag reload_cmds need_locks \
19375 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19376 lt_cv_sys_global_symbol_to_c_name_address \
19377 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19378 old_postinstall_cmds old_postuninstall_cmds \
19382 lt_prog_compiler_wl_RC \
19383 lt_prog_compiler_pic_RC \
19384 lt_prog_compiler_static_RC \
19385 lt_prog_compiler_no_builtin_flag_RC \
19386 export_dynamic_flag_spec_RC \
19387 thread_safe_flag_spec_RC \
19388 whole_archive_flag_spec_RC \
19389 enable_shared_with_static_runtimes_RC \
19390 old_archive_cmds_RC \
19391 old_archive_from_new_cmds_RC \
19392 predep_objects_RC \
19393 postdep_objects_RC \
19396 compiler_lib_search_path_RC \
19398 archive_expsym_cmds_RC \
19399 postinstall_cmds_RC \
19400 postuninstall_cmds_RC \
19401 old_archive_from_expsyms_cmds_RC \
19402 allow_undefined_flag_RC \
19403 no_undefined_flag_RC \
19404 export_symbols_cmds_RC \
19405 hardcode_libdir_flag_spec_RC \
19406 hardcode_libdir_flag_spec_ld_RC \
19407 hardcode_libdir_separator_RC \
19408 hardcode_automatic_RC \
19410 module_expsym_cmds_RC \
19411 lt_cv_prog_compiler_c_o_RC \
19412 exclude_expsyms_RC \
19413 include_expsyms_RC
; do
19416 old_archive_cmds_RC
| \
19417 old_archive_from_new_cmds_RC
| \
19418 archive_cmds_RC
| \
19419 archive_expsym_cmds_RC
| \
19421 module_expsym_cmds_RC
| \
19422 old_archive_from_expsyms_cmds_RC
| \
19423 export_symbols_cmds_RC
| \
19424 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
19425 postinstall_cmds
| postuninstall_cmds
| \
19426 old_postinstall_cmds
| old_postuninstall_cmds
| \
19427 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
19428 # Double-quote double-evaled strings.
19429 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19432 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19438 *'\$0 --fallback-echo"')
19439 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19445 cat <<__EOF__ >> "$cfgfile"
19446 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19448 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19450 # Shell to use when invoking shell scripts.
19453 # Whether or not to build shared libraries.
19454 build_libtool_libs=$enable_shared
19456 # Whether or not to build static libraries.
19457 build_old_libs=$enable_static
19459 # Whether or not to add -lc for building shared libraries.
19460 build_libtool_need_lc=$archive_cmds_need_lc_RC
19462 # Whether or not to disallow shared libs when runtime libs are static
19463 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19465 # Whether or not to optimize for fast installation.
19466 fast_install=$enable_fast_install
19469 host_alias=$host_alias
19473 # The build system.
19474 build_alias=$build_alias
19478 # An echo program that does not interpret backslashes.
19483 AR_FLAGS=$lt_AR_FLAGS
19488 # LTCC compiler flags.
19489 LTCFLAGS=$lt_LTCFLAGS
19491 # A language-specific compiler.
19494 # Is the compiler the GNU C compiler?
19500 # The linker used to build libraries.
19503 # Whether we need hard or soft links.
19506 # A BSD-compatible nm program.
19509 # A symbol stripping program
19512 # Used to examine libraries when file_magic_cmd begins "file"
19513 MAGIC_CMD=$MAGIC_CMD
19515 # Used on cygwin: DLL creation program.
19518 # Used on cygwin: object dumper.
19521 # Used on cygwin: assembler.
19524 # The name of the directory that contains temporary libtool files.
19527 # How to create reloadable object files.
19528 reload_flag=$lt_reload_flag
19529 reload_cmds=$lt_reload_cmds
19531 # How to pass a linker flag through the compiler.
19532 wl=$lt_lt_prog_compiler_wl_RC
19534 # Object file suffix (normally "o").
19535 objext="$ac_objext"
19537 # Old archive suffix (normally "a").
19540 # Shared library suffix (normally ".so").
19541 shrext_cmds='$shrext_cmds'
19543 # Executable file suffix (normally "").
19546 # Additional compiler flags for building library objects.
19547 pic_flag=$lt_lt_prog_compiler_pic_RC
19550 # What is the maximum length of a command?
19551 max_cmd_len=$lt_cv_sys_max_cmd_len
19553 # Does compiler simultaneously support -c and -o options?
19554 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19556 # Must we lock files when doing compilation?
19557 need_locks=$lt_need_locks
19559 # Do we need the lib prefix for modules?
19560 need_lib_prefix=$need_lib_prefix
19562 # Do we need a version for libraries?
19563 need_version=$need_version
19565 # Whether dlopen is supported.
19566 dlopen_support=$enable_dlopen
19568 # Whether dlopen of programs is supported.
19569 dlopen_self=$enable_dlopen_self
19571 # Whether dlopen of statically linked programs is supported.
19572 dlopen_self_static=$enable_dlopen_self_static
19574 # Compiler flag to prevent dynamic linking.
19575 link_static_flag=$lt_lt_prog_compiler_static_RC
19577 # Compiler flag to turn off builtin functions.
19578 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19580 # Compiler flag to allow reflexive dlopens.
19581 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19583 # Compiler flag to generate shared objects directly from archives.
19584 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19586 # Compiler flag to generate thread-safe objects.
19587 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19589 # Library versioning type.
19590 version_type=$version_type
19592 # Format of library name prefix.
19593 libname_spec=$lt_libname_spec
19595 # List of archive names. First name is the real one, the rest are links.
19596 # The last name is the one that the linker finds with -lNAME.
19597 library_names_spec=$lt_library_names_spec
19599 # The coded name of the library, if different from the real name.
19600 soname_spec=$lt_soname_spec
19602 # Commands used to build and install an old-style archive.
19604 old_archive_cmds=$lt_old_archive_cmds_RC
19605 old_postinstall_cmds=$lt_old_postinstall_cmds
19606 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19608 # Create an old-style archive from a shared archive.
19609 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19611 # Create a temporary old-style archive to link instead of a shared archive.
19612 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19614 # Commands used to build and install a shared archive.
19615 archive_cmds=$lt_archive_cmds_RC
19616 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19617 postinstall_cmds=$lt_postinstall_cmds
19618 postuninstall_cmds=$lt_postuninstall_cmds
19620 # Commands used to build a loadable module (assumed same as above if empty)
19621 module_cmds=$lt_module_cmds_RC
19622 module_expsym_cmds=$lt_module_expsym_cmds_RC
19624 # Commands to strip libraries.
19625 old_striplib=$lt_old_striplib
19626 striplib=$lt_striplib
19628 # Dependencies to place before the objects being linked to create a
19630 predep_objects=$lt_predep_objects_RC
19632 # Dependencies to place after the objects being linked to create a
19634 postdep_objects=$lt_postdep_objects_RC
19636 # Dependencies to place before the objects being linked to create a
19638 predeps=$lt_predeps_RC
19640 # Dependencies to place after the objects being linked to create a
19642 postdeps=$lt_postdeps_RC
19644 # The library search path used internally by the compiler when linking
19645 # a shared library.
19646 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19648 # Method to check whether dependent libraries are shared objects.
19649 deplibs_check_method=$lt_deplibs_check_method
19651 # Command to use when deplibs_check_method == file_magic.
19652 file_magic_cmd=$lt_file_magic_cmd
19654 # Flag that allows shared libraries with undefined symbols to be built.
19655 allow_undefined_flag=$lt_allow_undefined_flag_RC
19657 # Flag that forces no undefined symbols.
19658 no_undefined_flag=$lt_no_undefined_flag_RC
19660 # Commands used to finish a libtool library installation in a directory.
19661 finish_cmds=$lt_finish_cmds
19663 # Same as above, but a single script fragment to be evaled but not shown.
19664 finish_eval=$lt_finish_eval
19666 # Take the output of nm and produce a listing of raw symbols and C names.
19667 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19669 # Transform the output of nm in a proper C declaration
19670 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19672 # Transform the output of nm in a C name address pair
19673 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19675 # This is the shared library runtime path variable.
19676 runpath_var=$runpath_var
19678 # This is the shared library path variable.
19679 shlibpath_var=$shlibpath_var
19681 # Is shlibpath searched before the hard-coded library search path?
19682 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19684 # How to hardcode a shared library path into an executable.
19685 hardcode_action=$hardcode_action_RC
19687 # Whether we should hardcode library paths into libraries.
19688 hardcode_into_libs=$hardcode_into_libs
19690 # Flag to hardcode \$libdir into a binary during linking.
19691 # This must work even if \$libdir does not exist.
19692 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19694 # If ld is used when linking, flag to hardcode \$libdir into
19695 # a binary during linking. This must work even if \$libdir does
19697 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19699 # Whether we need a single -rpath flag with a separated argument.
19700 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19702 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19703 # resulting binary.
19704 hardcode_direct=$hardcode_direct_RC
19706 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19707 # resulting binary.
19708 hardcode_minus_L=$hardcode_minus_L_RC
19710 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19711 # the resulting binary.
19712 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19714 # Set to yes if building a shared library automatically hardcodes DIR into the library
19715 # and all subsequent libraries and executables linked against it.
19716 hardcode_automatic=$hardcode_automatic_RC
19718 # Variables whose values should be saved in libtool wrapper scripts and
19719 # restored at relink time.
19720 variables_saved_for_relink="$variables_saved_for_relink"
19722 # Whether libtool must link a program against all its dependency libraries.
19723 link_all_deplibs=$link_all_deplibs_RC
19725 # Compile-time system search path for libraries
19726 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19728 # Run-time system search path for libraries
19729 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19731 # Fix the shell variable \$srcfile for the compiler.
19732 fix_srcfile_path="$fix_srcfile_path_RC"
19734 # Set to yes if exported symbols are required.
19735 always_export_symbols=$always_export_symbols_RC
19737 # The commands to list exported symbols.
19738 export_symbols_cmds=$lt_export_symbols_cmds_RC
19740 # The commands to extract the exported symbol list from a shared archive.
19741 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19743 # Symbols that should not be listed in the preloaded symbols.
19744 exclude_expsyms=$lt_exclude_expsyms_RC
19746 # Symbols that must always be exported.
19747 include_expsyms=$lt_include_expsyms_RC
19749 # ### END LIBTOOL TAG CONFIG: $tagname
19755 # If there is no Makefile yet, we rely on a make rule to execute
19756 # `config.status --recheck' to rerun these tests and create the
19757 # libtool script then.
19758 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19759 if test -f "$ltmain_in"; then
19760 test -f Makefile
&& make "$ltmain"
19766 ac_cpp
='$CPP $CPPFLAGS'
19767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19776 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19777 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19778 { (exit 1); exit 1; }; }
19782 # Append the new tag name to the list of available tags.
19783 if test -n "$tagname" ; then
19784 available_tags
="$available_tags $tagname"
19790 # Now substitute the updated list of available tags.
19791 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19792 mv "${ofile}T" "$ofile"
19796 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19797 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19798 { (exit 1); exit 1; }; }
19804 # This can be used to rebuild libtool when needed
19805 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19807 # Always use our own libtool.
19808 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19810 # Prevent multiple expansion
19831 echo "$as_me:$LINENO: checking whether ln -s works" >&5
19832 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
19834 if test "$LN_S" = "ln -s"; then
19835 echo "$as_me:$LINENO: result: yes" >&5
19836 echo "${ECHO_T}yes" >&6
19838 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19839 echo "${ECHO_T}no, using $LN_S" >&6
19842 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19843 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
19844 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
19845 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 cat >conftest.
make <<\_ACEOF
19850 @
echo 'ac_maketemp="$(MAKE)"'
19852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19853 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
19854 if test -n "$ac_maketemp"; then
19855 eval ac_cv_prog_make_
${ac_make}_set
=yes
19857 eval ac_cv_prog_make_
${ac_make}_set
=no
19859 rm -f conftest.
make
19861 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19862 echo "$as_me:$LINENO: result: yes" >&5
19863 echo "${ECHO_T}yes" >&6
19866 echo "$as_me:$LINENO: result: no" >&5
19867 echo "${ECHO_T}no" >&6
19868 SET_MAKE
="MAKE=${MAKE-make}"
19871 if test $ac_cv_c_compiler_gnu = yes; then
19872 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
19873 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
19874 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 ac_pattern
="Autoconf.*'x'"
19878 cat >conftest.
$ac_ext <<_ACEOF
19881 cat confdefs.h
>>conftest.
$ac_ext
19882 cat >>conftest.
$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19888 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
19889 ac_cv_prog_gcc_traditional
=yes
19891 ac_cv_prog_gcc_traditional
=no
19896 if test $ac_cv_prog_gcc_traditional = no
; then
19897 cat >conftest.
$ac_ext <<_ACEOF
19900 cat confdefs.h
>>conftest.
$ac_ext
19901 cat >>conftest.
$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 #include <termio.h>
19906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19907 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
19908 ac_cv_prog_gcc_traditional
=yes
19914 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
19915 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
19916 if test $ac_cv_prog_gcc_traditional = yes; then
19917 CC
="$CC -traditional"
19923 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
19926 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
19929 cat >>confdefs.h
<<\_ACEOF
19930 #define BROKEN_REGEX 1
19936 EXTRA_DEFINE
="-D__SOLARIS__"
19937 ANSI_SRC
="-fno-builtin"
19940 ANSI_SRC
="-fno-builtin"
19943 EXTRA_DEFINE
="-D_GNU_SOURCE"
19950 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
19953 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
19954 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
19955 if test "${ac_cv_lib_socket_socket+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 ac_check_lib_save_LIBS
=$LIBS
19959 LIBS
="-lsocket $LIBS"
19960 cat >conftest.
$ac_ext <<_ACEOF
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19967 /* Override any gcc2 internal prototype to avoid an error. */
19971 /* We use char because int might match the return type of a gcc2
19972 builtin and then its argument prototype would still apply. */
19982 rm -f conftest.
$ac_objext conftest
$ac_exeext
19983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19984 (eval $ac_link) 2>conftest.er1
19986 grep -v '^ *+' conftest.er1
>conftest.err
19988 cat conftest.err
>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } &&
19991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; } &&
19997 { ac_try
='test -s conftest$ac_exeext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20003 ac_cv_lib_socket_socket
=yes
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.
$ac_ext >&5
20008 ac_cv_lib_socket_socket
=no
20010 rm -f conftest.err conftest.
$ac_objext \
20011 conftest
$ac_exeext conftest.
$ac_ext
20012 LIBS
=$ac_check_lib_save_LIBS
20014 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
20015 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
20016 if test $ac_cv_lib_socket_socket = yes; then
20017 cat >>confdefs.h
<<_ACEOF
20018 #define HAVE_LIBSOCKET 1
20021 LIBS
="-lsocket $LIBS"
20026 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20027 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20028 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 ac_check_lib_save_LIBS
=$LIBS
20033 cat >conftest.
$ac_ext <<_ACEOF
20036 cat confdefs.h
>>conftest.
$ac_ext
20037 cat >>conftest.
$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20040 /* Override any gcc2 internal prototype to avoid an error. */
20044 /* We use char because int might match the return type of a gcc2
20045 builtin and then its argument prototype would still apply. */
20046 char gethostbyname ();
20055 rm -f conftest.
$ac_objext conftest
$ac_exeext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20057 (eval $ac_link) 2>conftest.er1
20059 grep -v '^ *+' conftest.er1
>conftest.err
20061 cat conftest.err
>&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } &&
20064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try
='test -s conftest$ac_exeext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 ac_cv_lib_nsl_gethostbyname
=yes
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ac_cv_lib_nsl_gethostbyname
=no
20083 rm -f conftest.err conftest.
$ac_objext \
20084 conftest
$ac_exeext conftest.
$ac_ext
20085 LIBS
=$ac_check_lib_save_LIBS
20087 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20088 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20089 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20090 cat >>confdefs.h
<<_ACEOF
20091 #define HAVE_LIBNSL 1
20099 echo "$as_me:$LINENO: checking for main in -lm" >&5
20100 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
20101 if test "${ac_cv_lib_m_main+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 ac_check_lib_save_LIBS
=$LIBS
20106 cat >conftest.
$ac_ext <<_ACEOF
20109 cat confdefs.h
>>conftest.
$ac_ext
20110 cat >>conftest.
$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20122 rm -f conftest.
$ac_objext conftest
$ac_exeext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20124 (eval $ac_link) 2>conftest.er1
20126 grep -v '^ *+' conftest.er1
>conftest.err
20128 cat conftest.err
>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } &&
20131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try
='test -s conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 ac_cv_lib_m_main
=yes
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.
$ac_ext >&5
20148 ac_cv_lib_m_main
=no
20150 rm -f conftest.err conftest.
$ac_objext \
20151 conftest
$ac_exeext conftest.
$ac_ext
20152 LIBS
=$ac_check_lib_save_LIBS
20154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
20155 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
20156 if test $ac_cv_lib_m_main = yes; then
20157 cat >>confdefs.h
<<_ACEOF
20158 #define HAVE_LIBM 1
20166 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20167 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20168 if test "${ac_cv_header_stdc+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 cat >conftest.
$ac_ext <<_ACEOF
20174 cat confdefs.h
>>conftest.
$ac_ext
20175 cat >>conftest.
$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20177 #include <stdlib.h>
20178 #include <stdarg.h>
20179 #include <string.h>
20190 rm -f conftest.
$ac_objext
20191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20192 (eval $ac_compile) 2>conftest.er1
20194 grep -v '^ *+' conftest.er1
>conftest.err
20196 cat conftest.err
>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } &&
20199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; } &&
20205 { ac_try
='test -s conftest.$ac_objext'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20211 ac_cv_header_stdc
=yes
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20216 ac_cv_header_stdc
=no
20218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20220 if test $ac_cv_header_stdc = yes; then
20221 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20222 cat >conftest.
$ac_ext <<_ACEOF
20225 cat confdefs.h
>>conftest.
$ac_ext
20226 cat >>conftest.
$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20228 #include <string.h>
20231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20232 $EGREP "memchr" >/dev
/null
2>&1; then
20235 ac_cv_header_stdc
=no
20241 if test $ac_cv_header_stdc = yes; then
20242 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20243 cat >conftest.
$ac_ext <<_ACEOF
20246 cat confdefs.h
>>conftest.
$ac_ext
20247 cat >>conftest.
$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 #include <stdlib.h>
20252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20253 $EGREP "free" >/dev
/null
2>&1; then
20256 ac_cv_header_stdc
=no
20262 if test $ac_cv_header_stdc = yes; then
20263 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20264 if test "$cross_compiling" = yes; then
20267 cat >conftest.
$ac_ext <<_ACEOF
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20274 #if ((' ' & 0x0FF) == 0x020)
20275 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20276 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20278 # define ISLOWER(c) \
20279 (('a' <= (c) && (c) <= 'i') \
20280 || ('j' <= (c) && (c) <= 'r') \
20281 || ('s' <= (c) && (c) <= 'z'))
20282 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20285 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20290 for (i = 0; i < 256; i++)
20291 if (XOR (islower (i), ISLOWER (i))
20292 || toupper (i) != TOUPPER (i))
20297 rm -f conftest
$ac_exeext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20299 (eval $ac_link) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; }; then
20310 echo "$as_me: program exited with status $ac_status" >&5
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.
$ac_ext >&5
20314 ( exit $ac_status )
20315 ac_cv_header_stdc
=no
20317 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20321 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20322 echo "${ECHO_T}$ac_cv_header_stdc" >&6
20323 if test $ac_cv_header_stdc = yes; then
20325 cat >>confdefs.h
<<\_ACEOF
20326 #define STDC_HEADERS 1
20332 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20333 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20334 if test "${ac_cv_header_time+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 cat >conftest.
$ac_ext <<_ACEOF
20340 cat confdefs.h
>>conftest.
$ac_ext
20341 cat >>conftest.
$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20343 #include <sys/types.h>
20344 #include <sys/time.h>
20350 if ((struct tm *) 0)
20356 rm -f conftest.
$ac_objext
20357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20358 (eval $ac_compile) 2>conftest.er1
20360 grep -v '^ *+' conftest.er1
>conftest.err
20362 cat conftest.err
>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } &&
20365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; } &&
20371 { ac_try
='test -s conftest.$ac_objext'
20372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20373 (eval $ac_try) 2>&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); }; }; then
20377 ac_cv_header_time
=yes
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.
$ac_ext >&5
20382 ac_cv_header_time
=no
20384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20386 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20387 echo "${ECHO_T}$ac_cv_header_time" >&6
20388 if test $ac_cv_header_time = yes; then
20390 cat >>confdefs.h
<<\_ACEOF
20391 #define TIME_WITH_SYS_TIME 1
20396 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20397 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20398 if test "${ac_cv_struct_tm+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 cat >conftest.
$ac_ext <<_ACEOF
20404 cat confdefs.h
>>conftest.
$ac_ext
20405 cat >>conftest.
$ac_ext <<_ACEOF
20406 /* end confdefs.h. */
20407 #include <sys/types.h>
20413 struct tm *tp; tp->tm_sec;
20418 rm -f conftest.
$ac_objext
20419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20420 (eval $ac_compile) 2>conftest.er1
20422 grep -v '^ *+' conftest.er1
>conftest.err
20424 cat conftest.err
>&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } &&
20427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; } &&
20433 { ac_try
='test -s conftest.$ac_objext'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 ac_cv_struct_tm
=time.h
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.
$ac_ext >&5
20444 ac_cv_struct_tm
=sys
/time.h
20446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20448 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20449 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20450 if test $ac_cv_struct_tm = sys
/time.h
; then
20452 cat >>confdefs.h
<<\_ACEOF
20453 #define TM_IN_SYS_TIME 1
20480 for ac_header
in fcntl.h tgmath.h malloc.h netdb.h netinet
/in.h sys
/resource.h sys
/timeb.h sys
/times.h sys
/param.h sys
/socket.h sys
/time.h sys
/types.h sys
/wait.h unistd.h getopt.h memory.h regex.h arpa
/inet.h sys
/mman.h sys
/stat.h dirent.h
20482 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20484 echo "$as_me:$LINENO: checking for $ac_header" >&5
20485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20492 # Is the header compilable?
20493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20495 cat >conftest.
$ac_ext <<_ACEOF
20498 cat confdefs.h
>>conftest.
$ac_ext
20499 cat >>conftest.
$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 $ac_includes_default
20502 #include <$ac_header>
20504 rm -f conftest.
$ac_objext
20505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20506 (eval $ac_compile) 2>conftest.er1
20508 grep -v '^ *+' conftest.er1
>conftest.err
20510 cat conftest.err
>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } &&
20513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; } &&
20519 { ac_try
='test -s conftest.$ac_objext'
20520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20521 (eval $ac_try) 2>&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); }; }; then
20525 ac_header_compiler
=yes
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.
$ac_ext >&5
20530 ac_header_compiler
=no
20532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20534 echo "${ECHO_T}$ac_header_compiler" >&6
20536 # Is the header present?
20537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20539 cat >conftest.
$ac_ext <<_ACEOF
20542 cat confdefs.h
>>conftest.
$ac_ext
20543 cat >>conftest.
$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 #include <$ac_header>
20547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20548 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20550 grep -v '^ *+' conftest.er1
>conftest.err
20552 cat conftest.err
>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } >/dev
/null
; then
20555 if test -s conftest.err
; then
20556 ac_cpp_err
=$ac_c_preproc_warn_flag
20557 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20564 if test -z "$ac_cpp_err"; then
20565 ac_header_preproc
=yes
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.
$ac_ext >&5
20570 ac_header_preproc
=no
20572 rm -f conftest.err conftest.
$ac_ext
20573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20574 echo "${ECHO_T}$ac_header_preproc" >&6
20576 # So? What about this header?
20577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20583 ac_header_preproc
=yes
20586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20600 ## -------------------------------------------------- ##
20601 ## Report this to evilnet-devel@lists.sourceforge.net ##
20602 ## -------------------------------------------------- ##
20605 sed "s/^/$as_me: WARNING: /" >&2
20608 echo "$as_me:$LINENO: checking for $ac_header" >&5
20609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 eval "$as_ac_Header=\$ac_header_preproc"
20615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20620 cat >>confdefs.h
<<_ACEOF
20621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20629 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20630 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
20631 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20632 echo $ECHO_N "(cached) $ECHO_C" >&6
20634 cat >conftest.
$ac_ext <<_ACEOF
20637 cat confdefs.h
>>conftest.
$ac_ext
20638 cat >>conftest.
$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20640 #include <sys/types.h>
20641 #include <sys/socket.h>
20646 static struct sockaddr ac_aggr;
20647 if (ac_aggr.sa_len)
20653 rm -f conftest.
$ac_objext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20655 (eval $ac_compile) 2>conftest.er1
20657 grep -v '^ *+' conftest.er1
>conftest.err
20659 cat conftest.err
>&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20664 (eval $ac_try) 2>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); }; } &&
20668 { ac_try
='test -s conftest.$ac_objext'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; }; then
20674 ac_cv_member_struct_sockaddr_sa_len
=yes
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.
$ac_ext >&5
20679 cat >conftest.
$ac_ext <<_ACEOF
20682 cat confdefs.h
>>conftest.
$ac_ext
20683 cat >>conftest.
$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 #include <sys/types.h>
20686 #include <sys/socket.h>
20691 static struct sockaddr ac_aggr;
20692 if (sizeof ac_aggr.sa_len)
20698 rm -f conftest.
$ac_objext
20699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20700 (eval $ac_compile) 2>conftest.er1
20702 grep -v '^ *+' conftest.er1
>conftest.err
20704 cat conftest.err
>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20709 (eval $ac_try) 2>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; } &&
20713 { ac_try
='test -s conftest.$ac_objext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 ac_cv_member_struct_sockaddr_sa_len
=yes
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.
$ac_ext >&5
20724 ac_cv_member_struct_sockaddr_sa_len
=no
20726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20730 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20731 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
20732 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20734 cat >>confdefs.h
<<\_ACEOF
20735 #define HAVE_SOCKADDR_SA_LEN
20740 echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
20741 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6
20742 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 cat >conftest.
$ac_ext <<_ACEOF
20748 cat confdefs.h
>>conftest.
$ac_ext
20749 cat >>conftest.
$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 #include <sys/types.h>
20752 #include <sys/socket.h>
20758 static struct addrinfo ac_aggr;
20759 if (ac_aggr.ai_flags)
20765 rm -f conftest.
$ac_objext
20766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20767 (eval $ac_compile) 2>conftest.er1
20769 grep -v '^ *+' conftest.er1
>conftest.err
20771 cat conftest.err
>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); } &&
20774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; } &&
20780 { ac_try
='test -s conftest.$ac_objext'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; }; then
20786 ac_cv_member_struct_addrinfo_ai_flags
=yes
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.
$ac_ext >&5
20791 cat >conftest.
$ac_ext <<_ACEOF
20794 cat confdefs.h
>>conftest.
$ac_ext
20795 cat >>conftest.
$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 #include <sys/types.h>
20798 #include <sys/socket.h>
20804 static struct addrinfo ac_aggr;
20805 if (sizeof ac_aggr.ai_flags)
20811 rm -f conftest.
$ac_objext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20813 (eval $ac_compile) 2>conftest.er1
20815 grep -v '^ *+' conftest.er1
>conftest.err
20817 cat conftest.err
>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try
='test -s conftest.$ac_objext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_cv_member_struct_addrinfo_ai_flags
=yes
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.
$ac_ext >&5
20837 ac_cv_member_struct_addrinfo_ai_flags
=no
20839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20843 echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
20844 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6
20845 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
20847 cat >>confdefs.h
<<\_ACEOF
20848 #define HAVE_STRUCT_ADDRINFO
20854 for ac_func
in gettimeofday
20856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20857 echo "$as_me:$LINENO: checking for $ac_func" >&5
20858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20859 if eval "test \"\${$as_ac_var+set}\" = set"; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20862 cat >conftest.
$ac_ext <<_ACEOF
20865 cat confdefs.h
>>conftest.
$ac_ext
20866 cat >>conftest.
$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20870 #define $ac_func innocuous_$ac_func
20872 /* System header to define __stub macros and hopefully few prototypes,
20873 which can conflict with char $ac_func (); below.
20874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20875 <limits.h> exists even on freestanding compilers. */
20878 # include <limits.h>
20880 # include <assert.h>
20885 /* Override any gcc2 internal prototype to avoid an error. */
20890 /* We use char because int might match the return type of a gcc2
20891 builtin and then its argument prototype would still apply. */
20893 /* The GNU C library defines this for functions which it implements
20894 to always fail with ENOSYS. Some functions are actually named
20895 something starting with __ and the normal name is an alias. */
20896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20899 char (*f) () = $ac_func;
20908 return f != $ac_func;
20913 rm -f conftest.
$ac_objext conftest
$ac_exeext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20915 (eval $ac_link) 2>conftest.er1
20917 grep -v '^ *+' conftest.er1
>conftest.err
20919 cat conftest.err
>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; } &&
20928 { ac_try
='test -s conftest$ac_exeext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 eval "$as_ac_var=yes"
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.
$ac_ext >&5
20939 eval "$as_ac_var=no"
20941 rm -f conftest.err conftest.
$ac_objext \
20942 conftest
$ac_exeext conftest.
$ac_ext
20944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20946 if test `eval echo '${'$as_ac_var'}'` = yes; then
20947 cat >>confdefs.h
<<_ACEOF
20948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20954 if test $ac_cv_func_gettimeofday = no
; then
20956 for ac_func
in ftime
20958 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20959 echo "$as_me:$LINENO: checking for $ac_func" >&5
20960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20961 if eval "test \"\${$as_ac_var+set}\" = set"; then
20962 echo $ECHO_N "(cached) $ECHO_C" >&6
20964 cat >conftest.
$ac_ext <<_ACEOF
20967 cat confdefs.h
>>conftest.
$ac_ext
20968 cat >>conftest.
$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20972 #define $ac_func innocuous_$ac_func
20974 /* System header to define __stub macros and hopefully few prototypes,
20975 which can conflict with char $ac_func (); below.
20976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20977 <limits.h> exists even on freestanding compilers. */
20980 # include <limits.h>
20982 # include <assert.h>
20987 /* Override any gcc2 internal prototype to avoid an error. */
20992 /* We use char because int might match the return type of a gcc2
20993 builtin and then its argument prototype would still apply. */
20995 /* The GNU C library defines this for functions which it implements
20996 to always fail with ENOSYS. Some functions are actually named
20997 something starting with __ and the normal name is an alias. */
20998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21001 char (*f) () = $ac_func;
21010 return f != $ac_func;
21015 rm -f conftest.
$ac_objext conftest
$ac_exeext
21016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21017 (eval $ac_link) 2>conftest.er1
21019 grep -v '^ *+' conftest.er1
>conftest.err
21021 cat conftest.err
>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; } &&
21030 { ac_try
='test -s conftest$ac_exeext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 eval "$as_ac_var=yes"
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 eval "$as_ac_var=no"
21043 rm -f conftest.err conftest.
$ac_objext \
21044 conftest
$ac_exeext conftest.
$ac_ext
21046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21048 if test `eval echo '${'$as_ac_var'}'` = yes; then
21049 cat >>confdefs.h
<<_ACEOF
21050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21054 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
21055 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
21056 { (exit 1); exit 1; }; }
21079 for ac_func
in freeaddrinfo getaddrinfo getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf
21081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21082 echo "$as_me:$LINENO: checking for $ac_func" >&5
21083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21084 if eval "test \"\${$as_ac_var+set}\" = set"; then
21085 echo $ECHO_N "(cached) $ECHO_C" >&6
21087 cat >conftest.
$ac_ext <<_ACEOF
21090 cat confdefs.h
>>conftest.
$ac_ext
21091 cat >>conftest.
$ac_ext <<_ACEOF
21092 /* end confdefs.h. */
21093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21095 #define $ac_func innocuous_$ac_func
21097 /* System header to define __stub macros and hopefully few prototypes,
21098 which can conflict with char $ac_func (); below.
21099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21100 <limits.h> exists even on freestanding compilers. */
21103 # include <limits.h>
21105 # include <assert.h>
21110 /* Override any gcc2 internal prototype to avoid an error. */
21115 /* We use char because int might match the return type of a gcc2
21116 builtin and then its argument prototype would still apply. */
21118 /* The GNU C library defines this for functions which it implements
21119 to always fail with ENOSYS. Some functions are actually named
21120 something starting with __ and the normal name is an alias. */
21121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21124 char (*f) () = $ac_func;
21133 return f != $ac_func;
21138 rm -f conftest.
$ac_objext conftest
$ac_exeext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21140 (eval $ac_link) 2>conftest.er1
21142 grep -v '^ *+' conftest.er1
>conftest.err
21144 cat conftest.err
>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } &&
21147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149 (eval $ac_try) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; } &&
21153 { ac_try
='test -s conftest$ac_exeext'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 eval "$as_ac_var=yes"
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.
$ac_ext >&5
21164 eval "$as_ac_var=no"
21166 rm -f conftest.err conftest.
$ac_objext \
21167 conftest
$ac_exeext conftest.
$ac_ext
21169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21171 if test `eval echo '${'$as_ac_var'}'` = yes; then
21172 cat >>confdefs.h
<<_ACEOF
21173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21186 for ac_func
in select socket strcspn strspn strtod strtoul
21188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21189 echo "$as_me:$LINENO: checking for $ac_func" >&5
21190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21191 if eval "test \"\${$as_ac_var+set}\" = set"; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 cat >conftest.
$ac_ext <<_ACEOF
21197 cat confdefs.h
>>conftest.
$ac_ext
21198 cat >>conftest.
$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21202 #define $ac_func innocuous_$ac_func
21204 /* System header to define __stub macros and hopefully few prototypes,
21205 which can conflict with char $ac_func (); below.
21206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21207 <limits.h> exists even on freestanding compilers. */
21210 # include <limits.h>
21212 # include <assert.h>
21217 /* Override any gcc2 internal prototype to avoid an error. */
21222 /* We use char because int might match the return type of a gcc2
21223 builtin and then its argument prototype would still apply. */
21225 /* The GNU C library defines this for functions which it implements
21226 to always fail with ENOSYS. Some functions are actually named
21227 something starting with __ and the normal name is an alias. */
21228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21231 char (*f) () = $ac_func;
21240 return f != $ac_func;
21245 rm -f conftest.
$ac_objext conftest
$ac_exeext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21247 (eval $ac_link) 2>conftest.er1
21249 grep -v '^ *+' conftest.er1
>conftest.err
21251 cat conftest.err
>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } &&
21254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 (eval $ac_try) 2>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; } &&
21260 { ac_try
='test -s conftest$ac_exeext'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; }; then
21266 eval "$as_ac_var=yes"
21268 echo "$as_me: failed program was:" >&5
21269 sed 's/^/| /' conftest.
$ac_ext >&5
21271 eval "$as_ac_var=no"
21273 rm -f conftest.err conftest.
$ac_objext \
21274 conftest
$ac_exeext conftest.
$ac_ext
21276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21278 if test `eval echo '${'$as_ac_var'}'` = yes; then
21279 cat >>confdefs.h
<<_ACEOF
21280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21284 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
21285 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
21286 { (exit 1); exit 1; }; }
21291 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21292 # for constant arguments. Useless!
21293 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21294 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21295 if test "${ac_cv_working_alloca_h+set}" = set; then
21296 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 cat >conftest.
$ac_ext <<_ACEOF
21301 cat confdefs.h
>>conftest.
$ac_ext
21302 cat >>conftest.
$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 #include <alloca.h>
21308 char *p = (char *) alloca (2 * sizeof (int));
21313 rm -f conftest.
$ac_objext conftest
$ac_exeext
21314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21315 (eval $ac_link) 2>conftest.er1
21317 grep -v '^ *+' conftest.er1
>conftest.err
21319 cat conftest.err
>&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } &&
21322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; } &&
21328 { ac_try
='test -s conftest$ac_exeext'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; }; then
21334 ac_cv_working_alloca_h
=yes
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.
$ac_ext >&5
21339 ac_cv_working_alloca_h
=no
21341 rm -f conftest.err conftest.
$ac_objext \
21342 conftest
$ac_exeext conftest.
$ac_ext
21344 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21345 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21346 if test $ac_cv_working_alloca_h = yes; then
21348 cat >>confdefs.h
<<\_ACEOF
21349 #define HAVE_ALLOCA_H 1
21354 echo "$as_me:$LINENO: checking for alloca" >&5
21355 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21356 if test "${ac_cv_func_alloca_works+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 cat >conftest.
$ac_ext <<_ACEOF
21362 cat confdefs.h
>>conftest.
$ac_ext
21363 cat >>conftest.
$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21366 # define alloca __builtin_alloca
21369 # include <malloc.h>
21370 # define alloca _alloca
21373 # include <alloca.h>
21378 # ifndef alloca /* predefined by HP cc +Olibcalls */
21389 char *p = (char *) alloca (1);
21394 rm -f conftest.
$ac_objext conftest
$ac_exeext
21395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21396 (eval $ac_link) 2>conftest.er1
21398 grep -v '^ *+' conftest.er1
>conftest.err
21400 cat conftest.err
>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } &&
21403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; } &&
21409 { ac_try
='test -s conftest$ac_exeext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_cv_func_alloca_works
=yes
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.
$ac_ext >&5
21420 ac_cv_func_alloca_works
=no
21422 rm -f conftest.err conftest.
$ac_objext \
21423 conftest
$ac_exeext conftest.
$ac_ext
21425 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21426 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21428 if test $ac_cv_func_alloca_works = yes; then
21430 cat >>confdefs.h
<<\_ACEOF
21431 #define HAVE_ALLOCA 1
21435 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21436 # that cause trouble. Some versions do not even contain alloca or
21437 # contain a buggy version. If you still want to use their alloca,
21438 # use ar to extract alloca.o from them instead of compiling alloca.c.
21440 ALLOCA
=alloca.
$ac_objext
21442 cat >>confdefs.h
<<\_ACEOF
21447 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21448 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21449 if test "${ac_cv_os_cray+set}" = set; then
21450 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 cat >conftest.
$ac_ext <<_ACEOF
21455 cat confdefs.h
>>conftest.
$ac_ext
21456 cat >>conftest.
$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 #if defined(CRAY) && ! defined(CRAY2)
21465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21466 $EGREP "webecray" >/dev
/null
2>&1; then
21474 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21475 echo "${ECHO_T}$ac_cv_os_cray" >&6
21476 if test $ac_cv_os_cray = yes; then
21477 for ac_func
in _getb67 GETB67 getb67
; do
21478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21479 echo "$as_me:$LINENO: checking for $ac_func" >&5
21480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21481 if eval "test \"\${$as_ac_var+set}\" = set"; then
21482 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 cat >conftest.
$ac_ext <<_ACEOF
21487 cat confdefs.h
>>conftest.
$ac_ext
21488 cat >>conftest.
$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21492 #define $ac_func innocuous_$ac_func
21494 /* System header to define __stub macros and hopefully few prototypes,
21495 which can conflict with char $ac_func (); below.
21496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21497 <limits.h> exists even on freestanding compilers. */
21500 # include <limits.h>
21502 # include <assert.h>
21507 /* Override any gcc2 internal prototype to avoid an error. */
21512 /* We use char because int might match the return type of a gcc2
21513 builtin and then its argument prototype would still apply. */
21515 /* The GNU C library defines this for functions which it implements
21516 to always fail with ENOSYS. Some functions are actually named
21517 something starting with __ and the normal name is an alias. */
21518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21521 char (*f) () = $ac_func;
21530 return f != $ac_func;
21535 rm -f conftest.
$ac_objext conftest
$ac_exeext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21537 (eval $ac_link) 2>conftest.er1
21539 grep -v '^ *+' conftest.er1
>conftest.err
21541 cat conftest.err
>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } &&
21544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546 (eval $ac_try) 2>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); }; } &&
21550 { ac_try
='test -s conftest$ac_exeext'
21551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; }; then
21556 eval "$as_ac_var=yes"
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.
$ac_ext >&5
21561 eval "$as_ac_var=no"
21563 rm -f conftest.err conftest.
$ac_objext \
21564 conftest
$ac_exeext conftest.
$ac_ext
21566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21568 if test `eval echo '${'$as_ac_var'}'` = yes; then
21570 cat >>confdefs.h
<<_ACEOF
21571 #define CRAY_STACKSEG_END $ac_func
21580 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21581 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21582 if test "${ac_cv_c_stack_direction+set}" = set; then
21583 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 if test "$cross_compiling" = yes; then
21586 ac_cv_c_stack_direction
=0
21588 cat >conftest.
$ac_ext <<_ACEOF
21591 cat confdefs.h
>>conftest.
$ac_ext
21592 cat >>conftest.
$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21595 find_stack_direction ()
21597 static char *addr = 0;
21602 return find_stack_direction ();
21605 return (&dummy > addr) ? 1 : -1;
21611 exit (find_stack_direction () < 0);
21614 rm -f conftest
$ac_exeext
21615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21616 (eval $ac_link) 2>&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 ac_cv_c_stack_direction
=1
21627 echo "$as_me: program exited with status $ac_status" >&5
21628 echo "$as_me: failed program was:" >&5
21629 sed 's/^/| /' conftest.
$ac_ext >&5
21631 ( exit $ac_status )
21632 ac_cv_c_stack_direction
=-1
21634 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21637 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21638 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21640 cat >>confdefs.h
<<_ACEOF
21641 #define STACK_DIRECTION $ac_cv_c_stack_direction
21649 for ac_header
in stdlib.h unistd.h
21651 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21653 echo "$as_me:$LINENO: checking for $ac_header" >&5
21654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21656 echo $ECHO_N "(cached) $ECHO_C" >&6
21658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21661 # Is the header compilable?
21662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21664 cat >conftest.
$ac_ext <<_ACEOF
21667 cat confdefs.h
>>conftest.
$ac_ext
21668 cat >>conftest.
$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 #include <$ac_header>
21673 rm -f conftest.
$ac_objext
21674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21675 (eval $ac_compile) 2>conftest.er1
21677 grep -v '^ *+' conftest.er1
>conftest.err
21679 cat conftest.err
>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); }; } &&
21688 { ac_try
='test -s conftest.$ac_objext'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; }; then
21694 ac_header_compiler
=yes
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.
$ac_ext >&5
21699 ac_header_compiler
=no
21701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21703 echo "${ECHO_T}$ac_header_compiler" >&6
21705 # Is the header present?
21706 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21707 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21708 cat >conftest.
$ac_ext <<_ACEOF
21711 cat confdefs.h
>>conftest.
$ac_ext
21712 cat >>conftest.
$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 #include <$ac_header>
21716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21717 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
21724 if test -s conftest.err
; then
21725 ac_cpp_err
=$ac_c_preproc_warn_flag
21726 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21733 if test -z "$ac_cpp_err"; then
21734 ac_header_preproc
=yes
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.
$ac_ext >&5
21739 ac_header_preproc
=no
21741 rm -f conftest.err conftest.
$ac_ext
21742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21743 echo "${ECHO_T}$ac_header_preproc" >&6
21745 # So? What about this header?
21746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21749 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21751 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21752 ac_header_preproc
=yes
21755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21759 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21760 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21761 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21762 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21765 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21769 ## -------------------------------------------------- ##
21770 ## Report this to evilnet-devel@lists.sourceforge.net ##
21771 ## -------------------------------------------------- ##
21774 sed "s/^/$as_me: WARNING: /" >&2
21777 echo "$as_me:$LINENO: checking for $ac_header" >&5
21778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 eval "$as_ac_Header=\$ac_header_preproc"
21784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21789 cat >>confdefs.h
<<_ACEOF
21790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21798 for ac_func
in getpagesize
21800 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21801 echo "$as_me:$LINENO: checking for $ac_func" >&5
21802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21803 if eval "test \"\${$as_ac_var+set}\" = set"; then
21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21806 cat >conftest.
$ac_ext <<_ACEOF
21809 cat confdefs.h
>>conftest.
$ac_ext
21810 cat >>conftest.
$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21814 #define $ac_func innocuous_$ac_func
21816 /* System header to define __stub macros and hopefully few prototypes,
21817 which can conflict with char $ac_func (); below.
21818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21819 <limits.h> exists even on freestanding compilers. */
21822 # include <limits.h>
21824 # include <assert.h>
21829 /* Override any gcc2 internal prototype to avoid an error. */
21834 /* We use char because int might match the return type of a gcc2
21835 builtin and then its argument prototype would still apply. */
21837 /* The GNU C library defines this for functions which it implements
21838 to always fail with ENOSYS. Some functions are actually named
21839 something starting with __ and the normal name is an alias. */
21840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21843 char (*f) () = $ac_func;
21852 return f != $ac_func;
21857 rm -f conftest.
$ac_objext conftest
$ac_exeext
21858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21859 (eval $ac_link) 2>conftest.er1
21861 grep -v '^ *+' conftest.er1
>conftest.err
21863 cat conftest.err
>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } &&
21866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; } &&
21872 { ac_try
='test -s conftest$ac_exeext'
21873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874 (eval $ac_try) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 eval "$as_ac_var=yes"
21880 echo "$as_me: failed program was:" >&5
21881 sed 's/^/| /' conftest.
$ac_ext >&5
21883 eval "$as_ac_var=no"
21885 rm -f conftest.err conftest.
$ac_objext \
21886 conftest
$ac_exeext conftest.
$ac_ext
21888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21890 if test `eval echo '${'$as_ac_var'}'` = yes; then
21891 cat >>confdefs.h
<<_ACEOF
21892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21898 echo "$as_me:$LINENO: checking for working mmap" >&5
21899 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21900 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21901 echo $ECHO_N "(cached) $ECHO_C" >&6
21903 if test "$cross_compiling" = yes; then
21904 ac_cv_func_mmap_fixed_mapped
=no
21906 cat >conftest.
$ac_ext <<_ACEOF
21909 cat confdefs.h
>>conftest.
$ac_ext
21910 cat >>conftest.
$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 $ac_includes_default
21913 /* malloc might have been renamed as rpl_malloc. */
21916 /* Thanks to Mike Haertel and Jim Avera for this test.
21917 Here is a matrix of mmap possibilities:
21918 mmap private not fixed
21919 mmap private fixed at somewhere currently unmapped
21920 mmap private fixed at somewhere already mapped
21921 mmap shared not fixed
21922 mmap shared fixed at somewhere currently unmapped
21923 mmap shared fixed at somewhere already mapped
21924 For private mappings, we should verify that changes cannot be read()
21925 back from the file, nor mmap's back from the file at a different
21926 address. (There have been systems where private was not correctly
21927 implemented like the infamous i386 svr4.0, and systems where the
21928 VM page cache was not coherent with the file system buffer cache
21929 like early versions of FreeBSD and possibly contemporary NetBSD.)
21930 For shared mappings, we should conversely verify that changes get
21931 propagated back to all the places they're supposed to be.
21933 Grep wants private fixed already mapped.
21934 The main things grep needs to know about mmap are:
21935 * does it exist and is it safe to write into the mmap'd area
21936 * how to use it (BSD variants) */
21939 #include <sys/mman.h>
21941 #if !STDC_HEADERS && !HAVE_STDLIB_H
21945 /* This mess was copied from the GNU getpagesize.h. */
21946 #if !HAVE_GETPAGESIZE
21947 /* Assume that all systems that can run configure have sys/param.h. */
21948 # if !HAVE_SYS_PARAM_H
21949 # define HAVE_SYS_PARAM_H 1
21952 # ifdef _SC_PAGESIZE
21953 # define getpagesize() sysconf(_SC_PAGESIZE)
21954 # else /* no _SC_PAGESIZE */
21955 # if HAVE_SYS_PARAM_H
21956 # include <sys/param.h>
21957 # ifdef EXEC_PAGESIZE
21958 # define getpagesize() EXEC_PAGESIZE
21959 # else /* no EXEC_PAGESIZE */
21961 # define getpagesize() NBPG * CLSIZE
21964 # endif /* no CLSIZE */
21965 # else /* no NBPG */
21967 # define getpagesize() NBPC
21968 # else /* no NBPC */
21970 # define getpagesize() PAGESIZE
21971 # endif /* PAGESIZE */
21972 # endif /* no NBPC */
21973 # endif /* no NBPG */
21974 # endif /* no EXEC_PAGESIZE */
21975 # else /* no HAVE_SYS_PARAM_H */
21976 # define getpagesize() 8192 /* punt totally */
21977 # endif /* no HAVE_SYS_PARAM_H */
21978 # endif /* no _SC_PAGESIZE */
21980 #endif /* no HAVE_GETPAGESIZE */
21985 char *data, *data2, *data3;
21989 pagesize = getpagesize ();
21991 /* First, make a file with some known garbage in it. */
21992 data = (char *) malloc (pagesize);
21995 for (i = 0; i < pagesize; ++i)
21996 *(data + i) = rand ();
21998 fd = creat ("conftest.mmap", 0600);
22001 if (write (fd, data, pagesize) != pagesize)
22005 /* Next, try to mmap the file at a fixed address which already has
22006 something else allocated at it. If we can, also make sure that
22007 we see the same garbage. */
22008 fd = open ("conftest.mmap", O_RDWR);
22011 data2 = (char *) malloc (2 * pagesize);
22014 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
22015 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22016 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22018 for (i = 0; i < pagesize; ++i)
22019 if (*(data + i) != *(data2 + i))
22022 /* Finally, make sure that changes to the mapped area do not
22023 percolate back to the file as seen by read(). (This is a bug on
22024 some variants of i386 svr4.0.) */
22025 for (i = 0; i < pagesize; ++i)
22026 *(data2 + i) = *(data2 + i) + 1;
22027 data3 = (char *) malloc (pagesize);
22030 if (read (fd, data3, pagesize) != pagesize)
22032 for (i = 0; i < pagesize; ++i)
22033 if (*(data + i) != *(data3 + i))
22039 rm -f conftest
$ac_exeext
22040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22041 (eval $ac_link) 2>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_func_mmap_fixed_mapped
=yes
22052 echo "$as_me: program exited with status $ac_status" >&5
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.
$ac_ext >&5
22056 ( exit $ac_status )
22057 ac_cv_func_mmap_fixed_mapped
=no
22059 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22062 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22063 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22064 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22066 cat >>confdefs.h
<<\_ACEOF
22067 #define HAVE_MMAP 1
22071 rm -f conftest.mmap
22074 echo "$as_me:$LINENO: checking for sin_len" >&5
22075 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6
22076 if test "${ac_cv_sin_len+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22079 cat >conftest.
$ac_ext <<_ACEOF
22082 cat confdefs.h
>>conftest.
$ac_ext
22083 cat >>conftest.
$ac_ext <<_ACEOF
22084 /* end confdefs.h. */
22085 #include <sys/types.h>
22086 #include <netinet/in.h>
22090 struct sockaddr_in *sin; sin->sin_len = 0;
22095 rm -f conftest.
$ac_objext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22097 (eval $ac_compile) 2>conftest.er1
22099 grep -v '^ *+' conftest.er1
>conftest.err
22101 cat conftest.err
>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } &&
22104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106 (eval $ac_try) 2>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); }; } &&
22110 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22116 ac_cv_sin_len
="yes"
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.
$ac_ext >&5
22123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22125 echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
22126 echo "${ECHO_T}$ac_cv_sin_len" >&6
22127 if test $ac_cv_sin_len = yes ; then
22129 cat >>confdefs.h
<<\_ACEOF
22130 #define HAVE_SIN_LEN 1
22135 echo "$as_me:$LINENO: checking for socklen_t" >&5
22136 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
22137 if test "${ac_cv_type_socklen_t+set}" = set; then
22138 echo $ECHO_N "(cached) $ECHO_C" >&6
22140 cat >conftest.
$ac_ext <<_ACEOF
22143 cat confdefs.h
>>conftest.
$ac_ext
22144 cat >>conftest.
$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 #include <sys/types.h>
22147 #include<sys/socket.h>
22152 if ((socklen_t *) 0)
22154 if (sizeof (socklen_t))
22160 rm -f conftest.
$ac_objext
22161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22162 (eval $ac_compile) 2>conftest.er1
22164 grep -v '^ *+' conftest.er1
>conftest.err
22166 cat conftest.err
>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } &&
22169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; } &&
22175 { ac_try
='test -s conftest.$ac_objext'
22176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22177 (eval $ac_try) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 ac_cv_type_socklen_t
=yes
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22186 ac_cv_type_socklen_t
=no
22188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22190 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
22191 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
22192 if test $ac_cv_type_socklen_t = yes; then
22196 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
22197 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
22198 if test "${curl_cv_socklen_t_equiv+set}" = set; then
22199 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 curl_cv_socklen_t_equiv
=
22203 for arg2
in "struct sockaddr" void
; do
22204 for t
in int size_t unsigned long
"unsigned long" ; do
22205 cat >conftest.
$ac_ext <<_ACEOF
22208 cat confdefs.h
>>conftest.
$ac_ext
22209 cat >>conftest.
$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 #include <sys/types.h>
22212 #include <sys/socket.h>
22213 int getpeername (int $arg2 *, $t *);
22218 getpeername(0, 0, &len);
22223 rm -f conftest.
$ac_objext
22224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22225 (eval $ac_compile) 2>conftest.er1
22227 grep -v '^ *+' conftest.er1
>conftest.err
22229 cat conftest.err
>&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } &&
22232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try
='test -s conftest.$ac_objext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 curl_cv_socklen_t_equiv
="$t"
22247 echo "$as_me: failed program was:" >&5
22248 sed 's/^/| /' conftest.
$ac_ext >&5
22251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22257 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
22258 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
22260 cat >>confdefs.h
<<_ACEOF
22261 #define socklen_t $curl_cv_socklen_t_equiv
22268 CFLAGS
="$CFLAGS -W -Wall -Werror"
22270 echo "$as_me:$LINENO: checking for time_t format" >&5
22271 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6
22272 if test "${ac_cv_fmt_time_t+set}" = set; then
22273 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 ac_cv_fmt_time_t
=no
22277 cat >conftest.
$ac_ext <<_ACEOF
22278 #include <sys/types.h>
22280 void myfunc(void) {
22282 printf("%li", test);
22285 rm -f conftest.
$ac_objext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22287 (eval $ac_compile) 2>conftest.er1
22289 grep -v '^ *+' conftest.er1
>conftest.err
22291 cat conftest.err
>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; } &&
22300 { ac_try
='test -s conftest.$ac_objext'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 ac_cv_fmt_time_t
="\"%li\""
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.
$ac_ext >&5
22312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22313 if test $ac_cv_fmt_time_t = no
; then
22314 cat >conftest.
$ac_ext <<_ACEOF
22315 #include <sys/types.h>
22317 void myfunc(void) {
22319 printf("%i", test);
22322 rm -f conftest.
$ac_objext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22324 (eval $ac_compile) 2>conftest.er1
22326 grep -v '^ *+' conftest.er1
>conftest.err
22328 cat conftest.err
>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } &&
22331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; } &&
22337 { ac_try
='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_fmt_time_t
="\"%i\""
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.
$ac_ext >&5
22349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22351 if test $ac_cv_fmt_time_t = no
; then
22352 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
22353 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
22354 echo "$as_me: error: Cannot detect format string for time_t
22355 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
22356 { (exit 1); exit 1; }; }
22362 cat >>confdefs.h
<<_ACEOF
22363 #define FMT_TIME_T $ac_cv_fmt_time_t
22366 echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
22367 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6
22369 echo "$as_me:$LINENO: checking for va_copy" >&5
22370 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22371 if test "${ac_cv_c_va_copy+set}" = set; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 cat >conftest.
$ac_ext <<_ACEOF
22377 cat confdefs.h
>>conftest.
$ac_ext
22378 cat >>conftest.
$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 #include <stdarg.h>
22384 va_list ap1, ap2; va_copy(ap1, ap2);
22389 rm -f conftest.
$ac_objext conftest
$ac_exeext
22390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22391 (eval $ac_link) 2>conftest.er1
22393 grep -v '^ *+' conftest.er1
>conftest.err
22395 cat conftest.err
>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; } &&
22404 { ac_try
='test -s conftest$ac_exeext'
22405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22406 (eval $ac_try) 2>&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; }; then
22410 ac_cv_c_va_copy
="yes"
22412 echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.
$ac_ext >&5
22415 ac_cv_c_va_copy
="no"
22418 rm -f conftest.err conftest.
$ac_objext \
22419 conftest
$ac_exeext conftest.
$ac_ext
22421 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
22422 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
22423 if test "$ac_cv_c_va_copy" = "yes" ; then
22425 cat >>confdefs.h
<<\_ACEOF
22426 #define HAVE_VA_COPY 1
22431 echo "$as_me:$LINENO: checking for __va_copy" >&5
22432 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
22433 if test "${ac_cv_c___va_copy+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22436 cat >conftest.
$ac_ext <<_ACEOF
22439 cat confdefs.h
>>conftest.
$ac_ext
22440 cat >>conftest.
$ac_ext <<_ACEOF
22441 /* end confdefs.h. */
22442 #include <stdarg.h>
22446 va_list ap1, ap2; __va_copy(ap1, ap2);
22451 rm -f conftest.
$ac_objext conftest
$ac_exeext
22452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22453 (eval $ac_link) 2>conftest.er1
22455 grep -v '^ *+' conftest.er1
>conftest.err
22457 cat conftest.err
>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } &&
22460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; } &&
22466 { ac_try
='test -s conftest$ac_exeext'
22467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22468 (eval $ac_try) 2>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); }; }; then
22472 ac_cv_c___va_copy
="yes"
22474 echo "$as_me: failed program was:" >&5
22475 sed 's/^/| /' conftest.
$ac_ext >&5
22477 ac_cv_c___va_copy
="no"
22480 rm -f conftest.err conftest.
$ac_objext \
22481 conftest
$ac_exeext conftest.
$ac_ext
22483 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
22484 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
22485 if test "$ac_cv_c___va_copy" = "yes" ; then
22487 cat >>confdefs.h
<<\_ACEOF
22488 #define HAVE___VA_COPY 1
22495 echo "$as_me:$LINENO: checking which malloc to use" >&5
22496 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6
22498 # Check whether --with-malloc or --without-malloc was given.
22499 if test "${with_malloc+set}" = set; then
22500 withval
="$with_malloc"
22505 if test "x$withval" = "xsystem" ; then
22506 echo "$as_me:$LINENO: result: system" >&5
22507 echo "${ECHO_T}system" >&6
22509 cat >>confdefs.h
<<\_ACEOF
22510 #define WITH_MALLOC_SYSTEM 1
22513 elif test "x$withval" = "xdmalloc" ; then
22514 echo "$as_me:$LINENO: result: dmalloc" >&5
22515 echo "${ECHO_T}dmalloc" >&6
22517 for ac_header
in dmalloc.h
22519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22521 echo "$as_me:$LINENO: checking for $ac_header" >&5
22522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22524 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22529 # Is the header compilable?
22530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22532 cat >conftest.
$ac_ext <<_ACEOF
22535 cat confdefs.h
>>conftest.
$ac_ext
22536 cat >>conftest.
$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538 $ac_includes_default
22539 #include <$ac_header>
22541 rm -f conftest.
$ac_objext
22542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22543 (eval $ac_compile) 2>conftest.er1
22545 grep -v '^ *+' conftest.er1
>conftest.err
22547 cat conftest.err
>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } &&
22550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22552 (eval $ac_try) 2>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); }; } &&
22556 { ac_try
='test -s conftest.$ac_objext'
22557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22558 (eval $ac_try) 2>&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); }; }; then
22562 ac_header_compiler
=yes
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.
$ac_ext >&5
22567 ac_header_compiler
=no
22569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22571 echo "${ECHO_T}$ac_header_compiler" >&6
22573 # Is the header present?
22574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22576 cat >conftest.
$ac_ext <<_ACEOF
22579 cat confdefs.h
>>conftest.
$ac_ext
22580 cat >>conftest.
$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <$ac_header>
22584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22587 grep -v '^ *+' conftest.er1
>conftest.err
22589 cat conftest.err
>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } >/dev
/null
; then
22592 if test -s conftest.err
; then
22593 ac_cpp_err
=$ac_c_preproc_warn_flag
22594 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22601 if test -z "$ac_cpp_err"; then
22602 ac_header_preproc
=yes
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.
$ac_ext >&5
22607 ac_header_preproc
=no
22609 rm -f conftest.err conftest.
$ac_ext
22610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22611 echo "${ECHO_T}$ac_header_preproc" >&6
22613 # So? What about this header?
22614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22620 ac_header_preproc
=yes
22623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22637 ## -------------------------------------------------- ##
22638 ## Report this to evilnet-devel@lists.sourceforge.net ##
22639 ## -------------------------------------------------- ##
22642 sed "s/^/$as_me: WARNING: /" >&2
22645 echo "$as_me:$LINENO: checking for $ac_header" >&5
22646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22650 eval "$as_ac_Header=\$ac_header_preproc"
22652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22657 cat >>confdefs.h
<<_ACEOF
22658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22662 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
22663 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
22664 { (exit 1); exit 1; }; }
22670 echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
22671 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6
22672 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 ac_check_lib_save_LIBS
=$LIBS
22676 LIBS
="-ldmalloc $LIBS"
22677 cat >conftest.
$ac_ext <<_ACEOF
22680 cat confdefs.h
>>conftest.
$ac_ext
22681 cat >>conftest.
$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22684 /* Override any gcc2 internal prototype to avoid an error. */
22688 /* We use char because int might match the return type of a gcc2
22689 builtin and then its argument prototype would still apply. */
22699 rm -f conftest.
$ac_objext conftest
$ac_exeext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22701 (eval $ac_link) 2>conftest.er1
22703 grep -v '^ *+' conftest.er1
>conftest.err
22705 cat conftest.err
>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try
='test -z "$ac_c_werror_flag" || 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_dmalloc_malloc
=yes
22722 echo "$as_me: failed program was:" >&5
22723 sed 's/^/| /' conftest.
$ac_ext >&5
22725 ac_cv_lib_dmalloc_malloc
=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_dmalloc_malloc" >&5
22732 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6
22733 if test $ac_cv_lib_dmalloc_malloc = yes; then
22734 cat >>confdefs.h
<<_ACEOF
22735 #define HAVE_LIBDMALLOC 1
22738 LIBS
="-ldmalloc $LIBS"
22741 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
22742 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
22743 { (exit 1); exit 1; }; }
22747 cat >>confdefs.h
<<\_ACEOF
22748 #define WITH_MALLOC_DMALLOC 1
22751 elif test "x$withval" = "xmpatrol" ; then
22752 echo "$as_me:$LINENO: result: mpatrol" >&5
22753 echo "${ECHO_T}mpatrol" >&6
22755 for ac_header
in mpatrol.h
22757 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22759 echo "$as_me:$LINENO: checking for $ac_header" >&5
22760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22762 echo $ECHO_N "(cached) $ECHO_C" >&6
22764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22767 # Is the header compilable?
22768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22770 cat >conftest.
$ac_ext <<_ACEOF
22773 cat confdefs.h
>>conftest.
$ac_ext
22774 cat >>conftest.
$ac_ext <<_ACEOF
22775 /* end confdefs.h. */
22776 $ac_includes_default
22777 #include <$ac_header>
22779 rm -f conftest.
$ac_objext
22780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22781 (eval $ac_compile) 2>conftest.er1
22783 grep -v '^ *+' conftest.er1
>conftest.err
22785 cat conftest.err
>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } &&
22788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; } &&
22794 { ac_try
='test -s conftest.$ac_objext'
22795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796 (eval $ac_try) 2>&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; }; then
22800 ac_header_compiler
=yes
22802 echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.
$ac_ext >&5
22805 ac_header_compiler
=no
22807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22809 echo "${ECHO_T}$ac_header_compiler" >&6
22811 # Is the header present?
22812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22814 cat >conftest.
$ac_ext <<_ACEOF
22817 cat confdefs.h
>>conftest.
$ac_ext
22818 cat >>conftest.
$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22820 #include <$ac_header>
22822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22825 grep -v '^ *+' conftest.er1
>conftest.err
22827 cat conftest.err
>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); } >/dev
/null
; then
22830 if test -s conftest.err
; then
22831 ac_cpp_err
=$ac_c_preproc_warn_flag
22832 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22839 if test -z "$ac_cpp_err"; then
22840 ac_header_preproc
=yes
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.
$ac_ext >&5
22845 ac_header_preproc
=no
22847 rm -f conftest.err conftest.
$ac_ext
22848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22849 echo "${ECHO_T}$ac_header_preproc" >&6
22851 # So? What about this header?
22852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22858 ac_header_preproc
=yes
22861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22875 ## -------------------------------------------------- ##
22876 ## Report this to evilnet-devel@lists.sourceforge.net ##
22877 ## -------------------------------------------------- ##
22880 sed "s/^/$as_me: WARNING: /" >&2
22883 echo "$as_me:$LINENO: checking for $ac_header" >&5
22884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22886 echo $ECHO_N "(cached) $ECHO_C" >&6
22888 eval "$as_ac_Header=\$ac_header_preproc"
22890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22895 cat >>confdefs.h
<<_ACEOF
22896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22900 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
22901 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
22902 { (exit 1); exit 1; }; }
22908 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
22909 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
22910 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 ac_check_lib_save_LIBS
=$LIBS
22915 cat >conftest.
$ac_ext <<_ACEOF
22918 cat confdefs.h
>>conftest.
$ac_ext
22919 cat >>conftest.
$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22922 /* Override any gcc2 internal prototype to avoid an error. */
22926 /* We use char because int might match the return type of a gcc2
22927 builtin and then its argument prototype would still apply. */
22937 rm -f conftest.
$ac_objext conftest
$ac_exeext
22938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22939 (eval $ac_link) 2>conftest.er1
22941 grep -v '^ *+' conftest.er1
>conftest.err
22943 cat conftest.err
>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } &&
22946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; } &&
22952 { ac_try
='test -s conftest$ac_exeext'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; }; then
22958 ac_cv_lib_elf_elf_begin
=yes
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.
$ac_ext >&5
22963 ac_cv_lib_elf_elf_begin
=no
22965 rm -f conftest.err conftest.
$ac_objext \
22966 conftest
$ac_exeext conftest.
$ac_ext
22967 LIBS
=$ac_check_lib_save_LIBS
22969 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
22970 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
22971 if test $ac_cv_lib_elf_elf_begin = yes; then
22972 cat >>confdefs.h
<<_ACEOF
22973 #define HAVE_LIBELF 1
22981 echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
22982 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6
22983 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
22984 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 ac_check_lib_save_LIBS
=$LIBS
22987 LIBS
="-lmpatrol $LIBS"
22988 cat >conftest.
$ac_ext <<_ACEOF
22991 cat confdefs.h
>>conftest.
$ac_ext
22992 cat >>conftest.
$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22995 /* Override any gcc2 internal prototype to avoid an error. */
22999 /* We use char because int might match the return type of a gcc2
23000 builtin and then its argument prototype would still apply. */
23001 char __mp_atexit ();
23010 rm -f conftest.
$ac_objext conftest
$ac_exeext
23011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23012 (eval $ac_link) 2>conftest.er1
23014 grep -v '^ *+' conftest.er1
>conftest.err
23016 cat conftest.err
>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; } &&
23025 { ac_try
='test -s conftest$ac_exeext'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; }; then
23031 ac_cv_lib_mpatrol___mp_atexit
=yes
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.
$ac_ext >&5
23036 ac_cv_lib_mpatrol___mp_atexit
=no
23038 rm -f conftest.err conftest.
$ac_objext \
23039 conftest
$ac_exeext conftest.
$ac_ext
23040 LIBS
=$ac_check_lib_save_LIBS
23042 echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
23043 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6
23044 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
23045 cat >>confdefs.h
<<_ACEOF
23046 #define HAVE_LIBMPATROL 1
23049 LIBS
="-lmpatrol $LIBS"
23052 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
23053 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
23054 { (exit 1); exit 1; }; }
23058 cat >>confdefs.h
<<\_ACEOF
23059 #define WITH_MALLOC_MPATROL 1
23062 elif test "x$withval" = "xboehm-gc" ; then
23063 echo "$as_me:$LINENO: result: boehm-gc" >&5
23064 echo "${ECHO_T}boehm-gc" >&6
23066 for ac_header
in gc
/gc.h
23068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23070 echo "$as_me:$LINENO: checking for $ac_header" >&5
23071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23078 # Is the header compilable?
23079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23081 cat >conftest.
$ac_ext <<_ACEOF
23084 cat confdefs.h
>>conftest.
$ac_ext
23085 cat >>conftest.
$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 $ac_includes_default
23088 #include <$ac_header>
23090 rm -f conftest.
$ac_objext
23091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23092 (eval $ac_compile) 2>conftest.er1
23094 grep -v '^ *+' conftest.er1
>conftest.err
23096 cat conftest.err
>&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } &&
23099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23101 (eval $ac_try) 2>&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); }; } &&
23105 { ac_try
='test -s conftest.$ac_objext'
23106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23107 (eval $ac_try) 2>&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); }; }; then
23111 ac_header_compiler
=yes
23113 echo "$as_me: failed program was:" >&5
23114 sed 's/^/| /' conftest.
$ac_ext >&5
23116 ac_header_compiler
=no
23118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23120 echo "${ECHO_T}$ac_header_compiler" >&6
23122 # Is the header present?
23123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 #include <$ac_header>
23133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23136 grep -v '^ *+' conftest.er1
>conftest.err
23138 cat conftest.err
>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } >/dev
/null
; then
23141 if test -s conftest.err
; then
23142 ac_cpp_err
=$ac_c_preproc_warn_flag
23143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23150 if test -z "$ac_cpp_err"; then
23151 ac_header_preproc
=yes
23153 echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.
$ac_ext >&5
23156 ac_header_preproc
=no
23158 rm -f conftest.err conftest.
$ac_ext
23159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23160 echo "${ECHO_T}$ac_header_preproc" >&6
23162 # So? What about this header?
23163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23169 ac_header_preproc
=yes
23172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23186 ## -------------------------------------------------- ##
23187 ## Report this to evilnet-devel@lists.sourceforge.net ##
23188 ## -------------------------------------------------- ##
23191 sed "s/^/$as_me: WARNING: /" >&2
23194 echo "$as_me:$LINENO: checking for $ac_header" >&5
23195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 eval "$as_ac_Header=\$ac_header_preproc"
23201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23206 cat >>confdefs.h
<<_ACEOF
23207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23211 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
23212 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
23213 { (exit 1); exit 1; }; }
23219 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23220 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23221 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23222 echo $ECHO_N "(cached) $ECHO_C" >&6
23224 ac_check_lib_save_LIBS
=$LIBS
23226 cat >conftest.
$ac_ext <<_ACEOF
23229 cat confdefs.h
>>conftest.
$ac_ext
23230 cat >>conftest.
$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23233 /* Override any gcc2 internal prototype to avoid an error. */
23237 /* We use char because int might match the return type of a gcc2
23238 builtin and then its argument prototype would still apply. */
23248 rm -f conftest.
$ac_objext conftest
$ac_exeext
23249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23250 (eval $ac_link) 2>conftest.er1
23252 grep -v '^ *+' conftest.er1
>conftest.err
23254 cat conftest.err
>&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } &&
23257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259 (eval $ac_try) 2>&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); }; } &&
23263 { ac_try
='test -s conftest$ac_exeext'
23264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23265 (eval $ac_try) 2>&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); }; }; then
23269 ac_cv_lib_dl_dlopen
=yes
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.
$ac_ext >&5
23274 ac_cv_lib_dl_dlopen
=no
23276 rm -f conftest.err conftest.
$ac_objext \
23277 conftest
$ac_exeext conftest.
$ac_ext
23278 LIBS
=$ac_check_lib_save_LIBS
23280 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23281 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23282 if test $ac_cv_lib_dl_dlopen = yes; then
23283 cat >>confdefs.h
<<_ACEOF
23284 #define HAVE_LIBDL 1
23290 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
23291 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
23292 { (exit 1); exit 1; }; }
23296 echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
23297 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6
23298 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
23299 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 ac_check_lib_save_LIBS
=$LIBS
23303 cat >conftest.
$ac_ext <<_ACEOF
23306 cat confdefs.h
>>conftest.
$ac_ext
23307 cat >>conftest.
$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23310 /* Override any gcc2 internal prototype to avoid an error. */
23314 /* We use char because int might match the return type of a gcc2
23315 builtin and then its argument prototype would still apply. */
23316 char GC_gcollect ();
23325 rm -f conftest.
$ac_objext conftest
$ac_exeext
23326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23327 (eval $ac_link) 2>conftest.er1
23329 grep -v '^ *+' conftest.er1
>conftest.err
23331 cat conftest.err
>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; } &&
23340 { ac_try
='test -s conftest$ac_exeext'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; }; then
23346 ac_cv_lib_gc_GC_gcollect
=yes
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.
$ac_ext >&5
23351 ac_cv_lib_gc_GC_gcollect
=no
23353 rm -f conftest.err conftest.
$ac_objext \
23354 conftest
$ac_exeext conftest.
$ac_ext
23355 LIBS
=$ac_check_lib_save_LIBS
23357 echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
23358 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6
23359 if test $ac_cv_lib_gc_GC_gcollect = yes; then
23360 cat >>confdefs.h
<<_ACEOF
23361 #define HAVE_LIBGC 1
23367 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
23368 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
23369 { (exit 1); exit 1; }; }
23373 cat >>confdefs.h
<<\_ACEOF
23374 #define WITH_MALLOC_BOEHM_GC 1
23377 elif test "x$withval" = "xx3" ; then
23378 echo "$as_me:$LINENO: result: x3" >&5
23379 echo "${ECHO_T}x3" >&6
23381 cat >>confdefs.h
<<\_ACEOF
23382 #define WITH_MALLOC_X3 1
23385 MODULE_OBJS
="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
23386 elif test "x$withval" = "xslab" ; then
23387 echo "$as_me:$LINENO: result: slab" >&5
23388 echo "${ECHO_T}slab" >&6
23390 cat >>confdefs.h
<<\_ACEOF
23391 #define WITH_MALLOC_SLAB 1
23394 MODULE_OBJS
="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
23396 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
23397 echo "$as_me: error: Unknown malloc type $withval" >&2;}
23398 { (exit 1); exit 1; }; }
23401 echo "$as_me:$LINENO: checking which protocol to use" >&5
23402 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6
23404 # Check whether --with-protocol or --without-protocol was given.
23405 if test "${with_protocol+set}" = set; then
23406 withval
="$with_protocol"
23411 if test "x$withval" = "xp10" ; then
23412 echo "$as_me:$LINENO: result: P10" >&5
23413 echo "${ECHO_T}P10" >&6
23415 cat >>confdefs.h
<<\_ACEOF
23416 #define WITH_PROTOCOL_P10 1
23419 MODULE_OBJS
="$MODULE_OBJS proto-p10.\$(OBJEXT)"
23420 PROTO_FILES
=proto
-p10.c
23421 elif test "x$withval" = "xbahamut" ; then
23422 echo "$as_me:$LINENO: result: Bahamut" >&5
23423 echo "${ECHO_T}Bahamut" >&6
23425 cat >>confdefs.h
<<\_ACEOF
23426 #define WITH_PROTOCOL_BAHAMUT 1
23429 MODULE_OBJS
="$MODULE_OBJS proto-bahamut.\$(OBJEXT)"
23431 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
23432 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
23433 { (exit 1); exit 1; }; }
23437 # Check whether --with-getopt or --without-getopt was given.
23438 if test "${with_getopt+set}" = set; then
23439 withval
="$with_getopt"
23440 if test "$withval" = no
; then
23442 cat >>confdefs.h
<<\_ACEOF
23443 #define IGNORE_GETOPT 1
23449 echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
23450 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6
23451 # Check whether --enable-tokens or --disable-tokens was given.
23452 if test "${enable_tokens+set}" = set; then
23453 enableval
="$enable_tokens"
23458 if test "z$enableval" = zno
; then
23459 echo "$as_me:$LINENO: result: no" >&5
23460 echo "${ECHO_T}no" >&6
23463 cat >>confdefs.h
<<\_ACEOF
23464 #define ENABLE_TOKENS 1
23467 echo "$as_me:$LINENO: result: yes" >&5
23468 echo "${ECHO_T}yes" >&6
23471 echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
23472 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6
23473 # Check whether --enable-debug or --disable-debug was given.
23474 if test "${enable_debug+set}" = set; then
23475 enableval
="$enable_debug"
23477 CPPFLAGS
="$CPPFLAGS"
23478 echo "$as_me:$LINENO: result: yes" >&5
23479 echo "${ECHO_T}yes" >&6
23483 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
23484 echo "$as_me:$LINENO: result: no" >&5
23485 echo "${ECHO_T}no" >&6
23489 if test -e src
; then
23490 if test ! -d src
; then
23491 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
23492 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
23493 { (exit 1); exit 1; }; }
23498 echo "$as_me:$LINENO: checking for extra module files" >&5
23499 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6
23500 MODULE_DEFINES
="src/modules-list.h"
23501 echo > $MODULE_DEFINES
23502 touch $MODULE_DEFINES
23503 # Check whether --enable-modules or --disable-modules was given.
23504 if test "${enable_modules+set}" = set; then
23505 enableval
="$enable_modules"
23509 EXTRA_MODULE_OBJS
=""
23511 for module
in $enableval ; do
23512 module
=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
23513 EXTRA_MODULE_OBJS
="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
23514 module_list
="$module_list $module"
23515 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
23516 if test "x$module" = "xtrack" ; then
23517 TRACK
="-D HAVE_TRACK"
23521 MODULE_OBJS
="$MODULE_OBJS $EXTRA_MODULE_OBJS"
23522 echo "$as_me:$LINENO: result: $module_list" >&5
23523 echo "${ECHO_T}$module_list" >&6
23527 echo "$as_me:$LINENO: result: none" >&5
23528 echo "${ECHO_T}none" >&6
23535 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no
; then
23536 MY_SUBDIRS
="rx $MY_SUBDIRS"
23537 RX_INCLUDES
="-I../rx"
23538 RX_LIBS
="../rx/librx.a"
23540 MY_SUBDIRS
="$MY_SUBDIRS src"
23541 CFLAGS
="$CFLAGS $ANSI_SRC -W -Wall"
23542 if test "z$USE_MAINTAINER_MODE" = zyes
; then
23543 CFLAGS
="$CFLAGS -Werror"
23547 cat >>confdefs.h
<<_ACEOF
23548 #define CODENAME "${CODENAME}"
23556 ac_config_files
="$ac_config_files Makefile rx/Makefile src/Makefile"
23558 cat >confcache
<<\_ACEOF
23559 # This file is a shell script that caches the results of configure
23560 # tests run on this system so they can be shared between configure
23561 # scripts and configure runs, see configure's option --config-cache.
23562 # It is not useful on other systems. If it contains results you don't
23563 # want to keep, you may remove or edit it.
23565 # config.status only pays attention to the cache file if you give it
23566 # the --recheck option to rerun configure.
23568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23570 # following values.
23574 # The following way of writing the cache mishandles newlines in values,
23575 # but we know of no workaround that is simple, portable, and efficient.
23576 # So, don't put newlines in cache variables' values.
23577 # Ultrix sh set writes to stderr and can't be redirected directly,
23578 # and sets the high bit in the cache file unless we assign to the vars.
23581 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23583 # `set' does not quote correctly, so add quotes (double-quote
23584 # substitution turns \\\\ into \\, and sed turns \\ into \).
23587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23590 # `set' quotes correctly as required by POSIX, so do not add quotes.
23592 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23599 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23601 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23603 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23604 if test -w $cache_file; then
23605 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23606 cat confcache
>$cache_file
23608 echo "not updating unwritable cache $cache_file"
23613 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23614 # Let make expand exec_prefix.
23615 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23617 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23618 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23619 # trailing colons and then remove the whole line if VPATH becomes empty
23620 # (actually we leave an empty line to preserve line numbers).
23621 if test "x$srcdir" = x.
; then
23622 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23623 s/:*\$(srcdir):*/:/;
23624 s/:*\${srcdir}:*/:/;
23626 s/^\([^=]*=[ ]*\):*/\1/;
23632 DEFS
=-DHAVE_CONFIG_H
23636 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23637 # 1. Remove the extension, and $U if already installed.
23638 ac_i
=`echo "$ac_i" |
23639 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23641 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
23642 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
23644 LIBOBJS
=$ac_libobjs
23646 LTLIBOBJS
=$ac_ltlibobjs
23649 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23650 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23651 Usually this means the macro was only invoked conditionally." >&5
23652 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23653 Usually this means the macro was only invoked conditionally." >&2;}
23654 { (exit 1); exit 1; }; }
23656 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23657 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23658 Usually this means the macro was only invoked conditionally." >&5
23659 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23660 Usually this means the macro was only invoked conditionally." >&2;}
23661 { (exit 1); exit 1; }; }
23663 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23664 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23665 Usually this means the macro was only invoked conditionally." >&5
23666 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23667 Usually this means the macro was only invoked conditionally." >&2;}
23668 { (exit 1); exit 1; }; }
23670 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23671 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23672 Usually this means the macro was only invoked conditionally." >&5
23673 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23674 Usually this means the macro was only invoked conditionally." >&2;}
23675 { (exit 1); exit 1; }; }
23677 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23678 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23679 Usually this means the macro was only invoked conditionally." >&5
23680 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23681 Usually this means the macro was only invoked conditionally." >&2;}
23682 { (exit 1); exit 1; }; }
23685 : ${CONFIG_STATUS=./config.status}
23686 ac_clean_files_save
=$ac_clean_files
23687 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23688 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23689 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23690 cat >$CONFIG_STATUS <<_ACEOF
23692 # Generated by $as_me.
23693 # Run this file to recreate the current configuration.
23694 # Compiler output produced by configure, useful for debugging
23695 # configure, is in config.log if it exists.
23698 ac_cs_recheck=false
23700 SHELL=\${CONFIG_SHELL-$SHELL}
23703 cat >>$CONFIG_STATUS <<\_ACEOF
23704 ## --------------------- ##
23705 ## M4sh Initialization. ##
23706 ## --------------------- ##
23708 # Be Bourne compatible
23709 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23712 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23713 # is contrary to our usage. Disable this feature.
23714 alias -g '${1+"$@"}'='"$@"'
23715 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
23718 DUALCASE
=1; export DUALCASE
# for MKS sh
23720 # Support unset when possible.
23721 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
23728 # Work around bugs in pre-3.0 UWIN ksh.
23729 $as_unset ENV MAIL MAILPATH
23736 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23737 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23738 LC_TELEPHONE LC_TIME
23740 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23741 eval $as_var=C
; export $as_var
23747 # Required to use basename.
23748 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23754 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
23755 as_basename
=basename
23761 # Name of the executable.
23762 as_me
=`$as_basename "$0" ||
23763 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23764 X"$0" : 'X\(//\)$' \| \
23765 X"$0" : 'X\(/\)$' \| \
23766 . : '\(.\)' 2>/dev/null ||
23768 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23769 /^X\/\(\/\/\)$/{ s//\1/; q; }
23770 /^X\/\(\/\).*/{ s//\1/; q; }
23774 # PATH needs CR, and LINENO needs CR and PATH.
23775 # Avoid depending upon Character Ranges.
23776 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23777 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23778 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23779 as_cr_digits
='0123456789'
23780 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23782 # The user is always right.
23783 if test "${PATH_SEPARATOR+set}" != set; then
23784 echo "#! /bin/sh" >conf$$.sh
23785 echo "exit 0" >>conf$$.sh
23787 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23796 as_lineno_1
=$LINENO
23797 as_lineno_2
=$LINENO
23798 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23799 test "x$as_lineno_1" != "x$as_lineno_2" &&
23800 test "x$as_lineno_3" = "x$as_lineno_2" || {
23801 # Find who we are. Look in the path if we contain no path at all
23804 *[\\/]* ) as_myself
=$0 ;;
23805 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23806 for as_dir
in $PATH
23809 test -z "$as_dir" && as_dir
=.
23810 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23815 # We did not find ourselves, most probably we were run as `sh COMMAND'
23816 # in which case we are not to be found in the path.
23817 if test "x$as_myself" = x
; then
23820 if test ! -f "$as_myself"; then
23821 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23822 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23823 { (exit 1); exit 1; }; }
23825 case $CONFIG_SHELL in
23827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23828 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
23831 test -z "$as_dir" && as_dir
=.
23832 for as_base
in sh bash ksh sh5
; do
23835 if ("$as_dir/$as_base" -c '
23836 as_lineno_1=$LINENO
23837 as_lineno_2=$LINENO
23838 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23839 test "x$as_lineno_1" != "x$as_lineno_2" &&
23840 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
23841 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
23842 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
23843 CONFIG_SHELL
=$as_dir/$as_base
23844 export CONFIG_SHELL
23845 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23853 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23854 # uniformly replaced by the line number. The first 'sed' inserts a
23855 # line-number line before each line; the second 'sed' does the real
23856 # work. The second script uses 'N' to pair each line-number line
23857 # with the numbered line, and appends trailing '-' during
23858 # substitution so that $LINENO is not a special case at line end.
23859 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23860 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23861 sed '=' <$as_myself |
23866 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23869 s,^['$as_cr_digits']*\n,,
23870 ' >$as_me.lineno
&&
23871 chmod +x
$as_me.lineno
||
23872 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23873 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23874 { (exit 1); exit 1; }; }
23876 # Don't try to exec as it changes $[0], causing all sort of problems
23877 # (the dirname of $[0] is not the place where we might find the
23878 # original and so on. Autoconf is especially sensible to this).
23880 # Exit status is that of the last command.
23885 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23886 *c
*,-n*) ECHO_N
= ECHO_C
='
23888 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
23889 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
23892 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23898 rm -f conf$$ conf$$.exe conf$$.
file
23900 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23901 # We could just check for DJGPP; but this test a) works b) is more generic
23902 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23903 if test -f conf$$.exe
; then
23904 # Don't use ln at all; we don't have any links
23909 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23914 rm -f conf$$ conf$$.exe conf$$.
file
23916 if mkdir -p .
2>/dev
/null
; then
23919 test -d .
/-p && rmdir .
/-p
23923 as_executable_p
="test -f"
23925 # Sed expression to map a string onto a valid CPP name.
23926 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23928 # Sed expression to map a string onto a valid variable name.
23929 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23933 # We need space, tab and new line, in precisely that order.
23943 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23944 # report actual input values of CONFIG_FILES etc. instead of their
23945 # values after options handling. Logging --version etc. is OK.
23949 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23950 ## Running $as_me. ##
23955 This file was extended by X3 $as_me 1.5, which was
23956 generated by GNU Autoconf 2.59. Invocation command line was
23958 CONFIG_FILES = $CONFIG_FILES
23959 CONFIG_HEADERS = $CONFIG_HEADERS
23960 CONFIG_LINKS = $CONFIG_LINKS
23961 CONFIG_COMMANDS = $CONFIG_COMMANDS
23965 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23969 # Files that config.status was made for.
23970 if test -n "$ac_config_files"; then
23971 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23974 if test -n "$ac_config_headers"; then
23975 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23978 if test -n "$ac_config_links"; then
23979 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23982 if test -n "$ac_config_commands"; then
23983 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23986 cat >>$CONFIG_STATUS <<\_ACEOF
23989 \`$as_me' instantiates files from templates according to the
23990 current configuration.
23992 Usage: $0 [OPTIONS] [FILE]...
23994 -h, --help print this help, then exit
23995 -V, --version print version number, then exit
23996 -q, --quiet do not print progress messages
23997 -d, --debug don't remove temporary files
23998 --recheck update $as_me by reconfiguring in the same conditions
23999 --file=FILE[:TEMPLATE]
24000 instantiate the configuration file FILE
24001 --header=FILE[:TEMPLATE]
24002 instantiate the configuration header FILE
24004 Configuration files:
24007 Configuration headers:
24010 Configuration commands:
24013 Report bugs to <bug-autoconf@gnu.org>."
24016 cat >>$CONFIG_STATUS <<_ACEOF
24018 X3 config.status 1.5
24019 configured by $0, generated by GNU Autoconf 2.59,
24020 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24022 Copyright (C) 2003 Free Software Foundation, Inc.
24023 This config.status script is free software; the Free Software Foundation
24024 gives unlimited permission to copy, distribute and modify it."
24029 cat >>$CONFIG_STATUS <<\_ACEOF
24030 # If no file are specified by the user, then we need to provide default
24031 # value. By we need to know if files were specified by the user.
24037 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24038 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24046 *) # This is not an option, so the user has probably given explicit
24049 ac_need_defaults
=false
;;
24053 # Handling of the options.
24055 cat >>$CONFIG_STATUS <<\_ACEOF
24056 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24058 --version | --vers* | -V )
24059 echo "$ac_cs_version"; exit 0 ;;
24061 # Conflict between --help and --header
24062 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24063 Try \`$0 --help' for more information." >&5
24064 echo "$as_me: error: ambiguous option: $1
24065 Try \`$0 --help' for more information." >&2;}
24066 { (exit 1); exit 1; }; };;
24067 --help | --hel | -h )
24068 echo "$ac_cs_usage"; exit 0 ;;
24069 --debug | --d* | -d )
24071 --file | --fil | --fi | --f )
24073 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24074 ac_need_defaults
=false
;;
24075 --header | --heade | --head | --hea )
24077 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24078 ac_need_defaults
=false
;;
24079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24080 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24083 # This is an error.
24084 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24085 Try \`$0 --help' for more information." >&5
24086 echo "$as_me: error: unrecognized option: $1
24087 Try \`$0 --help' for more information." >&2;}
24088 { (exit 1); exit 1; }; } ;;
24090 *) ac_config_targets
="$ac_config_targets $1" ;;
24096 ac_configure_extra_args
=
24098 if $ac_cs_silent; then
24100 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24104 cat >>$CONFIG_STATUS <<_ACEOF
24105 if \$ac_cs_recheck; then
24106 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24107 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24112 cat >>$CONFIG_STATUS <<_ACEOF
24114 # INIT-COMMANDS section.
24117 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24123 cat >>$CONFIG_STATUS <<\_ACEOF
24124 for ac_config_target
in $ac_config_targets
24126 case "$ac_config_target" in
24127 # Handling of arguments.
24128 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24129 "rx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
24130 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
24131 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24132 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
24133 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24134 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24135 { (exit 1); exit 1; }; };;
24139 # If the user did not use the arguments to specify the items to instantiate,
24140 # then the envvar interface is used. Set only those that are not.
24141 # We use the long form for the default assignment because of an extremely
24142 # bizarre bug on SunOS 4.1.3.
24143 if $ac_need_defaults; then
24144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24145 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24146 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24149 # Have a temporary directory for convenience. Make it in the build tree
24150 # simply because there is no reason to put it here, and in addition,
24151 # creating and moving files from /tmp can sometimes cause problems.
24152 # Create a temporary directory, and hook for its removal unless debugging.
24155 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24156 trap '{ (exit 1); exit 1; }' 1 2 13 15
24159 # Create a (secure) tmp directory for tmp files.
24162 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24163 test -n "$tmp" && test -d "$tmp"
24166 tmp
=.
/confstat$$
-$RANDOM
24167 (umask 077 && mkdir $tmp)
24170 echo "$me: cannot create a temporary directory in ." >&2
24171 { (exit 1); exit 1; }
24176 cat >>$CONFIG_STATUS <<_ACEOF
24179 # CONFIG_FILES section.
24182 # No need to generate the scripts if there are no CONFIG_FILES.
24183 # This happens for instance when ./config.status config.h
24184 if test -n "\$CONFIG_FILES"; then
24185 # Protect against being on the right side of a sed subst in config.status.
24186 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24187 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24188 s,@SHELL@,$SHELL,;t t
24189 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24190 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24191 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24192 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24193 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24194 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24195 s,@exec_prefix@,$exec_prefix,;t t
24196 s,@prefix@,$prefix,;t t
24197 s,@program_transform_name@,$program_transform_name,;t t
24198 s,@bindir@,$bindir,;t t
24199 s,@sbindir@,$sbindir,;t t
24200 s,@libexecdir@,$libexecdir,;t t
24201 s,@datadir@,$datadir,;t t
24202 s,@sysconfdir@,$sysconfdir,;t t
24203 s,@sharedstatedir@,$sharedstatedir,;t t
24204 s,@localstatedir@,$localstatedir,;t t
24205 s,@libdir@,$libdir,;t t
24206 s,@includedir@,$includedir,;t t
24207 s,@oldincludedir@,$oldincludedir,;t t
24208 s,@infodir@,$infodir,;t t
24209 s,@mandir@,$mandir,;t t
24210 s,@build_alias@,$build_alias,;t t
24211 s,@host_alias@,$host_alias,;t t
24212 s,@target_alias@,$target_alias,;t t
24213 s,@DEFS@,$DEFS,;t t
24214 s,@ECHO_C@,$ECHO_C,;t t
24215 s,@ECHO_N@,$ECHO_N,;t t
24216 s,@ECHO_T@,$ECHO_T,;t t
24217 s,@LIBS@,$LIBS,;t t
24218 s,@build@,$build,;t t
24219 s,@build_cpu@,$build_cpu,;t t
24220 s,@build_vendor@,$build_vendor,;t t
24221 s,@build_os@,$build_os,;t t
24222 s,@host@,$host,;t t
24223 s,@host_cpu@,$host_cpu,;t t
24224 s,@host_vendor@,$host_vendor,;t t
24225 s,@host_os@,$host_os,;t t
24226 s,@target@,$target,;t t
24227 s,@target_cpu@,$target_cpu,;t t
24228 s,@target_vendor@,$target_vendor,;t t
24229 s,@target_os@,$target_os,;t t
24230 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24231 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24232 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24233 s,@CYGPATH_W@,$CYGPATH_W,;t t
24234 s,@PACKAGE@,$PACKAGE,;t t
24235 s,@VERSION@,$VERSION,;t t
24236 s,@ACLOCAL@,$ACLOCAL,;t t
24237 s,@AUTOCONF@,$AUTOCONF,;t t
24238 s,@AUTOMAKE@,$AUTOMAKE,;t t
24239 s,@AUTOHEADER@,$AUTOHEADER,;t t
24240 s,@MAKEINFO@,$MAKEINFO,;t t
24241 s,@install_sh@,$install_sh,;t t
24242 s,@STRIP@,$STRIP,;t t
24243 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24244 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24245 s,@mkdir_p@,$mkdir_p,;t t
24247 s,@SET_MAKE@,$SET_MAKE,;t t
24248 s,@am__leading_dot@,$am__leading_dot,;t t
24249 s,@AMTAR@,$AMTAR,;t t
24250 s,@am__tar@,$am__tar,;t t
24251 s,@am__untar@,$am__untar,;t t
24252 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24253 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24254 s,@MAINT@,$MAINT,;t t
24256 s,@CFLAGS@,$CFLAGS,;t t
24257 s,@LDFLAGS@,$LDFLAGS,;t t
24258 s,@CPPFLAGS@,$CPPFLAGS,;t t
24259 s,@ac_ct_CC@,$ac_ct_CC,;t t
24260 s,@EXEEXT@,$EXEEXT,;t t
24261 s,@OBJEXT@,$OBJEXT,;t t
24262 s,@DEPDIR@,$DEPDIR,;t t
24263 s,@am__include@,$am__include,;t t
24264 s,@am__quote@,$am__quote,;t t
24265 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24266 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24267 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24268 s,@CCDEPMODE@,$CCDEPMODE,;t t
24269 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24270 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24271 s,@EGREP@,$EGREP,;t t
24272 s,@LN_S@,$LN_S,;t t
24273 s,@ECHO@,$ECHO,;t t
24275 s,@ac_ct_AR@,$ac_ct_AR,;t t
24276 s,@RANLIB@,$RANLIB,;t t
24277 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24280 s,@CXXFLAGS@,$CXXFLAGS,;t t
24281 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24282 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
24283 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
24284 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
24285 s,@CXXCPP@,$CXXCPP,;t t
24287 s,@FFLAGS@,$FFLAGS,;t t
24288 s,@ac_ct_F77@,$ac_ct_F77,;t t
24289 s,@LIBTOOL@,$LIBTOOL,;t t
24290 s,@ALLOCA@,$ALLOCA,;t t
24291 s,@MODULE_OBJS@,$MODULE_OBJS,;t t
24292 s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
24293 s,@RX_INCLUDES@,$RX_INCLUDES,;t t
24294 s,@RX_LIBS@,$RX_LIBS,;t t
24295 s,@TRACK@,$TRACK,;t t
24296 s,@LIBOBJS@,$LIBOBJS,;t t
24297 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24302 cat >>$CONFIG_STATUS <<\_ACEOF
24303 # Split the substitutions into bite-sized pieces for seds with
24304 # small command number limits, like on Digital OSF/1 and HP-UX.
24305 ac_max_sed_lines
=48
24306 ac_sed_frag
=1 # Number of current file.
24307 ac_beg
=1 # First line for current file.
24308 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24311 while $ac_more_lines; do
24312 if test $ac_beg -gt 1; then
24313 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24315 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24317 if test ! -s $tmp/subs.frag
; then
24318 ac_more_lines
=false
24320 # The purpose of the label and of the branching condition is to
24321 # speed up the sed processing (if there are no `@' at all, there
24322 # is no need to browse any of the substitutions).
24323 # These are the two extra sed commands mentioned above.
24325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
24326 if test -z "$ac_sed_cmds"; then
24327 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24329 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24331 ac_sed_frag
=`expr $ac_sed_frag + 1`
24333 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24336 if test -z "$ac_sed_cmds"; then
24339 fi # test -n "$CONFIG_FILES"
24342 cat >>$CONFIG_STATUS <<\_ACEOF
24343 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24344 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24346 - | *:- | *:-:* ) # input from stdin
24348 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24350 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24351 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24352 * ) ac_file_in
=$ac_file.
in ;;
24355 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24356 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24358 X"$ac_file" : 'X\(//\)[^/]' \| \
24359 X"$ac_file" : 'X\(//\)$' \| \
24360 X"$ac_file" : 'X\(/\)' \| \
24361 . : '\(.\)' 2>/dev/null ||
24363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24365 /^X\(\/\/\)$/{ s//\1/; q; }
24366 /^X\(\/\).*/{ s//\1/; q; }
24368 { if $as_mkdir_p; then
24373 while test ! -d "$as_dir"; do
24374 as_dirs
="$as_dir $as_dirs"
24375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24377 X"$as_dir" : 'X\(//\)[^/]' \| \
24378 X"$as_dir" : 'X\(//\)$' \| \
24379 X"$as_dir" : 'X\(/\)' \| \
24380 . : '\(.\)' 2>/dev/null ||
24382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24384 /^X\(\/\/\)$/{ s//\1/; q; }
24385 /^X\(\/\).*/{ s//\1/; q; }
24388 test ! -n "$as_dirs" || mkdir $as_dirs
24389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24391 { (exit 1); exit 1; }; }; }
24395 if test "$ac_dir" != .
; then
24396 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24397 # A "../" for each directory in $ac_dir_suffix.
24398 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24400 ac_dir_suffix
= ac_top_builddir
=
24404 .
) # No --srcdir option. We are building in place.
24406 if test -z "$ac_top_builddir"; then
24409 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24411 [\\/]* | ?
:[\\/]* ) # Absolute path.
24412 ac_srcdir
=$srcdir$ac_dir_suffix;
24413 ac_top_srcdir
=$srcdir ;;
24414 *) # Relative path.
24415 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24416 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24419 # Do not use `cd foo && pwd` to compute absolute paths, because
24420 # the directories may not exist.
24422 .
) ac_abs_builddir
="$ac_dir";;
24425 .
) ac_abs_builddir
=`pwd`;;
24426 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24427 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24430 case $ac_abs_builddir in
24431 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24433 case ${ac_top_builddir}.
in
24434 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24435 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24436 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24439 case $ac_abs_builddir in
24440 .
) ac_abs_srcdir
=$ac_srcdir;;
24443 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24444 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24445 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24448 case $ac_abs_builddir in
24449 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24451 case $ac_top_srcdir in
24452 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24453 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24454 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24460 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24461 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24464 # Let's still pretend it is `configure' which instantiates (i.e., don't
24465 # use $as_me), people would be surprised to read:
24466 # /* config.h. Generated by config.status. */
24467 if test x
"$ac_file" = x
-; then
24470 configure_input
="$ac_file. "
24472 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24473 sed 's,.*/,,'` by configure."
24475 # First look for the input files in the build tree, otherwise in the
24477 ac_file_inputs
=`IFS=:
24478 for f in $ac_file_in; do
24480 -) echo $tmp/stdin ;;
24482 # Absolute (can't be DOS-style, as IFS=:)
24483 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24484 echo "$as_me: error: cannot find input file: $f" >&2;}
24485 { (exit 1); exit 1; }; }
24488 if test -f "$f"; then
24491 elif test -f "$srcdir/$f"; then
24496 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24497 echo "$as_me: error: cannot find input file: $f" >&2;}
24498 { (exit 1); exit 1; }; }
24501 done` || { (exit 1); exit 1; }
24503 if test x
"$ac_file" != x
-; then
24504 { echo "$as_me:$LINENO: creating $ac_file" >&5
24505 echo "$as_me: creating $ac_file" >&6;}
24509 cat >>$CONFIG_STATUS <<_ACEOF
24513 cat >>$CONFIG_STATUS <<\_ACEOF
24515 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
24516 s
,@configure_input@
,$configure_input,;t t
24517 s
,@srcdir@
,$ac_srcdir,;t t
24518 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24519 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24520 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24521 s
,@builddir@
,$ac_builddir,;t t
24522 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24523 s
,@top_builddir@
,$ac_top_builddir,;t t
24524 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24525 s
,@INSTALL@
,$ac_INSTALL,;t t
24526 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24528 if test x"$ac_file" != x-; then
24529 mv $tmp/out $ac_file
24537 cat >>$CONFIG_STATUS <<\_ACEOF
24540 # CONFIG_HEADER section.
24543 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24544 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24546 # ac_d sets the value in "#define NAME VALUE" lines.
24547 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24548 ac_dB
='[ ].*$,\1#\2'
24551 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24552 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24553 ac_uB
='$,\1#\2define\3'
24557 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24558 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24560 - | *:- | *:-:* ) # input from stdin
24562 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24563 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24564 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24565 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24566 * ) ac_file_in
=$ac_file.
in ;;
24569 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24570 echo "$as_me: creating $ac_file" >&6;}
24572 # First look for the input files in the build tree, otherwise in the
24574 ac_file_inputs
=`IFS=:
24575 for f in $ac_file_in; do
24577 -) echo $tmp/stdin ;;
24579 # Absolute (can't be DOS-style, as IFS=:)
24580 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24581 echo "$as_me: error: cannot find input file: $f" >&2;}
24582 { (exit 1); exit 1; }; }
24583 # Do quote $f, to prevent DOS paths from being IFS'd.
24586 if test -f "$f"; then
24589 elif test -f "$srcdir/$f"; then
24594 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24595 echo "$as_me: error: cannot find input file: $f" >&2;}
24596 { (exit 1); exit 1; }; }
24599 done` || { (exit 1); exit 1; }
24600 # Remove the trailing spaces.
24601 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24605 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24606 # `conftest.undefs', that substitutes the proper values into
24607 # config.h.in to produce config.h. The first handles `#define'
24608 # templates, and the second `#undef' templates.
24609 # And first: Protect against being on the right side of a sed subst in
24610 # config.status. Protect against being in an unquoted here document
24611 # in config.status.
24612 rm -f conftest.defines conftest.undefs
24613 # Using a here document instead of a string reduces the quoting nightmare.
24614 # Putting comments in sed scripts is not portable.
24616 # `end' is used to avoid that the second main sed command (meant for
24617 # 0-ary CPP macros) applies to n-ary macro definitions.
24618 # See the Autoconf documentation for `clear'.
24619 cat >confdef2sed.
sed <<\_ACEOF
24624 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24626 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24629 # If some macros were called several times there might be several times
24630 # the same #defines, which is useless. Nevertheless, we may not want to
24631 # sort them, since we want the *last* AC-DEFINE to be honored.
24632 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24633 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24634 rm -f confdef2sed.sed
24636 # This sed command replaces #undef with comments. This is necessary, for
24637 # example, in the case of _POSIX_SOURCE, which is predefined and required
24638 # on some systems where configure will not decide to define it.
24639 cat >>conftest.undefs <<\_ACEOF
24640 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24643 # Break up conftest.defines because some shells have a limit on the size
24644 # of here documents, and old seds have small limits too (100 cmds).
24645 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24646 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24647 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24648 echo ' :' >>$CONFIG_STATUS
24649 rm -f conftest.tail
24650 while grep . conftest.defines >/dev/null
24652 # Write a limited-size here document to $tmp/defines.sed.
24653 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24654 # Speed up: don't consider the non `#define' lines.
24655 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24656 # Work around the forget-to-reset-the-flag bug.
24657 echo 't clr' >>$CONFIG_STATUS
24658 echo ': clr' >>$CONFIG_STATUS
24659 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
24661 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24663 mv $tmp/out $tmp/in
24665 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
24666 rm -f conftest.defines
24667 mv conftest.
tail conftest.defines
24669 rm -f conftest.defines
24670 echo ' fi # grep' >>$CONFIG_STATUS
24671 echo >>$CONFIG_STATUS
24673 # Break up conftest.undefs because some shells have a limit on the size
24674 # of here documents, and old seds have small limits too (100 cmds).
24675 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24676 rm -f conftest.
tail
24677 while grep . conftest.undefs
>/dev
/null
24679 # Write a limited-size here document to $tmp/undefs.sed.
24680 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24681 # Speed up: don't consider the non
`#undef'
24682 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24683 # Work around the forget-to-reset-the-flag bug.
24684 echo 't clr' >>$CONFIG_STATUS
24685 echo ': clr' >>$CONFIG_STATUS
24686 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24688 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24690 mv $tmp/out $tmp/in
24692 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24693 rm -f conftest.undefs
24694 mv conftest.tail conftest.undefs
24696 rm -f conftest.undefs
24698 cat >>$CONFIG_STATUS <<\_ACEOF
24699 # Let's still pretend it is `configure
' which instantiates (i.e., don't
24700 # use $as_me), people would be surprised to read:
24701 # /* config.h. Generated by config.status. */
24702 if test x
"$ac_file" = x
-; then
24703 echo "/* Generated by configure. */" >$tmp/config.h
24705 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24707 cat $tmp/in >>$tmp/config.h
24709 if test x
"$ac_file" != x
-; then
24710 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
24711 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24712 echo "$as_me: $ac_file is unchanged" >&6;}
24714 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24716 X"$ac_file" : 'X\(//\)[^/]' \| \
24717 X"$ac_file" : 'X\(//\)$' \| \
24718 X"$ac_file" : 'X\(/\)' \| \
24719 . : '\(.\)' 2>/dev/null ||
24721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24723 /^X\(\/\/\)$/{ s//\1/; q; }
24724 /^X\(\/\).*/{ s//\1/; q; }
24726 { if $as_mkdir_p; then
24731 while test ! -d "$as_dir"; do
24732 as_dirs
="$as_dir $as_dirs"
24733 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24735 X"$as_dir" : 'X\(//\)[^/]' \| \
24736 X"$as_dir" : 'X\(//\)$' \| \
24737 X"$as_dir" : 'X\(/\)' \| \
24738 . : '\(.\)' 2>/dev/null ||
24740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24742 /^X\(\/\/\)$/{ s//\1/; q; }
24743 /^X\(\/\).*/{ s//\1/; q; }
24746 test ! -n "$as_dirs" || mkdir $as_dirs
24747 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24748 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24749 { (exit 1); exit 1; }; }; }
24752 mv $tmp/config.h
$ac_file
24756 rm -f $tmp/config.h
24758 # Compute $ac_file's index in $config_headers.
24760 for _am_header
in $config_headers :; do
24761 case $_am_header in
24762 $ac_file | $ac_file:* )
24765 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24768 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24769 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24770 X$ac_file : 'X\(//\)[^/]' \| \
24771 X$ac_file : 'X\(//\)$' \| \
24772 X$ac_file : 'X\(/\)' \| \
24773 . : '\(.\)' 2>/dev/null ||
24775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24777 /^X\(\/\/\)$/{ s//\1/; q; }
24778 /^X\(\/\).*/{ s//\1/; q; }
24779 s/.*/./; q'`/stamp
-h$_am_stamp_count
24782 cat >>$CONFIG_STATUS <<\_ACEOF
24785 # CONFIG_COMMANDS section.
24787 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
24788 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
24789 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24790 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
24791 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24792 X"$ac_dest" : 'X\(//\)[^/]' \| \
24793 X"$ac_dest" : 'X\(//\)$' \| \
24794 X"$ac_dest" : 'X\(/\)' \| \
24795 . : '\(.\)' 2>/dev/null ||
24797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24799 /^X\(\/\/\)$/{ s//\1/; q; }
24800 /^X\(\/\).*/{ s//\1/; q; }
24802 { if $as_mkdir_p; then
24807 while test ! -d "$as_dir"; do
24808 as_dirs
="$as_dir $as_dirs"
24809 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24811 X"$as_dir" : 'X\(//\)[^/]' \| \
24812 X"$as_dir" : 'X\(//\)$' \| \
24813 X"$as_dir" : 'X\(/\)' \| \
24814 . : '\(.\)' 2>/dev/null ||
24816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24818 /^X\(\/\/\)$/{ s//\1/; q; }
24819 /^X\(\/\).*/{ s//\1/; q; }
24822 test ! -n "$as_dirs" || mkdir $as_dirs
24823 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24824 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24825 { (exit 1); exit 1; }; }; }
24829 if test "$ac_dir" != .
; then
24830 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24831 # A "../" for each directory in $ac_dir_suffix.
24832 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24834 ac_dir_suffix
= ac_top_builddir
=
24838 .
) # No --srcdir option. We are building in place.
24840 if test -z "$ac_top_builddir"; then
24843 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24845 [\\/]* | ?
:[\\/]* ) # Absolute path.
24846 ac_srcdir
=$srcdir$ac_dir_suffix;
24847 ac_top_srcdir
=$srcdir ;;
24848 *) # Relative path.
24849 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24850 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24853 # Do not use `cd foo && pwd` to compute absolute paths, because
24854 # the directories may not exist.
24856 .
) ac_abs_builddir
="$ac_dir";;
24859 .
) ac_abs_builddir
=`pwd`;;
24860 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24861 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24864 case $ac_abs_builddir in
24865 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24867 case ${ac_top_builddir}.
in
24868 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24869 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24870 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24873 case $ac_abs_builddir in
24874 .
) ac_abs_srcdir
=$ac_srcdir;;
24877 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24878 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24879 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24882 case $ac_abs_builddir in
24883 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24885 case $ac_top_srcdir in
24886 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24887 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24888 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24893 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24894 echo "$as_me: executing $ac_dest commands" >&6;}
24896 depfiles
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
24897 # Strip MF so we end up with the name of the file.
24898 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24899 # Check whether this is an Automake generated Makefile or not.
24900 # We used to match only the files named `Makefile.in', but
24901 # some people rename them; so instead we look at the file content.
24902 # Grep'ing the first line is not enough: some people post-process
24903 # each Makefile.in and add a new line on top of each file to say so.
24904 # So let's grep whole file.
24905 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
24906 dirpart
=`(dirname "$mf") 2>/dev/null ||
24907 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24908 X"$mf" : 'X\(//\)[^/]' \| \
24909 X"$mf" : 'X\(//\)$' \| \
24910 X"$mf" : 'X\(/\)' \| \
24911 . : '\(.\)' 2>/dev/null ||
24913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24915 /^X\(\/\/\)$/{ s//\1/; q; }
24916 /^X\(\/\).*/{ s//\1/; q; }
24921 # Extract the definition of DEPDIR, am__include, and am__quote
24922 # from the Makefile without running `make'.
24923 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24924 test -z "$DEPDIR" && continue
24925 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24926 test -z "am__include" && continue
24927 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24928 # When using ansi2knr, U may be empty or an underscore; expand it
24929 U
=`sed -n 's/^U = //p' < "$mf"`
24930 # Find all dependency output files, they are included files with
24931 # $(DEPDIR) in their names. We invoke sed twice because it is the
24932 # simplest approach to changing $(DEPDIR) to its actual value in the
24934 for file in `sed -n "
24935 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24936 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24937 # Make sure the directory exists.
24938 test -f "$dirpart/$file" && continue
24939 fdir
=`(dirname "$file") 2>/dev/null ||
24940 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24941 X"$file" : 'X\(//\)[^/]' \| \
24942 X"$file" : 'X\(//\)$' \| \
24943 X"$file" : 'X\(/\)' \| \
24944 . : '\(.\)' 2>/dev/null ||
24946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24948 /^X\(\/\/\)$/{ s//\1/; q; }
24949 /^X\(\/\).*/{ s//\1/; q; }
24951 { if $as_mkdir_p; then
24952 mkdir -p $dirpart/$fdir
24954 as_dir
=$dirpart/$fdir
24956 while test ! -d "$as_dir"; do
24957 as_dirs
="$as_dir $as_dirs"
24958 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24960 X"$as_dir" : 'X\(//\)[^/]' \| \
24961 X"$as_dir" : 'X\(//\)$' \| \
24962 X"$as_dir" : 'X\(/\)' \| \
24963 . : '\(.\)' 2>/dev/null ||
24965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24967 /^X\(\/\/\)$/{ s//\1/; q; }
24968 /^X\(\/\).*/{ s//\1/; q; }
24971 test ! -n "$as_dirs" || mkdir $as_dirs
24972 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24973 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24974 { (exit 1); exit 1; }; }; }
24976 # echo "creating $dirpart/$file"
24977 echo '# dummy' > "$dirpart/$file"
24985 cat >>$CONFIG_STATUS <<\_ACEOF
24987 { (exit 0); exit 0; }
24989 chmod +x
$CONFIG_STATUS
24990 ac_clean_files
=$ac_clean_files_save
24993 # configure is writing to config.log, and then calls config.status.
24994 # config.status does its own redirection, appending to config.log.
24995 # Unfortunately, on DOS this fails, as config.log is still kept open
24996 # by configure, so config.status won't be able to write to it; its
24997 # output is simply discarded. So we exec the FD to /dev/null,
24998 # effectively closing config.log, so it can be properly (re)opened and
24999 # appended to by config.status. When coming back to configure, we
25000 # need to make the FD available again.
25001 if test "$no_create" != yes; then
25003 ac_config_status_args
=
25004 test "$silent" = yes &&
25005 ac_config_status_args
="$ac_config_status_args --quiet"
25007 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25009 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25010 # would make configure fail if this is the last instruction.
25011 $ac_cs_success || { (exit 1); exit 1; }