2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
289 echo_test_string
="`eval $cmd`" &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 ac_unique_file
="README"
429 ac_unique_file
="src/neuro_main.c"
430 # Factoring default headers for most tests.
431 ac_includes_default
="\
434 # include <sys/types.h>
437 # include <sys/stat.h>
448 # if !STDC_HEADERS && HAVE_MEMORY_H
454 # include <strings.h>
457 # include <inttypes.h>
467 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS NEURO_MAJOR_VERSION NEURO_MINOR_VERSION NEURO_MICRO_VERSION NEURO_INTERFACE_AGE NEURO_BINARY_AGE NEURO_VERSION LT_CURRENT LT_REVISION LT_AGE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL NO_UNDEFINED_TRUE NO_UNDEFINED_FALSE LIBOBJS USE_SDL_TRUE USE_SDL_FALSE USE_X11_TRUE USE_X11_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS NEUROFLAGS NEUROLIBFLAGS LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version
=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name
=s
,x
,x
,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir
='${exec_prefix}/bin'
496 sbindir
='${exec_prefix}/sbin'
497 libexecdir
='${exec_prefix}/libexec'
498 datadir
='${prefix}/share'
499 sysconfdir
='${prefix}/etc'
500 sharedstatedir
='${prefix}/com'
501 localstatedir
='${prefix}/var'
502 libdir
='${exec_prefix}/lib'
503 includedir
='${prefix}/include'
504 oldincludedir
='/usr/include'
505 infodir
='${prefix}/info'
506 mandir
='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
526 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
529 -build |
--build |
--buil |
--bui |
--bu)
530 ac_prev
=build_alias
;;
531 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
532 build_alias
=$ac_optarg ;;
534 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
535 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
536 ac_prev
=cache_file
;;
537 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
538 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
539 cache_file
=$ac_optarg ;;
542 cache_file
=config.cache
;;
544 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
546 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
548 datadir
=$ac_optarg ;;
550 -disable-* |
--disable-*)
551 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* |
--enable-*)
560 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
573 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
574 |
--exec |
--exe |
--ex)
575 ac_prev
=exec_prefix
;;
576 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
577 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
578 |
--exec=* |
--exe=* |
--ex=*)
579 exec_prefix
=$ac_optarg ;;
581 -gas |
--gas |
--ga |
--g)
582 # Obsolete; use --with-gas.
585 -help |
--help |
--hel |
--he |
-h)
587 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
588 ac_init_help
=recursive
;;
589 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
590 ac_init_help
=short
;;
592 -host |
--host |
--hos |
--ho)
593 ac_prev
=host_alias
;;
594 -host=* |
--host=* |
--hos=* |
--ho=*)
595 host_alias
=$ac_optarg ;;
597 -includedir |
--includedir |
--includedi |
--included |
--include \
598 |
--includ |
--inclu |
--incl |
--inc)
599 ac_prev
=includedir
;;
600 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
601 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
602 includedir
=$ac_optarg ;;
604 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
606 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
607 infodir
=$ac_optarg ;;
609 -libdir |
--libdir |
--libdi |
--libd)
611 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
614 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
615 |
--libexe |
--libex |
--libe)
616 ac_prev
=libexecdir
;;
617 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
618 |
--libexe=* |
--libex=* |
--libe=*)
619 libexecdir
=$ac_optarg ;;
621 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
622 |
--localstate |
--localstat |
--localsta |
--localst \
623 |
--locals |
--local |
--loca |
--loc |
--lo)
624 ac_prev
=localstatedir
;;
625 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
626 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
627 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
628 localstatedir
=$ac_optarg ;;
630 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
632 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
636 # Obsolete; use --without-fp.
639 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
640 |
--no-cr |
--no-c |
-n)
643 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
644 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
647 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
648 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
649 |
--oldin |
--oldi |
--old |
--ol |
--o)
650 ac_prev
=oldincludedir
;;
651 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
652 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
653 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
654 oldincludedir
=$ac_optarg ;;
656 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
658 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
661 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
662 |
--program-pre |
--program-pr |
--program-p)
663 ac_prev
=program_prefix
;;
664 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
665 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
666 program_prefix
=$ac_optarg ;;
668 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
669 |
--program-suf |
--program-su |
--program-s)
670 ac_prev
=program_suffix
;;
671 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
672 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
673 program_suffix
=$ac_optarg ;;
675 -program-transform-name |
--program-transform-name \
676 |
--program-transform-nam |
--program-transform-na \
677 |
--program-transform-n |
--program-transform- \
678 |
--program-transform |
--program-transfor \
679 |
--program-transfo |
--program-transf \
680 |
--program-trans |
--program-tran \
681 |
--progr-tra |
--program-tr |
--program-t)
682 ac_prev
=program_transform_name
;;
683 -program-transform-name=* |
--program-transform-name=* \
684 |
--program-transform-nam=* |
--program-transform-na=* \
685 |
--program-transform-n=* |
--program-transform-=* \
686 |
--program-transform=* |
--program-transfor=* \
687 |
--program-transfo=* |
--program-transf=* \
688 |
--program-trans=* |
--program-tran=* \
689 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
690 program_transform_name
=$ac_optarg ;;
692 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
693 |
-silent |
--silent |
--silen |
--sile |
--sil)
696 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
698 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
700 sbindir
=$ac_optarg ;;
702 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
703 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
704 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
706 ac_prev
=sharedstatedir
;;
707 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
708 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
709 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
711 sharedstatedir
=$ac_optarg ;;
713 -site |
--site |
--sit)
715 -site=* |
--site=* |
--sit=*)
718 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
720 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
723 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
724 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
725 ac_prev
=sysconfdir
;;
726 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
727 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
728 sysconfdir
=$ac_optarg ;;
730 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
731 ac_prev
=target_alias
;;
732 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
733 target_alias
=$ac_optarg ;;
735 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
738 -version |
--version |
--versio |
--versi |
--vers |
-V)
742 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package
=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* |
--without-*)
755 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package
=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
768 |
--x-incl |
--x-inc |
--x-in |
--x-i)
769 ac_prev
=x_includes
;;
770 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
771 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
772 x_includes
=$ac_optarg ;;
774 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
775 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
776 ac_prev
=x_libraries
;;
777 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
778 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
779 x_libraries
=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var
in exec_prefix prefix
816 eval ac_val
=$
`echo $ac_var`
818 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val
=$
`echo $ac_var`
830 [\\/$
]* | ?
:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x
; then
845 if test "x$build_alias" = x
; then
846 cross_compiling
=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
857 test "$silent" = yes && exec 6>/dev
/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted
=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir
=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted
=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set
=${build_alias+set}
897 ac_env_build_alias_value
=$build_alias
898 ac_cv_env_build_alias_set
=${build_alias+set}
899 ac_cv_env_build_alias_value
=$build_alias
900 ac_env_host_alias_set
=${host_alias+set}
901 ac_env_host_alias_value
=$host_alias
902 ac_cv_env_host_alias_set
=${host_alias+set}
903 ac_cv_env_host_alias_value
=$host_alias
904 ac_env_target_alias_set
=${target_alias+set}
905 ac_env_target_alias_value
=$target_alias
906 ac_cv_env_target_alias_set
=${target_alias+set}
907 ac_cv_env_target_alias_value
=$target_alias
908 ac_env_CXX_set
=${CXX+set}
909 ac_env_CXX_value
=$CXX
910 ac_cv_env_CXX_set
=${CXX+set}
911 ac_cv_env_CXX_value
=$CXX
912 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value
=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
916 ac_env_LDFLAGS_set
=${LDFLAGS+set}
917 ac_env_LDFLAGS_value
=$LDFLAGS
918 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value
=$LDFLAGS
920 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value
=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_env_CC_set
=${CC+set}
926 ac_cv_env_CC_set
=${CC+set}
927 ac_cv_env_CC_value
=$CC
928 ac_env_CFLAGS_set
=${CFLAGS+set}
929 ac_env_CFLAGS_value
=$CFLAGS
930 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value
=$CFLAGS
932 ac_env_CPP_set
=${CPP+set}
933 ac_env_CPP_value
=$CPP
934 ac_cv_env_CPP_set
=${CPP+set}
935 ac_cv_env_CPP_value
=$CPP
936 ac_env_CXXCPP_set
=${CXXCPP+set}
937 ac_env_CXXCPP_value
=$CXXCPP
938 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value
=$CXXCPP
940 ac_env_F77_set
=${F77+set}
941 ac_env_F77_value
=$F77
942 ac_cv_env_F77_set
=${F77+set}
943 ac_cv_env_F77_value
=$F77
944 ac_env_FFLAGS_set
=${FFLAGS+set}
945 ac_env_FFLAGS_value
=$FFLAGS
946 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value
=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures this package to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --program-prefix=PREFIX prepend PREFIX to installed program names
1011 --program-suffix=SUFFIX append SUFFIX to installed program names
1012 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1015 --x-includes=DIR X include files are
in DIR
1016 --x-libraries=DIR X library files are
in DIR
1019 --build=BUILD configure
for building on BUILD
[guessed
]
1020 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1024 if test -n "$ac_init_help"; then
1029 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1030 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1031 --disable-dependency-tracking speeds up one-time build
1032 --enable-dependency-tracking do not reject slow dependency extractors
1033 --enable-shared[=PKGS
]
1034 build shared libraries
[default
=yes]
1035 --enable-static[=PKGS
]
1036 build static libraries
[default
=yes]
1037 --enable-fast-install[=PKGS
]
1038 optimize
for fast installation
[default
=yes]
1039 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1040 --enable-Debug enable the debugging of this program
[default
=no
]
1043 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1044 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1045 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1046 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1049 include additional configurations
[automatic
]
1050 --with-lowlib=<lowlib
> the low library Neuro will use
;
1051 only a single value is valid here
;
1053 Possible low libraries are
:
1055 --with-x use the X Window System
1057 Some influential environment variables
:
1058 CXX C
++ compiler
command
1059 CXXFLAGS C
++ compiler flags
1060 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1061 nonstandard directory
<lib dir
>
1062 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1063 headers
in a nonstandard directory
<include dir
>
1064 CC C compiler
command
1065 CFLAGS C compiler flags
1067 CXXCPP C
++ preprocessor
1068 F77 Fortran
77 compiler
command
1069 FFLAGS Fortran
77 compiler flags
1071 Use these variables to override the choices made by
`configure' or to help
1072 it to find libraries and programs with nonstandard names/locations.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix= ac_top_builddir=
1093 .) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1109 # the directories may not exist.
1111 .) ac_abs_builddir="$ac_dir";;
1114 .) ac_abs_builddir=`pwd`;;
1115 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1116 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1119 case $ac_abs_builddir in
1120 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1122 case ${ac_top_builddir}. in
1123 .) ac_abs_top_builddir=$ac_abs_builddir;;
1124 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1125 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1128 case $ac_abs_builddir in
1129 .) ac_abs_srcdir=$ac_srcdir;;
1132 .) ac_abs_srcdir=$ac_abs_builddir;;
1133 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1134 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1137 case $ac_abs_builddir in
1138 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1140 case $ac_top_srcdir in
1141 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1143 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1148 # Check for guested configure; otherwise get Cygnus style configure.
1149 if test -f $ac_srcdir/configure.gnu; then
1151 $SHELL $ac_srcdir/configure.gnu --help=recursive
1152 elif test -f $ac_srcdir/configure; then
1154 $SHELL $ac_srcdir/configure --help=recursive
1155 elif test -f $ac_srcdir/configure.ac ||
1156 test -f $ac_srcdir/configure.in; then
1158 $ac_configure --help
1160 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1166 test -n "$ac_init_help" && exit 0
1167 if $ac_init_version; then
1170 Copyright (C) 2003 Free Software Foundation, Inc.
1171 This configure script is free software; the Free Software Foundation
1172 gives unlimited permission to copy, distribute and modify it.
1178 This file contains any messages produced by compilers while
1179 running configure, to aid debugging if configure makes a mistake.
1181 It was created by $as_me, which was
1182 generated by GNU Autoconf 2.59. Invocation command line was
1193 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1194 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1195 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1196 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1197 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1199 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1200 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1202 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1203 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1204 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1205 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1206 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1207 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1208 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1216 test -z "$as_dir" && as_dir=.
1217 echo "PATH: $as_dir"
1232 # Keep a trace of the command line.
1233 # Strip out --no-create and --no-recursion so they do not pile up.
1234 # Strip out --silent because we don't want to record it for future runs.
1235 # Also quote any args containing shell meta-characters.
1236 # Make two passes to allow for proper duplicate-argument suppression.
1241 ac_must_keep_next=false
1247 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1249 | -silent | --silent | --silen | --sile | --sil)
1251 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1252 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1255 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1257 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1258 if test $ac_must_keep_next = true; then
1259 ac_must_keep_next=false # Got value, back to normal.
1262 *=* | --config-cache | -C | -disable-* | --disable-* \
1263 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1264 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1265 | -with-* | --with-* | -without-* | --without-* | --x)
1266 case "$ac_configure_args0 " in
1267 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1270 -* ) ac_must_keep_next=true ;;
1273 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1274 # Get rid of the leading space.
1280 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1281 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1283 # When interrupted or exit'd, cleanup temporary files, and complete
1284 # config.log. We remove comments because anyway the quotes in there
1285 # would cause problems or look ugly.
1286 # WARNING: Be sure not to use single quotes in there, as some shells,
1287 # such as our DU 5.0 friend, will then `close
' the trap.
1288 trap 'exit_status
=$?
1289 # Save into config.log some information that might help in debugging.
1294 ## ---------------- ##
1295 ## Cache variables. ##
1296 ## ---------------- ##
1299 # The following way of writing the cache mishandles newlines in values,
1302 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1305 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1317 ## ----------------- ##
1318 ## Output variables. ##
1319 ## ----------------- ##
1322 for ac_var
in $ac_subst_vars
1324 eval ac_val
=$
`echo $ac_var`
1325 echo "$ac_var='"'"'$ac_val'"'"'"
1329 if test -n "$ac_subst_files"; then
1336 for ac_var
in $ac_subst_files
1338 eval ac_val
=$
`echo $ac_var`
1339 echo "$ac_var='"'"'$ac_val'"'"'"
1344 if test -s confdefs.h
; then
1351 sed "/^$/d" confdefs.h |
sort
1354 test "$ac_signal" != 0 &&
1355 echo "$as_me: caught signal $ac_signal"
1356 echo "$as_me: exit $exit_status"
1358 rm -f core
*.core
&&
1359 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1362 for ac_signal in 1 2 13 15; do
1363 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1368 rm -rf conftest* confdefs.h
1369 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1372 # Predefined preprocessor variables.
1374 cat >>confdefs.h <<_ACEOF
1375 #define PACKAGE_NAME "$PACKAGE_NAME"
1379 cat >>confdefs.h <<_ACEOF
1380 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1384 cat >>confdefs.h <<_ACEOF
1385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1389 cat >>confdefs.h <<_ACEOF
1390 #define PACKAGE_STRING "$PACKAGE_STRING"
1394 cat >>confdefs.h <<_ACEOF
1395 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1399 # Let the site file select an alternate cache file if it wants to.
1400 # Prefer explicitly selected file to automatically selected ones.
1401 if test -z "$CONFIG_SITE"; then
1402 if test "x$prefix" != xNONE; then
1403 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1405 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1408 for ac_site_file in $CONFIG_SITE; do
1409 if test -r "$ac_site_file"; then
1410 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1411 echo "$as_me: loading site script $ac_site_file" >&6;}
1412 sed 's
/^
/|
/' "$ac_site_file" >&5
1417 if test -r "$cache_file"; then
1418 # Some versions of bash will fail to source /dev/null (special
1419 # files actually), so we avoid doing that.
1420 if test -f "$cache_file"; then
1421 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1422 echo "$as_me: loading cache $cache_file" >&6;}
1424 [\\/]* | ?:[\\/]* ) . $cache_file;;
1425 *) . ./$cache_file;;
1429 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1430 echo "$as_me: creating cache $cache_file" >&6;}
1434 # Check that the precious variables saved in the cache have kept the same
1436 ac_cache_corrupted=false
1437 for ac_var in `(set) 2>&1 |
1438 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1439 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1440 eval ac_new_set=\$ac_env_${ac_var}_set
1441 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1442 eval ac_new_val="\$ac_env_${ac_var}_value"
1443 case $ac_old_set,$ac_new_set in
1445 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1446 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1447 ac_cache_corrupted=: ;;
1449 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1450 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1451 ac_cache_corrupted=: ;;
1454 if test "x$ac_old_val" != "x$ac_new_val"; then
1455 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1456 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1457 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1458 echo "$as_me: former value: $ac_old_val" >&2;}
1459 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1460 echo "$as_me: current value: $ac_new_val" >&2;}
1461 ac_cache_corrupted=:
1464 # Pass precious variables to config.status.
1465 if test "$ac_new_set" = set; then
1467 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1468 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1469 *) ac_arg=$ac_var=$ac_new_val ;;
1471 case " $ac_configure_args " in
1472 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1473 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1477 if $ac_cache_corrupted; then
1478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1480 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1481 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1482 { (exit 1); exit 1; }; }
1486 ac_cpp='$CPP $CPPFLAGS'
1487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1488 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1511 # NEURO_MICRO_VERSION += 1 when bug fixes were done or small changes
1512 # NEURO_MINOR_VERSION += 1 when new functions and or modules were added, anything more than mere bug fixes or small changes
1513 # NEURO_MAJOR_VERSION += 1 when set goals for the whole projects are met, example when neuro will be done, we will raise that by 1. After it is 1, it only raise when most(like more than half) of the code was changes.
1515 NEURO_MAJOR_VERSION=0
1516 NEURO_MINOR_VERSION=49
1517 NEURO_MICRO_VERSION=21
1518 NEURO_INTERFACE_AGE=2
1521 NEURO_VERSION=$NEURO_MAJOR_VERSION.$NEURO_MINOR_VERSION.$NEURO_MICRO_VERSION
1531 # libtool versioning
1532 LT_CURRENT=$NEURO_INTERFACE_AGE
1533 LT_REVISION=$NEURO_REVISION
1534 LT_AGE=$NEURO_BINARY_AGE
1540 #AC_INIT(Neuro, $NEURO_VERSION)
1544 am__api_version="1.9"
1546 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1547 if test -f $ac_dir/install-sh; then
1549 ac_install_sh="$ac_aux_dir/install-sh -c"
1551 elif test -f $ac_dir/install.sh; then
1553 ac_install_sh="$ac_aux_dir/install.sh -c"
1555 elif test -f $ac_dir/shtool; then
1557 ac_install_sh="$ac_aux_dir/shtool install -c"
1561 if test -z "$ac_aux_dir"; then
1562 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1563 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1564 { (exit 1); exit 1; }; }
1566 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1567 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1568 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570 # Find a good install program. We prefer a C program (faster),
1571 # so one script is as good as another. But avoid the broken or
1572 # incompatible versions:
1573 # SysV /etc/install, /usr/sbin/install
1574 # SunOS /usr/etc/install
1575 # IRIX /sbin/install
1577 # AmigaOS /C/install, which installs bootblocks on floppy discs
1578 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1581 # OS/2's system install, which has a completely different semantic
1582 # ./install, which can be erroneously created by make from ./install.sh.
1583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1585 if test -z "$INSTALL"; then
1586 if test "${ac_cv_path_install+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir
=.
1594 # Account for people who put trailing slashes in PATH elements.
1596 .
/ | .
// |
/cC
/* | \
1597 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1598 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1601 # OSF1 and SCO ODT 3.0 have their own names for install.
1602 # Don't use installbsd from OSF since it installs stuff as root
1604 for ac_prog
in ginstall scoinst
install; do
1605 for ac_exec_ext
in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1607 if test $ac_prog = install &&
1608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1609 # AIX install. It has an incompatible calling convention.
1611 elif test $ac_prog = install &&
1612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1613 # program-specific install script used by HP pwplus--don't use.
1616 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1628 if test "${ac_cv_path_install+set}" = set; then
1629 INSTALL
=$ac_cv_path_install
1631 # As a last resort, use the slow shell script. We don't cache a
1632 # path for INSTALL within a source directory, because that will
1633 # break other packages using the cache if that directory is
1634 # removed, or if the path is relative.
1635 INSTALL
=$ac_install_sh
1638 echo "$as_me:$LINENO: result: $INSTALL" >&5
1639 echo "${ECHO_T}$INSTALL" >&6
1641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1642 # It thinks the first close brace ends the variable substitution.
1643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1647 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1649 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1650 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1653 echo timestamp
> conftest.
file
1654 # Do `set' in a subshell so we don't clobber the current shell's
1655 # arguments. Must try -L first in case configure is actually a
1656 # symlink; some systems play weird games with the mod time of symlinks
1657 # (eg FreeBSD returns the mod time of the symlink's containing
1660 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1661 if test "$*" = "X"; then
1663 set X
`ls -t $srcdir/configure conftest.file`
1666 if test "$*" != "X $srcdir/configure conftest.file" \
1667 && test "$*" != "X conftest.file $srcdir/configure"; then
1669 # If neither matched, then we have a broken ls. This can happen
1670 # if, for instance, CONFIG_SHELL is bash and it inherits a
1671 # broken ls alias from the environment. This has actually
1672 # happened. Such a system could not be considered "sane".
1673 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1674 alias in your environment" >&5
1675 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1676 alias in your environment" >&2;}
1677 { (exit 1); exit 1; }; }
1680 test "$2" = conftest.
file
1686 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1687 Check your system clock" >&5
1688 echo "$as_me: error: newly created file is older than distributed files!
1689 Check your system clock" >&2;}
1690 { (exit 1); exit 1; }; }
1692 echo "$as_me:$LINENO: result: yes" >&5
1693 echo "${ECHO_T}yes" >&6
1694 test "$program_prefix" != NONE
&&
1695 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1696 # Use a double $ so make ignores it.
1697 test "$program_suffix" != NONE
&&
1698 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1699 # Double any \ or $. echo might interpret backslashes.
1700 # By default was `s,x,x', remove it if useless.
1701 cat <<\_ACEOF
>conftest.
sed
1702 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1704 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1707 # expand $ac_aux_dir to an absolute path
1708 am_aux_dir
=`cd $ac_aux_dir && pwd`
1710 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1711 # Use eval to expand $SHELL
1712 if eval "$MISSING --run true"; then
1713 am_missing_run
="$MISSING --run "
1716 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1717 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1720 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1721 # We used to keeping the `.' as first argument, in order to
1722 # allow $(mkdir_p) to be used without argument. As in
1723 # $(mkdir_p) $(somedir)
1724 # where $(somedir) is conditionally defined. However this is wrong
1726 # 1. if the package is installed by a user who cannot write `.'
1727 # make install will fail,
1728 # 2. the above comment should most certainly read
1729 # $(mkdir_p) $(DESTDIR)$(somedir)
1730 # so it does not work when $(somedir) is undefined and
1731 # $(DESTDIR) is not.
1732 # To support the latter case, we have to write
1733 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1734 # so the `.' trick is pointless.
1735 mkdir_p
='mkdir -p --'
1737 # On NextStep and OpenStep, the `mkdir' command does not
1738 # recognize any option. It will interpret all options as
1739 # directories to create, and then abort because `.' already
1741 for d
in .
/-p .
/--version;
1743 test -d $d && rmdir $d
1745 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1746 if test -f "$ac_aux_dir/mkinstalldirs"; then
1747 mkdir_p
='$(mkinstalldirs)'
1749 mkdir_p
='$(install_sh) -d'
1753 for ac_prog
in gawk mawk nawk
awk
1755 # Extract the first word of "$ac_prog", so it can be a program name with args.
1756 set dummy
$ac_prog; ac_word
=$2
1757 echo "$as_me:$LINENO: checking for $ac_word" >&5
1758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1759 if test "${ac_cv_prog_AWK+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 if test -n "$AWK"; then
1763 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1769 test -z "$as_dir" && as_dir
=.
1770 for ac_exec_ext
in '' $ac_executable_extensions; do
1771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1772 ac_cv_prog_AWK
="$ac_prog"
1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1782 if test -n "$AWK"; then
1783 echo "$as_me:$LINENO: result: $AWK" >&5
1784 echo "${ECHO_T}$AWK" >&6
1786 echo "$as_me:$LINENO: result: no" >&5
1787 echo "${ECHO_T}no" >&6
1790 test -n "$AWK" && break
1793 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1794 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1795 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1796 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 cat >conftest.
make <<\_ACEOF
1801 @
echo 'ac_maketemp="$(MAKE)"'
1803 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1804 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1805 if test -n "$ac_maketemp"; then
1806 eval ac_cv_prog_make_
${ac_make}_set
=yes
1808 eval ac_cv_prog_make_
${ac_make}_set
=no
1812 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1813 echo "$as_me:$LINENO: result: yes" >&5
1814 echo "${ECHO_T}yes" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1819 SET_MAKE
="MAKE=${MAKE-make}"
1822 rm -rf .tst
2>/dev
/null
1823 mkdir .tst
2>/dev
/null
1824 if test -d .tst
; then
1829 rmdir .tst
2>/dev
/null
1831 # test to see if srcdir already configured
1832 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1833 test -f $srcdir/config.status
; then
1834 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1835 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1836 { (exit 1); exit 1; }; }
1839 # test whether we have cygpath
1840 if test -z "$CYGPATH_W"; then
1841 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1842 CYGPATH_W
='cygpath -w'
1849 # Define the identity of the package.
1851 VERSION
=$NEURO_VERSION
1854 cat >>confdefs.h
<<_ACEOF
1855 #define PACKAGE "$PACKAGE"
1859 cat >>confdefs.h
<<_ACEOF
1860 #define VERSION "$VERSION"
1863 # Some tools Automake needs.
1865 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1871 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1877 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1879 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1881 # Installed binaries are usually stripped using `strip' when the user
1882 # run `make install-strip'. However `strip' might not be the right
1883 # tool to use in cross-compilation environments, therefore Automake
1884 # will honor the `STRIP' environment variable to overrule this program.
1885 if test "$cross_compiling" != no
; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1888 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_STRIP+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$STRIP"; then
1895 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir
=.
1902 for ac_exec_ext
in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 STRIP
=$ac_cv_prog_STRIP
1914 if test -n "$STRIP"; then
1915 echo "$as_me:$LINENO: result: $STRIP" >&5
1916 echo "${ECHO_T}$STRIP" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_STRIP"; then
1925 # Extract the first word of "strip", so it can be a program name with args.
1926 set dummy strip
; ac_word
=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_STRIP"; then
1933 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_STRIP
="strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1952 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1953 if test -n "$ac_ct_STRIP"; then
1954 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1955 echo "${ECHO_T}$ac_ct_STRIP" >&6
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1963 STRIP
="$ac_cv_prog_STRIP"
1967 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1969 # We need awk for the "check" target. The system "awk" is bad on
1971 # Always define AMTAR for backward compatibility.
1973 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1975 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1982 # call canonical host to get valuable informations about the current system
1983 # Make sure we can run config.sub.
1984 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1985 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1986 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1987 { (exit 1); exit 1; }; }
1989 echo "$as_me:$LINENO: checking build system type" >&5
1990 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1991 if test "${ac_cv_build+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 ac_cv_build_alias
=$build_alias
1995 test -z "$ac_cv_build_alias" &&
1996 ac_cv_build_alias
=`$ac_config_guess`
1997 test -z "$ac_cv_build_alias" &&
1998 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1999 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2000 { (exit 1); exit 1; }; }
2001 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2002 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2003 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2004 { (exit 1); exit 1; }; }
2007 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2008 echo "${ECHO_T}$ac_cv_build" >&6
2010 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2011 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2012 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2015 echo "$as_me:$LINENO: checking host system type" >&5
2016 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2017 if test "${ac_cv_host+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 ac_cv_host_alias
=$host_alias
2021 test -z "$ac_cv_host_alias" &&
2022 ac_cv_host_alias
=$ac_cv_build_alias
2023 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2024 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2025 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2026 { (exit 1); exit 1; }; }
2029 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2030 echo "${ECHO_T}$ac_cv_host" >&6
2032 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2033 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2034 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2038 cat >>confdefs.h
<<_ACEOF
2039 #define OS "${host}"
2042 echo "$as_me:$LINENO: result: $host" >&5
2043 echo "${ECHO_T}$host" >&6
2045 #dnl ----- set some variables ------
2047 # check for programs
2049 ac_cpp
='$CXXCPP $CPPFLAGS'
2050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2053 if test -n "$ac_tool_prefix"; then
2054 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2057 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2058 echo "$as_me:$LINENO: checking for $ac_word" >&5
2059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2060 if test "${ac_cv_prog_CXX+set}" = set; then
2061 echo $ECHO_N "(cached) $ECHO_C" >&6
2063 if test -n "$CXX"; then
2064 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir
=.
2071 for ac_exec_ext
in '' $ac_executable_extensions; do
2072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2073 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 if test -n "$CXX"; then
2084 echo "$as_me:$LINENO: result: $CXX" >&5
2085 echo "${ECHO_T}$CXX" >&6
2087 echo "$as_me:$LINENO: result: no" >&5
2088 echo "${ECHO_T}no" >&6
2091 test -n "$CXX" && break
2094 if test -z "$CXX"; then
2096 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2098 # Extract the first word of "$ac_prog", so it can be a program name with args.
2099 set dummy
$ac_prog; ac_word
=$2
2100 echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2102 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test -n "$ac_ct_CXX"; then
2106 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir
=.
2113 for ac_exec_ext
in '' $ac_executable_extensions; do
2114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2115 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2125 if test -n "$ac_ct_CXX"; then
2126 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2127 echo "${ECHO_T}$ac_ct_CXX" >&6
2129 echo "$as_me:$LINENO: result: no" >&5
2130 echo "${ECHO_T}no" >&6
2133 test -n "$ac_ct_CXX" && break
2135 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2141 # Provide some information about the compiler.
2142 echo "$as_me:$LINENO:" \
2143 "checking for C++ compiler version" >&5
2144 ac_compiler
=`set X $ac_compile; echo $2`
2145 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2146 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); }
2150 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2151 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }
2155 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2156 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }
2161 cat >conftest.
$ac_ext <<_ACEOF
2164 cat confdefs.h
>>conftest.
$ac_ext
2165 cat >>conftest.
$ac_ext <<_ACEOF
2166 /* end confdefs.h. */
2176 ac_clean_files_save
=$ac_clean_files
2177 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2178 # Try to create an executable without -o first, disregard a.out.
2179 # It will help us diagnose broken compilers, and finding out an intuition
2181 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2182 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2183 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2184 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2185 (eval $ac_link_default) 2>&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; then
2189 # Find the output, starting from the most likely. This scheme is
2190 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2193 # Be careful to initialize this variable, since it used to be cached.
2194 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2196 # b.out is created by i960 compilers.
2197 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2199 test -f "$ac_file" ||
continue
2201 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2204 # This is the source file.
2207 # We found the default executable, but exeext='' is most
2211 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2212 # FIXME: I believe we export ac_cv_exeext for Libtool,
2213 # but it would be cool to find out if it's true. Does anybody
2214 # maintain Libtool? --akim.
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.
$ac_ext >&5
2225 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2226 See \`config.log' for more details." >&5
2227 echo "$as_me: error: C++ compiler cannot create executables
2228 See \`config.log' for more details." >&2;}
2229 { (exit 77); exit 77; }; }
2232 ac_exeext
=$ac_cv_exeext
2233 echo "$as_me:$LINENO: result: $ac_file" >&5
2234 echo "${ECHO_T}$ac_file" >&6
2236 # Check the compiler produces executables we can run. If not, either
2237 # the compiler is broken, or we cross compile.
2238 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2239 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2240 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2241 # If not cross compiling, check that we can run a simple program.
2242 if test "$cross_compiling" != yes; then
2243 if { ac_try
='./$ac_file'
2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; }; then
2251 if test "$cross_compiling" = maybe
; then
2254 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2255 If you meant to cross compile, use \`--host'.
2256 See \`config.log' for more details." >&5
2257 echo "$as_me: error: cannot run C++ compiled programs.
2258 If you meant to cross compile, use \`--host'.
2259 See \`config.log' for more details." >&2;}
2260 { (exit 1); exit 1; }; }
2264 echo "$as_me:$LINENO: result: yes" >&5
2265 echo "${ECHO_T}yes" >&6
2267 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2268 ac_clean_files
=$ac_clean_files_save
2269 # Check the compiler produces executables we can run. If not, either
2270 # the compiler is broken, or we cross compile.
2271 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2272 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2273 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2274 echo "${ECHO_T}$cross_compiling" >&6
2276 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2277 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2279 (eval $ac_link) 2>&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; then
2283 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2284 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2285 # work properly (i.e., refer to `conftest.exe'), while it won't with
2287 for ac_file
in conftest.exe conftest conftest.
*; do
2288 test -f "$ac_file" ||
continue
2290 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2291 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2298 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2299 See \`config.log' for more details." >&5
2300 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2301 See \`config.log' for more details." >&2;}
2302 { (exit 1); exit 1; }; }
2305 rm -f conftest
$ac_cv_exeext
2306 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2307 echo "${ECHO_T}$ac_cv_exeext" >&6
2309 rm -f conftest.
$ac_ext
2310 EXEEXT
=$ac_cv_exeext
2312 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2313 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2314 if test "${ac_cv_objext+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 cat >conftest.
$ac_ext <<_ACEOF
2320 cat confdefs.h
>>conftest.
$ac_ext
2321 cat >>conftest.
$ac_ext <<_ACEOF
2322 /* end confdefs.h. */
2332 rm -f conftest.o conftest.obj
2333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2334 (eval $ac_compile) 2>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; then
2338 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2340 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2341 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2349 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2350 See \`config.log' for more details." >&5
2351 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2352 See \`config.log' for more details." >&2;}
2353 { (exit 1); exit 1; }; }
2356 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2358 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2359 echo "${ECHO_T}$ac_cv_objext" >&6
2360 OBJEXT
=$ac_cv_objext
2362 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2363 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2364 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 cat >conftest.
$ac_ext <<_ACEOF
2370 cat confdefs.h
>>conftest.
$ac_ext
2371 cat >>conftest.
$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2385 rm -f conftest.
$ac_objext
2386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2387 (eval $ac_compile) 2>conftest.er1
2389 grep -v '^ *+' conftest.er1
>conftest.err
2391 cat conftest.err
>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -z "$ac_cxx_werror_flag"
2395 || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2415 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2418 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2419 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2420 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2421 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2422 ac_save_CXXFLAGS
=$CXXFLAGS
2424 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2425 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2426 if test "${ac_cv_prog_cxx_g+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2444 rm -f conftest.
$ac_objext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 2>conftest.er1
2448 grep -v '^ *+' conftest.er1
>conftest.err
2450 cat conftest.err
>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -z "$ac_cxx_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try
='test -s conftest.$ac_objext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2466 ac_cv_prog_cxx_g
=yes
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2475 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2476 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2477 if test "$ac_test_CXXFLAGS" = set; then
2478 CXXFLAGS
=$ac_save_CXXFLAGS
2479 elif test $ac_cv_prog_cxx_g = yes; then
2480 if test "$GXX" = yes; then
2486 if test "$GXX" = yes; then
2492 for ac_declaration
in \
2494 'extern "C" void std::exit (int) throw (); using std::exit;' \
2495 'extern "C" void std::exit (int); using std::exit;' \
2496 'extern "C" void exit (int) throw ();' \
2497 'extern "C" void exit (int);' \
2500 cat >conftest.
$ac_ext <<_ACEOF
2503 cat confdefs.h
>>conftest.
$ac_ext
2504 cat >>conftest.
$ac_ext <<_ACEOF
2505 /* end confdefs.h. */
2516 rm -f conftest.
$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>conftest.er1
2520 grep -v '^ *+' conftest.er1
>conftest.err
2522 cat conftest.err
>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); } &&
2525 { ac_try
='test -z "$ac_cxx_werror_flag"
2526 || test ! -s conftest.err'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; } &&
2532 { ac_try
='test -s conftest.$ac_objext'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2540 echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.
$ac_ext >&5
2545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2546 cat >conftest.
$ac_ext <<_ACEOF
2549 cat confdefs.h
>>conftest.
$ac_ext
2550 cat >>conftest.
$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2561 rm -f conftest.
$ac_objext
2562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2563 (eval $ac_compile) 2>conftest.er1
2565 grep -v '^ *+' conftest.er1
>conftest.err
2567 cat conftest.err
>&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); } &&
2570 { ac_try
='test -z "$ac_cxx_werror_flag"
2571 || test ! -s conftest.err'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; } &&
2577 { ac_try
='test -s conftest.$ac_objext'
2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; }; then
2585 echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.
$ac_ext >&5
2589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2592 if test -n "$ac_declaration"; then
2593 echo '#ifdef __cplusplus' >>confdefs.h
2594 echo $ac_declaration >>confdefs.h
2595 echo '#endif' >>confdefs.h
2599 ac_cpp
='$CPP $CPPFLAGS'
2600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2603 DEPDIR
="${am__leading_dot}deps"
2605 ac_config_commands
="$ac_config_commands depfiles"
2608 am_make
=${MAKE-make}
2609 cat > confinc
<< 'END'
2614 # If we don't find an include directive, just comment out the code.
2615 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2616 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2620 # First try GNU make style include.
2621 echo "include confinc" > confmf
2622 # We grep out `Entering directory' and `Leaving directory'
2623 # messages which can occur if `w' ends up in MAKEFLAGS.
2624 # In particular we don't look at `^make:' because GNU make might
2625 # be invoked under some other name (usually "gmake"), in which
2626 # case it prints its new name instead of `make'.
2627 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2632 # Now try BSD make style include.
2633 if test "$am__include" = "#"; then
2634 echo '.include "confinc"' > confmf
2635 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2636 am__include
=.include
2643 echo "$as_me:$LINENO: result: $_am_result" >&5
2644 echo "${ECHO_T}$_am_result" >&6
2645 rm -f confinc confmf
2647 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2648 if test "${enable_dependency_tracking+set}" = set; then
2649 enableval
="$enable_dependency_tracking"
2652 if test "x$enable_dependency_tracking" != xno
; then
2653 am_depcomp
="$ac_aux_dir/depcomp"
2658 if test "x$enable_dependency_tracking" != xno; then
2669 depcc
="$CXX" am_compiler_list
=
2671 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2672 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2673 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2677 # We make a subdir and do the tests there. Otherwise we can end up
2678 # making bogus files that we don't know about and never remove. For
2679 # instance it was reported that on HP-UX the gcc test will end up
2680 # making a dummy file named `D' -- because `-MD' means `put the output
2683 # Copy depcomp to subdir because otherwise we won't find it if we're
2684 # using a relative directory.
2685 cp "$am_depcomp" conftest.dir
2687 # We will build objects and dependencies in a subdirectory because
2688 # it helps to detect inapplicable dependency modes. For instance
2689 # both Tru64's cc and ICC support -MD to output dependencies as a
2690 # side effect of compilation, but ICC will put the dependencies in
2691 # the current directory while Tru64 will put them in the object
2695 am_cv_CXX_dependencies_compiler_type
=none
2696 if test "$am_compiler_list" = ""; then
2697 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2699 for depmode
in $am_compiler_list; do
2700 # Setup a source with many dependencies, because some compilers
2701 # like to wrap large dependency lists on column 80 (with \), and
2702 # we should not choose a depcomp mode which is confused by this.
2704 # We need to recreate these files for each test, as the compiler may
2705 # overwrite some of them when testing with obscure command lines.
2706 # This happens at least with the AIX C compiler.
2708 for i
in 1 2 3 4 5 6; do
2709 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2710 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2711 # Solaris 8's {/usr,}/bin/sh.
2712 touch sub
/conftst
$i.h
2714 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2718 # after this tag, mechanisms are not by side-effect, so they'll
2719 # only be used when explicitly requested
2720 if test "x$enable_dependency_tracking" = xyes
; then
2728 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2729 # mode. It turns out that the SunPro C++ compiler does not properly
2730 # handle `-M -o', and we need to detect this.
2731 if depmode
=$depmode \
2732 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2733 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2734 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2735 >/dev
/null
2>conftest.err
&&
2736 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2737 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2738 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2739 # icc doesn't choke on unknown options, it will just issue warnings
2740 # or remarks (even with -Werror). So we grep stderr for any message
2741 # that says an option was ignored or not supported.
2742 # When given -MP, icc 7.0 and 7.1 complain thusly:
2743 # icc: Command line warning: ignoring option '-M'; no argument required
2744 # The diagnosis changed in icc 8.0:
2745 # icc: Command line remark: option '-MP' not supported
2746 if (grep 'ignoring option' conftest.err ||
2747 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2748 am_cv_CXX_dependencies_compiler_type
=$depmode
2757 am_cv_CXX_dependencies_compiler_type
=none
2761 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2762 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2763 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2768 test "x$enable_dependency_tracking" != xno \
2769 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2770 am__fastdepCXX_TRUE
=
2771 am__fastdepCXX_FALSE
='#'
2773 am__fastdepCXX_TRUE
='#'
2774 am__fastdepCXX_FALSE
=
2779 ac_cpp
='$CPP $CPPFLAGS'
2780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2783 if test -n "$ac_tool_prefix"; then
2784 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2785 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2786 echo "$as_me:$LINENO: checking for $ac_word" >&5
2787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2788 if test "${ac_cv_prog_CC+set}" = set; then
2789 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 if test -n "$CC"; then
2792 ac_cv_prog_CC
="$CC" # Let the user override the test.
2794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir
=.
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test -n "$CC"; then
2812 echo "$as_me:$LINENO: result: $CC" >&5
2813 echo "${ECHO_T}$CC" >&6
2815 echo "$as_me:$LINENO: result: no" >&5
2816 echo "${ECHO_T}no" >&6
2820 if test -z "$ac_cv_prog_CC"; then
2822 # Extract the first word of "gcc", so it can be a program name with args.
2823 set dummy gcc
; ac_word
=$2
2824 echo "$as_me:$LINENO: checking for $ac_word" >&5
2825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 if test -n "$ac_ct_CC"; then
2830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839 ac_cv_prog_ac_ct_CC
="gcc"
2840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2849 if test -n "$ac_ct_CC"; then
2850 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2851 echo "${ECHO_T}$ac_ct_CC" >&6
2853 echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6
2862 if test -z "$CC"; then
2863 if test -n "$ac_tool_prefix"; then
2864 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2865 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2866 echo "$as_me:$LINENO: checking for $ac_word" >&5
2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2868 if test "${ac_cv_prog_CC+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -n "$CC"; then
2872 ac_cv_prog_CC
="$CC" # Let the user override the test.
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2881 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test -n "$CC"; then
2892 echo "$as_me:$LINENO: result: $CC" >&5
2893 echo "${ECHO_T}$CC" >&6
2895 echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6
2900 if test -z "$ac_cv_prog_CC"; then
2902 # Extract the first word of "cc", so it can be a program name with args.
2903 set dummy cc
; ac_word
=$2
2904 echo "$as_me:$LINENO: checking for $ac_word" >&5
2905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 if test -n "$ac_ct_CC"; then
2910 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_ac_ct_CC
="cc"
2920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2929 if test -n "$ac_ct_CC"; then
2930 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2931 echo "${ECHO_T}$ac_ct_CC" >&6
2933 echo "$as_me:$LINENO: result: no" >&5
2934 echo "${ECHO_T}no" >&6
2943 if test -z "$CC"; then
2944 # Extract the first word of "cc", so it can be a program name with args.
2945 set dummy cc
; ac_word
=$2
2946 echo "$as_me:$LINENO: checking for $ac_word" >&5
2947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948 if test "${ac_cv_prog_CC+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if test -n "$CC"; then
2952 ac_cv_prog_CC
="$CC" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2962 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2963 ac_prog_rejected
=yes
2967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test $ac_prog_rejected = yes; then
2974 # We found a bogon in the path, so make sure we never use it.
2975 set dummy
$ac_cv_prog_CC
2977 if test $# != 0; then
2978 # We chose a different compiler from the bogus one.
2979 # However, it has the same basename, so the bogon will be chosen
2980 # first if we set CC to just the basename; use the full file name.
2982 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2988 if test -n "$CC"; then
2989 echo "$as_me:$LINENO: result: $CC" >&5
2990 echo "${ECHO_T}$CC" >&6
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2997 if test -z "$CC"; then
2998 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3002 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3003 echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005 if test "${ac_cv_prog_CC+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC
="$CC" # Let the user override the test.
3011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir
=.
3016 for ac_exec_ext
in '' $ac_executable_extensions; do
3017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$CC"; then
3029 echo "$as_me:$LINENO: result: $CC" >&5
3030 echo "${ECHO_T}$CC" >&6
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3036 test -n "$CC" && break
3039 if test -z "$CC"; then
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy
$ac_prog; ac_word
=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 if test -n "$ac_ct_CC"; then
3051 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir
=.
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060 ac_cv_prog_ac_ct_CC
="$ac_prog"
3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3070 if test -n "$ac_ct_CC"; then
3071 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3072 echo "${ECHO_T}$ac_ct_CC" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3078 test -n "$ac_ct_CC" && break
3087 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3088 See \`config.log' for more details." >&5
3089 echo "$as_me: error: no acceptable C compiler found in \$PATH
3090 See \`config.log' for more details." >&2;}
3091 { (exit 1); exit 1; }; }
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO:" \
3095 "checking for C compiler version" >&5
3096 ac_compiler
=`set X $ac_compile; echo $2`
3097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3098 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }
3102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3103 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3108 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }
3113 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3115 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 cat >conftest.
$ac_ext <<_ACEOF
3121 cat confdefs.h
>>conftest.
$ac_ext
3122 cat >>conftest.
$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3136 rm -f conftest.
$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1
>conftest.err
3142 cat conftest.err
>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try
='test -z "$ac_c_werror_flag"
3146 || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try
='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.
$ac_ext >&5
3165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3166 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3169 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3170 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3171 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3172 ac_test_CFLAGS
=${CFLAGS+set}
3173 ac_save_CFLAGS
=$CFLAGS
3175 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3176 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3177 if test "${ac_cv_prog_cc_g+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3180 cat >conftest.
$ac_ext <<_ACEOF
3183 cat confdefs.h
>>conftest.
$ac_ext
3184 cat >>conftest.
$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.
$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197 (eval $ac_compile) 2>conftest.er1
3199 grep -v '^ *+' conftest.er1
>conftest.err
3201 cat conftest.err
>&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } &&
3204 { ac_try
='test -z "$ac_c_werror_flag"
3205 || test ! -s conftest.err'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; } &&
3211 { ac_try
='test -s conftest.$ac_objext'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3219 echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.
$ac_ext >&5
3224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3226 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3227 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3228 if test "$ac_test_CFLAGS" = set; then
3229 CFLAGS
=$ac_save_CFLAGS
3230 elif test $ac_cv_prog_cc_g = yes; then
3231 if test "$GCC" = yes; then
3237 if test "$GCC" = yes; then
3243 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3244 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3245 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 ac_cv_prog_cc_stdc
=no
3250 cat >conftest.
$ac_ext <<_ACEOF
3253 cat confdefs.h
>>conftest.
$ac_ext
3254 cat >>conftest.
$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 #include <sys/types.h>
3259 #include <sys/stat.h>
3260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3261 struct buf { int x; };
3262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3263 static char *e (p, i)
3269 static char *f (char * (*g) (char **, int), char **p, ...)
3274 s = g (p, va_arg (v,int));
3279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3280 function prototypes and stuff, but not '\xHH' hex character constants.
3281 These don't provoke an error unfortunately, instead are silently treated
3282 as 'x'. The following induces an error, until -std1 is added to get
3283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3284 array size at least. It's necessary to write '\x00'==0 to get something
3285 that's true only with -std1. */
3286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3288 int test (int i, double x);
3289 struct s1 {int (*f) (int a);};
3290 struct s2 {int (*f) (double a);};
3291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3302 # Don't try gcc -ansi; that turns off useful extensions and
3303 # breaks some systems' header files.
3304 # AIX -qlanglvl=ansi
3305 # Ultrix and OSF/1 -std1
3306 # HP-UX 10.20 and later -Ae
3307 # HP-UX older versions -Aa -D_HPUX_SOURCE
3308 # SVR4 -Xc -D__EXTENSIONS__
3309 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3311 CC
="$ac_save_CC $ac_arg"
3312 rm -f conftest.
$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try
='test -z "$ac_c_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try
='test -s conftest.$ac_objext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 ac_cv_prog_cc_stdc
=$ac_arg
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3341 rm -f conftest.err conftest.
$ac_objext
3343 rm -f conftest.
$ac_ext conftest.
$ac_objext
3348 case "x$ac_cv_prog_cc_stdc" in
3350 echo "$as_me:$LINENO: result: none needed" >&5
3351 echo "${ECHO_T}none needed" >&6 ;;
3353 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3354 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3355 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3358 # Some people use a C++ compiler to compile C. Since we use `exit',
3359 # in C++ we need to declare it. In case someone uses the same compiler
3360 # for both compiling C and C++ we need to have the C++ compiler decide
3361 # the declaration of exit, since it's the most demanding environment.
3362 cat >conftest.
$ac_ext <<_ACEOF
3367 rm -f conftest.
$ac_objext
3368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3369 (eval $ac_compile) 2>conftest.er1
3371 grep -v '^ *+' conftest.er1
>conftest.err
3373 cat conftest.err
>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } &&
3376 { ac_try
='test -z "$ac_c_werror_flag"
3377 || test ! -s conftest.err'
3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }; } &&
3383 { ac_try
='test -s conftest.$ac_objext'
3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }; }; then
3389 for ac_declaration
in \
3391 'extern "C" void std::exit (int) throw (); using std::exit;' \
3392 'extern "C" void std::exit (int); using std::exit;' \
3393 'extern "C" void exit (int) throw ();' \
3394 'extern "C" void exit (int);' \
3397 cat >conftest.
$ac_ext <<_ACEOF
3400 cat confdefs.h
>>conftest.
$ac_ext
3401 cat >>conftest.
$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3413 rm -f conftest.
$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>conftest.er1
3417 grep -v '^ *+' conftest.er1
>conftest.err
3419 cat conftest.err
>&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try
='test -z "$ac_c_werror_flag"
3423 || test ! -s conftest.err'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; } &&
3429 { ac_try
='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.
$ac_ext >&5
3442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3443 cat >conftest.
$ac_ext <<_ACEOF
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3458 rm -f conftest.
$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try
='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3489 if test -n "$ac_declaration"; then
3490 echo '#ifdef __cplusplus' >>confdefs.h
3491 echo $ac_declaration >>confdefs.h
3492 echo '#endif' >>confdefs.h
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.
$ac_ext >&5
3500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3502 ac_cpp
='$CPP $CPPFLAGS'
3503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3507 depcc
="$CC" am_compiler_list
=
3509 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3510 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3511 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3515 # We make a subdir and do the tests there. Otherwise we can end up
3516 # making bogus files that we don't know about and never remove. For
3517 # instance it was reported that on HP-UX the gcc test will end up
3518 # making a dummy file named `D' -- because `-MD' means `put the output
3521 # Copy depcomp to subdir because otherwise we won't find it if we're
3522 # using a relative directory.
3523 cp "$am_depcomp" conftest.dir
3525 # We will build objects and dependencies in a subdirectory because
3526 # it helps to detect inapplicable dependency modes. For instance
3527 # both Tru64's cc and ICC support -MD to output dependencies as a
3528 # side effect of compilation, but ICC will put the dependencies in
3529 # the current directory while Tru64 will put them in the object
3533 am_cv_CC_dependencies_compiler_type
=none
3534 if test "$am_compiler_list" = ""; then
3535 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3537 for depmode
in $am_compiler_list; do
3538 # Setup a source with many dependencies, because some compilers
3539 # like to wrap large dependency lists on column 80 (with \), and
3540 # we should not choose a depcomp mode which is confused by this.
3542 # We need to recreate these files for each test, as the compiler may
3543 # overwrite some of them when testing with obscure command lines.
3544 # This happens at least with the AIX C compiler.
3546 for i
in 1 2 3 4 5 6; do
3547 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3548 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3549 # Solaris 8's {/usr,}/bin/sh.
3550 touch sub
/conftst
$i.h
3552 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3556 # after this tag, mechanisms are not by side-effect, so they'll
3557 # only be used when explicitly requested
3558 if test "x$enable_dependency_tracking" = xyes
; then
3566 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3567 # mode. It turns out that the SunPro C++ compiler does not properly
3568 # handle `-M -o', and we need to detect this.
3569 if depmode
=$depmode \
3570 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3571 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3572 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3573 >/dev
/null
2>conftest.err
&&
3574 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3575 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3576 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3577 # icc doesn't choke on unknown options, it will just issue warnings
3578 # or remarks (even with -Werror). So we grep stderr for any message
3579 # that says an option was ignored or not supported.
3580 # When given -MP, icc 7.0 and 7.1 complain thusly:
3581 # icc: Command line warning: ignoring option '-M'; no argument required
3582 # The diagnosis changed in icc 8.0:
3583 # icc: Command line remark: option '-MP' not supported
3584 if (grep 'ignoring option' conftest.err ||
3585 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3586 am_cv_CC_dependencies_compiler_type
=$depmode
3595 am_cv_CC_dependencies_compiler_type
=none
3599 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3600 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3601 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3606 test "x$enable_dependency_tracking" != xno \
3607 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3609 am__fastdepCC_FALSE
='#'
3611 am__fastdepCC_TRUE
='#'
3612 am__fastdepCC_FALSE
=
3617 ac_cpp
='$CPP $CPPFLAGS'
3618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3621 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3622 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3623 # On Suns, sometimes $CPP names a directory.
3624 if test -n "$CPP" && test -d "$CPP"; then
3627 if test -z "$CPP"; then
3628 if test "${ac_cv_prog_CPP+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 # Double quotes because CPP needs to be expanded
3632 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3635 for ac_c_preproc_warn_flag
in '' yes
3637 # Use a header file that comes with gcc, so configuring glibc
3638 # with a fresh cross-compiler works.
3639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3640 # <limits.h> exists even on freestanding compilers.
3641 # On the NeXT, cc -E runs the code through the compiler's parser,
3642 # not just through cpp. "Syntax error" is here to catch this case.
3643 cat >conftest.
$ac_ext <<_ACEOF
3646 cat confdefs.h
>>conftest.
$ac_ext
3647 cat >>conftest.
$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3650 # include <limits.h>
3652 # include <assert.h>
3656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3657 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1
>conftest.err
3661 cat conftest.err
>&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev
/null
; then
3664 if test -s conftest.err
; then
3665 ac_cpp_err
=$ac_c_preproc_warn_flag
3666 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3673 if test -z "$ac_cpp_err"; then
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.
$ac_ext >&5
3679 # Broken: fails on valid input.
3682 rm -f conftest.err conftest.
$ac_ext
3684 # OK, works on sane cases. Now check whether non-existent headers
3685 # can be detected and how.
3686 cat >conftest.
$ac_ext <<_ACEOF
3689 cat confdefs.h
>>conftest.
$ac_ext
3690 cat >>conftest.
$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3692 #include <ac_nonexistent.h>
3694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3697 grep -v '^ *+' conftest.er1
>conftest.err
3699 cat conftest.err
>&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev
/null
; then
3702 if test -s conftest.err
; then
3703 ac_cpp_err
=$ac_c_preproc_warn_flag
3704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3711 if test -z "$ac_cpp_err"; then
3712 # Broken: success on invalid input.
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.
$ac_ext >&5
3718 # Passes both tests.
3722 rm -f conftest.err conftest.
$ac_ext
3725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3726 rm -f conftest.err conftest.
$ac_ext
3727 if $ac_preproc_ok; then
3739 echo "$as_me:$LINENO: result: $CPP" >&5
3740 echo "${ECHO_T}$CPP" >&6
3742 for ac_c_preproc_warn_flag
in '' yes
3744 # Use a header file that comes with gcc, so configuring glibc
3745 # with a fresh cross-compiler works.
3746 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3747 # <limits.h> exists even on freestanding compilers.
3748 # On the NeXT, cc -E runs the code through the compiler's parser,
3749 # not just through cpp. "Syntax error" is here to catch this case.
3750 cat >conftest.
$ac_ext <<_ACEOF
3753 cat confdefs.h
>>conftest.
$ac_ext
3754 cat >>conftest.
$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3757 # include <limits.h>
3759 # include <assert.h>
3763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1
>conftest.err
3768 cat conftest.err
>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } >/dev
/null
; then
3771 if test -s conftest.err
; then
3772 ac_cpp_err
=$ac_c_preproc_warn_flag
3773 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3780 if test -z "$ac_cpp_err"; then
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.
$ac_ext >&5
3786 # Broken: fails on valid input.
3789 rm -f conftest.err conftest.
$ac_ext
3791 # OK, works on sane cases. Now check whether non-existent headers
3792 # can be detected and how.
3793 cat >conftest.
$ac_ext <<_ACEOF
3796 cat confdefs.h
>>conftest.
$ac_ext
3797 cat >>conftest.
$ac_ext <<_ACEOF
3798 /* end confdefs.h. */
3799 #include <ac_nonexistent.h>
3801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3804 grep -v '^ *+' conftest.er1
>conftest.err
3806 cat conftest.err
>&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } >/dev
/null
; then
3809 if test -s conftest.err
; then
3810 ac_cpp_err
=$ac_c_preproc_warn_flag
3811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3818 if test -z "$ac_cpp_err"; then
3819 # Broken: success on invalid input.
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 # Passes both tests.
3829 rm -f conftest.err conftest.
$ac_ext
3832 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3833 rm -f conftest.err conftest.
$ac_ext
3834 if $ac_preproc_ok; then
3837 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3838 See \`config.log' for more details." >&5
3839 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3840 See \`config.log' for more details." >&2;}
3841 { (exit 1); exit 1; }; }
3845 ac_cpp
='$CPP $CPPFLAGS'
3846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3850 # Find a good install program. We prefer a C program (faster),
3851 # so one script is as good as another. But avoid the broken or
3852 # incompatible versions:
3853 # SysV /etc/install, /usr/sbin/install
3854 # SunOS /usr/etc/install
3855 # IRIX /sbin/install
3857 # AmigaOS /C/install, which installs bootblocks on floppy discs
3858 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3859 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3860 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3861 # OS/2's system install, which has a completely different semantic
3862 # ./install, which can be erroneously created by make from ./install.sh.
3863 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3864 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3865 if test -z "$INSTALL"; then
3866 if test "${ac_cv_path_install+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir
=.
3874 # Account for people who put trailing slashes in PATH elements.
3876 .
/ | .
// |
/cC
/* | \
3877 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3878 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3881 # OSF1 and SCO ODT 3.0 have their own names for install.
3882 # Don't use installbsd from OSF since it installs stuff as root
3884 for ac_prog
in ginstall scoinst
install; do
3885 for ac_exec_ext
in '' $ac_executable_extensions; do
3886 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3887 if test $ac_prog = install &&
3888 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3889 # AIX install. It has an incompatible calling convention.
3891 elif test $ac_prog = install &&
3892 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3893 # program-specific install script used by HP pwplus--don't use.
3896 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3908 if test "${ac_cv_path_install+set}" = set; then
3909 INSTALL
=$ac_cv_path_install
3911 # As a last resort, use the slow shell script. We don't cache a
3912 # path for INSTALL within a source directory, because that will
3913 # break other packages using the cache if that directory is
3914 # removed, or if the path is relative.
3915 INSTALL
=$ac_install_sh
3918 echo "$as_me:$LINENO: result: $INSTALL" >&5
3919 echo "${ECHO_T}$INSTALL" >&6
3921 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3922 # It thinks the first close brace ends the variable substitution.
3923 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3925 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3927 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3929 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3930 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3932 if test "$LN_S" = "ln -s"; then
3933 echo "$as_me:$LINENO: result: yes" >&5
3934 echo "${ECHO_T}yes" >&6
3936 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3937 echo "${ECHO_T}no, using $LN_S" >&6
3940 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3941 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3942 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3943 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 cat >conftest.
make <<\_ACEOF
3948 @
echo 'ac_maketemp="$(MAKE)"'
3950 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3951 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3952 if test -n "$ac_maketemp"; then
3953 eval ac_cv_prog_make_
${ac_make}_set
=yes
3955 eval ac_cv_prog_make_
${ac_make}_set
=no
3959 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3966 SET_MAKE
="MAKE=${MAKE-make}"
3970 # check for cygwin stuff
3975 # Check whether --enable-shared or --disable-shared was given.
3976 if test "${enable_shared+set}" = set; then
3977 enableval
="$enable_shared"
3978 p
=${PACKAGE-default}
3980 yes) enable_shared
=yes ;;
3981 no
) enable_shared
=no
;;
3984 # Look at the argument we got. We use all the common list separators.
3985 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3986 for pkg
in $enableval; do
3988 if test "X$pkg" = "X$p"; then
3999 # Check whether --enable-static or --disable-static was given.
4000 if test "${enable_static+set}" = set; then
4001 enableval
="$enable_static"
4002 p
=${PACKAGE-default}
4004 yes) enable_static
=yes ;;
4005 no
) enable_static
=no
;;
4008 # Look at the argument we got. We use all the common list separators.
4009 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4010 for pkg
in $enableval; do
4012 if test "X$pkg" = "X$p"; then
4023 # Check whether --enable-fast-install or --disable-fast-install was given.
4024 if test "${enable_fast_install+set}" = set; then
4025 enableval
="$enable_fast_install"
4026 p
=${PACKAGE-default}
4028 yes) enable_fast_install
=yes ;;
4029 no
) enable_fast_install
=no
;;
4031 enable_fast_install
=no
4032 # Look at the argument we got. We use all the common list separators.
4033 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4034 for pkg
in $enableval; do
4036 if test "X$pkg" = "X$p"; then
4037 enable_fast_install
=yes
4044 enable_fast_install
=yes
4047 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4048 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4049 if test "${lt_cv_path_SED+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 # Loop through the user's path and test for sed and gsed.
4053 # Then use that list of sed's as ones to test for truncation.
4054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir
=.
4059 for lt_ac_prog
in sed gsed
; do
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4062 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4069 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4070 # along with /bin/sed that truncates output.
4071 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4072 test ! -f $lt_ac_sed && break
4073 cat /dev
/null
> conftest.
in
4075 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4076 # Check for GNU sed and select it if it is found.
4077 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4078 lt_cv_path_SED
=$lt_ac_sed
4082 cat conftest.
in conftest.
in >conftest.tmp
4083 mv conftest.tmp conftest.
in
4084 cp conftest.
in conftest.
nl
4086 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4087 cmp -s conftest.out conftest.
nl ||
break
4088 # 10000 chars as input seems more than enough
4089 test $lt_ac_count -gt 10 && break
4090 lt_ac_count
=`expr $lt_ac_count + 1`
4091 if test $lt_ac_count -gt $lt_ac_max; then
4092 lt_ac_max
=$lt_ac_count
4093 lt_cv_path_SED
=$lt_ac_sed
4101 echo "$as_me:$LINENO: result: $SED" >&5
4102 echo "${ECHO_T}$SED" >&6
4104 echo "$as_me:$LINENO: checking for egrep" >&5
4105 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4106 if test "${ac_cv_prog_egrep+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4110 then ac_cv_prog_egrep
='grep -E'
4111 else ac_cv_prog_egrep
='egrep'
4114 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4115 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4116 EGREP
=$ac_cv_prog_egrep
4120 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4121 if test "${with_gnu_ld+set}" = set; then
4122 withval
="$with_gnu_ld"
4123 test "$withval" = no || with_gnu_ld
=yes
4128 if test "$GCC" = yes; then
4129 # Check if gcc -print-prog-name=ld gives a path.
4130 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4131 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4134 # gcc leaves a trailing carriage return which upsets mingw
4135 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4137 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4140 # Accept absolute paths.
4142 re_direlt
='/[^/][^/]*/\.\./'
4143 # Canonicalize the pathname of ld
4144 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4145 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4146 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4148 test -z "$LD" && LD
="$ac_prog"
4151 # If it fails, then pretend we aren't using GCC.
4155 # If it is relative, then search for the first ld in PATH.
4159 elif test "$with_gnu_ld" = yes; then
4160 echo "$as_me:$LINENO: checking for GNU ld" >&5
4161 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4163 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4164 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4166 if test "${lt_cv_path_LD+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 if test -z "$LD"; then
4170 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4171 for ac_dir
in $PATH; do
4173 test -z "$ac_dir" && ac_dir
=.
4174 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4175 lt_cv_path_LD
="$ac_dir/$ac_prog"
4176 # Check to see if the program is GNU ld. I'd rather use --version,
4177 # but apparently some GNU ld's only accept -v.
4178 # Break only if it was the GNU/non-GNU ld that we prefer.
4179 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4180 *GNU
* |
*'with BFD'*)
4181 test "$with_gnu_ld" != no
&& break
4184 test "$with_gnu_ld" != yes && break
4191 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4196 if test -n "$LD"; then
4197 echo "$as_me:$LINENO: result: $LD" >&5
4198 echo "${ECHO_T}$LD" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4203 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4204 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4205 { (exit 1); exit 1; }; }
4206 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4207 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4208 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4212 case `$LD -v 2>&1 </dev/null` in
4213 *GNU
* |
*'with BFD'*)
4214 lt_cv_prog_gnu_ld
=yes
4217 lt_cv_prog_gnu_ld
=no
4221 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4222 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4223 with_gnu_ld
=$lt_cv_prog_gnu_ld
4226 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4227 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4228 if test "${lt_cv_ld_reload_flag+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 lt_cv_ld_reload_flag
='-r'
4233 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4234 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4235 reload_flag
=$lt_cv_ld_reload_flag
4236 case $reload_flag in
4238 *) reload_flag
=" $reload_flag" ;;
4240 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4243 if test "$GCC" = yes; then
4244 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4246 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4251 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4252 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4253 if test "${lt_cv_path_NM+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4256 if test -n "$NM"; then
4257 # Let the user override the test.
4260 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4261 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4263 test -z "$ac_dir" && ac_dir
=.
4264 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4265 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4266 # Check to see if the nm accepts a BSD-compat flag.
4267 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4268 # nm: unknown option "B" ignored
4269 # Tru64's nm complains that /dev/null is an invalid object file
4270 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4271 */dev
/null
* |
*'Invalid file or object type'*)
4272 lt_cv_path_NM
="$tmp_nm -B"
4276 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4278 lt_cv_path_NM
="$tmp_nm -p"
4282 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4283 continue # so that we can try to find one that supports BSD flags
4290 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4293 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4294 echo "${ECHO_T}$lt_cv_path_NM" >&6
4297 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4298 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4299 if test "${lt_cv_deplibs_check_method+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4303 lt_cv_file_magic_test_file
=
4304 lt_cv_deplibs_check_method
='unknown'
4305 # Need to set the preceding variable on all platforms that support
4306 # interlibrary dependencies.
4307 # 'none' -- dependencies not supported.
4308 # `unknown' -- same as none, but documents that we really don't know.
4309 # 'pass_all' -- all dependencies passed with no checks.
4310 # 'test_compile' -- check by making test program.
4311 # 'file_magic [[regex]]' -- check by looking for files in library path
4312 # which responds to the $file_magic_cmd with a given extended regex.
4313 # If you have `file' or equivalent on your system and you're not sure
4314 # whether `pass_all' will *always* work, you probably want this one.
4318 lt_cv_deplibs_check_method
=pass_all
4322 lt_cv_deplibs_check_method
=pass_all
4326 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4327 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4328 lt_cv_file_magic_test_file
=/shlib
/libc.so
4332 # func_win32_libid is a shell function defined in ltmain.sh
4333 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4334 lt_cv_file_magic_cmd
='func_win32_libid'
4338 # Base MSYS/MinGW do not provide the 'file' command needed by
4339 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4340 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4341 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4344 darwin
* | rhapsody
*)
4345 lt_cv_deplibs_check_method
=pass_all
4348 freebsd
* | kfreebsd
*-gnu)
4349 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4352 # Not sure whether the presence of OpenBSD here was a mistake.
4353 # Let's accept both of them until this is cleared up.
4354 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4355 lt_cv_file_magic_cmd
=/usr
/bin
/file
4356 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4360 lt_cv_deplibs_check_method
=pass_all
4365 lt_cv_deplibs_check_method
=pass_all
4368 hpux10.20
* | hpux11
*)
4369 lt_cv_file_magic_cmd
=/usr
/bin
/file
4372 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4373 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4376 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]'
4377 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4380 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4381 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4386 irix5
* | irix6
* | nonstopux
*)
4388 *-32|
*"-32 ") libmagic
=32-bit;;
4389 *-n32|
*"-n32 ") libmagic
=N32
;;
4390 *-64|
*"-64 ") libmagic
=64-bit;;
4391 *) libmagic
=never-match
;;
4393 lt_cv_deplibs_check_method
=pass_all
4396 # This must be Linux ELF.
4398 lt_cv_deplibs_check_method
=pass_all
4402 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4403 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4405 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4410 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4411 lt_cv_file_magic_cmd
=/usr
/bin
/file
4412 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4416 lt_cv_deplibs_check_method
=unknown
4420 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4421 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4423 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4427 osf3
* | osf4
* | osf5
*)
4428 lt_cv_deplibs_check_method
=pass_all
4432 lt_cv_deplibs_check_method
=pass_all
4436 lt_cv_deplibs_check_method
=pass_all
4439 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4440 case $host_vendor in
4442 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]'
4443 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4446 lt_cv_deplibs_check_method
=pass_all
4449 lt_cv_file_magic_cmd
='/bin/file'
4450 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4453 lt_cv_file_magic_cmd
='/bin/file'
4454 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4455 lt_cv_file_magic_test_file
=/lib
/libc.so
4458 lt_cv_deplibs_check_method
=pass_all
4463 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4464 lt_cv_deplibs_check_method
=pass_all
4469 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4470 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4471 file_magic_cmd
=$lt_cv_file_magic_cmd
4472 deplibs_check_method
=$lt_cv_deplibs_check_method
4473 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4478 # If no C compiler was specified, use CC.
4481 # Allow CC to be a program name with arguments.
4485 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4486 if test "${enable_libtool_lock+set}" = set; then
4487 enableval
="$enable_libtool_lock"
4490 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4492 # Some flags need to be propagated to the compiler or linker for good
4496 # Find out which ABI we are using.
4497 echo 'int i;' > conftest.
$ac_ext
4498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4499 (eval $ac_compile) 2>&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; then
4503 case `/usr/bin/file conftest.$ac_objext` in
4515 # Find out which ABI we are using.
4516 echo '#line 4516 "configure"' > conftest.
$ac_ext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; then
4522 if test "$lt_cv_prog_gnu_ld" = yes; then
4523 case `/usr/bin/file conftest.$ac_objext` in
4525 LD
="${LD-ld} -melf32bsmip"
4528 LD
="${LD-ld} -melf32bmipn32"
4531 LD
="${LD-ld} -melf64bmip"
4535 case `/usr/bin/file conftest.$ac_objext` in
4551 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4552 # Find out which ABI we are using.
4553 echo 'int i;' > conftest.
$ac_ext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555 (eval $ac_compile) 2>&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }; then
4559 case "`/usr/bin/file conftest.o`" in
4563 LD
="${LD-ld} -m elf_i386"
4565 ppc64-
*linux
*|powerpc64-
*linux
*)
4566 LD
="${LD-ld} -m elf32ppclinux"
4569 LD
="${LD-ld} -m elf_s390"
4572 LD
="${LD-ld} -m elf32_sparc"
4579 LD
="${LD-ld} -m elf_x86_64"
4581 ppc
*-*linux
*|powerpc
*-*linux
*)
4582 LD
="${LD-ld} -m elf64ppc"
4585 LD
="${LD-ld} -m elf64_s390"
4588 LD
="${LD-ld} -m elf64_sparc"
4598 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4599 SAVE_CFLAGS
="$CFLAGS"
4600 CFLAGS
="$CFLAGS -belf"
4601 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4602 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4603 if test "${lt_cv_cc_needs_belf+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 ac_cpp
='$CPP $CPPFLAGS'
4608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4612 cat >conftest.
$ac_ext <<_ACEOF
4615 cat confdefs.h
>>conftest.
$ac_ext
4616 cat >>conftest.
$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4627 rm -f conftest.
$ac_objext conftest
$ac_exeext
4628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4629 (eval $ac_link) 2>conftest.er1
4631 grep -v '^ *+' conftest.er1
>conftest.err
4633 cat conftest.err
>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -z "$ac_c_werror_flag"
4637 || test ! -s conftest.err'
4638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); }; } &&
4643 { ac_try
='test -s conftest$ac_exeext'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; }; then
4649 lt_cv_cc_needs_belf
=yes
4651 echo "$as_me: failed program was:" >&5
4652 sed 's/^/| /' conftest.
$ac_ext >&5
4654 lt_cv_cc_needs_belf
=no
4656 rm -f conftest.err conftest.
$ac_objext \
4657 conftest
$ac_exeext conftest.
$ac_ext
4659 ac_cpp
='$CPP $CPPFLAGS'
4660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4665 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4666 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4667 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4668 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4669 CFLAGS
="$SAVE_CFLAGS"
4672 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4673 if test -n "$ac_tool_prefix"; then
4674 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4675 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4676 echo "$as_me:$LINENO: checking for $ac_word" >&5
4677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4678 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 if test -n "$DLLTOOL"; then
4682 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir
=.
4689 for ac_exec_ext
in '' $ac_executable_extensions; do
4690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 DLLTOOL
=$ac_cv_prog_DLLTOOL
4701 if test -n "$DLLTOOL"; then
4702 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4703 echo "${ECHO_T}$DLLTOOL" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4710 if test -z "$ac_cv_prog_DLLTOOL"; then
4711 ac_ct_DLLTOOL
=$DLLTOOL
4712 # Extract the first word of "dlltool", so it can be a program name with args.
4713 set dummy dlltool
; ac_word
=$2
4714 echo "$as_me:$LINENO: checking for $ac_word" >&5
4715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4716 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 if test -n "$ac_ct_DLLTOOL"; then
4720 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir
=.
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4736 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
4739 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4740 if test -n "$ac_ct_DLLTOOL"; then
4741 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4742 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4748 DLLTOOL
=$ac_ct_DLLTOOL
4750 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4755 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4756 echo "$as_me:$LINENO: checking for $ac_word" >&5
4757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4758 if test "${ac_cv_prog_AS+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 if test -n "$AS"; then
4762 ac_cv_prog_AS
="$AS" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_AS
="${ac_tool_prefix}as"
4772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$AS"; then
4782 echo "$as_me:$LINENO: result: $AS" >&5
4783 echo "${ECHO_T}$AS" >&6
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4790 if test -z "$ac_cv_prog_AS"; then
4792 # Extract the first word of "as", so it can be a program name with args.
4793 set dummy as
; ac_word
=$2
4794 echo "$as_me:$LINENO: checking for $ac_word" >&5
4795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4796 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 if test -n "$ac_ct_AS"; then
4800 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4809 ac_cv_prog_ac_ct_AS
="as"
4810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4819 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4820 if test -n "$ac_ct_AS"; then
4821 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4822 echo "${ECHO_T}$ac_ct_AS" >&6
4824 echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6
4833 if test -n "$ac_tool_prefix"; then
4834 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4835 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4836 echo "$as_me:$LINENO: checking for $ac_word" >&5
4837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4838 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 if test -n "$OBJDUMP"; then
4842 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir
=.
4849 for ac_exec_ext
in '' $ac_executable_extensions; do
4850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 OBJDUMP
=$ac_cv_prog_OBJDUMP
4861 if test -n "$OBJDUMP"; then
4862 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4863 echo "${ECHO_T}$OBJDUMP" >&6
4865 echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6
4870 if test -z "$ac_cv_prog_OBJDUMP"; then
4871 ac_ct_OBJDUMP
=$OBJDUMP
4872 # Extract the first word of "objdump", so it can be a program name with args.
4873 set dummy objdump
; ac_word
=$2
4874 echo "$as_me:$LINENO: checking for $ac_word" >&5
4875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4876 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 if test -n "$ac_ct_OBJDUMP"; then
4880 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4899 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4900 if test -n "$ac_ct_OBJDUMP"; then
4901 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4902 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4904 echo "$as_me:$LINENO: result: no" >&5
4905 echo "${ECHO_T}no" >&6
4908 OBJDUMP
=$ac_ct_OBJDUMP
4910 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4917 need_locks
="$enable_libtool_lock"
4921 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4922 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4923 if test "${ac_cv_header_stdc+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 cat >conftest.
$ac_ext <<_ACEOF
4929 cat confdefs.h
>>conftest.
$ac_ext
4930 cat >>conftest.
$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4945 rm -f conftest.
$ac_objext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>conftest.er1
4949 grep -v '^ *+' conftest.er1
>conftest.err
4951 cat conftest.err
>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
4954 { ac_try
='test -z "$ac_c_werror_flag"
4955 || test ! -s conftest.err'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; } &&
4961 { ac_try
='test -s conftest.$ac_objext'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; }; then
4967 ac_cv_header_stdc
=yes
4969 echo "$as_me: failed program was:" >&5
4970 sed 's/^/| /' conftest.
$ac_ext >&5
4972 ac_cv_header_stdc
=no
4974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4976 if test $ac_cv_header_stdc = yes; then
4977 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4978 cat >conftest.
$ac_ext <<_ACEOF
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4988 $EGREP "memchr" >/dev
/null
2>&1; then
4991 ac_cv_header_stdc
=no
4997 if test $ac_cv_header_stdc = yes; then
4998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4999 cat >conftest.
$ac_ext <<_ACEOF
5002 cat confdefs.h
>>conftest.
$ac_ext
5003 cat >>conftest.
$ac_ext <<_ACEOF
5004 /* end confdefs.h. */
5008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5009 $EGREP "free" >/dev
/null
2>&1; then
5012 ac_cv_header_stdc
=no
5018 if test $ac_cv_header_stdc = yes; then
5019 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5020 if test "$cross_compiling" = yes; then
5023 cat >conftest.
$ac_ext <<_ACEOF
5026 cat confdefs.h
>>conftest.
$ac_ext
5027 cat >>conftest.
$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5030 #if ((' ' & 0x0FF) == 0x020)
5031 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5032 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5034 # define ISLOWER(c) \
5035 (('a' <= (c) && (c) <= 'i') \
5036 || ('j' <= (c) && (c) <= 'r') \
5037 || ('s' <= (c) && (c) <= 'z'))
5038 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5041 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5046 for (i = 0; i < 256; i++)
5047 if (XOR (islower (i), ISLOWER (i))
5048 || toupper (i) != TOUPPER (i))
5053 rm -f conftest
$ac_exeext
5054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5055 (eval $ac_link) 2>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); }; }; then
5066 echo "$as_me: program exited with status $ac_status" >&5
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.
$ac_ext >&5
5071 ac_cv_header_stdc
=no
5073 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5077 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5078 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5079 if test $ac_cv_header_stdc = yes; then
5081 cat >>confdefs.h
<<\_ACEOF
5082 #define STDC_HEADERS 1
5087 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5097 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5098 inttypes.h stdint.h unistd.h
5100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5101 echo "$as_me:$LINENO: checking for $ac_header" >&5
5102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 cat >conftest.
$ac_ext <<_ACEOF
5109 cat confdefs.h
>>conftest.
$ac_ext
5110 cat >>conftest.
$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5112 $ac_includes_default
5114 #include <$ac_header>
5116 rm -f conftest.
$ac_objext
5117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5118 (eval $ac_compile) 2>conftest.er1
5120 grep -v '^ *+' conftest.er1
>conftest.err
5122 cat conftest.err
>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } &&
5125 { ac_try
='test -z "$ac_c_werror_flag"
5126 || test ! -s conftest.err'
5127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131 (exit $ac_status); }; } &&
5132 { ac_try
='test -s conftest.$ac_objext'
5133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); }; }; then
5138 eval "$as_ac_Header=yes"
5140 echo "$as_me: failed program was:" >&5
5141 sed 's/^/| /' conftest.
$ac_ext >&5
5143 eval "$as_ac_Header=no"
5145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5150 cat >>confdefs.h
<<_ACEOF
5151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5160 for ac_header
in dlfcn.h
5162 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5164 echo "$as_me:$LINENO: checking for $ac_header" >&5
5165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5172 # Is the header compilable?
5173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5175 cat >conftest.
$ac_ext <<_ACEOF
5178 cat confdefs.h
>>conftest.
$ac_ext
5179 cat >>conftest.
$ac_ext <<_ACEOF
5180 /* end confdefs.h. */
5181 $ac_includes_default
5182 #include <$ac_header>
5184 rm -f conftest.
$ac_objext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 (eval $ac_compile) 2>conftest.er1
5188 grep -v '^ *+' conftest.er1
>conftest.err
5190 cat conftest.err
>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -z "$ac_c_werror_flag"
5194 || test ! -s conftest.err'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; } &&
5200 { ac_try
='test -s conftest.$ac_objext'
5201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); }; }; then
5206 ac_header_compiler
=yes
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.
$ac_ext >&5
5211 ac_header_compiler
=no
5213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5215 echo "${ECHO_T}$ac_header_compiler" >&6
5217 # Is the header present?
5218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5220 cat >conftest.
$ac_ext <<_ACEOF
5223 cat confdefs.h
>>conftest.
$ac_ext
5224 cat >>conftest.
$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5226 #include <$ac_header>
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5231 grep -v '^ *+' conftest.er1
>conftest.err
5233 cat conftest.err
>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } >/dev
/null
; then
5236 if test -s conftest.err
; then
5237 ac_cpp_err
=$ac_c_preproc_warn_flag
5238 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5245 if test -z "$ac_cpp_err"; then
5246 ac_header_preproc
=yes
5248 echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.
$ac_ext >&5
5251 ac_header_preproc
=no
5253 rm -f conftest.err conftest.
$ac_ext
5254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5255 echo "${ECHO_T}$ac_header_preproc" >&6
5257 # So? What about this header?
5258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5264 ac_header_preproc
=yes
5267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5281 ## ------------------------------------------ ##
5282 ## Report this to the AC_PACKAGE_NAME lists. ##
5283 ## ------------------------------------------ ##
5286 sed "s/^/$as_me: WARNING: /" >&2
5289 echo "$as_me:$LINENO: checking for $ac_header" >&5
5290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 eval "$as_ac_Header=\$ac_header_preproc"
5296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5301 cat >>confdefs.h
<<_ACEOF
5302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5311 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5312 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5313 (test "X$CXX" != "Xg++"))) ; then
5315 ac_cpp
='$CXXCPP $CPPFLAGS'
5316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5319 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5320 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5321 if test -z "$CXXCPP"; then
5322 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 # Double quotes because CXXCPP needs to be expanded
5326 for CXXCPP
in "$CXX -E" "/lib/cpp"
5329 for ac_cxx_preproc_warn_flag
in '' yes
5331 # Use a header file that comes with gcc, so configuring glibc
5332 # with a fresh cross-compiler works.
5333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5334 # <limits.h> exists even on freestanding compilers.
5335 # On the NeXT, cc -E runs the code through the compiler's parser,
5336 # not just through cpp. "Syntax error" is here to catch this case.
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5344 # include <limits.h>
5346 # include <assert.h>
5350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5353 grep -v '^ *+' conftest.er1
>conftest.err
5355 cat conftest.err
>&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } >/dev
/null
; then
5358 if test -s conftest.err
; then
5359 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5360 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5367 if test -z "$ac_cpp_err"; then
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.
$ac_ext >&5
5373 # Broken: fails on valid input.
5376 rm -f conftest.err conftest.
$ac_ext
5378 # OK, works on sane cases. Now check whether non-existent headers
5379 # can be detected and how.
5380 cat >conftest.
$ac_ext <<_ACEOF
5383 cat confdefs.h
>>conftest.
$ac_ext
5384 cat >>conftest.
$ac_ext <<_ACEOF
5385 /* end confdefs.h. */
5386 #include <ac_nonexistent.h>
5388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5391 grep -v '^ *+' conftest.er1
>conftest.err
5393 cat conftest.err
>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); } >/dev
/null
; then
5396 if test -s conftest.err
; then
5397 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5398 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5405 if test -z "$ac_cpp_err"; then
5406 # Broken: success on invalid input.
5409 echo "$as_me: failed program was:" >&5
5410 sed 's/^/| /' conftest.
$ac_ext >&5
5412 # Passes both tests.
5416 rm -f conftest.err conftest.
$ac_ext
5419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5420 rm -f conftest.err conftest.
$ac_ext
5421 if $ac_preproc_ok; then
5426 ac_cv_prog_CXXCPP
=$CXXCPP
5429 CXXCPP
=$ac_cv_prog_CXXCPP
5431 ac_cv_prog_CXXCPP
=$CXXCPP
5433 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5434 echo "${ECHO_T}$CXXCPP" >&6
5436 for ac_cxx_preproc_warn_flag
in '' yes
5438 # Use a header file that comes with gcc, so configuring glibc
5439 # with a fresh cross-compiler works.
5440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5441 # <limits.h> exists even on freestanding compilers.
5442 # On the NeXT, cc -E runs the code through the compiler's parser,
5443 # not just through cpp. "Syntax error" is here to catch this case.
5444 cat >conftest.
$ac_ext <<_ACEOF
5447 cat confdefs.h
>>conftest.
$ac_ext
5448 cat >>conftest.
$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5451 # include <limits.h>
5453 # include <assert.h>
5457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5460 grep -v '^ *+' conftest.er1
>conftest.err
5462 cat conftest.err
>&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } >/dev
/null
; then
5465 if test -s conftest.err
; then
5466 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5467 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5474 if test -z "$ac_cpp_err"; then
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.
$ac_ext >&5
5480 # Broken: fails on valid input.
5483 rm -f conftest.err conftest.
$ac_ext
5485 # OK, works on sane cases. Now check whether non-existent headers
5486 # can be detected and how.
5487 cat >conftest.
$ac_ext <<_ACEOF
5490 cat confdefs.h
>>conftest.
$ac_ext
5491 cat >>conftest.
$ac_ext <<_ACEOF
5492 /* end confdefs.h. */
5493 #include <ac_nonexistent.h>
5495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5498 grep -v '^ *+' conftest.er1
>conftest.err
5500 cat conftest.err
>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } >/dev
/null
; then
5503 if test -s conftest.err
; then
5504 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5505 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5512 if test -z "$ac_cpp_err"; then
5513 # Broken: success on invalid input.
5516 echo "$as_me: failed program was:" >&5
5517 sed 's/^/| /' conftest.
$ac_ext >&5
5519 # Passes both tests.
5523 rm -f conftest.err conftest.
$ac_ext
5526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5527 rm -f conftest.err conftest.
$ac_ext
5528 if $ac_preproc_ok; then
5531 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5532 See \`config.log' for more details." >&5
5533 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5534 See \`config.log' for more details." >&2;}
5535 { (exit 1); exit 1; }; }
5539 ac_cpp
='$CXXCPP $CPPFLAGS'
5540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5548 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5549 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5550 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5551 if test -n "$ac_tool_prefix"; then
5552 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5555 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5556 echo "$as_me:$LINENO: checking for $ac_word" >&5
5557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5558 if test "${ac_cv_prog_F77+set}" = set; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 if test -n "$F77"; then
5562 ac_cv_prog_F77
="$F77" # Let the user override the test.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for ac_exec_ext
in '' $ac_executable_extensions; do
5570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 if test -n "$F77"; then
5582 echo "$as_me:$LINENO: result: $F77" >&5
5583 echo "${ECHO_T}$F77" >&6
5585 echo "$as_me:$LINENO: result: no" >&5
5586 echo "${ECHO_T}no" >&6
5589 test -n "$F77" && break
5592 if test -z "$F77"; then
5594 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy
$ac_prog; ac_word
=$2
5598 echo "$as_me:$LINENO: checking for $ac_word" >&5
5599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5600 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 if test -n "$ac_ct_F77"; then
5604 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_ac_ct_F77
="$ac_prog"
5614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5623 if test -n "$ac_ct_F77"; then
5624 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5625 echo "${ECHO_T}$ac_ct_F77" >&6
5627 echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6
5631 test -n "$ac_ct_F77" && break
5638 # Provide some information about the compiler.
5639 echo "$as_me:5639:" \
5640 "checking for Fortran 77 compiler version" >&5
5641 ac_compiler
=`set X $ac_compile; echo $2`
5642 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5643 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }
5647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5648 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }
5652 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5653 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }
5659 # If we don't use `.F' as extension, the preprocessor is not run on the
5660 # input file. (Note that this only needs to work for GNU compilers.)
5663 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5664 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5665 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 cat >conftest.
$ac_ext <<_ACEOF
5676 rm -f conftest.
$ac_objext
5677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5678 (eval $ac_compile) 2>conftest.er1
5680 grep -v '^ *+' conftest.er1
>conftest.err
5682 cat conftest.err
>&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } &&
5685 { ac_try
='test -z "$ac_f77_werror_flag"
5686 || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; } &&
5692 { ac_try
='test -s conftest.$ac_objext'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; }; then
5700 echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.
$ac_ext >&5
5705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5706 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5709 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5710 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5712 ac_test_FFLAGS
=${FFLAGS+set}
5713 ac_save_FFLAGS
=$FFLAGS
5715 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5716 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5717 if test "${ac_cv_prog_f77_g+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 cat >conftest.
$ac_ext <<_ACEOF
5726 rm -f conftest.
$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>conftest.er1
5730 grep -v '^ *+' conftest.er1
>conftest.err
5732 cat conftest.err
>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try
='test -z "$ac_f77_werror_flag"
5736 || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try
='test -s conftest.$ac_objext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 ac_cv_prog_f77_g
=yes
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.
$ac_ext >&5
5755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5758 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5759 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5760 if test "$ac_test_FFLAGS" = set; then
5761 FFLAGS
=$ac_save_FFLAGS
5762 elif test $ac_cv_prog_f77_g = yes; then
5763 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5769 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
5776 G77
=`test $ac_compiler_gnu = yes && echo yes`
5778 ac_cpp
='$CPP $CPPFLAGS'
5779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5785 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5787 # find the maximum length of command line arguments
5788 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5789 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5790 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 # On DJGPP, this test can blow up pretty badly due to problems in libc
5799 # (any single argument exceeding 2000 bytes causes a buffer overrun
5800 # during glob expansion). Even if it were fixed, the result of this
5801 # check would be larger than it should be.
5802 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5806 # Under GNU Hurd, this test is not required because there is
5807 # no limit to the length of command line arguments.
5808 # Libtool will interpret -1 as no limit whatsoever
5809 lt_cv_sys_max_cmd_len
=-1;
5813 # On Win9x/ME, this test blows up -- it succeeds, but takes
5814 # about 5 minutes as the teststring grows exponentially.
5815 # Worse, since 9x/ME are not pre-emptively multitasking,
5816 # you end up with a "frozen" computer, even though with patience
5817 # the test eventually succeeds (with a max line length of 256k).
5818 # Instead, let's just punt: use the minimum linelength reported by
5819 # all of the supported platforms: 8192 (on NT/2K/XP).
5820 lt_cv_sys_max_cmd_len
=8192;
5824 # On AmigaOS with pdksh, this test takes hours, literally.
5825 # So we just punt and use a minimum line length of 8192.
5826 lt_cv_sys_max_cmd_len
=8192;
5829 netbsd
* | freebsd
* | openbsd
* | darwin
* )
5830 # This has been around since 386BSD, at least. Likely further.
5831 if test -x /sbin
/sysctl
; then
5832 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5833 elif test -x /usr
/sbin
/sysctl
; then
5834 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5836 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5838 # And add a safety zone
5839 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5843 # If test is not a shell built-in, we'll probably end up computing a
5844 # maximum length that is only half of the actual maximum length, but
5846 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5847 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5848 = "XX$teststring") >/dev
/null
2>&1 &&
5849 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5850 lt_cv_sys_max_cmd_len
=$new_result &&
5851 test $i != 17 # 1/2 MB should be enough
5854 teststring
=$teststring$teststring
5857 # Add a significant safety factor because C++ compilers can tack on massive
5858 # amounts of additional arguments before passing them to the linker.
5859 # It appears as though 1/2 is a usable value.
5860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5866 if test -n $lt_cv_sys_max_cmd_len ; then
5867 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5868 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5870 echo "$as_me:$LINENO: result: none" >&5
5871 echo "${ECHO_T}none" >&6
5877 # Check for command to grab the raw symbol name followed by C symbol from nm.
5878 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5879 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5880 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 # These are sane defaults that work on at least a few old systems.
5885 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5887 # Character class describing NM global symbol codes.
5888 symcode
='[BCDEGRST]'
5890 # Regexp to match symbols that can be accessed directly from C.
5891 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5893 # Transform the above into a raw symbol and a C symbol.
5894 symxfrm
='\1 \2\3 \3'
5896 # Transform an extracted symbol line into a proper C declaration
5897 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5899 # Transform an extracted symbol line into symbol name and symbol address
5900 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'"
5902 # Define system-specific variables.
5907 cygwin
* | mingw
* | pw32
*)
5908 symcode
='[ABCDGISTW]'
5910 hpux
*) # Its linker distinguishes data from code symbols
5911 if test "$host_cpu" = ia64
; then
5912 symcode
='[ABCDEGRST]'
5914 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5915 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'"
5918 if test "$host_cpu" = ia64
; then
5919 symcode
='[ABCDGIRSTW]'
5920 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5921 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'"
5925 symcode
='[BCDEGRST]'
5928 symcode
='[BCDEGQRST]'
5938 # Handle CRLF in mingw tool chain
5942 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5946 # If we're using GNU nm, then use its standard symbol codes.
5947 case `$NM -V 2>&1` in
5948 *GNU
* |
*'with BFD'*)
5949 symcode
='[ABCDGIRSTW]' ;;
5952 # Try without a prefix undercore, then with it.
5953 for ac_symprfx
in "" "_"; do
5955 # Write the raw and C identifiers.
5956 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5958 # Check to see that the pipe works correctly.
5962 cat > conftest.
$ac_ext <<EOF
5967 void nm_test_func(){}
5971 int main(){nm_test_var='a';nm_test_func();return(0);}
5974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5975 (eval $ac_compile) 2>&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }; then
5979 # Now try to grab the symbols.
5981 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5982 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } && test -s "$nlist"; then
5986 # Try sorting and uniquifying the output.
5987 if sort "$nlist" |
uniq > "$nlist"T
; then
5988 mv -f "$nlist"T
"$nlist"
5993 # Make sure that we snagged all the symbols we need.
5994 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5995 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5996 cat <<EOF > conftest.$ac_ext
6002 # Now generate the symbol file.
6003 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6005 cat <<EOF >> conftest.$ac_ext
6006 #if defined (__STDC__) && __STDC__
6007 # define lt_ptr_t void *
6009 # define lt_ptr_t char *
6013 /* The mapping between symbol names and symbols. */
6018 lt_preloaded_symbols[] =
6021 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6022 cat <<\EOF
>> conftest.
$ac_ext
6030 # Now try linking the two files.
6031 mv conftest.
$ac_objext conftstm.
$ac_objext
6032 lt_save_LIBS
="$LIBS"
6033 lt_save_CFLAGS
="$CFLAGS"
6034 LIBS
="conftstm.$ac_objext"
6035 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6037 (eval $ac_link) 2>&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6043 LIBS
="$lt_save_LIBS"
6044 CFLAGS
="$lt_save_CFLAGS"
6046 echo "cannot find nm_test_func in $nlist" >&5
6049 echo "cannot find nm_test_var in $nlist" >&5
6052 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6055 echo "$progname: failed program was:" >&5
6056 cat conftest.
$ac_ext >&5
6058 rm -f conftest
* conftst
*
6060 # Do not use the global_symbol_pipe unless it works.
6061 if test "$pipe_works" = yes; then
6064 lt_cv_sys_global_symbol_pipe
=
6070 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6071 lt_cv_sys_global_symbol_to_cdecl
=
6073 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6074 echo "$as_me:$LINENO: result: failed" >&5
6075 echo "${ECHO_T}failed" >&6
6077 echo "$as_me:$LINENO: result: ok" >&5
6078 echo "${ECHO_T}ok" >&6
6081 echo "$as_me:$LINENO: checking for objdir" >&5
6082 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6083 if test "${lt_cv_objdir+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 rm -f .libs
2>/dev
/null
6087 mkdir .libs
2>/dev
/null
6088 if test -d .libs
; then
6091 # MS-DOS does not allow filenames that begin with a dot.
6094 rmdir .libs
2>/dev
/null
6096 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6097 echo "${ECHO_T}$lt_cv_objdir" >&6
6098 objdir
=$lt_cv_objdir
6106 # AIX sometimes has problems with the GCC collect2 program. For some
6107 # reason, if we set the COLLECT_NAMES environment variable, the problems
6108 # vanish in a puff of smoke.
6109 if test "X${COLLECT_NAMES+set}" != Xset
; then
6111 export COLLECT_NAMES
6116 # Sed substitution that helps us do robust quoting. It backslashifies
6117 # metacharacters that are still active within double-quoted strings.
6118 Xsed
='sed -e s/^X//'
6119 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6121 # Same as above, but do not quote variable references.
6122 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6124 # Sed substitution to delay expansion of an escaped shell variable in a
6125 # double_quote_subst'ed string.
6126 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6128 # Sed substitution to avoid accidental globbing in evaled expressions
6129 no_glob_subst
='s/\*/\\\*/g'
6135 default_ofile
=libtool
6136 can_build_shared
=yes
6138 # All known linkers require a `.a' archive for static linking (except M$VC,
6139 # which needs '.lib').
6141 ltmain
="$ac_aux_dir/ltmain.sh"
6142 ofile
="$default_ofile"
6143 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6147 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6148 echo "$as_me:$LINENO: checking for $ac_word" >&5
6149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6150 if test "${ac_cv_prog_AR+set}" = set; then
6151 echo $ECHO_N "(cached) $ECHO_C" >&6
6153 if test -n "$AR"; then
6154 ac_cv_prog_AR
="$AR" # Let the user override the test.
6156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir
=.
6161 for ac_exec_ext
in '' $ac_executable_extensions; do
6162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 if test -n "$AR"; then
6174 echo "$as_me:$LINENO: result: $AR" >&5
6175 echo "${ECHO_T}$AR" >&6
6177 echo "$as_me:$LINENO: result: no" >&5
6178 echo "${ECHO_T}no" >&6
6182 if test -z "$ac_cv_prog_AR"; then
6184 # Extract the first word of "ar", so it can be a program name with args.
6185 set dummy
ar; ac_word
=$2
6186 echo "$as_me:$LINENO: checking for $ac_word" >&5
6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6188 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 if test -n "$ac_ct_AR"; then
6192 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir
=.
6199 for ac_exec_ext
in '' $ac_executable_extensions; do
6200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_ac_ct_AR
="ar"
6202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6211 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6212 if test -n "$ac_ct_AR"; then
6213 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6214 echo "${ECHO_T}$ac_ct_AR" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6225 if test -n "$ac_tool_prefix"; then
6226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6227 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6228 echo "$as_me:$LINENO: checking for $ac_word" >&5
6229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6230 if test "${ac_cv_prog_RANLIB+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 if test -n "$RANLIB"; then
6234 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir
=.
6241 for ac_exec_ext
in '' $ac_executable_extensions; do
6242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 RANLIB
=$ac_cv_prog_RANLIB
6253 if test -n "$RANLIB"; then
6254 echo "$as_me:$LINENO: result: $RANLIB" >&5
6255 echo "${ECHO_T}$RANLIB" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6262 if test -z "$ac_cv_prog_RANLIB"; then
6263 ac_ct_RANLIB
=$RANLIB
6264 # Extract the first word of "ranlib", so it can be a program name with args.
6265 set dummy ranlib
; ac_word
=$2
6266 echo "$as_me:$LINENO: checking for $ac_word" >&5
6267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6268 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6269 echo $ECHO_N "(cached) $ECHO_C" >&6
6271 if test -n "$ac_ct_RANLIB"; then
6272 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir
=.
6279 for ac_exec_ext
in '' $ac_executable_extensions; do
6280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6281 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6291 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6292 if test -n "$ac_ct_RANLIB"; then
6293 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6294 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6300 RANLIB
=$ac_ct_RANLIB
6302 RANLIB
="$ac_cv_prog_RANLIB"
6305 if test -n "$ac_tool_prefix"; then
6306 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6307 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6308 echo "$as_me:$LINENO: checking for $ac_word" >&5
6309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6310 if test "${ac_cv_prog_STRIP+set}" = set; then
6311 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 if test -n "$STRIP"; then
6314 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir
=.
6321 for ac_exec_ext
in '' $ac_executable_extensions; do
6322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 STRIP
=$ac_cv_prog_STRIP
6333 if test -n "$STRIP"; then
6334 echo "$as_me:$LINENO: result: $STRIP" >&5
6335 echo "${ECHO_T}$STRIP" >&6
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6342 if test -z "$ac_cv_prog_STRIP"; then
6344 # Extract the first word of "strip", so it can be a program name with args.
6345 set dummy strip
; ac_word
=$2
6346 echo "$as_me:$LINENO: checking for $ac_word" >&5
6347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 if test -n "$ac_ct_STRIP"; then
6352 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6358 test -z "$as_dir" && as_dir
=.
6359 for ac_exec_ext
in '' $ac_executable_extensions; do
6360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6361 ac_cv_prog_ac_ct_STRIP
="strip"
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6371 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6372 if test -n "$ac_ct_STRIP"; then
6373 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6374 echo "${ECHO_T}$ac_ct_STRIP" >&6
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6382 STRIP
="$ac_cv_prog_STRIP"
6387 old_CFLAGS
="$CFLAGS"
6389 # Set sane defaults for various variables
6390 test -z "$AR" && AR
=ar
6391 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6392 test -z "$AS" && AS
=as
6393 test -z "$CC" && CC
=cc
6394 test -z "$LTCC" && LTCC
=$CC
6395 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6396 test -z "$LD" && LD
=ld
6397 test -z "$LN_S" && LN_S
="ln -s"
6398 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6399 test -z "$NM" && NM
=nm
6400 test -z "$SED" && SED
=sed
6401 test -z "$OBJDUMP" && OBJDUMP
=objdump
6402 test -z "$RANLIB" && RANLIB
=:
6403 test -z "$STRIP" && STRIP
=:
6404 test -z "$ac_objext" && ac_objext
=o
6406 # Determine commands to create old-style static archives.
6407 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6408 old_postinstall_cmds
='chmod 644 $oldlib'
6409 old_postuninstall_cmds
=
6411 if test -n "$RANLIB"; then
6414 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6417 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6420 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6423 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6425 # Only perform the check for file, if the check method requires it
6426 case $deplibs_check_method in
6428 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6429 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6430 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6431 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6439 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6440 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6441 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6442 for ac_dir
in $ac_dummy; do
6444 test -z "$ac_dir" && ac_dir
=.
6445 if test -f $ac_dir/${ac_tool_prefix}file; then
6446 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6447 if test -n "$file_magic_test_file"; then
6448 case $deplibs_check_method in
6450 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6451 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6452 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6453 $EGREP "$file_magic_regex" > /dev
/null
; then
6458 *** Warning: the command libtool uses to detect shared libraries,
6459 *** $file_magic_cmd, produces output that libtool cannot recognize.
6460 *** The result is that libtool may fail to recognize shared libraries
6461 *** as such. This will affect the creation of libtool libraries that
6462 *** depend on shared libraries, but programs linked with such libtool
6463 *** libraries will work regardless of this problem. Nevertheless, you
6464 *** may want to report the problem to your system manager and/or to
6465 *** bug-libtool@gnu.org
6475 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6480 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6481 if test -n "$MAGIC_CMD"; then
6482 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6483 echo "${ECHO_T}$MAGIC_CMD" >&6
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6489 if test -z "$lt_cv_path_MAGIC_CMD"; then
6490 if test -n "$ac_tool_prefix"; then
6491 echo "$as_me:$LINENO: checking for file" >&5
6492 echo $ECHO_N "checking for file... $ECHO_C" >&6
6493 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6501 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6502 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6503 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6504 for ac_dir
in $ac_dummy; do
6506 test -z "$ac_dir" && ac_dir
=.
6507 if test -f $ac_dir/file; then
6508 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6509 if test -n "$file_magic_test_file"; then
6510 case $deplibs_check_method in
6512 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6513 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6514 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6515 $EGREP "$file_magic_regex" > /dev
/null
; then
6520 *** Warning: the command libtool uses to detect shared libraries,
6521 *** $file_magic_cmd, produces output that libtool cannot recognize.
6522 *** The result is that libtool may fail to recognize shared libraries
6523 *** as such. This will affect the creation of libtool libraries that
6524 *** depend on shared libraries, but programs linked with such libtool
6525 *** libraries will work regardless of this problem. Nevertheless, you
6526 *** may want to report the problem to your system manager and/or to
6527 *** bug-libtool@gnu.org
6537 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6542 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6543 if test -n "$MAGIC_CMD"; then
6544 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6545 echo "${ECHO_T}$MAGIC_CMD" >&6
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6561 enable_win32_dll
=yes
6563 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6564 if test "${enable_libtool_lock+set}" = set; then
6565 enableval
="$enable_libtool_lock"
6568 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6571 # Check whether --with-pic or --without-pic was given.
6572 if test "${with_pic+set}" = set; then
6578 test -z "$pic_mode" && pic_mode
=default
6580 # Use C for the default configuration in the libtool script
6584 ac_cpp
='$CPP $CPPFLAGS'
6585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6590 # Source file extension for C test sources.
6593 # Object file extension for compiled C test sources.
6597 # Code to be used in simple compile tests
6598 lt_simple_compile_test_code
="int some_variable = 0;\n"
6600 # Code to be used in simple link tests
6601 lt_simple_link_test_code
='int main(){return(0);}\n'
6604 # If no C compiler was specified, use CC.
6607 # Allow CC to be a program name with arguments.
6612 # Check for any special shared library compilation flags.
6615 if test "$GCC" = no
; then
6618 lt_prog_cc_shlib
='-belf'
6622 if test -n "$lt_prog_cc_shlib"; then
6623 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6624 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6625 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6627 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6628 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6629 lt_cv_prog_cc_can_build_shared
=no
6635 # Check to make sure the static flag actually works.
6637 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6638 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6639 if test "${lt_prog_compiler_static_works+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 lt_prog_compiler_static_works
=no
6643 save_LDFLAGS
="$LDFLAGS"
6644 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6645 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6646 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6647 # The compiler can only warn and ignore the option if not recognized
6648 # So say no if there are warnings
6649 if test -s conftest.err
; then
6650 # Append any errors to the config.log.
6651 cat conftest.err
1>&5
6653 lt_prog_compiler_static_works
=yes
6657 LDFLAGS
="$save_LDFLAGS"
6660 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6661 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6663 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6666 lt_prog_compiler_static
=
6672 lt_prog_compiler_no_builtin_flag
=
6674 if test "$GCC" = yes; then
6675 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6678 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6679 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6680 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 lt_cv_prog_compiler_rtti_exceptions
=no
6684 ac_outfile
=conftest.
$ac_objext
6685 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6686 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6687 # Insert the option either (1) after the last *FLAGS variable, or
6688 # (2) before a word containing "conftest.", or (3) at the end.
6689 # Note that $ac_compile itself does not contain backslashes and begins
6690 # with a dollar sign (not a hyphen), so the echo should work correctly.
6691 # The option is referenced via a variable to avoid confusing sed.
6692 lt_compile
=`echo "$ac_compile" | $SED \
6693 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6695 -e 's:$: $lt_compiler_flag:'`
6696 (eval echo "\"\$as_me:6696: $lt_compile\"" >&5)
6697 (eval "$lt_compile" 2>conftest.err
)
6699 cat conftest.err
>&5
6700 echo "$as_me:6700: \$? = $ac_status" >&5
6701 if (exit $ac_status) && test -s "$ac_outfile"; then
6702 # The compiler can only warn and ignore the option if not recognized
6703 # So say no if there are warnings
6704 if test ! -s conftest.err
; then
6705 lt_cv_prog_compiler_rtti_exceptions
=yes
6711 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6712 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6714 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6715 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6722 lt_prog_compiler_wl
=
6723 lt_prog_compiler_pic
=
6724 lt_prog_compiler_static
=
6726 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6727 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6729 if test "$GCC" = yes; then
6730 lt_prog_compiler_wl
='-Wl,'
6731 lt_prog_compiler_static
='-static'
6735 # All AIX code is PIC.
6736 if test "$host_cpu" = ia64
; then
6737 # AIX 5 now supports IA64 processor
6738 lt_prog_compiler_static
='-Bstatic'
6743 # FIXME: we need at least 68020 code to build shared libraries, but
6744 # adding the `-m68020' flag to GCC prevents building anything better,
6746 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6749 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6750 # PIC is the default for these OSes.
6753 mingw
* | pw32
* | os2
*)
6754 # This hack is so that the source file can tell whether it is being
6755 # built for inclusion in a dll (and should export symbols for example).
6756 lt_prog_compiler_pic
='-DDLL_EXPORT'
6759 darwin
* | rhapsody
*)
6760 # PIC is the default on this platform
6761 # Common symbols not allowed in MH_DYLIB files
6762 lt_prog_compiler_pic
='-fno-common'
6766 # Just because we use GCC doesn't mean we suddenly get shared libraries
6767 # on systems that don't support them.
6768 lt_prog_compiler_can_build_shared
=no
6773 if test -d /usr
/nec
; then
6774 lt_prog_compiler_pic
=-Kconform_pic
6779 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6786 lt_prog_compiler_pic
='-fPIC'
6792 lt_prog_compiler_pic
='-fPIC'
6796 # PORTME Check for flag to pass linker flags through the system compiler.
6799 lt_prog_compiler_wl
='-Wl,'
6800 if test "$host_cpu" = ia64
; then
6801 # AIX 5 now supports IA64 processor
6802 lt_prog_compiler_static
='-Bstatic'
6804 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6808 # PIC is the default on this platform
6809 # Common symbols not allowed in MH_DYLIB files
6810 case "$cc_basename" in
6812 lt_prog_compiler_pic
='-qnocommon'
6813 lt_prog_compiler_wl
='-Wl,'
6818 mingw
* | pw32
* | os2
*)
6819 # This hack is so that the source file can tell whether it is being
6820 # built for inclusion in a dll (and should export symbols for example).
6821 lt_prog_compiler_pic
='-DDLL_EXPORT'
6824 hpux9
* | hpux10
* | hpux11
*)
6825 lt_prog_compiler_wl
='-Wl,'
6826 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6833 lt_prog_compiler_pic
='+Z'
6836 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6837 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6840 irix5
* | irix6
* | nonstopux
*)
6841 lt_prog_compiler_wl
='-Wl,'
6842 # PIC (with -KPIC) is the default.
6843 lt_prog_compiler_static
='-non_shared'
6847 lt_prog_compiler_pic
='-KPIC'
6848 lt_prog_compiler_static
='-Bstatic'
6854 lt_prog_compiler_wl
='-Wl,'
6855 lt_prog_compiler_pic
='-KPIC'
6856 lt_prog_compiler_static
='-static'
6859 lt_prog_compiler_wl
='-Wl,'
6860 # All Alpha code is PIC.
6861 lt_prog_compiler_static
='-non_shared'
6866 osf3
* | osf4
* | osf5
*)
6867 lt_prog_compiler_wl
='-Wl,'
6868 # All OSF/1 code is PIC.
6869 lt_prog_compiler_static
='-non_shared'
6873 lt_prog_compiler_pic
='-Kpic'
6874 lt_prog_compiler_static
='-dn'
6878 lt_prog_compiler_wl
='-Wl,'
6879 lt_prog_compiler_pic
='-KPIC'
6880 lt_prog_compiler_static
='-Bstatic'
6884 lt_prog_compiler_wl
='-Qoption ld '
6885 lt_prog_compiler_pic
='-PIC'
6886 lt_prog_compiler_static
='-Bstatic'
6889 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6890 lt_prog_compiler_wl
='-Wl,'
6891 lt_prog_compiler_pic
='-KPIC'
6892 lt_prog_compiler_static
='-Bstatic'
6896 if test -d /usr
/nec
;then
6897 lt_prog_compiler_pic
='-Kconform_pic'
6898 lt_prog_compiler_static
='-Bstatic'
6903 lt_prog_compiler_pic
='-pic'
6904 lt_prog_compiler_static
='-Bstatic'
6908 lt_prog_compiler_can_build_shared
=no
6913 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6914 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6917 # Check to make sure the PIC flag actually works.
6919 if test -n "$lt_prog_compiler_pic"; then
6921 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6922 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6923 if test "${lt_prog_compiler_pic_works+set}" = set; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 lt_prog_compiler_pic_works
=no
6927 ac_outfile
=conftest.
$ac_objext
6928 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6929 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6930 # Insert the option either (1) after the last *FLAGS variable, or
6931 # (2) before a word containing "conftest.", or (3) at the end.
6932 # Note that $ac_compile itself does not contain backslashes and begins
6933 # with a dollar sign (not a hyphen), so the echo should work correctly.
6934 # The option is referenced via a variable to avoid confusing sed.
6935 lt_compile
=`echo "$ac_compile" | $SED \
6936 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6938 -e 's:$: $lt_compiler_flag:'`
6939 (eval echo "\"\$as_me:6939: $lt_compile\"" >&5)
6940 (eval "$lt_compile" 2>conftest.err
)
6942 cat conftest.err
>&5
6943 echo "$as_me:6943: \$? = $ac_status" >&5
6944 if (exit $ac_status) && test -s "$ac_outfile"; then
6945 # The compiler can only warn and ignore the option if not recognized
6946 # So say no if there are warnings
6947 if test ! -s conftest.err
; then
6948 lt_prog_compiler_pic_works
=yes
6954 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6955 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6957 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6958 case $lt_prog_compiler_pic in
6960 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6963 lt_prog_compiler_pic
=
6964 lt_prog_compiler_can_build_shared
=no
6969 # For platforms which do not support PIC, -DPIC is meaningless:
6971 lt_prog_compiler_pic
=
6974 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6978 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6979 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6980 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 lt_cv_prog_compiler_c_o
=no
6984 $rm -r conftest
2>/dev
/null
6988 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6990 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6991 # Insert the option either (1) after the last *FLAGS variable, or
6992 # (2) before a word containing "conftest.", or (3) at the end.
6993 # Note that $ac_compile itself does not contain backslashes and begins
6994 # with a dollar sign (not a hyphen), so the echo should work correctly.
6995 lt_compile
=`echo "$ac_compile" | $SED \
6996 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6998 -e 's:$: $lt_compiler_flag:'`
6999 (eval echo "\"\$as_me:6999: $lt_compile\"" >&5)
7000 (eval "$lt_compile" 2>out
/conftest.err
)
7002 cat out
/conftest.err
>&5
7003 echo "$as_me:7003: \$? = $ac_status" >&5
7004 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7006 # The compiler can only warn and ignore the option if not recognized
7007 # So say no if there are warnings
7008 if test ! -s out
/conftest.err
; then
7009 lt_cv_prog_compiler_c_o
=yes
7014 # SGI C++ compiler will create directory out/ii_files/ for
7015 # template instantiation
7016 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7017 $rm out
/* && rmdir out
7023 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7024 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7027 hard_links
="nottested"
7028 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7029 # do not overwrite the value of need_locks provided by the user
7030 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7031 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7034 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7036 ln conftest.a conftest.b
2>&5 || hard_links
=no
7037 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7038 echo "$as_me:$LINENO: result: $hard_links" >&5
7039 echo "${ECHO_T}$hard_links" >&6
7040 if test "$hard_links" = no
; then
7041 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7042 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7049 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7050 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7053 allow_undefined_flag
=
7054 enable_shared_with_static_runtimes
=no
7056 archive_expsym_cmds
=
7057 old_archive_From_new_cmds
=
7058 old_archive_from_expsyms_cmds
=
7059 export_dynamic_flag_spec
=
7060 whole_archive_flag_spec
=
7061 thread_safe_flag_spec
=
7062 hardcode_libdir_flag_spec
=
7063 hardcode_libdir_flag_spec_ld
=
7064 hardcode_libdir_separator
=
7067 hardcode_shlibpath_var
=unsupported
7068 link_all_deplibs
=unknown
7069 hardcode_automatic
=no
7072 always_export_symbols
=no
7073 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7074 # include_expsyms should be a list of space-separated symbols to be *always*
7075 # included in the symbol list
7077 # exclude_expsyms can be an extended regexp of symbols to exclude
7078 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7079 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7080 # as well as any symbol that contains `d'.
7081 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7082 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7083 # platforms (ab)use it in PIC code, but their linkers get confused if
7084 # the symbol is explicitly referenced. Since portable code cannot
7085 # rely on this symbol name, it's probably fine to never include it in
7086 # preloaded symbol tables.
7087 extract_expsyms_cmds
=
7090 cygwin
* | mingw
* | pw32
*)
7091 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7092 # When not using gcc, we currently assume that we are using
7093 # Microsoft Visual C++.
7094 if test "$GCC" != yes; then
7104 if test "$with_gnu_ld" = yes; then
7105 # If archive_cmds runs LD, not CC, wlarc should be empty
7108 # See if GNU ld supports shared libraries.
7110 aix3
* | aix4
* | aix5
*)
7111 # On AIX/PPC, the GNU linker is very broken
7112 if test "$host_cpu" != ia64
; then
7116 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7117 *** to be unable to reliably create shared libraries on AIX.
7118 *** Therefore, libtool is disabling shared libraries support. If you
7119 *** really care for shared libraries, you may want to modify your PATH
7120 *** so that a non-GNU linker is found, and then restart.
7127 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)'
7128 hardcode_libdir_flag_spec
='-L$libdir'
7129 hardcode_minus_L
=yes
7131 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7132 # that the semantics of dynamic libraries on AmigaOS, at least up
7133 # to version 4, is to share data among multiple programs linked
7134 # with the same dynamic library. Since this doesn't match the
7135 # behavior of shared libraries on other platforms, we can't use
7141 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7142 allow_undefined_flag
=unsupported
7143 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7144 # support --undefined. This deserves some investigation. FIXME
7145 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7151 cygwin
* | mingw
* | pw32
*)
7152 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7153 # as there is no search path for DLLs.
7154 hardcode_libdir_flag_spec
='-L$libdir'
7155 allow_undefined_flag
=unsupported
7156 always_export_symbols
=no
7157 enable_shared_with_static_runtimes
=yes
7158 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7160 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7161 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7162 # If the export-symbols file already is a .def file (1st line
7163 # is EXPORTS), use it as is; otherwise, prepend...
7164 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7165 cp $export_symbols $output_objdir/$soname.def;
7167 echo EXPORTS > $output_objdir/$soname.def;
7168 cat $export_symbols >> $output_objdir/$soname.def;
7170 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7177 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7178 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7181 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7182 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7187 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7191 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7192 *** create shared libraries on Solaris systems. Therefore, libtool
7193 *** is disabling shared libraries support. We urge you to upgrade GNU
7194 *** binutils to release 2.9.1 or newer. Another option is to modify
7195 *** your PATH or compiler configuration so that the native linker is
7196 *** used, and then restart.
7199 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7200 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7201 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7208 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7211 hardcode_shlibpath_var
=no
7215 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7216 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7217 archive_cmds
="$tmp_archive_cmds"
7218 supports_anon_versioning
=no
7219 case `$LD -v 2>/dev/null` in
7220 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7221 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7222 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7223 *\
2.11.
*) ;; # other 2.11 versions
7224 *) supports_anon_versioning
=yes ;;
7226 if test $supports_anon_versioning = yes; then
7227 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7228 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7229 $echo "local: *; };" >> $output_objdir/$libname.ver~
7230 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7232 archive_expsym_cmds
="$tmp_archive_cmds"
7240 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7242 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7249 if test "$ld_shlibs" = yes; then
7250 runpath_var
=LD_RUN_PATH
7251 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7252 export_dynamic_flag_spec
='${wl}--export-dynamic'
7253 # ancient GNU ld didn't support --whole-archive et. al.
7254 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7255 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7257 whole_archive_flag_spec
=
7261 # PORTME fill in a description of your system's linker (not GNU ld)
7264 allow_undefined_flag
=unsupported
7265 always_export_symbols
=yes
7266 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'
7267 # Note: this linker hardcodes the directories in LIBPATH if there
7268 # are no directories specified by -L.
7269 hardcode_minus_L
=yes
7270 if test "$GCC" = yes && test -z "$link_static_flag"; then
7271 # Neither direct hardcoding nor static linking is supported with a
7273 hardcode_direct
=unsupported
7278 if test "$host_cpu" = ia64
; then
7279 # On IA64, the linker does run time linking by default, so we don't
7280 # have to do anything special.
7281 aix_use_runtimelinking
=no
7282 exp_sym_flag
='-Bexport'
7285 # If we're using GNU nm, then we don't want the "-C" option.
7286 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7287 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7288 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'
7290 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'
7292 aix_use_runtimelinking
=no
7294 # Test if we are trying to use run time linking or normal
7295 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7296 # need to do runtime linking.
7297 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7298 for ld_flag
in $LDFLAGS; do
7299 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7300 aix_use_runtimelinking
=yes
7306 exp_sym_flag
='-bexport'
7307 no_entry_flag
='-bnoentry'
7310 # When large executables or shared objects are built, AIX ld can
7311 # have problems creating the table of contents. If linking a library
7312 # or program results in "error TOC overflow" add -mminimal-toc to
7313 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7314 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7318 hardcode_libdir_separator
=':'
7319 link_all_deplibs
=yes
7321 if test "$GCC" = yes; then
7322 case $host_os in aix4.012|aix4.012.
*)
7323 # We only want to do this on AIX 4.2 and lower, the check
7324 # below for broken collect2 doesn't work under 4.3+
7325 collect2name
=`${CC} -print-prog-name=collect2`
7326 if test -f "$collect2name" && \
7327 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7329 # We have reworked collect2
7332 # We have old collect2
7333 hardcode_direct
=unsupported
7334 # It fails to find uninstalled libraries when the uninstalled
7335 # path is not listed in the libpath. Setting hardcode_minus_L
7336 # to unsupported forces relinking
7337 hardcode_minus_L
=yes
7338 hardcode_libdir_flag_spec
='-L$libdir'
7339 hardcode_libdir_separator
=
7342 shared_flag
='-shared'
7345 if test "$host_cpu" = ia64
; then
7346 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7347 # chokes on -Wl,-G. The following line is correct:
7350 if test "$aix_use_runtimelinking" = yes; then
7351 shared_flag
='${wl}-G'
7353 shared_flag
='${wl}-bM:SRE'
7358 # It seems that -bexpall does not export symbols beginning with
7359 # underscore (_), so it is better to generate a list of symbols to export.
7360 always_export_symbols
=yes
7361 if test "$aix_use_runtimelinking" = yes; then
7362 # Warning - without using the other runtime loading flags (-brtl),
7363 # -berok will link without error, but may produce a broken library.
7364 allow_undefined_flag
='-berok'
7365 # Determine the default libpath from the value encoded in an empty executable.
7366 cat >conftest.
$ac_ext <<_ACEOF
7369 cat confdefs.h
>>conftest.
$ac_ext
7370 cat >>conftest.
$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7381 rm -f conftest.
$ac_objext conftest
$ac_exeext
7382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7383 (eval $ac_link) 2>conftest.er1
7385 grep -v '^ *+' conftest.er1
>conftest.err
7387 cat conftest.err
>&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } &&
7390 { ac_try
='test -z "$ac_c_werror_flag"
7391 || test ! -s conftest.err'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; } &&
7397 { ac_try
='test -s conftest$ac_exeext'
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); }; }; then
7404 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7406 # Check for a 64-bit object if we didn't find anything.
7407 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; }
7410 echo "$as_me: failed program was:" >&5
7411 sed 's/^/| /' conftest.
$ac_ext >&5
7414 rm -f conftest.err conftest.
$ac_objext \
7415 conftest
$ac_exeext conftest.
$ac_ext
7416 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7418 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7419 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7421 if test "$host_cpu" = ia64; then
7422 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7423 allow_undefined_flag="-z nodefs"
7424 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7426 # Determine the default libpath from the value encoded in an empty executable.
7427 cat >conftest.$ac_ext <<_ACEOF
7430 cat confdefs.h >>conftest.$ac_ext
7431 cat >>conftest.$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7442 rm -f conftest.$ac_objext conftest$ac_exeext
7443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7444 (eval $ac_link) 2>conftest.er1
7446 grep -v '^ *+' conftest.er1 >conftest.err
7448 cat conftest.err >&5
7449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7450 (exit $ac_status); } &&
7451 { ac_try='test -z "$ac_c_werror_flag"
7452 || test ! -s conftest.err'
7453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7457 (exit $ac_status); }; } &&
7458 { ac_try='test -s conftest$ac_exeext'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7463 (exit $ac_status); }; }; then
7465 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7467 # Check for a 64-bit object if we didn't find anything.
7468 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; }
7471 echo "$as_me: failed program was
:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7475 rm -f conftest.err conftest.$ac_objext \
7476 conftest$ac_exeext conftest.$ac_ext
7477 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7479 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7480 # Warning - without using the other run time loading flags,
7481 # -berok will link without error, but may produce a broken library.
7482 no_undefined_flag=' ${wl}-bernotok'
7483 allow_undefined_flag=' ${wl}-berok'
7484 # -bexpall does not export symbols beginning with underscore (_)
7485 always_export_symbols=yes
7486 # Exported symbols can be pulled into shared objects from archives
7487 whole_archive_flag_spec=' '
7488 archive_cmds_need_lc=yes
7489 # This is similar to how AIX traditionally builds it's shared libraries.
7490 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7496 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)'
7497 hardcode_libdir_flag_spec
='-L$libdir'
7498 hardcode_minus_L
=yes
7499 # see comment about different semantics on the GNU ld section
7504 export_dynamic_flag_spec
=-rdynamic
7507 cygwin
* | mingw
* | pw32
*)
7508 # When not using gcc, we currently assume that we are using
7509 # Microsoft Visual C++.
7510 # hardcode_libdir_flag_spec is actually meaningless, as there is
7511 # no search path for DLLs.
7512 hardcode_libdir_flag_spec
=' '
7513 allow_undefined_flag
=unsupported
7514 # Tell ltmain to make .lib files, not .a files.
7516 # Tell ltmain to make .dll files, not .so files.
7518 # FIXME: Setting linknames here is a bad hack.
7519 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7520 # The linker will automatically build a .lib file if we build a DLL.
7521 old_archive_From_new_cmds
='true'
7522 # FIXME: Should let the user specify the lib program.
7523 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7524 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7525 enable_shared_with_static_runtimes
=yes
7528 darwin
* | rhapsody
*)
7530 rhapsody
* | darwin1.
[012])
7531 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7534 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7535 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7537 case ${MACOSX_DEPLOYMENT_TARGET} in
7539 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7542 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7548 archive_cmds_need_lc
=no
7550 hardcode_automatic
=yes
7551 hardcode_shlibpath_var
=unsupported
7552 whole_archive_flag_spec
=''
7553 link_all_deplibs
=yes
7554 if test "$GCC" = yes ; then
7555 output_verbose_link_cmd
='echo'
7556 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7557 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7558 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7559 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}'
7560 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}'
7562 case "$cc_basename" in
7564 output_verbose_link_cmd
='echo'
7565 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7566 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7567 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7568 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}'
7569 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}'
7579 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7580 hardcode_libdir_flag_spec
='-L$libdir'
7581 hardcode_shlibpath_var
=no
7588 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7589 # support. Future versions do this automatically, but an explicit c++rt0.o
7590 # does not break anything, and helps significantly (at the cost of a little
7593 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7594 hardcode_libdir_flag_spec
='-R$libdir'
7596 hardcode_shlibpath_var
=no
7599 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7601 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7603 hardcode_minus_L
=yes
7604 hardcode_shlibpath_var
=no
7607 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7608 freebsd
* | kfreebsd
*-gnu)
7609 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7610 hardcode_libdir_flag_spec
='-R$libdir'
7612 hardcode_shlibpath_var
=no
7616 if test "$GCC" = yes; then
7617 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'
7619 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'
7621 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7622 hardcode_libdir_separator
=:
7625 # hardcode_minus_L: Not really in the search PATH,
7626 # but as the default location of the library.
7627 hardcode_minus_L
=yes
7628 export_dynamic_flag_spec
='${wl}-E'
7632 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7635 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7638 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7644 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7647 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7651 if test "$with_gnu_ld" = no
; then
7654 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7655 hardcode_libdir_flag_spec_ld
='+b $libdir'
7656 hardcode_libdir_separator
=:
7658 hardcode_shlibpath_var
=no
7661 hardcode_libdir_flag_spec
='-L$libdir'
7663 hardcode_shlibpath_var
=no
7665 # hardcode_minus_L: Not really in the search PATH,
7666 # but as the default location of the library.
7667 hardcode_minus_L
=yes
7670 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7671 hardcode_libdir_separator
=:
7673 export_dynamic_flag_spec
='${wl}-E'
7675 # hardcode_minus_L: Not really in the search PATH,
7676 # but as the default location of the library.
7677 hardcode_minus_L
=yes
7683 irix5
* | irix6
* | nonstopux
*)
7684 if test "$GCC" = yes; then
7685 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'
7687 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'
7688 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7691 hardcode_libdir_separator
=:
7692 link_all_deplibs
=yes
7696 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7697 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7699 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7701 hardcode_libdir_flag_spec
='-R$libdir'
7703 hardcode_shlibpath_var
=no
7707 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7709 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7710 hardcode_libdir_separator
=:
7711 hardcode_shlibpath_var
=no
7716 hardcode_shlibpath_var
=no
7717 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7718 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7719 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7720 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7721 export_dynamic_flag_spec
='${wl}-E'
7724 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7725 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7726 hardcode_libdir_flag_spec
='-R$libdir'
7729 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7730 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7737 hardcode_libdir_flag_spec
='-L$libdir'
7738 hardcode_minus_L
=yes
7739 allow_undefined_flag
=unsupported
7740 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'
7741 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7745 if test "$GCC" = yes; then
7746 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7747 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'
7749 allow_undefined_flag
=' -expect_unresolved \*'
7750 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'
7752 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7753 hardcode_libdir_separator
=:
7756 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7757 if test "$GCC" = yes; then
7758 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7759 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'
7760 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7762 allow_undefined_flag
=' -expect_unresolved \*'
7763 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'
7764 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7765 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7767 # Both c and cxx compiler support -rpath directly
7768 hardcode_libdir_flag_spec
='-rpath $libdir'
7770 hardcode_libdir_separator
=:
7774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7775 hardcode_shlibpath_var
=no
7776 export_dynamic_flag_spec
='${wl}-Bexport'
7777 runpath_var
=LD_RUN_PATH
7778 hardcode_runpath_var
=yes
7782 no_undefined_flag
=' -z text'
7783 if test "$GCC" = yes; then
7784 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7785 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7786 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7788 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7789 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7790 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7792 hardcode_libdir_flag_spec
='-R$libdir'
7793 hardcode_shlibpath_var
=no
7795 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7796 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7797 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7799 link_all_deplibs
=yes
7803 if test "x$host_vendor" = xsequent
; then
7804 # Use $CC to link under sequent, because it throws in some extra .o
7805 # files that make .init and .fini sections work.
7806 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7808 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7810 hardcode_libdir_flag_spec
='-L$libdir'
7812 hardcode_minus_L
=yes
7813 hardcode_shlibpath_var
=no
7817 case $host_vendor in
7819 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7820 hardcode_direct
=yes # is this really true???
7823 ## LD is ld it makes a PLAMLIB
7824 ## CC just makes a GrossModule.
7825 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7826 reload_cmds
='$CC -r -o $output$reload_objs'
7830 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7831 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7834 runpath_var
='LD_RUN_PATH'
7835 hardcode_shlibpath_var
=no
7839 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7840 hardcode_shlibpath_var
=no
7841 export_dynamic_flag_spec
='-Bexport'
7845 if test -d /usr
/nec
; then
7846 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7847 hardcode_shlibpath_var
=no
7848 runpath_var
=LD_RUN_PATH
7849 hardcode_runpath_var
=yes
7855 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7858 hardcode_shlibpath_var
=no
7859 hardcode_runpath_var
=yes
7860 runpath_var
=LD_RUN_PATH
7863 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7864 no_undefined_flag
='${wl}-z ${wl}text'
7865 if test "$GCC" = yes; then
7866 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7868 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7870 runpath_var
='LD_RUN_PATH'
7871 hardcode_shlibpath_var
=no
7875 no_undefined_flag
=' -z text'
7876 # $CC -shared without GNU ld will not create a library from C++
7877 # object files and a static libstdc++, better avoid it by now
7878 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7879 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7880 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7881 hardcode_libdir_flag_spec
=
7882 hardcode_shlibpath_var
=no
7883 runpath_var
='LD_RUN_PATH'
7887 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7888 hardcode_libdir_flag_spec
='-L$libdir'
7889 hardcode_shlibpath_var
=no
7898 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7899 echo "${ECHO_T}$ld_shlibs" >&6
7900 test "$ld_shlibs" = no
&& can_build_shared
=no
7902 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7903 if test "$GCC" = yes; then
7904 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7908 # Do we need to explicitly link libc?
7910 case "x$archive_cmds_need_lc" in
7912 # Assume -lc should be added
7913 archive_cmds_need_lc
=yes
7915 if test "$enable_shared" = yes && test "$GCC" = yes; then
7916 case $archive_cmds in
7918 # FIXME: we may have to deal with multi-command sequences.
7921 # Test whether the compiler implicitly links with -lc since on some
7922 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7923 # to ld, don't add -lc before -lgcc.
7924 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7925 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7927 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7930 (eval $ac_compile) 2>&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } 2>conftest.err
; then
7936 libobjs
=conftest.
$ac_objext
7938 wl
=$lt_prog_compiler_wl
7944 lt_save_allow_undefined_flag
=$allow_undefined_flag
7945 allow_undefined_flag
=
7946 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7947 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }
7952 archive_cmds_need_lc
=no
7954 archive_cmds_need_lc
=yes
7956 allow_undefined_flag
=$lt_save_allow_undefined_flag
7958 cat conftest.err
1>&5
7961 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7962 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7969 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7970 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7972 libname_spec
='lib$name'
7980 shlibpath_overrides_runpath
=unknown
7982 dynamic_linker
="$host_os ld.so"
7983 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7984 if test "$GCC" = yes; then
7985 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7986 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7987 # if the path contains ";" then we assume it to be the separator
7988 # otherwise default to the standard path separator (i.e. ":") - it is
7989 # assumed that no part of a normal pathname contains ";" but that should
7990 # okay in the real world where ";" in dirpaths is itself problematic.
7991 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7993 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7996 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7998 need_lib_prefix
=unknown
7999 hardcode_into_libs
=no
8001 # when you set need_version to no, make sure it does not cause -set_version
8002 # flags to be left without arguments
8003 need_version
=unknown
8008 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8009 shlibpath_var
=LIBPATH
8011 # AIX 3 has no versioning support, so we append a major version to the name.
8012 soname_spec
='${libname}${release}${shared_ext}$major'
8019 hardcode_into_libs
=yes
8020 if test "$host_cpu" = ia64
; then
8021 # AIX 5 supports IA64
8022 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8023 shlibpath_var
=LD_LIBRARY_PATH
8025 # With GCC up to 2.95.x, collect2 would create an import file
8026 # for dependence libraries. The import file would start with
8027 # the line `#! .'. This would cause the generated library to
8028 # depend on `.', always an invalid library. This was fixed in
8029 # development snapshots of GCC prior to 3.0.
8031 aix4 | aix4.
[01] | aix4.
[01].
*)
8032 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8034 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8041 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8042 # soname into executable. Probably we can add versioning support to
8043 # collect2, so additional links can be useful in future.
8044 if test "$aix_use_runtimelinking" = yes; then
8045 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8046 # instead of lib<name>.a to let people know that these are not
8047 # typical AIX shared libraries.
8048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8050 # We preserve .a as extension for shared libraries through AIX4.2
8051 # and later when we are not doing run time linking.
8052 library_names_spec
='${libname}${release}.a $libname.a'
8053 soname_spec
='${libname}${release}${shared_ext}$major'
8055 shlibpath_var
=LIBPATH
8060 library_names_spec
='$libname.ixlibrary $libname.a'
8061 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8062 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'
8066 library_names_spec
='${libname}${shared_ext}'
8067 dynamic_linker
="$host_os ld.so"
8068 shlibpath_var
=LIBRARY_PATH
8074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8075 soname_spec
='${libname}${release}${shared_ext}$major'
8076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8077 shlibpath_var
=LD_LIBRARY_PATH
8078 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8079 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8080 # the default ld.so.conf also contains /usr/contrib/lib and
8081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8082 # libtool to hard-code these into programs
8085 cygwin
* | mingw
* | pw32
*)
8086 version_type
=windows
8091 case $GCC,$host_os in
8092 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8093 library_names_spec
='$libname.dll.a'
8094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8095 postinstall_cmds
='base_file=`basename \${file}`~
8096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8097 dldir=$destdir/`dirname \$dlpath`~
8098 test -d \$dldir || mkdir -p \$dldir~
8099 $install_prog $dir/$dlname \$dldir/$dlname'
8100 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8101 dlpath=$dir/\$dldll~
8103 shlibpath_overrides_runpath
=yes
8107 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8108 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8109 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8112 # MinGW DLLs use traditional 'lib' prefix
8113 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8114 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8115 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8116 # It is most probably a Windows format PATH printed by
8117 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8118 # path with ; separators, and with drive letters. We can handle the
8119 # drive letters (cygwin fileutils understands them), so leave them,
8120 # especially as we might pass files found there to a mingw objdump,
8121 # which wouldn't understand a cygwinified path. Ahh.
8122 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8124 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8128 # pw32 DLLs use 'pw' prefix rather than 'lib'
8129 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8135 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8138 dynamic_linker
='Win32 ld.exe'
8139 # FIXME: first we should search . and the directory the executable is in
8143 darwin
* | rhapsody
*)
8144 dynamic_linker
="$host_os dyld"
8148 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8149 soname_spec
='${libname}${release}${major}$shared_ext'
8150 shlibpath_overrides_runpath
=yes
8151 shlibpath_var
=DYLD_LIBRARY_PATH
8152 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
8153 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8154 if test "$GCC" = yes; then
8155 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"`
8157 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8159 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8167 soname_spec
='${libname}${release}${shared_ext}$major'
8168 shlibpath_var
=LD_LIBRARY_PATH
8179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8180 soname_spec
='${libname}${release}${shared_ext}$major'
8181 shlibpath_var
=LD_LIBRARY_PATH
8182 shlibpath_overrides_runpath
=no
8183 hardcode_into_libs
=yes
8184 dynamic_linker
='GNU ld.so'
8188 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8189 version_type
=freebsd-
$objformat
8190 case $version_type in
8192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8197 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8201 shlibpath_var
=LD_LIBRARY_PATH
8204 shlibpath_overrides_runpath
=yes
8206 freebsd3.01
* | freebsdelf3.01
*)
8207 shlibpath_overrides_runpath
=yes
8208 hardcode_into_libs
=yes
8211 shlibpath_overrides_runpath
=no
8212 hardcode_into_libs
=yes
8221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8222 soname_spec
='${libname}${release}${shared_ext}$major'
8223 shlibpath_var
=LD_LIBRARY_PATH
8224 hardcode_into_libs
=yes
8227 hpux9
* | hpux10
* | hpux11
*)
8228 # Give a soname corresponding to the major version so that dld.sl refuses to
8229 # link against other versions.
8236 hardcode_into_libs
=yes
8237 dynamic_linker
="$host_os dld.so"
8238 shlibpath_var
=LD_LIBRARY_PATH
8239 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8241 soname_spec
='${libname}${release}${shared_ext}$major'
8242 if test "X$HPUX_IA64_MODE" = X32
; then
8243 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8245 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8247 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8251 hardcode_into_libs
=yes
8252 dynamic_linker
="$host_os dld.sl"
8253 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8254 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8256 soname_spec
='${libname}${release}${shared_ext}$major'
8257 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8258 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8262 dynamic_linker
="$host_os dld.sl"
8263 shlibpath_var
=SHLIB_PATH
8264 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8266 soname_spec
='${libname}${release}${shared_ext}$major'
8269 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8270 postinstall_cmds
='chmod 555 $lib'
8273 irix5
* | irix6
* | nonstopux
*)
8275 nonstopux
*) version_type
=nonstopux
;;
8277 if test "$lt_cv_prog_gnu_ld" = yes; then
8285 soname_spec
='${libname}${release}${shared_ext}$major'
8286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8288 irix5
* | nonstopux
*)
8292 case $LD in # libtool.m4 will add one of these switches to LD
8293 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8294 libsuff
= shlibsuff
= libmagic
=32-bit;;
8295 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8296 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8297 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8298 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8299 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8303 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8304 shlibpath_overrides_runpath
=no
8305 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8306 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8307 hardcode_into_libs
=yes
8310 # No shared lib support for Linux oldld, aout, or coff.
8311 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8315 # This must be Linux ELF.
8320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8321 soname_spec
='${libname}${release}${shared_ext}$major'
8322 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8323 shlibpath_var
=LD_LIBRARY_PATH
8324 shlibpath_overrides_runpath
=no
8325 # This implies no fast_install, which is unacceptable.
8326 # Some rework will be needed to allow for fast_install
8327 # before this can be enabled.
8328 hardcode_into_libs
=yes
8330 # Append ld.so.conf contents to the search path
8331 if test -f /etc
/ld.so.conf
; then
8332 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8333 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8336 # We used to test for /lib/ld.so.1 and disable shared libraries on
8337 # powerpc, because MkLinux only supported shared libraries with the
8338 # GNU dynamic linker. Since this was broken with cross compilers,
8339 # most powerpc-linux boxes support dynamic linking these days and
8340 # people can always --disable-shared, the test was removed, and we
8341 # assume the GNU/Linux dynamic linker is in use.
8342 dynamic_linker
='GNU/Linux ld.so'
8349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8350 soname_spec
='${libname}${release}${shared_ext}$major'
8351 shlibpath_var
=LD_LIBRARY_PATH
8352 shlibpath_overrides_runpath
=no
8353 hardcode_into_libs
=yes
8354 dynamic_linker
='GNU ld.so'
8361 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8363 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8364 dynamic_linker
='NetBSD (a.out) ld.so'
8366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8367 soname_spec
='${libname}${release}${shared_ext}$major'
8368 dynamic_linker
='NetBSD ld.elf_so'
8370 shlibpath_var
=LD_LIBRARY_PATH
8371 shlibpath_overrides_runpath
=yes
8372 hardcode_into_libs
=yes
8377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8378 shlibpath_var
=LD_LIBRARY_PATH
8379 shlibpath_overrides_runpath
=yes
8386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8387 soname_spec
='${libname}${release}${shared_ext}$major'
8388 shlibpath_var
=LD_LIBRARY_PATH
8389 shlibpath_overrides_runpath
=yes
8396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8397 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8398 shlibpath_var
=LD_LIBRARY_PATH
8399 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8401 openbsd2.
[89] | openbsd2.
[89].
*)
8402 shlibpath_overrides_runpath
=no
8405 shlibpath_overrides_runpath
=yes
8409 shlibpath_overrides_runpath
=yes
8414 libname_spec
='$name'
8417 library_names_spec
='$libname${shared_ext} $libname.a'
8418 dynamic_linker
='OS/2 ld.exe'
8419 shlibpath_var
=LIBPATH
8422 osf3
* | osf4
* | osf5
*)
8426 soname_spec
='${libname}${release}${shared_ext}$major'
8427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8428 shlibpath_var
=LD_LIBRARY_PATH
8429 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8430 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8435 soname_spec
='${libname}${release}${shared_ext}$major'
8436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8437 shlibpath_var
=LD_LIBRARY_PATH
8444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8445 soname_spec
='${libname}${release}${shared_ext}$major'
8446 shlibpath_var
=LD_LIBRARY_PATH
8447 shlibpath_overrides_runpath
=yes
8448 hardcode_into_libs
=yes
8449 # ldd complains unless libraries are executable
8450 postinstall_cmds
='chmod +x $lib'
8455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8456 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8457 shlibpath_var
=LD_LIBRARY_PATH
8458 shlibpath_overrides_runpath
=yes
8459 if test "$with_gnu_ld" = yes; then
8465 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8468 soname_spec
='${libname}${release}${shared_ext}$major'
8469 shlibpath_var
=LD_LIBRARY_PATH
8470 case $host_vendor in
8472 shlibpath_overrides_runpath
=no
8474 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8475 runpath_var
=LD_RUN_PATH
8483 shlibpath_overrides_runpath
=no
8484 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8490 if test -d /usr
/nec
;then
8492 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8493 soname_spec
='$libname${shared_ext}.$major'
8494 shlibpath_var
=LD_LIBRARY_PATH
8500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8501 soname_spec
='${libname}${release}${shared_ext}$major'
8502 shlibpath_var
=LD_LIBRARY_PATH
8509 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8510 echo "${ECHO_T}$dynamic_linker" >&6
8511 test "$dynamic_linker" = no
&& can_build_shared
=no
8513 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8514 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8516 if test -n "$hardcode_libdir_flag_spec" || \
8517 test -n "$runpath_var" || \
8518 test "X$hardcode_automatic" = "Xyes" ; then
8520 # We can hardcode non-existant directories.
8521 if test "$hardcode_direct" != no
&&
8522 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8523 # have to relink, otherwise we might link with an installed library
8524 # when we should be linking with a yet-to-be-installed one
8525 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8526 test "$hardcode_minus_L" != no
; then
8527 # Linking always hardcodes the temporary library directory.
8528 hardcode_action
=relink
8530 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8531 hardcode_action
=immediate
8534 # We cannot hardcode anything, or else we can only hardcode existing
8536 hardcode_action
=unsupported
8538 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8539 echo "${ECHO_T}$hardcode_action" >&6
8541 if test "$hardcode_action" = relink
; then
8542 # Fast installation is not supported
8543 enable_fast_install
=no
8544 elif test "$shlibpath_overrides_runpath" = yes ||
8545 test "$enable_shared" = no
; then
8546 # Fast installation is not necessary
8547 enable_fast_install
=needless
8552 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8553 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8554 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8555 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8556 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 # FIXME - insert some real tests, host_os isn't really good enough
8563 if test -n "$STRIP" ; then
8564 striplib
="$STRIP -x"
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8573 echo "$as_me:$LINENO: result: no" >&5
8574 echo "${ECHO_T}no" >&6
8579 if test "x$enable_dlopen" != xyes
; then
8580 enable_dlopen
=unknown
8581 enable_dlopen_self
=unknown
8582 enable_dlopen_self_static
=unknown
8589 lt_cv_dlopen
="load_add_on"
8591 lt_cv_dlopen_self
=yes
8595 lt_cv_dlopen
="LoadLibrary"
8600 lt_cv_dlopen
="dlopen"
8605 # if libdl is installed we need to link against it
8606 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8607 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8608 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 ac_check_lib_save_LIBS
=$LIBS
8613 cat >conftest.
$ac_ext <<_ACEOF
8616 cat confdefs.h
>>conftest.
$ac_ext
8617 cat >>conftest.
$ac_ext <<_ACEOF
8618 /* end confdefs.h. */
8620 /* Override any gcc2 internal prototype to avoid an error. */
8624 /* We use char because int might match the return type of a gcc2
8625 builtin and then its argument prototype would still apply. */
8635 rm -f conftest.
$ac_objext conftest
$ac_exeext
8636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8637 (eval $ac_link) 2>conftest.er1
8639 grep -v '^ *+' conftest.er1
>conftest.err
8641 cat conftest.err
>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } &&
8644 { ac_try
='test -z "$ac_c_werror_flag"
8645 || test ! -s conftest.err'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; } &&
8651 { ac_try
='test -s conftest$ac_exeext'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; }; then
8657 ac_cv_lib_dl_dlopen
=yes
8659 echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.
$ac_ext >&5
8662 ac_cv_lib_dl_dlopen
=no
8664 rm -f conftest.err conftest.
$ac_objext \
8665 conftest
$ac_exeext conftest.
$ac_ext
8666 LIBS
=$ac_check_lib_save_LIBS
8668 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8669 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8670 if test $ac_cv_lib_dl_dlopen = yes; then
8671 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8676 lt_cv_dlopen_self
=yes
8683 echo "$as_me:$LINENO: checking for shl_load" >&5
8684 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8685 if test "${ac_cv_func_shl_load+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 cat >conftest.
$ac_ext <<_ACEOF
8691 cat confdefs.h
>>conftest.
$ac_ext
8692 cat >>conftest.
$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8694 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8696 #define shl_load innocuous_shl_load
8698 /* System header to define __stub macros and hopefully few prototypes,
8699 which can conflict with char shl_load (); below.
8700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8701 <limits.h> exists even on freestanding compilers. */
8704 # include <limits.h>
8706 # include <assert.h>
8711 /* Override any gcc2 internal prototype to avoid an error. */
8716 /* We use char because int might match the return type of a gcc2
8717 builtin and then its argument prototype would still apply. */
8719 /* The GNU C library defines this for functions which it implements
8720 to always fail with ENOSYS. Some functions are actually named
8721 something starting with __ and the normal name is an alias. */
8722 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8725 char (*f) () = shl_load;
8734 return f != shl_load;
8739 rm -f conftest.
$ac_objext conftest
$ac_exeext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8741 (eval $ac_link) 2>conftest.er1
8743 grep -v '^ *+' conftest.er1
>conftest.err
8745 cat conftest.err
>&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } &&
8748 { ac_try
='test -z "$ac_c_werror_flag"
8749 || test ! -s conftest.err'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; } &&
8755 { ac_try
='test -s conftest$ac_exeext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 ac_cv_func_shl_load
=yes
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.
$ac_ext >&5
8766 ac_cv_func_shl_load
=no
8768 rm -f conftest.err conftest.
$ac_objext \
8769 conftest
$ac_exeext conftest.
$ac_ext
8771 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8772 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8773 if test $ac_cv_func_shl_load = yes; then
8774 lt_cv_dlopen
="shl_load"
8776 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8777 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8778 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8781 ac_check_lib_save_LIBS
=$LIBS
8783 cat >conftest.
$ac_ext <<_ACEOF
8786 cat confdefs.h
>>conftest.
$ac_ext
8787 cat >>conftest.
$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8790 /* Override any gcc2 internal prototype to avoid an error. */
8794 /* We use char because int might match the return type of a gcc2
8795 builtin and then its argument prototype would still apply. */
8805 rm -f conftest.
$ac_objext conftest
$ac_exeext
8806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8807 (eval $ac_link) 2>conftest.er1
8809 grep -v '^ *+' conftest.er1
>conftest.err
8811 cat conftest.err
>&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); } &&
8814 { ac_try
='test -z "$ac_c_werror_flag"
8815 || test ! -s conftest.err'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; } &&
8821 { ac_try
='test -s conftest$ac_exeext'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 ac_cv_lib_dld_shl_load
=yes
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.
$ac_ext >&5
8832 ac_cv_lib_dld_shl_load
=no
8834 rm -f conftest.err conftest.
$ac_objext \
8835 conftest
$ac_exeext conftest.
$ac_ext
8836 LIBS
=$ac_check_lib_save_LIBS
8838 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8839 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8840 if test $ac_cv_lib_dld_shl_load = yes; then
8841 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8843 echo "$as_me:$LINENO: checking for dlopen" >&5
8844 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8845 if test "${ac_cv_func_dlopen+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 cat >conftest.
$ac_ext <<_ACEOF
8851 cat confdefs.h
>>conftest.
$ac_ext
8852 cat >>conftest.
$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8854 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8856 #define dlopen innocuous_dlopen
8858 /* System header to define __stub macros and hopefully few prototypes,
8859 which can conflict with char dlopen (); below.
8860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8861 <limits.h> exists even on freestanding compilers. */
8864 # include <limits.h>
8866 # include <assert.h>
8871 /* Override any gcc2 internal prototype to avoid an error. */
8876 /* We use char because int might match the return type of a gcc2
8877 builtin and then its argument prototype would still apply. */
8879 /* The GNU C library defines this for functions which it implements
8880 to always fail with ENOSYS. Some functions are actually named
8881 something starting with __ and the normal name is an alias. */
8882 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8885 char (*f) () = dlopen;
8899 rm -f conftest.
$ac_objext conftest
$ac_exeext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8903 grep -v '^ *+' conftest.er1
>conftest.err
8905 cat conftest.err
>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try
='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try
='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8921 ac_cv_func_dlopen
=yes
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.
$ac_ext >&5
8926 ac_cv_func_dlopen
=no
8928 rm -f conftest.err conftest.
$ac_objext \
8929 conftest
$ac_exeext conftest.
$ac_ext
8931 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8932 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8933 if test $ac_cv_func_dlopen = yes; then
8934 lt_cv_dlopen
="dlopen"
8936 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8937 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8938 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 ac_check_lib_save_LIBS
=$LIBS
8943 cat >conftest.
$ac_ext <<_ACEOF
8946 cat confdefs.h
>>conftest.
$ac_ext
8947 cat >>conftest.
$ac_ext <<_ACEOF
8948 /* end confdefs.h. */
8950 /* Override any gcc2 internal prototype to avoid an error. */
8954 /* We use char because int might match the return type of a gcc2
8955 builtin and then its argument prototype would still apply. */
8965 rm -f conftest.
$ac_objext conftest
$ac_exeext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8967 (eval $ac_link) 2>conftest.er1
8969 grep -v '^ *+' conftest.er1
>conftest.err
8971 cat conftest.err
>&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try
='test -z "$ac_c_werror_flag"
8975 || test ! -s conftest.err'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; } &&
8981 { ac_try
='test -s conftest$ac_exeext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8987 ac_cv_lib_dl_dlopen
=yes
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.
$ac_ext >&5
8992 ac_cv_lib_dl_dlopen
=no
8994 rm -f conftest.err conftest.
$ac_objext \
8995 conftest
$ac_exeext conftest.
$ac_ext
8996 LIBS
=$ac_check_lib_save_LIBS
8998 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8999 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9000 if test $ac_cv_lib_dl_dlopen = yes; then
9001 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9003 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9004 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9005 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 ac_check_lib_save_LIBS
=$LIBS
9010 cat >conftest.
$ac_ext <<_ACEOF
9013 cat confdefs.h
>>conftest.
$ac_ext
9014 cat >>conftest.
$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9017 /* Override any gcc2 internal prototype to avoid an error. */
9021 /* We use char because int might match the return type of a gcc2
9022 builtin and then its argument prototype would still apply. */
9032 rm -f conftest.
$ac_objext conftest
$ac_exeext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9034 (eval $ac_link) 2>conftest.er1
9036 grep -v '^ *+' conftest.er1
>conftest.err
9038 cat conftest.err
>&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try
='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try
='test -s conftest$ac_exeext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 ac_cv_lib_svld_dlopen
=yes
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.
$ac_ext >&5
9059 ac_cv_lib_svld_dlopen
=no
9061 rm -f conftest.err conftest.
$ac_objext \
9062 conftest
$ac_exeext conftest.
$ac_ext
9063 LIBS
=$ac_check_lib_save_LIBS
9065 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9066 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9067 if test $ac_cv_lib_svld_dlopen = yes; then
9068 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9070 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9071 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9072 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 ac_check_lib_save_LIBS
=$LIBS
9077 cat >conftest.
$ac_ext <<_ACEOF
9080 cat confdefs.h
>>conftest.
$ac_ext
9081 cat >>conftest.
$ac_ext <<_ACEOF
9082 /* end confdefs.h. */
9084 /* Override any gcc2 internal prototype to avoid an error. */
9088 /* We use char because int might match the return type of a gcc2
9089 builtin and then its argument prototype would still apply. */
9099 rm -f conftest.
$ac_objext conftest
$ac_exeext
9100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9101 (eval $ac_link) 2>conftest.er1
9103 grep -v '^ *+' conftest.er1
>conftest.err
9105 cat conftest.err
>&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } &&
9108 { ac_try
='test -z "$ac_c_werror_flag"
9109 || test ! -s conftest.err'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; } &&
9115 { ac_try
='test -s conftest$ac_exeext'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; }; then
9121 ac_cv_lib_dld_dld_link
=yes
9123 echo "$as_me: failed program was:" >&5
9124 sed 's/^/| /' conftest.
$ac_ext >&5
9126 ac_cv_lib_dld_dld_link
=no
9128 rm -f conftest.err conftest.
$ac_objext \
9129 conftest
$ac_exeext conftest.
$ac_ext
9130 LIBS
=$ac_check_lib_save_LIBS
9132 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9133 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9134 if test $ac_cv_lib_dld_dld_link = yes; then
9135 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9156 if test "x$lt_cv_dlopen" != xno
; then
9162 case $lt_cv_dlopen in
9164 save_CPPFLAGS
="$CPPFLAGS"
9165 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9167 save_LDFLAGS
="$LDFLAGS"
9168 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9171 LIBS
="$lt_cv_dlopen_libs $LIBS"
9173 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9174 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9175 if test "${lt_cv_dlopen_self+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 if test "$cross_compiling" = yes; then :
9179 lt_cv_dlopen_self
=cross
9181 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9182 lt_status
=$lt_dlunknown
9183 cat > conftest.
$ac_ext <<EOF
9184 #line 9184 "configure"
9185 #include "confdefs.h"
9194 # define LT_DLGLOBAL RTLD_GLOBAL
9197 # define LT_DLGLOBAL DL_GLOBAL
9199 # define LT_DLGLOBAL 0
9203 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9204 find out it does not work in some platform. */
9205 #ifndef LT_DLLAZY_OR_NOW
9207 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9210 # define LT_DLLAZY_OR_NOW DL_LAZY
9213 # define LT_DLLAZY_OR_NOW RTLD_NOW
9216 # define LT_DLLAZY_OR_NOW DL_NOW
9218 # define LT_DLLAZY_OR_NOW 0
9226 extern "C" void exit (int);
9229 void fnord() { int i=42;}
9232 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9233 int status = $lt_dlunknown;
9237 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9238 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9239 /* dlclose (self); */
9245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9246 (eval $ac_link) 2>&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9250 (.
/conftest
; exit; ) 2>/dev
/null
9253 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9254 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9255 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9258 # compilation failed
9259 lt_cv_dlopen_self
=no
9266 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9267 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9269 if test "x$lt_cv_dlopen_self" = xyes
; then
9270 LDFLAGS
="$LDFLAGS $link_static_flag"
9271 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9272 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9273 if test "${lt_cv_dlopen_self_static+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 if test "$cross_compiling" = yes; then :
9277 lt_cv_dlopen_self_static
=cross
9279 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9280 lt_status
=$lt_dlunknown
9281 cat > conftest.
$ac_ext <<EOF
9282 #line 9282 "configure"
9283 #include "confdefs.h"
9292 # define LT_DLGLOBAL RTLD_GLOBAL
9295 # define LT_DLGLOBAL DL_GLOBAL
9297 # define LT_DLGLOBAL 0
9301 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9302 find out it does not work in some platform. */
9303 #ifndef LT_DLLAZY_OR_NOW
9305 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9308 # define LT_DLLAZY_OR_NOW DL_LAZY
9311 # define LT_DLLAZY_OR_NOW RTLD_NOW
9314 # define LT_DLLAZY_OR_NOW DL_NOW
9316 # define LT_DLLAZY_OR_NOW 0
9324 extern "C" void exit (int);
9327 void fnord() { int i=42;}
9330 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9331 int status = $lt_dlunknown;
9335 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9336 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9337 /* dlclose (self); */
9343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9344 (eval $ac_link) 2>&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9348 (.
/conftest
; exit; ) 2>/dev
/null
9351 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9352 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9353 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9356 # compilation failed
9357 lt_cv_dlopen_self_static
=no
9364 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9365 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9368 CPPFLAGS
="$save_CPPFLAGS"
9369 LDFLAGS
="$save_LDFLAGS"
9374 case $lt_cv_dlopen_self in
9375 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9376 *) enable_dlopen_self
=unknown
;;
9379 case $lt_cv_dlopen_self_static in
9380 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9381 *) enable_dlopen_self_static
=unknown
;;
9386 # Report which librarie types wil actually be built
9387 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9388 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9389 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9390 echo "${ECHO_T}$can_build_shared" >&6
9392 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9393 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9394 test "$can_build_shared" = "no" && enable_shared
=no
9396 # On AIX, shared libraries and static libraries use the same namespace, and
9397 # are all built from PIC.
9400 test "$enable_shared" = yes && enable_static
=no
9401 if test -n "$RANLIB"; then
9402 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9403 postinstall_cmds
='$RANLIB $lib'
9408 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9409 test "$enable_shared" = yes && enable_static
=no
9413 echo "$as_me:$LINENO: result: $enable_shared" >&5
9414 echo "${ECHO_T}$enable_shared" >&6
9416 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9417 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9418 # Make sure either enable_shared or enable_static is yes.
9419 test "$enable_shared" = yes || enable_static
=yes
9420 echo "$as_me:$LINENO: result: $enable_static" >&5
9421 echo "${ECHO_T}$enable_static" >&6
9423 # The else clause should only fire when bootstrapping the
9424 # libtool distribution, otherwise you forgot to ship ltmain.sh
9425 # with your package, and you will get complaints that there are
9426 # no rules to generate ltmain.sh.
9427 if test -f "$ltmain"; then
9428 # See if we are running on zsh, and set the options which allow our commands through
9429 # without removal of \ escapes.
9430 if test -n "${ZSH_VERSION+set}" ; then
9431 setopt NO_GLOB_SUBST
9433 # Now quote all the things that may contain metacharacters while being
9434 # careful not to overquote the AC_SUBSTed values. We take copies of the
9435 # variables and quote the copies for generation of the libtool script.
9436 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9438 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9439 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9440 deplibs_check_method reload_flag reload_cmds need_locks \
9441 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9442 lt_cv_sys_global_symbol_to_c_name_address \
9443 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9444 old_postinstall_cmds old_postuninstall_cmds \
9448 lt_prog_compiler_wl \
9449 lt_prog_compiler_pic \
9450 lt_prog_compiler_static \
9451 lt_prog_compiler_no_builtin_flag \
9452 export_dynamic_flag_spec \
9453 thread_safe_flag_spec \
9454 whole_archive_flag_spec \
9455 enable_shared_with_static_runtimes \
9457 old_archive_from_new_cmds \
9462 compiler_lib_search_path \
9464 archive_expsym_cmds \
9466 postuninstall_cmds \
9467 old_archive_from_expsyms_cmds \
9468 allow_undefined_flag \
9470 export_symbols_cmds \
9471 hardcode_libdir_flag_spec \
9472 hardcode_libdir_flag_spec_ld \
9473 hardcode_libdir_separator \
9474 hardcode_automatic \
9476 module_expsym_cmds \
9477 lt_cv_prog_compiler_c_o \
9482 old_archive_cmds | \
9483 old_archive_from_new_cmds | \
9485 archive_expsym_cmds | \
9487 module_expsym_cmds | \
9488 old_archive_from_expsyms_cmds | \
9489 export_symbols_cmds | \
9490 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9491 postinstall_cmds | postuninstall_cmds | \
9492 old_postinstall_cmds | old_postuninstall_cmds | \
9493 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9494 # Double-quote double-evaled strings.
9495 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9498 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9504 *'\$0 --fallback-echo"')
9505 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9510 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9512 { echo "$as_me:$LINENO: creating $ofile" >&5
9513 echo "$as_me: creating $ofile" >&6;}
9515 cat <<__EOF__ >> "$cfgfile"
9518 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9519 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9520 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9522 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9523 # Free Software Foundation, Inc.
9525 # This file is part of GNU Libtool:
9526 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9528 # This program is free software; you can redistribute it and/or modify
9529 # it under the terms of the GNU General Public License as published by
9530 # the Free Software Foundation; either version 2 of the License, or
9531 # (at your option) any later version.
9533 # This program is distributed in the hope that it will be useful, but
9534 # WITHOUT ANY WARRANTY; without even the implied warranty of
9535 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9536 # General Public License for more details.
9538 # You should have received a copy of the GNU General Public License
9539 # along with this program; if not, write to the Free Software
9540 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9542 # As a special exception to the GNU General Public License, if you
9543 # distribute this file as part of a program that contains a
9544 # configuration script generated by Autoconf, you may include it under
9545 # the same distribution terms that you use for the rest of that program.
9547 # A sed program that does not truncate output.
9550 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9551 Xsed="$SED -e s/^X//"
9553 # The HP-UX ksh and POSIX shell print the target directory to stdout
9555 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9557 # The names of the tagged configurations supported by this script.
9560 # ### BEGIN LIBTOOL CONFIG
9562 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9564 # Shell to use when invoking shell scripts.
9567 # Whether or not to build shared libraries.
9568 build_libtool_libs=$enable_shared
9570 # Whether or not to build static libraries.
9571 build_old_libs=$enable_static
9573 # Whether or not to add -lc for building shared libraries.
9574 build_libtool_need_lc=$archive_cmds_need_lc
9576 # Whether or not to disallow shared libs when runtime libs are static
9577 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9579 # Whether or not to optimize for fast installation.
9580 fast_install=$enable_fast_install
9583 host_alias=$host_alias
9586 # An echo program that does not interpret backslashes.
9591 AR_FLAGS=$lt_AR_FLAGS
9596 # A language-specific compiler.
9599 # Is the compiler the GNU C compiler?
9605 # The linker used to build libraries.
9608 # Whether we need hard or soft links.
9611 # A BSD-compatible nm program.
9614 # A symbol stripping program
9617 # Used to examine libraries when file_magic_cmd begins "file"
9618 MAGIC_CMD=$MAGIC_CMD
9620 # Used on cygwin: DLL creation program.
9623 # Used on cygwin: object dumper.
9626 # Used on cygwin: assembler.
9629 # The name of the directory that contains temporary libtool files.
9632 # How to create reloadable object files.
9633 reload_flag=$lt_reload_flag
9634 reload_cmds=$lt_reload_cmds
9636 # How to pass a linker flag through the compiler.
9637 wl=$lt_lt_prog_compiler_wl
9639 # Object file suffix (normally "o").
9642 # Old archive suffix (normally "a").
9645 # Shared library suffix (normally ".so").
9646 shrext_cmds='$shrext_cmds'
9648 # Executable file suffix (normally "").
9651 # Additional compiler flags for building library objects.
9652 pic_flag=$lt_lt_prog_compiler_pic
9655 # What is the maximum length of a command?
9656 max_cmd_len=$lt_cv_sys_max_cmd_len
9658 # Does compiler simultaneously support -c and -o options?
9659 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9661 # Must we lock files when doing compilation ?
9662 need_locks=$lt_need_locks
9664 # Do we need the lib prefix for modules?
9665 need_lib_prefix=$need_lib_prefix
9667 # Do we need a version for libraries?
9668 need_version=$need_version
9670 # Whether dlopen is supported.
9671 dlopen_support=$enable_dlopen
9673 # Whether dlopen of programs is supported.
9674 dlopen_self=$enable_dlopen_self
9676 # Whether dlopen of statically linked programs is supported.
9677 dlopen_self_static=$enable_dlopen_self_static
9679 # Compiler flag to prevent dynamic linking.
9680 link_static_flag=$lt_lt_prog_compiler_static
9682 # Compiler flag to turn off builtin functions.
9683 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9685 # Compiler flag to allow reflexive dlopens.
9686 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9688 # Compiler flag to generate shared objects directly from archives.
9689 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9691 # Compiler flag to generate thread-safe objects.
9692 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9694 # Library versioning type.
9695 version_type=$version_type
9697 # Format of library name prefix.
9698 libname_spec=$lt_libname_spec
9700 # List of archive names. First name is the real one, the rest are links.
9701 # The last name is the one that the linker finds with -lNAME.
9702 library_names_spec=$lt_library_names_spec
9704 # The coded name of the library, if different from the real name.
9705 soname_spec=$lt_soname_spec
9707 # Commands used to build and install an old-style archive.
9709 old_archive_cmds=$lt_old_archive_cmds
9710 old_postinstall_cmds=$lt_old_postinstall_cmds
9711 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9713 # Create an old-style archive from a shared archive.
9714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9716 # Create a temporary old-style archive to link instead of a shared archive.
9717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9719 # Commands used to build and install a shared archive.
9720 archive_cmds=$lt_archive_cmds
9721 archive_expsym_cmds=$lt_archive_expsym_cmds
9722 postinstall_cmds=$lt_postinstall_cmds
9723 postuninstall_cmds=$lt_postuninstall_cmds
9725 # Commands used to build a loadable module (assumed same as above if empty)
9726 module_cmds=$lt_module_cmds
9727 module_expsym_cmds=$lt_module_expsym_cmds
9729 # Commands to strip libraries.
9730 old_striplib=$lt_old_striplib
9731 striplib=$lt_striplib
9733 # Dependencies to place before the objects being linked to create a
9735 predep_objects=$lt_predep_objects
9737 # Dependencies to place after the objects being linked to create a
9739 postdep_objects=$lt_postdep_objects
9741 # Dependencies to place before the objects being linked to create a
9745 # Dependencies to place after the objects being linked to create a
9747 postdeps=$lt_postdeps
9749 # The library search path used internally by the compiler when linking
9751 compiler_lib_search_path=$lt_compiler_lib_search_path
9753 # Method to check whether dependent libraries are shared objects.
9754 deplibs_check_method=$lt_deplibs_check_method
9756 # Command to use when deplibs_check_method == file_magic.
9757 file_magic_cmd=$lt_file_magic_cmd
9759 # Flag that allows shared libraries with undefined symbols to be built.
9760 allow_undefined_flag=$lt_allow_undefined_flag
9762 # Flag that forces no undefined symbols.
9763 no_undefined_flag=$lt_no_undefined_flag
9765 # Commands used to finish a libtool library installation in a directory.
9766 finish_cmds=$lt_finish_cmds
9768 # Same as above, but a single script fragment to be evaled but not shown.
9769 finish_eval=$lt_finish_eval
9771 # Take the output of nm and produce a listing of raw symbols and C names.
9772 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9774 # Transform the output of nm in a proper C declaration
9775 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9777 # Transform the output of nm in a C name address pair
9778 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9780 # This is the shared library runtime path variable.
9781 runpath_var=$runpath_var
9783 # This is the shared library path variable.
9784 shlibpath_var=$shlibpath_var
9786 # Is shlibpath searched before the hard-coded library search path?
9787 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9789 # How to hardcode a shared library path into an executable.
9790 hardcode_action=$hardcode_action
9792 # Whether we should hardcode library paths into libraries.
9793 hardcode_into_libs=$hardcode_into_libs
9795 # Flag to hardcode \$libdir into a binary during linking.
9796 # This must work even if \$libdir does not exist.
9797 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9799 # If ld is used when linking, flag to hardcode \$libdir into
9800 # a binary during linking. This must work even if \$libdir does
9802 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9804 # Whether we need a single -rpath flag with a separated argument.
9805 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9807 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9809 hardcode_direct=$hardcode_direct
9811 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9813 hardcode_minus_L=$hardcode_minus_L
9815 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9816 # the resulting binary.
9817 hardcode_shlibpath_var=$hardcode_shlibpath_var
9819 # Set to yes if building a shared library automatically hardcodes DIR into the library
9820 # and all subsequent libraries and executables linked against it.
9821 hardcode_automatic=$hardcode_automatic
9823 # Variables whose values should be saved in libtool wrapper scripts and
9824 # restored at relink time.
9825 variables_saved_for_relink="$variables_saved_for_relink"
9827 # Whether libtool must link a program against all its dependency libraries.
9828 link_all_deplibs=$link_all_deplibs
9830 # Compile-time system search path for libraries
9831 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9833 # Run-time system search path for libraries
9834 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9836 # Fix the shell variable \$srcfile for the compiler.
9837 fix_srcfile_path="$fix_srcfile_path"
9839 # Set to yes if exported symbols are required.
9840 always_export_symbols=$always_export_symbols
9842 # The commands to list exported symbols.
9843 export_symbols_cmds=$lt_export_symbols_cmds
9845 # The commands to extract the exported symbol list from a shared archive.
9846 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9848 # Symbols that should not be listed in the preloaded symbols.
9849 exclude_expsyms=$lt_exclude_expsyms
9851 # Symbols that must always be exported.
9852 include_expsyms=$lt_include_expsyms
9854 # ### END LIBTOOL CONFIG
9861 cat <<\EOF
>> "$cfgfile"
9863 # AIX sometimes has problems with the GCC collect2 program. For some
9864 # reason, if we set the COLLECT_NAMES environment variable, the problems
9865 # vanish in a puff of smoke.
9866 if test "X${COLLECT_NAMES+set}" != Xset
; then
9868 export COLLECT_NAMES
9874 # We use sed instead of cat because bash on DJGPP gets confused if
9875 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9876 # text mode, it properly converts lines to CR/LF. This bash problem
9877 # is reportedly fixed, but why not run on old versions too?
9878 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9880 mv -f "$cfgfile" "$ofile" || \
9881 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9885 # If there is no Makefile yet, we rely on a make rule to execute
9886 # `config.status --recheck' to rerun these tests and create the
9887 # libtool script then.
9888 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9889 if test -f "$ltmain_in"; then
9890 test -f Makefile
&& make "$ltmain"
9896 ac_cpp
='$CPP $CPPFLAGS'
9897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9904 # Check whether --with-tags or --without-tags was given.
9905 if test "${with_tags+set}" = set; then
9906 withval
="$with_tags"
9910 if test -f "$ltmain" && test -n "$tagnames"; then
9911 if test ! -f "${ofile}"; then
9912 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9913 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9916 if test -z "$LTCC"; then
9917 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9918 if test -z "$LTCC"; then
9919 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9920 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9923 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9927 # Extract list of available tagged configurations in $ofile.
9928 # Note that this assumes the entire list is on one line.
9929 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9931 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9932 for tagname
in $tagnames; do
9934 # Check whether tagname contains only valid characters
9935 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9937 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9938 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9939 { (exit 1); exit 1; }; }
9943 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9945 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9946 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9947 { (exit 1); exit 1; }; }
9950 # Update the list of available tags.
9951 if test -n "$tagname"; then
9952 echo appending configuration tag
\"$tagname\" to
$ofile
9956 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9957 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9958 (test "X$CXX" != "Xg++"))) ; then
9960 ac_cpp
='$CXXCPP $CPPFLAGS'
9961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9968 archive_cmds_need_lc_CXX
=no
9969 allow_undefined_flag_CXX
=
9970 always_export_symbols_CXX
=no
9971 archive_expsym_cmds_CXX
=
9972 export_dynamic_flag_spec_CXX
=
9973 hardcode_direct_CXX
=no
9974 hardcode_libdir_flag_spec_CXX
=
9975 hardcode_libdir_flag_spec_ld_CXX
=
9976 hardcode_libdir_separator_CXX
=
9977 hardcode_minus_L_CXX
=no
9978 hardcode_automatic_CXX
=no
9980 module_expsym_cmds_CXX
=
9981 link_all_deplibs_CXX
=unknown
9982 old_archive_cmds_CXX
=$old_archive_cmds
9983 no_undefined_flag_CXX
=
9984 whole_archive_flag_spec_CXX
=
9985 enable_shared_with_static_runtimes_CXX
=no
9987 # Dependencies to place before and after the object being linked:
9989 postdep_objects_CXX
=
9992 compiler_lib_search_path_CXX
=
9994 # Source file extension for C++ test sources.
9997 # Object file extension for compiled C++ test sources.
10001 # Code to be used in simple compile tests
10002 lt_simple_compile_test_code
="int some_variable = 0;\n"
10004 # Code to be used in simple link tests
10005 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
10007 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10009 # If no C compiler was specified, use CC.
10012 # Allow CC to be a program name with arguments.
10016 # Allow CC to be a program name with arguments.
10021 lt_save_with_gnu_ld
=$with_gnu_ld
10022 lt_save_path_LD
=$lt_cv_path_LD
10023 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10024 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10026 unset lt_cv_prog_gnu_ld
10028 if test -n "${lt_cv_path_LDCXX+set}"; then
10029 lt_cv_path_LD
=$lt_cv_path_LDCXX
10031 unset lt_cv_path_LD
10033 test -z "${LDCXX+set}" || LD
=$LDCXX
10037 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10039 # We don't want -fno-exception wen compiling C++ code, so set the
10040 # no_builtin_flag separately
10041 if test "$GXX" = yes; then
10042 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10044 lt_prog_compiler_no_builtin_flag_CXX
=
10047 if test "$GXX" = yes; then
10048 # Set up default GNU C++ configuration
10051 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10052 if test "${with_gnu_ld+set}" = set; then
10053 withval
="$with_gnu_ld"
10054 test "$withval" = no || with_gnu_ld
=yes
10059 if test "$GCC" = yes; then
10060 # Check if gcc -print-prog-name=ld gives a path.
10061 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10062 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10065 # gcc leaves a trailing carriage return which upsets mingw
10066 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10068 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10071 # Accept absolute paths.
10073 re_direlt
='/[^/][^/]*/\.\./'
10074 # Canonicalize the pathname of ld
10075 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10076 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10077 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10079 test -z "$LD" && LD
="$ac_prog"
10082 # If it fails, then pretend we aren't using GCC.
10086 # If it is relative, then search for the first ld in PATH.
10087 with_gnu_ld
=unknown
10090 elif test "$with_gnu_ld" = yes; then
10091 echo "$as_me:$LINENO: checking for GNU ld" >&5
10092 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10094 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10095 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10097 if test "${lt_cv_path_LD+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 if test -z "$LD"; then
10101 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10102 for ac_dir
in $PATH; do
10104 test -z "$ac_dir" && ac_dir
=.
10105 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10106 lt_cv_path_LD
="$ac_dir/$ac_prog"
10107 # Check to see if the program is GNU ld. I'd rather use --version,
10108 # but apparently some GNU ld's only accept -v.
10109 # Break only if it was the GNU/non-GNU ld that we prefer.
10110 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10111 *GNU
* |
*'with BFD'*)
10112 test "$with_gnu_ld" != no
&& break
10115 test "$with_gnu_ld" != yes && break
10122 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10126 LD
="$lt_cv_path_LD"
10127 if test -n "$LD"; then
10128 echo "$as_me:$LINENO: result: $LD" >&5
10129 echo "${ECHO_T}$LD" >&6
10131 echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6
10134 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10135 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10136 { (exit 1); exit 1; }; }
10137 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10138 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10139 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10143 case `$LD -v 2>&1 </dev/null` in
10144 *GNU
* |
*'with BFD'*)
10145 lt_cv_prog_gnu_ld
=yes
10148 lt_cv_prog_gnu_ld
=no
10152 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10153 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10154 with_gnu_ld
=$lt_cv_prog_gnu_ld
10158 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10159 # archiving commands below assume that GNU ld is being used.
10160 if test "$with_gnu_ld" = yes; then
10161 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10162 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'
10164 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10165 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10167 # If archive_cmds runs LD, not CC, wlarc should be empty
10168 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10169 # investigate it a little bit more. (MM)
10172 # ancient GNU ld didn't support --whole-archive et. al.
10173 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10174 grep 'no-whole-archive' > /dev
/null
; then
10175 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10177 whole_archive_flag_spec_CXX
=
10183 # A generic and very simple default shared library creation
10184 # command for GNU C++ for the case where it uses the native
10185 # linker, instead of GNU ld. If possible, this setting should
10186 # overridden to take advantage of the native linker features on
10187 # the platform it is being used on.
10188 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10191 # Commands to make compiler produce verbose output that lists
10192 # what "hidden" libraries, object files and flags are used when
10193 # linking a shared library.
10194 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10202 # PORTME: fill in a description of your system's C++ link characteristics
10203 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10204 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10208 # FIXME: insert proper C++ library support
10212 if test "$host_cpu" = ia64
; then
10213 # On IA64, the linker does run time linking by default, so we don't
10214 # have to do anything special.
10215 aix_use_runtimelinking
=no
10216 exp_sym_flag
='-Bexport'
10219 aix_use_runtimelinking
=no
10221 # Test if we are trying to use run time linking or normal
10222 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10223 # need to do runtime linking.
10224 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10225 for ld_flag
in $LDFLAGS; do
10228 aix_use_runtimelinking
=yes
10235 exp_sym_flag
='-bexport'
10236 no_entry_flag
='-bnoentry'
10239 # When large executables or shared objects are built, AIX ld can
10240 # have problems creating the table of contents. If linking a library
10241 # or program results in "error TOC overflow" add -mminimal-toc to
10242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10245 archive_cmds_CXX
=''
10246 hardcode_direct_CXX
=yes
10247 hardcode_libdir_separator_CXX
=':'
10248 link_all_deplibs_CXX
=yes
10250 if test "$GXX" = yes; then
10251 case $host_os in aix4.012|aix4.012.
*)
10252 # We only want to do this on AIX 4.2 and lower, the check
10253 # below for broken collect2 doesn't work under 4.3+
10254 collect2name
=`${CC} -print-prog-name=collect2`
10255 if test -f "$collect2name" && \
10256 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10258 # We have reworked collect2
10259 hardcode_direct_CXX
=yes
10261 # We have old collect2
10262 hardcode_direct_CXX
=unsupported
10263 # It fails to find uninstalled libraries when the uninstalled
10264 # path is not listed in the libpath. Setting hardcode_minus_L
10265 # to unsupported forces relinking
10266 hardcode_minus_L_CXX
=yes
10267 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10268 hardcode_libdir_separator_CXX
=
10271 shared_flag
='-shared'
10274 if test "$host_cpu" = ia64
; then
10275 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10276 # chokes on -Wl,-G. The following line is correct:
10279 if test "$aix_use_runtimelinking" = yes; then
10280 shared_flag
='${wl}-G'
10282 shared_flag
='${wl}-bM:SRE'
10287 # It seems that -bexpall does not export symbols beginning with
10288 # underscore (_), so it is better to generate a list of symbols to export.
10289 always_export_symbols_CXX
=yes
10290 if test "$aix_use_runtimelinking" = yes; then
10291 # Warning - without using the other runtime loading flags (-brtl),
10292 # -berok will link without error, but may produce a broken library.
10293 allow_undefined_flag_CXX
='-berok'
10294 # Determine the default libpath from the value encoded in an empty executable.
10295 cat >conftest.
$ac_ext <<_ACEOF
10298 cat confdefs.h
>>conftest.
$ac_ext
10299 cat >>conftest.
$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10310 rm -f conftest.
$ac_objext conftest
$ac_exeext
10311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10312 (eval $ac_link) 2>conftest.er1
10314 grep -v '^ *+' conftest.er1
>conftest.err
10316 cat conftest.err
>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } &&
10319 { ac_try
='test -z "$ac_cxx_werror_flag"
10320 || test ! -s conftest.err'
10321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10322 (eval $ac_try) 2>&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); }; } &&
10326 { ac_try
='test -s conftest$ac_exeext'
10327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328 (eval $ac_try) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; }; then
10333 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10335 # Check for a 64-bit object if we didn't find anything.
10336 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; }
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.
$ac_ext >&5
10343 rm -f conftest.err conftest.
$ac_objext \
10344 conftest
$ac_exeext conftest.
$ac_ext
10345 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10347 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10349 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10351 if test "$host_cpu" = ia64; then
10352 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10353 allow_undefined_flag_CXX="-z nodefs"
10354 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10356 # Determine the default libpath from the value encoded in an empty executable.
10357 cat >conftest.$ac_ext <<_ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10372 rm -f conftest.$ac_objext conftest$ac_exeext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>conftest.er1
10376 grep -v '^ *+' conftest.er1 >conftest.err
10378 cat conftest.err >&5
10379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10380 (exit $ac_status); } &&
10381 { ac_try='test -z "$ac_cxx_werror_flag"
10382 || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try='test -s conftest$ac_exeext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10393 (exit $ac_status); }; }; then
10395 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10397 # Check for a 64-bit object if we didn't find anything.
10398 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; }
10401 echo "$as_me: failed program was
:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10405 rm -f conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10409 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10410 # Warning - without using the other run time loading flags,
10411 # -berok will link without error, but may produce a broken library.
10412 no_undefined_flag_CXX=' ${wl}-bernotok'
10413 allow_undefined_flag_CXX=' ${wl}-berok'
10414 # -bexpall does not export symbols beginning with underscore (_)
10415 always_export_symbols_CXX=yes
10416 # Exported symbols can be pulled into shared objects from archives
10417 whole_archive_flag_spec_CXX=' '
10418 archive_cmds_need_lc_CXX=yes
10419 # This is similar to how AIX traditionally builds it's shared libraries.
10420 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10425 case $cc_basename in
10427 # FIXME: insert proper C++ library support
10434 cygwin* | mingw* | pw32*)
10435 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10436 # as there is no search path for DLLs.
10437 hardcode_libdir_flag_spec_CXX='-L$libdir'
10438 allow_undefined_flag_CXX=unsupported
10439 always_export_symbols_CXX=no
10440 enable_shared_with_static_runtimes_CXX=yes
10442 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10443 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10444 # If the export-symbols file already is a .def file (1st line
10445 # is EXPORTS), use it as is; otherwise, prepend...
10446 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10447 cp $export_symbols $output_objdir/$soname.def;
10449 echo EXPORTS > $output_objdir/$soname.def;
10450 cat $export_symbols >> $output_objdir/$soname.def;
10452 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10457 darwin* | rhapsody*)
10459 rhapsody* | darwin1.[012])
10460 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10463 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10464 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10466 case ${MACOSX_DEPLOYMENT_TARGET} in
10468 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10471 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10477 archive_cmds_need_lc_CXX=no
10478 hardcode_direct_CXX=no
10479 hardcode_automatic_CXX=yes
10480 hardcode_shlibpath_var_CXX=unsupported
10481 whole_archive_flag_spec_CXX=''
10482 link_all_deplibs_CXX=yes
10484 if test "$GXX" = yes ; then
10485 lt_int_apple_cc_single_mod=no
10486 output_verbose_link_cmd='echo'
10487 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10488 lt_int_apple_cc_single_mod=yes
10490 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10491 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10493 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'
10495 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10496 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10497 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10498 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}'
10500 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}'
10502 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}'
10504 case "$cc_basename" in
10506 output_verbose_link_cmd
='echo'
10507 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'
10508 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10509 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10510 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}'
10511 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}'
10521 case $cc_basename in
10523 # FIXME: insert proper C++ library support
10527 # Green Hills C++ Compiler
10528 # FIXME: insert proper C++ library support
10532 # FIXME: insert proper C++ library support
10538 # C++ shared libraries reported to be fairly broken before switch to ELF
10542 archive_cmds_need_lc_CXX
=no
10544 freebsd
* | kfreebsd
*-gnu)
10545 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10552 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10553 hardcode_libdir_separator_CXX
=:
10554 export_dynamic_flag_spec_CXX
='${wl}-E'
10555 hardcode_direct_CXX
=yes
10556 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10557 # but as the default
10558 # location of the library.
10560 case $cc_basename in
10562 # FIXME: insert proper C++ library support
10566 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'
10567 # Commands to make compiler produce verbose output that lists
10568 # what "hidden" libraries, object files and flags are used when
10569 # linking a shared library.
10571 # There doesn't appear to be a way to prevent this compiler from
10572 # explicitly linking system object files so we need to strip them
10573 # from the output so that they don't get included in the library
10575 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'
10578 if test "$GXX" = yes; then
10579 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'
10581 # FIXME: insert proper C++ library support
10588 if test $with_gnu_ld = no
; then
10589 case "$host_cpu" in
10591 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10592 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10593 hardcode_libdir_separator_CXX
=:
10596 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10599 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10600 hardcode_libdir_separator_CXX
=:
10601 export_dynamic_flag_spec_CXX
='${wl}-E'
10605 case "$host_cpu" in
10607 hardcode_direct_CXX
=no
10608 hardcode_shlibpath_var_CXX
=no
10611 hardcode_direct_CXX
=no
10612 hardcode_shlibpath_var_CXX
=no
10613 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10614 # but as the default
10615 # location of the library.
10618 hardcode_direct_CXX
=yes
10619 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10620 # but as the default
10621 # location of the library.
10625 case $cc_basename in
10627 # FIXME: insert proper C++ library support
10631 case "$host_cpu" in
10633 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10636 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10639 # Commands to make compiler produce verbose output that lists
10640 # what "hidden" libraries, object files and flags are used when
10641 # linking a shared library.
10643 # There doesn't appear to be a way to prevent this compiler from
10644 # explicitly linking system object files so we need to strip them
10645 # from the output so that they don't get included in the library
10647 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'
10650 if test "$GXX" = yes; then
10651 if test $with_gnu_ld = no
; then
10652 case "$host_cpu" in
10654 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10657 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'
10662 # FIXME: insert proper C++ library support
10669 case $cc_basename in
10672 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10674 # Archives containing C++ object files must be created using
10675 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10676 # necessary to make sure instantiated templates are included
10678 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10681 if test "$GXX" = yes; then
10682 if test "$with_gnu_ld" = no
; then
10683 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10685 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'
10688 link_all_deplibs_CXX
=yes
10691 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10692 hardcode_libdir_separator_CXX
=:
10695 case $cc_basename in
10697 # Kuck and Associates, Inc. (KAI) C++ Compiler
10699 # KCC will only create a shared library if the output file
10700 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10701 # to its proper name (with version) after linking.
10702 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'
10703 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'
10704 # Commands to make compiler produce verbose output that lists
10705 # what "hidden" libraries, object files and flags are used when
10706 # linking a shared library.
10708 # There doesn't appear to be a way to prevent this compiler from
10709 # explicitly linking system object files so we need to strip them
10710 # from the output so that they don't get included in the library
10712 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'
10714 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10715 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10717 # Archives containing C++ object files must be created using
10718 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10719 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10724 # version 8.0 and above of icpc choke on multiply defined symbols
10725 # if we add $predep_objects and $postdep_objects, however 7.1 and
10726 # earlier do not add the objects themselves.
10727 case `$CC -V 2>&1` in
10729 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10730 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'
10732 *) # Version 8.0 or newer
10733 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10734 archive_expsym_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10737 archive_cmds_need_lc_CXX
=no
10738 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10739 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10740 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10744 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10745 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'
10747 runpath_var
=LD_RUN_PATH
10748 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10749 hardcode_libdir_separator_CXX
=:
10751 # Commands to make compiler produce verbose output that lists
10752 # what "hidden" libraries, object files and flags are used when
10753 # linking a shared library.
10755 # There doesn't appear to be a way to prevent this compiler from
10756 # explicitly linking system object files so we need to strip them
10757 # from the output so that they don't get included in the library
10759 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'
10764 # FIXME: insert proper C++ library support
10768 # FIXME: insert proper C++ library support
10772 case $cc_basename in
10774 # FIXME: insert proper C++ library support
10778 # FIXME: insert proper C++ library support
10784 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10785 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10787 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10788 hardcode_direct_CXX
=yes
10789 hardcode_shlibpath_var_CXX
=no
10791 # Workaround some broken pre-1.5 toolchains
10792 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10795 # C++ shared libraries are fairly broken
10799 hardcode_direct_CXX
=yes
10800 hardcode_shlibpath_var_CXX
=no
10801 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10802 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10803 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10804 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10805 export_dynamic_flag_spec_CXX
='${wl}-E'
10806 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10808 output_verbose_link_cmd
='echo'
10811 case $cc_basename in
10813 # Kuck and Associates, Inc. (KAI) C++ Compiler
10815 # KCC will only create a shared library if the output file
10816 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10817 # to its proper name (with version) after linking.
10818 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'
10820 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10821 hardcode_libdir_separator_CXX
=:
10823 # Archives containing C++ object files must be created using
10824 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10825 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10829 # Rational C++ 2.4.1
10830 # FIXME: insert proper C++ library support
10834 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10835 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10837 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10838 hardcode_libdir_separator_CXX
=:
10840 # Commands to make compiler produce verbose output that lists
10841 # what "hidden" libraries, object files and flags are used when
10842 # linking a shared library.
10844 # There doesn't appear to be a way to prevent this compiler from
10845 # explicitly linking system object files so we need to strip them
10846 # from the output so that they don't get included in the library
10848 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'
10851 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10852 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10853 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10855 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10856 hardcode_libdir_separator_CXX
=:
10858 # Commands to make compiler produce verbose output that lists
10859 # what "hidden" libraries, object files and flags are used when
10860 # linking a shared library.
10861 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10864 # FIXME: insert proper C++ library support
10871 case $cc_basename in
10873 # Kuck and Associates, Inc. (KAI) C++ Compiler
10875 # KCC will only create a shared library if the output file
10876 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10877 # to its proper name (with version) after linking.
10878 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'
10880 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10881 hardcode_libdir_separator_CXX
=:
10883 # Archives containing C++ object files must be created using
10884 # the KAI C++ compiler.
10885 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10888 # Rational C++ 2.4.1
10889 # FIXME: insert proper C++ library support
10893 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10894 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10895 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10896 echo "-hidden">> $lib.exp~
10897 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
10900 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10901 hardcode_libdir_separator_CXX
=:
10903 # Commands to make compiler produce verbose output that lists
10904 # what "hidden" libraries, object files and flags are used when
10905 # linking a shared library.
10907 # There doesn't appear to be a way to prevent this compiler from
10908 # explicitly linking system object files so we need to strip them
10909 # from the output so that they don't get included in the library
10911 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'
10914 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10915 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10916 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10918 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10919 hardcode_libdir_separator_CXX
=:
10921 # Commands to make compiler produce verbose output that lists
10922 # what "hidden" libraries, object files and flags are used when
10923 # linking a shared library.
10924 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10927 # FIXME: insert proper C++ library support
10934 # FIXME: insert proper C++ library support
10938 archive_cmds_need_lc_CXX
=no
10939 case $cc_basename in
10941 # FIXME: insert proper C++ library support
10945 # FIXME: insert proper C++ library support
10951 case $cc_basename in
10954 # FIXME: insert proper C++ library support
10959 # FIXME: insert proper C++ library support
10963 # FIXME: insert proper C++ library support
10969 case $cc_basename in
10971 # Sun C++ 4.2, 5.x and Centerline C++
10972 no_undefined_flag_CXX
=' -zdefs'
10973 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10974 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10975 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10977 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10978 hardcode_shlibpath_var_CXX
=no
10980 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10982 # The C++ compiler is used as linker so we must use $wl
10983 # flag to pass the commands to the underlying system
10985 # Supported since Solaris 2.6 (maybe 2.5.1?)
10986 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10989 link_all_deplibs_CXX
=yes
10991 # Commands to make compiler produce verbose output that lists
10992 # what "hidden" libraries, object files and flags are used when
10993 # linking a shared library.
10995 # There doesn't appear to be a way to prevent this compiler from
10996 # explicitly linking system object files so we need to strip them
10997 # from the output so that they don't get included in the library
10999 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11001 # Archives containing C++ object files must be created using
11002 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11003 # necessary to make sure instantiated templates are included
11005 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11008 # Green Hills C++ Compiler
11009 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11011 # The C++ compiler must be used to create the archive.
11012 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11015 # GNU C++ compiler with Solaris linker
11016 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11017 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11018 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11019 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11020 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11021 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11023 # Commands to make compiler produce verbose output that lists
11024 # what "hidden" libraries, object files and flags are used when
11025 # linking a shared library.
11026 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11028 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11030 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11031 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11032 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11034 # Commands to make compiler produce verbose output that lists
11035 # what "hidden" libraries, object files and flags are used when
11036 # linking a shared library.
11037 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11040 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11045 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11046 archive_cmds_need_lc_CXX
=no
11049 case $cc_basename in
11051 # NonStop-UX NCC 3.20
11052 # FIXME: insert proper C++ library support
11056 # FIXME: insert proper C++ library support
11062 # FIXME: insert proper C++ library support
11066 # FIXME: insert proper C++ library support
11070 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11071 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11072 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11078 cat > conftest.
$ac_ext <<EOF
11082 Foo (void) { a = 0; }
11088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11089 (eval $ac_compile) 2>&5
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); }; then
11093 # Parse the compiler output and extract the necessary
11094 # objects, libraries and library flags.
11096 # Sentinel used to keep track of whether or not we are before
11097 # the conftest object file.
11098 pre_test_object_deps_done
=no
11100 # The `*' in the case matches for architectures that use `case' in
11101 # $output_verbose_cmd can trigger glob expansion during the loop
11102 # eval without this substitution.
11103 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11105 for p
in `eval $output_verbose_link_cmd`; do
11109 # Some compilers place space between "-{L,R}" and the path.
11110 # Remove the space.
11111 if test $p = "-L" \
11112 ||
test $p = "-R"; then
11119 if test "$pre_test_object_deps_done" = no
; then
11122 # Internal compiler library paths should come after those
11123 # provided the user. The postdeps already come after the
11124 # user supplied libs so there is no need to process them.
11125 if test -z "$compiler_lib_search_path_CXX"; then
11126 compiler_lib_search_path_CXX
="${prev}${p}"
11128 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11131 # The "-l" case would never come before the object being
11132 # linked, so don't bother handling this case.
11135 if test -z "$postdeps_CXX"; then
11136 postdeps_CXX
="${prev}${p}"
11138 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11144 # This assumes that the test object file only shows up
11145 # once in the compiler output.
11146 if test "$p" = "conftest.$objext"; then
11147 pre_test_object_deps_done
=yes
11151 if test "$pre_test_object_deps_done" = no
; then
11152 if test -z "$predep_objects_CXX"; then
11153 predep_objects_CXX
="$p"
11155 predep_objects_CXX
="$predep_objects_CXX $p"
11158 if test -z "$postdep_objects_CXX"; then
11159 postdep_objects_CXX
="$p"
11161 postdep_objects_CXX
="$postdep_objects_CXX $p"
11166 *) ;; # Ignore the rest.
11174 echo "libtool.m4: error: problem compiling CXX test program"
11177 $rm -f confest.
$objext
11179 case " $postdeps_CXX " in
11180 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11183 lt_prog_compiler_wl_CXX
=
11184 lt_prog_compiler_pic_CXX
=
11185 lt_prog_compiler_static_CXX
=
11187 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11188 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11190 # C++ specific cases for pic, static, wl, etc.
11191 if test "$GXX" = yes; then
11192 lt_prog_compiler_wl_CXX
='-Wl,'
11193 lt_prog_compiler_static_CXX
='-static'
11197 # All AIX code is PIC.
11198 if test "$host_cpu" = ia64
; then
11199 # AIX 5 now supports IA64 processor
11200 lt_prog_compiler_static_CXX
='-Bstatic'
11204 # FIXME: we need at least 68020 code to build shared libraries, but
11205 # adding the `-m68020' flag to GCC prevents building anything better,
11207 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11209 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11210 # PIC is the default for these OSes.
11212 mingw
* | os2
* | pw32
*)
11213 # This hack is so that the source file can tell whether it is being
11214 # built for inclusion in a dll (and should export symbols for example).
11215 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11217 darwin
* | rhapsody
*)
11218 # PIC is the default on this platform
11219 # Common symbols not allowed in MH_DYLIB files
11220 lt_prog_compiler_pic_CXX
='-fno-common'
11223 # DJGPP does not support shared libraries at all
11224 lt_prog_compiler_pic_CXX
=
11227 if test -d /usr
/nec
; then
11228 lt_prog_compiler_pic_CXX
=-Kconform_pic
11232 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11233 # not for PA HP-UX.
11234 case "$host_cpu" in
11238 lt_prog_compiler_pic_CXX
='-fPIC'
11243 lt_prog_compiler_pic_CXX
='-fPIC'
11249 # All AIX code is PIC.
11250 if test "$host_cpu" = ia64
; then
11251 # AIX 5 now supports IA64 processor
11252 lt_prog_compiler_static_CXX
='-Bstatic'
11254 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11258 case $cc_basename in
11260 # Green Hills C++ Compiler
11261 # _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"
11266 # PIC is the default on this platform
11267 # Common symbols not allowed in MH_DYLIB files
11268 case "$cc_basename" in
11270 lt_prog_compiler_pic_CXX
='-qnocommon'
11271 lt_prog_compiler_wl_CXX
='-Wl,'
11276 case $cc_basename in
11278 lt_prog_compiler_pic_CXX
='-KPIC'
11281 # Green Hills C++ Compiler
11282 lt_prog_compiler_pic_CXX
='-pic'
11288 freebsd
* | kfreebsd
*-gnu)
11289 # FreeBSD uses GNU C++
11291 hpux9
* | hpux10
* | hpux11
*)
11292 case $cc_basename in
11294 lt_prog_compiler_wl_CXX
='-Wl,'
11295 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11296 if test "$host_cpu" != ia64
; then
11297 lt_prog_compiler_pic_CXX
='+Z'
11301 lt_prog_compiler_wl_CXX
='-Wl,'
11302 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11303 case "$host_cpu" in
11308 lt_prog_compiler_pic_CXX
='+Z'
11316 irix5
* | irix6
* | nonstopux
*)
11317 case $cc_basename in
11319 lt_prog_compiler_wl_CXX
='-Wl,'
11320 lt_prog_compiler_static_CXX
='-non_shared'
11321 # CC pic flag -KPIC is the default.
11328 case $cc_basename in
11331 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11332 lt_prog_compiler_pic_CXX
='-fPIC'
11336 lt_prog_compiler_wl_CXX
='-Wl,'
11337 lt_prog_compiler_pic_CXX
='-KPIC'
11338 lt_prog_compiler_static_CXX
='-static'
11342 # Make sure the PIC flag is empty. It appears that all Alpha
11343 # Linux and Compaq Tru64 Unix objects are PIC.
11344 lt_prog_compiler_pic_CXX
=
11345 lt_prog_compiler_static_CXX
='-non_shared'
11356 case $cc_basename in
11358 lt_prog_compiler_pic_CXX
='-W c,exportall'
11366 osf3
* | osf4
* | osf5
*)
11367 case $cc_basename in
11369 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11372 # Rational C++ 2.4.1
11373 lt_prog_compiler_pic_CXX
='-pic'
11376 # Digital/Compaq C++
11377 lt_prog_compiler_wl_CXX
='-Wl,'
11378 # Make sure the PIC flag is empty. It appears that all Alpha
11379 # Linux and Compaq Tru64 Unix objects are PIC.
11380 lt_prog_compiler_pic_CXX
=
11381 lt_prog_compiler_static_CXX
='-non_shared'
11390 case $cc_basename in
11392 lt_prog_compiler_pic_CXX
='-fPIC'
11399 case $cc_basename in
11401 # Sun C++ 4.2, 5.x and Centerline C++
11402 lt_prog_compiler_pic_CXX
='-KPIC'
11403 lt_prog_compiler_static_CXX
='-Bstatic'
11404 lt_prog_compiler_wl_CXX
='-Qoption ld '
11407 # Green Hills C++ Compiler
11408 lt_prog_compiler_pic_CXX
='-PIC'
11415 case $cc_basename in
11418 lt_prog_compiler_pic_CXX
='-pic'
11419 lt_prog_compiler_static_CXX
='-Bstatic'
11423 lt_prog_compiler_pic_CXX
='-pic'
11430 case $cc_basename in
11432 # NonStop-UX NCC 3.20
11433 lt_prog_compiler_pic_CXX
='-KPIC'
11444 lt_prog_compiler_can_build_shared_CXX
=no
11449 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11450 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11453 # Check to make sure the PIC flag actually works.
11455 if test -n "$lt_prog_compiler_pic_CXX"; then
11457 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11458 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11459 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11460 echo $ECHO_N "(cached) $ECHO_C" >&6
11462 lt_prog_compiler_pic_works_CXX
=no
11463 ac_outfile
=conftest.
$ac_objext
11464 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11465 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11466 # Insert the option either (1) after the last *FLAGS variable, or
11467 # (2) before a word containing "conftest.", or (3) at the end.
11468 # Note that $ac_compile itself does not contain backslashes and begins
11469 # with a dollar sign (not a hyphen), so the echo should work correctly.
11470 # The option is referenced via a variable to avoid confusing sed.
11471 lt_compile
=`echo "$ac_compile" | $SED \
11472 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11474 -e 's:$: $lt_compiler_flag:'`
11475 (eval echo "\"\$as_me:11475: $lt_compile\"" >&5)
11476 (eval "$lt_compile" 2>conftest.err
)
11478 cat conftest.err
>&5
11479 echo "$as_me:11479: \$? = $ac_status" >&5
11480 if (exit $ac_status) && test -s "$ac_outfile"; then
11481 # The compiler can only warn and ignore the option if not recognized
11482 # So say no if there are warnings
11483 if test ! -s conftest.err
; then
11484 lt_prog_compiler_pic_works_CXX
=yes
11490 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11491 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11493 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11494 case $lt_prog_compiler_pic_CXX in
11496 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11499 lt_prog_compiler_pic_CXX
=
11500 lt_prog_compiler_can_build_shared_CXX
=no
11505 # For platforms which do not support PIC, -DPIC is meaningless:
11507 lt_prog_compiler_pic_CXX
=
11510 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11514 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11515 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11516 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 lt_cv_prog_compiler_c_o_CXX
=no
11520 $rm -r conftest
2>/dev
/null
11524 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11526 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11527 # Insert the option either (1) after the last *FLAGS variable, or
11528 # (2) before a word containing "conftest.", or (3) at the end.
11529 # Note that $ac_compile itself does not contain backslashes and begins
11530 # with a dollar sign (not a hyphen), so the echo should work correctly.
11531 lt_compile
=`echo "$ac_compile" | $SED \
11532 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11534 -e 's:$: $lt_compiler_flag:'`
11535 (eval echo "\"\$as_me:11535: $lt_compile\"" >&5)
11536 (eval "$lt_compile" 2>out
/conftest.err
)
11538 cat out
/conftest.err
>&5
11539 echo "$as_me:11539: \$? = $ac_status" >&5
11540 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11542 # The compiler can only warn and ignore the option if not recognized
11543 # So say no if there are warnings
11544 if test ! -s out
/conftest.err
; then
11545 lt_cv_prog_compiler_c_o_CXX
=yes
11550 # SGI C++ compiler will create directory out/ii_files/ for
11551 # template instantiation
11552 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11553 $rm out
/* && rmdir out
11559 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11560 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11563 hard_links
="nottested"
11564 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11565 # do not overwrite the value of need_locks provided by the user
11566 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11567 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11570 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11572 ln conftest.a conftest.b
2>&5 || hard_links
=no
11573 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11574 echo "$as_me:$LINENO: result: $hard_links" >&5
11575 echo "${ECHO_T}$hard_links" >&6
11576 if test "$hard_links" = no
; then
11577 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11578 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11585 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11586 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11588 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11591 # If we're using GNU nm, then we don't want the "-C" option.
11592 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11593 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11594 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'
11596 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'
11600 export_symbols_cmds_CXX
="$ltdll_cmds"
11603 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11606 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11610 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11611 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11612 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11614 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11615 if test "$GCC" = yes; then
11616 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11620 # Do we need to explicitly link libc?
11622 case "x$archive_cmds_need_lc_CXX" in
11624 # Assume -lc should be added
11625 archive_cmds_need_lc_CXX
=yes
11627 if test "$enable_shared" = yes && test "$GCC" = yes; then
11628 case $archive_cmds_CXX in
11630 # FIXME: we may have to deal with multi-command sequences.
11633 # Test whether the compiler implicitly links with -lc since on some
11634 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11635 # to ld, don't add -lc before -lgcc.
11636 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11637 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11639 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11642 (eval $ac_compile) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } 2>conftest.err
; then
11648 libobjs
=conftest.
$ac_objext
11650 wl
=$lt_prog_compiler_wl_CXX
11656 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11657 allow_undefined_flag_CXX
=
11658 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11659 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }
11664 archive_cmds_need_lc_CXX
=no
11666 archive_cmds_need_lc_CXX
=yes
11668 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11670 cat conftest.err
1>&5
11673 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11674 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11681 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11682 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11683 library_names_spec
=
11684 libname_spec
='lib$name'
11688 postuninstall_cmds
=
11692 shlibpath_overrides_runpath
=unknown
11694 dynamic_linker
="$host_os ld.so"
11695 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11696 if test "$GCC" = yes; then
11697 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11698 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11699 # if the path contains ";" then we assume it to be the separator
11700 # otherwise default to the standard path separator (i.e. ":") - it is
11701 # assumed that no part of a normal pathname contains ";" but that should
11702 # okay in the real world where ";" in dirpaths is itself problematic.
11703 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11705 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11708 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11710 need_lib_prefix
=unknown
11711 hardcode_into_libs
=no
11713 # when you set need_version to no, make sure it does not cause -set_version
11714 # flags to be left without arguments
11715 need_version
=unknown
11720 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11721 shlibpath_var
=LIBPATH
11723 # AIX 3 has no versioning support, so we append a major version to the name.
11724 soname_spec
='${libname}${release}${shared_ext}$major'
11731 hardcode_into_libs
=yes
11732 if test "$host_cpu" = ia64
; then
11733 # AIX 5 supports IA64
11734 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11735 shlibpath_var
=LD_LIBRARY_PATH
11737 # With GCC up to 2.95.x, collect2 would create an import file
11738 # for dependence libraries. The import file would start with
11739 # the line `#! .'. This would cause the generated library to
11740 # depend on `.', always an invalid library. This was fixed in
11741 # development snapshots of GCC prior to 3.0.
11743 aix4 | aix4.
[01] | aix4.
[01].
*)
11744 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11746 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11749 can_build_shared
=no
11753 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11754 # soname into executable. Probably we can add versioning support to
11755 # collect2, so additional links can be useful in future.
11756 if test "$aix_use_runtimelinking" = yes; then
11757 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11758 # instead of lib<name>.a to let people know that these are not
11759 # typical AIX shared libraries.
11760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 # We preserve .a as extension for shared libraries through AIX4.2
11763 # and later when we are not doing run time linking.
11764 library_names_spec
='${libname}${release}.a $libname.a'
11765 soname_spec
='${libname}${release}${shared_ext}$major'
11767 shlibpath_var
=LIBPATH
11772 library_names_spec
='$libname.ixlibrary $libname.a'
11773 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11774 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'
11778 library_names_spec
='${libname}${shared_ext}'
11779 dynamic_linker
="$host_os ld.so"
11780 shlibpath_var
=LIBRARY_PATH
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 soname_spec
='${libname}${release}${shared_ext}$major'
11788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11789 shlibpath_var
=LD_LIBRARY_PATH
11790 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11791 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11792 # the default ld.so.conf also contains /usr/contrib/lib and
11793 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11794 # libtool to hard-code these into programs
11797 cygwin
* | mingw
* | pw32
*)
11798 version_type
=windows
11803 case $GCC,$host_os in
11804 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11805 library_names_spec
='$libname.dll.a'
11806 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11807 postinstall_cmds
='base_file=`basename \${file}`~
11808 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11809 dldir=$destdir/`dirname \$dlpath`~
11810 test -d \$dldir || mkdir -p \$dldir~
11811 $install_prog $dir/$dlname \$dldir/$dlname'
11812 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11813 dlpath=$dir/\$dldll~
11815 shlibpath_overrides_runpath
=yes
11819 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11820 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11821 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11824 # MinGW DLLs use traditional 'lib' prefix
11825 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11826 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11827 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11828 # It is most probably a Windows format PATH printed by
11829 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11830 # path with ; separators, and with drive letters. We can handle the
11831 # drive letters (cygwin fileutils understands them), so leave them,
11832 # especially as we might pass files found there to a mingw objdump,
11833 # which wouldn't understand a cygwinified path. Ahh.
11834 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11836 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11840 # pw32 DLLs use 'pw' prefix rather than 'lib'
11841 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11847 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11850 dynamic_linker
='Win32 ld.exe'
11851 # FIXME: first we should search . and the directory the executable is in
11855 darwin
* | rhapsody
*)
11856 dynamic_linker
="$host_os dyld"
11857 version_type
=darwin
11860 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11861 soname_spec
='${libname}${release}${major}$shared_ext'
11862 shlibpath_overrides_runpath
=yes
11863 shlibpath_var
=DYLD_LIBRARY_PATH
11864 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
11865 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11866 if test "$GCC" = yes; then
11867 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"`
11869 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
11871 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11879 soname_spec
='${libname}${release}${shared_ext}$major'
11880 shlibpath_var
=LD_LIBRARY_PATH
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11894 shlibpath_overrides_runpath
=no
11895 hardcode_into_libs
=yes
11896 dynamic_linker
='GNU ld.so'
11900 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11901 version_type
=freebsd-
$objformat
11902 case $version_type in
11904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11909 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11913 shlibpath_var
=LD_LIBRARY_PATH
11916 shlibpath_overrides_runpath
=yes
11918 freebsd3.01
* | freebsdelf3.01
*)
11919 shlibpath_overrides_runpath
=yes
11920 hardcode_into_libs
=yes
11923 shlibpath_overrides_runpath
=no
11924 hardcode_into_libs
=yes
11933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11934 soname_spec
='${libname}${release}${shared_ext}$major'
11935 shlibpath_var
=LD_LIBRARY_PATH
11936 hardcode_into_libs
=yes
11939 hpux9
* | hpux10
* | hpux11
*)
11940 # Give a soname corresponding to the major version so that dld.sl refuses to
11941 # link against other versions.
11945 case "$host_cpu" in
11948 hardcode_into_libs
=yes
11949 dynamic_linker
="$host_os dld.so"
11950 shlibpath_var
=LD_LIBRARY_PATH
11951 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11953 soname_spec
='${libname}${release}${shared_ext}$major'
11954 if test "X$HPUX_IA64_MODE" = X32
; then
11955 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11957 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11959 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11963 hardcode_into_libs
=yes
11964 dynamic_linker
="$host_os dld.sl"
11965 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11968 soname_spec
='${libname}${release}${shared_ext}$major'
11969 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11974 dynamic_linker
="$host_os dld.sl"
11975 shlibpath_var
=SHLIB_PATH
11976 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11978 soname_spec
='${libname}${release}${shared_ext}$major'
11981 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11982 postinstall_cmds
='chmod 555 $lib'
11985 irix5
* | irix6
* | nonstopux
*)
11987 nonstopux
*) version_type
=nonstopux
;;
11989 if test "$lt_cv_prog_gnu_ld" = yes; then
11997 soname_spec
='${libname}${release}${shared_ext}$major'
11998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12000 irix5
* | nonstopux
*)
12001 libsuff
= shlibsuff
=
12004 case $LD in # libtool.m4 will add one of these switches to LD
12005 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12006 libsuff
= shlibsuff
= libmagic
=32-bit;;
12007 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12008 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12009 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12010 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12011 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12015 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12016 shlibpath_overrides_runpath
=no
12017 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12018 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12019 hardcode_into_libs
=yes
12022 # No shared lib support for Linux oldld, aout, or coff.
12023 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12027 # This must be Linux ELF.
12032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12033 soname_spec
='${libname}${release}${shared_ext}$major'
12034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12035 shlibpath_var
=LD_LIBRARY_PATH
12036 shlibpath_overrides_runpath
=no
12037 # This implies no fast_install, which is unacceptable.
12038 # Some rework will be needed to allow for fast_install
12039 # before this can be enabled.
12040 hardcode_into_libs
=yes
12042 # Append ld.so.conf contents to the search path
12043 if test -f /etc
/ld.so.conf
; then
12044 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12045 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12048 # We used to test for /lib/ld.so.1 and disable shared libraries on
12049 # powerpc, because MkLinux only supported shared libraries with the
12050 # GNU dynamic linker. Since this was broken with cross compilers,
12051 # most powerpc-linux boxes support dynamic linking these days and
12052 # people can always --disable-shared, the test was removed, and we
12053 # assume the GNU/Linux dynamic linker is in use.
12054 dynamic_linker
='GNU/Linux ld.so'
12061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12062 soname_spec
='${libname}${release}${shared_ext}$major'
12063 shlibpath_var
=LD_LIBRARY_PATH
12064 shlibpath_overrides_runpath
=no
12065 hardcode_into_libs
=yes
12066 dynamic_linker
='GNU ld.so'
12073 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12076 dynamic_linker
='NetBSD (a.out) ld.so'
12078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12079 soname_spec
='${libname}${release}${shared_ext}$major'
12080 dynamic_linker
='NetBSD ld.elf_so'
12082 shlibpath_var
=LD_LIBRARY_PATH
12083 shlibpath_overrides_runpath
=yes
12084 hardcode_into_libs
=yes
12089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12090 shlibpath_var
=LD_LIBRARY_PATH
12091 shlibpath_overrides_runpath
=yes
12098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12099 soname_spec
='${libname}${release}${shared_ext}$major'
12100 shlibpath_var
=LD_LIBRARY_PATH
12101 shlibpath_overrides_runpath
=yes
12108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12109 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12110 shlibpath_var
=LD_LIBRARY_PATH
12111 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12113 openbsd2.
[89] | openbsd2.
[89].
*)
12114 shlibpath_overrides_runpath
=no
12117 shlibpath_overrides_runpath
=yes
12121 shlibpath_overrides_runpath
=yes
12126 libname_spec
='$name'
12129 library_names_spec
='$libname${shared_ext} $libname.a'
12130 dynamic_linker
='OS/2 ld.exe'
12131 shlibpath_var
=LIBPATH
12134 osf3
* | osf4
* | osf5
*)
12138 soname_spec
='${libname}${release}${shared_ext}$major'
12139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12140 shlibpath_var
=LD_LIBRARY_PATH
12141 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12142 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12147 soname_spec
='${libname}${release}${shared_ext}$major'
12148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149 shlibpath_var
=LD_LIBRARY_PATH
12156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12157 soname_spec
='${libname}${release}${shared_ext}$major'
12158 shlibpath_var
=LD_LIBRARY_PATH
12159 shlibpath_overrides_runpath
=yes
12160 hardcode_into_libs
=yes
12161 # ldd complains unless libraries are executable
12162 postinstall_cmds
='chmod +x $lib'
12167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12168 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12169 shlibpath_var
=LD_LIBRARY_PATH
12170 shlibpath_overrides_runpath
=yes
12171 if test "$with_gnu_ld" = yes; then
12177 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12180 soname_spec
='${libname}${release}${shared_ext}$major'
12181 shlibpath_var
=LD_LIBRARY_PATH
12182 case $host_vendor in
12184 shlibpath_overrides_runpath
=no
12186 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12187 runpath_var
=LD_RUN_PATH
12195 shlibpath_overrides_runpath
=no
12196 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12202 if test -d /usr
/nec
;then
12204 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12205 soname_spec
='$libname${shared_ext}.$major'
12206 shlibpath_var
=LD_LIBRARY_PATH
12212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12213 soname_spec
='${libname}${release}${shared_ext}$major'
12214 shlibpath_var
=LD_LIBRARY_PATH
12221 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12222 echo "${ECHO_T}$dynamic_linker" >&6
12223 test "$dynamic_linker" = no
&& can_build_shared
=no
12225 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12226 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12227 hardcode_action_CXX
=
12228 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12229 test -n "$runpath_var_CXX" || \
12230 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12232 # We can hardcode non-existant directories.
12233 if test "$hardcode_direct_CXX" != no
&&
12234 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12235 # have to relink, otherwise we might link with an installed library
12236 # when we should be linking with a yet-to-be-installed one
12237 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12238 test "$hardcode_minus_L_CXX" != no
; then
12239 # Linking always hardcodes the temporary library directory.
12240 hardcode_action_CXX
=relink
12242 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12243 hardcode_action_CXX
=immediate
12246 # We cannot hardcode anything, or else we can only hardcode existing
12248 hardcode_action_CXX
=unsupported
12250 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12251 echo "${ECHO_T}$hardcode_action_CXX" >&6
12253 if test "$hardcode_action_CXX" = relink
; then
12254 # Fast installation is not supported
12255 enable_fast_install
=no
12256 elif test "$shlibpath_overrides_runpath" = yes ||
12257 test "$enable_shared" = no
; then
12258 # Fast installation is not necessary
12259 enable_fast_install
=needless
12264 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12265 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12266 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12267 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12268 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12269 echo "$as_me:$LINENO: result: yes" >&5
12270 echo "${ECHO_T}yes" >&6
12272 # FIXME - insert some real tests, host_os isn't really good enough
12275 if test -n "$STRIP" ; then
12276 striplib
="$STRIP -x"
12277 echo "$as_me:$LINENO: result: yes" >&5
12278 echo "${ECHO_T}yes" >&6
12280 echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6
12285 echo "$as_me:$LINENO: result: no" >&5
12286 echo "${ECHO_T}no" >&6
12291 if test "x$enable_dlopen" != xyes
; then
12292 enable_dlopen
=unknown
12293 enable_dlopen_self
=unknown
12294 enable_dlopen_self_static
=unknown
12301 lt_cv_dlopen
="load_add_on"
12303 lt_cv_dlopen_self
=yes
12307 lt_cv_dlopen
="LoadLibrary"
12312 lt_cv_dlopen
="dlopen"
12317 # if libdl is installed we need to link against it
12318 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12319 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 ac_check_lib_save_LIBS
=$LIBS
12325 cat >conftest.
$ac_ext <<_ACEOF
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12332 /* Override any gcc2 internal prototype to avoid an error. */
12336 /* We use char because int might match the return type of a gcc2
12337 builtin and then its argument prototype would still apply. */
12347 rm -f conftest.
$ac_objext conftest
$ac_exeext
12348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12349 (eval $ac_link) 2>conftest.er1
12351 grep -v '^ *+' conftest.er1
>conftest.err
12353 cat conftest.err
>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } &&
12356 { ac_try
='test -z "$ac_cxx_werror_flag"
12357 || test ! -s conftest.err'
12358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359 (eval $ac_try) 2>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; } &&
12363 { ac_try
='test -s conftest$ac_exeext'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; }; then
12369 ac_cv_lib_dl_dlopen
=yes
12371 echo "$as_me: failed program was:" >&5
12372 sed 's/^/| /' conftest.
$ac_ext >&5
12374 ac_cv_lib_dl_dlopen
=no
12376 rm -f conftest.err conftest.
$ac_objext \
12377 conftest
$ac_exeext conftest.
$ac_ext
12378 LIBS
=$ac_check_lib_save_LIBS
12380 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12381 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12382 if test $ac_cv_lib_dl_dlopen = yes; then
12383 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12386 lt_cv_dlopen
="dyld"
12388 lt_cv_dlopen_self
=yes
12395 echo "$as_me:$LINENO: checking for shl_load" >&5
12396 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12397 if test "${ac_cv_func_shl_load+set}" = set; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 cat >conftest.
$ac_ext <<_ACEOF
12403 cat confdefs.h
>>conftest.
$ac_ext
12404 cat >>conftest.
$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12406 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12408 #define shl_load innocuous_shl_load
12410 /* System header to define __stub macros and hopefully few prototypes,
12411 which can conflict with char shl_load (); below.
12412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12413 <limits.h> exists even on freestanding compilers. */
12416 # include <limits.h>
12418 # include <assert.h>
12423 /* Override any gcc2 internal prototype to avoid an error. */
12428 /* We use char because int might match the return type of a gcc2
12429 builtin and then its argument prototype would still apply. */
12431 /* The GNU C library defines this for functions which it implements
12432 to always fail with ENOSYS. Some functions are actually named
12433 something starting with __ and the normal name is an alias. */
12434 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12437 char (*f) () = shl_load;
12446 return f != shl_load;
12451 rm -f conftest.
$ac_objext conftest
$ac_exeext
12452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12453 (eval $ac_link) 2>conftest.er1
12455 grep -v '^ *+' conftest.er1
>conftest.err
12457 cat conftest.err
>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } &&
12460 { ac_try
='test -z "$ac_cxx_werror_flag"
12461 || test ! -s conftest.err'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; } &&
12467 { ac_try
='test -s conftest$ac_exeext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473 ac_cv_func_shl_load
=yes
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.
$ac_ext >&5
12478 ac_cv_func_shl_load
=no
12480 rm -f conftest.err conftest.
$ac_objext \
12481 conftest
$ac_exeext conftest.
$ac_ext
12483 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12484 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12485 if test $ac_cv_func_shl_load = yes; then
12486 lt_cv_dlopen
="shl_load"
12488 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12489 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12490 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12491 echo $ECHO_N "(cached) $ECHO_C" >&6
12493 ac_check_lib_save_LIBS
=$LIBS
12495 cat >conftest.
$ac_ext <<_ACEOF
12498 cat confdefs.h
>>conftest.
$ac_ext
12499 cat >>conftest.
$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12502 /* Override any gcc2 internal prototype to avoid an error. */
12506 /* We use char because int might match the return type of a gcc2
12507 builtin and then its argument prototype would still apply. */
12517 rm -f conftest.
$ac_objext conftest
$ac_exeext
12518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12519 (eval $ac_link) 2>conftest.er1
12521 grep -v '^ *+' conftest.er1
>conftest.err
12523 cat conftest.err
>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } &&
12526 { ac_try
='test -z "$ac_cxx_werror_flag"
12527 || test ! -s conftest.err'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; } &&
12533 { ac_try
='test -s conftest$ac_exeext'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; }; then
12539 ac_cv_lib_dld_shl_load
=yes
12541 echo "$as_me: failed program was:" >&5
12542 sed 's/^/| /' conftest.
$ac_ext >&5
12544 ac_cv_lib_dld_shl_load
=no
12546 rm -f conftest.err conftest.
$ac_objext \
12547 conftest
$ac_exeext conftest.
$ac_ext
12548 LIBS
=$ac_check_lib_save_LIBS
12550 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12551 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12552 if test $ac_cv_lib_dld_shl_load = yes; then
12553 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12555 echo "$as_me:$LINENO: checking for dlopen" >&5
12556 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12557 if test "${ac_cv_func_dlopen+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 cat >conftest.
$ac_ext <<_ACEOF
12563 cat confdefs.h
>>conftest.
$ac_ext
12564 cat >>conftest.
$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12566 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12568 #define dlopen innocuous_dlopen
12570 /* System header to define __stub macros and hopefully few prototypes,
12571 which can conflict with char dlopen (); below.
12572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12573 <limits.h> exists even on freestanding compilers. */
12576 # include <limits.h>
12578 # include <assert.h>
12583 /* Override any gcc2 internal prototype to avoid an error. */
12588 /* We use char because int might match the return type of a gcc2
12589 builtin and then its argument prototype would still apply. */
12591 /* The GNU C library defines this for functions which it implements
12592 to always fail with ENOSYS. Some functions are actually named
12593 something starting with __ and the normal name is an alias. */
12594 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12597 char (*f) () = dlopen;
12606 return f != dlopen;
12611 rm -f conftest.
$ac_objext conftest
$ac_exeext
12612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12613 (eval $ac_link) 2>conftest.er1
12615 grep -v '^ *+' conftest.er1
>conftest.err
12617 cat conftest.err
>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); } &&
12620 { ac_try
='test -z "$ac_cxx_werror_flag"
12621 || test ! -s conftest.err'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; } &&
12627 { ac_try
='test -s conftest$ac_exeext'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; }; then
12633 ac_cv_func_dlopen
=yes
12635 echo "$as_me: failed program was:" >&5
12636 sed 's/^/| /' conftest.
$ac_ext >&5
12638 ac_cv_func_dlopen
=no
12640 rm -f conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12643 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12644 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12645 if test $ac_cv_func_dlopen = yes; then
12646 lt_cv_dlopen
="dlopen"
12648 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12649 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12650 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 ac_check_lib_save_LIBS
=$LIBS
12655 cat >conftest.
$ac_ext <<_ACEOF
12658 cat confdefs.h
>>conftest.
$ac_ext
12659 cat >>conftest.
$ac_ext <<_ACEOF
12660 /* end confdefs.h. */
12662 /* Override any gcc2 internal prototype to avoid an error. */
12666 /* We use char because int might match the return type of a gcc2
12667 builtin and then its argument prototype would still apply. */
12677 rm -f conftest.
$ac_objext conftest
$ac_exeext
12678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12679 (eval $ac_link) 2>conftest.er1
12681 grep -v '^ *+' conftest.er1
>conftest.err
12683 cat conftest.err
>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); } &&
12686 { ac_try
='test -z "$ac_cxx_werror_flag"
12687 || test ! -s conftest.err'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 (eval $ac_try) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; } &&
12693 { ac_try
='test -s conftest$ac_exeext'
12694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12695 (eval $ac_try) 2>&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); }; }; then
12699 ac_cv_lib_dl_dlopen
=yes
12701 echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.
$ac_ext >&5
12704 ac_cv_lib_dl_dlopen
=no
12706 rm -f conftest.err conftest.
$ac_objext \
12707 conftest
$ac_exeext conftest.
$ac_ext
12708 LIBS
=$ac_check_lib_save_LIBS
12710 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12711 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12712 if test $ac_cv_lib_dl_dlopen = yes; then
12713 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12715 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12716 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12717 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 ac_check_lib_save_LIBS
=$LIBS
12721 LIBS
="-lsvld $LIBS"
12722 cat >conftest.
$ac_ext <<_ACEOF
12725 cat confdefs.h
>>conftest.
$ac_ext
12726 cat >>conftest.
$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12729 /* Override any gcc2 internal prototype to avoid an error. */
12733 /* We use char because int might match the return type of a gcc2
12734 builtin and then its argument prototype would still apply. */
12744 rm -f conftest.
$ac_objext conftest
$ac_exeext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12746 (eval $ac_link) 2>conftest.er1
12748 grep -v '^ *+' conftest.er1
>conftest.err
12750 cat conftest.err
>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } &&
12753 { ac_try
='test -z "$ac_cxx_werror_flag"
12754 || test ! -s conftest.err'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; } &&
12760 { ac_try
='test -s conftest$ac_exeext'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; }; then
12766 ac_cv_lib_svld_dlopen
=yes
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.
$ac_ext >&5
12771 ac_cv_lib_svld_dlopen
=no
12773 rm -f conftest.err conftest.
$ac_objext \
12774 conftest
$ac_exeext conftest.
$ac_ext
12775 LIBS
=$ac_check_lib_save_LIBS
12777 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12778 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12779 if test $ac_cv_lib_svld_dlopen = yes; then
12780 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12782 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12783 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12784 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 ac_check_lib_save_LIBS
=$LIBS
12789 cat >conftest.
$ac_ext <<_ACEOF
12792 cat confdefs.h
>>conftest.
$ac_ext
12793 cat >>conftest.
$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12796 /* Override any gcc2 internal prototype to avoid an error. */
12800 /* We use char because int might match the return type of a gcc2
12801 builtin and then its argument prototype would still apply. */
12811 rm -f conftest.
$ac_objext conftest
$ac_exeext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12813 (eval $ac_link) 2>conftest.er1
12815 grep -v '^ *+' conftest.er1
>conftest.err
12817 cat conftest.err
>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try
='test -z "$ac_cxx_werror_flag"
12821 || test ! -s conftest.err'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; } &&
12827 { ac_try
='test -s conftest$ac_exeext'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; }; then
12833 ac_cv_lib_dld_dld_link
=yes
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.
$ac_ext >&5
12838 ac_cv_lib_dld_dld_link
=no
12840 rm -f conftest.err conftest.
$ac_objext \
12841 conftest
$ac_exeext conftest.
$ac_ext
12842 LIBS
=$ac_check_lib_save_LIBS
12844 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12845 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12846 if test $ac_cv_lib_dld_dld_link = yes; then
12847 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12868 if test "x$lt_cv_dlopen" != xno
; then
12874 case $lt_cv_dlopen in
12876 save_CPPFLAGS
="$CPPFLAGS"
12877 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12879 save_LDFLAGS
="$LDFLAGS"
12880 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12883 LIBS
="$lt_cv_dlopen_libs $LIBS"
12885 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12886 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12887 if test "${lt_cv_dlopen_self+set}" = set; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 if test "$cross_compiling" = yes; then :
12891 lt_cv_dlopen_self
=cross
12893 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12894 lt_status
=$lt_dlunknown
12895 cat > conftest.
$ac_ext <<EOF
12896 #line 12896 "configure"
12897 #include "confdefs.h"
12906 # define LT_DLGLOBAL RTLD_GLOBAL
12909 # define LT_DLGLOBAL DL_GLOBAL
12911 # define LT_DLGLOBAL 0
12915 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12916 find out it does not work in some platform. */
12917 #ifndef LT_DLLAZY_OR_NOW
12919 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12922 # define LT_DLLAZY_OR_NOW DL_LAZY
12925 # define LT_DLLAZY_OR_NOW RTLD_NOW
12928 # define LT_DLLAZY_OR_NOW DL_NOW
12930 # define LT_DLLAZY_OR_NOW 0
12938 extern "C" void exit (int);
12941 void fnord() { int i=42;}
12944 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12945 int status = $lt_dlunknown;
12949 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12950 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12951 /* dlclose (self); */
12957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12958 (eval $ac_link) 2>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12962 (.
/conftest
; exit; ) 2>/dev
/null
12964 case x
$lt_status in
12965 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12966 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12967 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12970 # compilation failed
12971 lt_cv_dlopen_self
=no
12978 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12979 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12981 if test "x$lt_cv_dlopen_self" = xyes
; then
12982 LDFLAGS
="$LDFLAGS $link_static_flag"
12983 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12984 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12985 if test "${lt_cv_dlopen_self_static+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 if test "$cross_compiling" = yes; then :
12989 lt_cv_dlopen_self_static
=cross
12991 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12992 lt_status
=$lt_dlunknown
12993 cat > conftest.
$ac_ext <<EOF
12994 #line 12994 "configure"
12995 #include "confdefs.h"
13004 # define LT_DLGLOBAL RTLD_GLOBAL
13007 # define LT_DLGLOBAL DL_GLOBAL
13009 # define LT_DLGLOBAL 0
13013 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13014 find out it does not work in some platform. */
13015 #ifndef LT_DLLAZY_OR_NOW
13017 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13020 # define LT_DLLAZY_OR_NOW DL_LAZY
13023 # define LT_DLLAZY_OR_NOW RTLD_NOW
13026 # define LT_DLLAZY_OR_NOW DL_NOW
13028 # define LT_DLLAZY_OR_NOW 0
13036 extern "C" void exit (int);
13039 void fnord() { int i=42;}
13042 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13043 int status = $lt_dlunknown;
13047 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13048 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13049 /* dlclose (self); */
13055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13056 (eval $ac_link) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13060 (.
/conftest
; exit; ) 2>/dev
/null
13062 case x
$lt_status in
13063 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13064 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13065 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
13068 # compilation failed
13069 lt_cv_dlopen_self_static
=no
13076 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13077 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13080 CPPFLAGS
="$save_CPPFLAGS"
13081 LDFLAGS
="$save_LDFLAGS"
13086 case $lt_cv_dlopen_self in
13087 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13088 *) enable_dlopen_self
=unknown
;;
13091 case $lt_cv_dlopen_self_static in
13092 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13093 *) enable_dlopen_self_static
=unknown
;;
13098 # The else clause should only fire when bootstrapping the
13099 # libtool distribution, otherwise you forgot to ship ltmain.sh
13100 # with your package, and you will get complaints that there are
13101 # no rules to generate ltmain.sh.
13102 if test -f "$ltmain"; then
13103 # See if we are running on zsh, and set the options which allow our commands through
13104 # without removal of \ escapes.
13105 if test -n "${ZSH_VERSION+set}" ; then
13106 setopt NO_GLOB_SUBST
13108 # Now quote all the things that may contain metacharacters while being
13109 # careful not to overquote the AC_SUBSTed values. We take copies of the
13110 # variables and quote the copies for generation of the libtool script.
13111 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13113 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13114 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13115 deplibs_check_method reload_flag reload_cmds need_locks \
13116 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13117 lt_cv_sys_global_symbol_to_c_name_address \
13118 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13119 old_postinstall_cmds old_postuninstall_cmds \
13123 lt_prog_compiler_wl_CXX \
13124 lt_prog_compiler_pic_CXX \
13125 lt_prog_compiler_static_CXX \
13126 lt_prog_compiler_no_builtin_flag_CXX \
13127 export_dynamic_flag_spec_CXX \
13128 thread_safe_flag_spec_CXX \
13129 whole_archive_flag_spec_CXX \
13130 enable_shared_with_static_runtimes_CXX \
13131 old_archive_cmds_CXX \
13132 old_archive_from_new_cmds_CXX \
13133 predep_objects_CXX \
13134 postdep_objects_CXX \
13137 compiler_lib_search_path_CXX \
13139 archive_expsym_cmds_CXX \
13140 postinstall_cmds_CXX \
13141 postuninstall_cmds_CXX \
13142 old_archive_from_expsyms_cmds_CXX \
13143 allow_undefined_flag_CXX \
13144 no_undefined_flag_CXX \
13145 export_symbols_cmds_CXX \
13146 hardcode_libdir_flag_spec_CXX \
13147 hardcode_libdir_flag_spec_ld_CXX \
13148 hardcode_libdir_separator_CXX \
13149 hardcode_automatic_CXX \
13151 module_expsym_cmds_CXX \
13152 lt_cv_prog_compiler_c_o_CXX \
13153 exclude_expsyms_CXX \
13154 include_expsyms_CXX
; do
13157 old_archive_cmds_CXX | \
13158 old_archive_from_new_cmds_CXX | \
13159 archive_cmds_CXX | \
13160 archive_expsym_cmds_CXX | \
13161 module_cmds_CXX | \
13162 module_expsym_cmds_CXX | \
13163 old_archive_from_expsyms_cmds_CXX | \
13164 export_symbols_cmds_CXX | \
13165 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13166 postinstall_cmds | postuninstall_cmds | \
13167 old_postinstall_cmds | old_postuninstall_cmds | \
13168 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13169 # Double-quote double-evaled strings.
13170 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13173 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13179 *'\$0 --fallback-echo"')
13180 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13186 cat <<__EOF__ >> "$cfgfile"
13187 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13189 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13191 # Shell to use when invoking shell scripts.
13194 # Whether or not to build shared libraries.
13195 build_libtool_libs=$enable_shared
13197 # Whether or not to build static libraries.
13198 build_old_libs=$enable_static
13200 # Whether or not to add -lc for building shared libraries.
13201 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13203 # Whether or not to disallow shared libs when runtime libs are static
13204 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13206 # Whether or not to optimize for fast installation.
13207 fast_install=$enable_fast_install
13210 host_alias=$host_alias
13213 # An echo program that does not interpret backslashes.
13218 AR_FLAGS=$lt_AR_FLAGS
13223 # A language-specific compiler.
13224 CC=$lt_compiler_CXX
13226 # Is the compiler the GNU C compiler?
13232 # The linker used to build libraries.
13235 # Whether we need hard or soft links.
13238 # A BSD-compatible nm program.
13241 # A symbol stripping program
13244 # Used to examine libraries when file_magic_cmd begins "file"
13245 MAGIC_CMD=$MAGIC_CMD
13247 # Used on cygwin: DLL creation program.
13250 # Used on cygwin: object dumper.
13253 # Used on cygwin: assembler.
13256 # The name of the directory that contains temporary libtool files.
13259 # How to create reloadable object files.
13260 reload_flag=$lt_reload_flag
13261 reload_cmds=$lt_reload_cmds
13263 # How to pass a linker flag through the compiler.
13264 wl=$lt_lt_prog_compiler_wl_CXX
13266 # Object file suffix (normally "o").
13267 objext="$ac_objext"
13269 # Old archive suffix (normally "a").
13272 # Shared library suffix (normally ".so").
13273 shrext_cmds='$shrext_cmds'
13275 # Executable file suffix (normally "").
13278 # Additional compiler flags for building library objects.
13279 pic_flag=$lt_lt_prog_compiler_pic_CXX
13282 # What is the maximum length of a command?
13283 max_cmd_len=$lt_cv_sys_max_cmd_len
13285 # Does compiler simultaneously support -c and -o options?
13286 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13288 # Must we lock files when doing compilation ?
13289 need_locks=$lt_need_locks
13291 # Do we need the lib prefix for modules?
13292 need_lib_prefix=$need_lib_prefix
13294 # Do we need a version for libraries?
13295 need_version=$need_version
13297 # Whether dlopen is supported.
13298 dlopen_support=$enable_dlopen
13300 # Whether dlopen of programs is supported.
13301 dlopen_self=$enable_dlopen_self
13303 # Whether dlopen of statically linked programs is supported.
13304 dlopen_self_static=$enable_dlopen_self_static
13306 # Compiler flag to prevent dynamic linking.
13307 link_static_flag=$lt_lt_prog_compiler_static_CXX
13309 # Compiler flag to turn off builtin functions.
13310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13312 # Compiler flag to allow reflexive dlopens.
13313 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13315 # Compiler flag to generate shared objects directly from archives.
13316 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13318 # Compiler flag to generate thread-safe objects.
13319 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13321 # Library versioning type.
13322 version_type=$version_type
13324 # Format of library name prefix.
13325 libname_spec=$lt_libname_spec
13327 # List of archive names. First name is the real one, the rest are links.
13328 # The last name is the one that the linker finds with -lNAME.
13329 library_names_spec=$lt_library_names_spec
13331 # The coded name of the library, if different from the real name.
13332 soname_spec=$lt_soname_spec
13334 # Commands used to build and install an old-style archive.
13336 old_archive_cmds=$lt_old_archive_cmds_CXX
13337 old_postinstall_cmds=$lt_old_postinstall_cmds
13338 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13340 # Create an old-style archive from a shared archive.
13341 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13343 # Create a temporary old-style archive to link instead of a shared archive.
13344 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13346 # Commands used to build and install a shared archive.
13347 archive_cmds=$lt_archive_cmds_CXX
13348 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13349 postinstall_cmds=$lt_postinstall_cmds
13350 postuninstall_cmds=$lt_postuninstall_cmds
13352 # Commands used to build a loadable module (assumed same as above if empty)
13353 module_cmds=$lt_module_cmds_CXX
13354 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13356 # Commands to strip libraries.
13357 old_striplib=$lt_old_striplib
13358 striplib=$lt_striplib
13360 # Dependencies to place before the objects being linked to create a
13362 predep_objects=$lt_predep_objects_CXX
13364 # Dependencies to place after the objects being linked to create a
13366 postdep_objects=$lt_postdep_objects_CXX
13368 # Dependencies to place before the objects being linked to create a
13370 predeps=$lt_predeps_CXX
13372 # Dependencies to place after the objects being linked to create a
13374 postdeps=$lt_postdeps_CXX
13376 # The library search path used internally by the compiler when linking
13377 # a shared library.
13378 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13380 # Method to check whether dependent libraries are shared objects.
13381 deplibs_check_method=$lt_deplibs_check_method
13383 # Command to use when deplibs_check_method == file_magic.
13384 file_magic_cmd=$lt_file_magic_cmd
13386 # Flag that allows shared libraries with undefined symbols to be built.
13387 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13389 # Flag that forces no undefined symbols.
13390 no_undefined_flag=$lt_no_undefined_flag_CXX
13392 # Commands used to finish a libtool library installation in a directory.
13393 finish_cmds=$lt_finish_cmds
13395 # Same as above, but a single script fragment to be evaled but not shown.
13396 finish_eval=$lt_finish_eval
13398 # Take the output of nm and produce a listing of raw symbols and C names.
13399 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13401 # Transform the output of nm in a proper C declaration
13402 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13404 # Transform the output of nm in a C name address pair
13405 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13407 # This is the shared library runtime path variable.
13408 runpath_var=$runpath_var
13410 # This is the shared library path variable.
13411 shlibpath_var=$shlibpath_var
13413 # Is shlibpath searched before the hard-coded library search path?
13414 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13416 # How to hardcode a shared library path into an executable.
13417 hardcode_action=$hardcode_action_CXX
13419 # Whether we should hardcode library paths into libraries.
13420 hardcode_into_libs=$hardcode_into_libs
13422 # Flag to hardcode \$libdir into a binary during linking.
13423 # This must work even if \$libdir does not exist.
13424 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13426 # If ld is used when linking, flag to hardcode \$libdir into
13427 # a binary during linking. This must work even if \$libdir does
13429 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13431 # Whether we need a single -rpath flag with a separated argument.
13432 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13434 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13435 # resulting binary.
13436 hardcode_direct=$hardcode_direct_CXX
13438 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13439 # resulting binary.
13440 hardcode_minus_L=$hardcode_minus_L_CXX
13442 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13443 # the resulting binary.
13444 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13446 # Set to yes if building a shared library automatically hardcodes DIR into the library
13447 # and all subsequent libraries and executables linked against it.
13448 hardcode_automatic=$hardcode_automatic_CXX
13450 # Variables whose values should be saved in libtool wrapper scripts and
13451 # restored at relink time.
13452 variables_saved_for_relink="$variables_saved_for_relink"
13454 # Whether libtool must link a program against all its dependency libraries.
13455 link_all_deplibs=$link_all_deplibs_CXX
13457 # Compile-time system search path for libraries
13458 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13460 # Run-time system search path for libraries
13461 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13463 # Fix the shell variable \$srcfile for the compiler.
13464 fix_srcfile_path="$fix_srcfile_path_CXX"
13466 # Set to yes if exported symbols are required.
13467 always_export_symbols=$always_export_symbols_CXX
13469 # The commands to list exported symbols.
13470 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13472 # The commands to extract the exported symbol list from a shared archive.
13473 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13475 # Symbols that should not be listed in the preloaded symbols.
13476 exclude_expsyms=$lt_exclude_expsyms_CXX
13478 # Symbols that must always be exported.
13479 include_expsyms=$lt_include_expsyms_CXX
13481 # ### END LIBTOOL TAG CONFIG: $tagname
13487 # If there is no Makefile yet, we rely on a make rule to execute
13488 # `config.status --recheck' to rerun these tests and create the
13489 # libtool script then.
13490 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13491 if test -f "$ltmain_in"; then
13492 test -f Makefile
&& make "$ltmain"
13498 ac_cpp
='$CPP $CPPFLAGS'
13499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13507 with_gnu_ldcxx
=$with_gnu_ld
13508 with_gnu_ld
=$lt_save_with_gnu_ld
13509 lt_cv_path_LDCXX
=$lt_cv_path_LD
13510 lt_cv_path_LD
=$lt_save_path_LD
13511 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13512 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13520 if test -n "$F77" && test "X$F77" != "Xno"; then
13523 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13524 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13525 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13528 archive_cmds_need_lc_F77
=no
13529 allow_undefined_flag_F77
=
13530 always_export_symbols_F77
=no
13531 archive_expsym_cmds_F77
=
13532 export_dynamic_flag_spec_F77
=
13533 hardcode_direct_F77
=no
13534 hardcode_libdir_flag_spec_F77
=
13535 hardcode_libdir_flag_spec_ld_F77
=
13536 hardcode_libdir_separator_F77
=
13537 hardcode_minus_L_F77
=no
13538 hardcode_automatic_F77
=no
13540 module_expsym_cmds_F77
=
13541 link_all_deplibs_F77
=unknown
13542 old_archive_cmds_F77
=$old_archive_cmds
13543 no_undefined_flag_F77
=
13544 whole_archive_flag_spec_F77
=
13545 enable_shared_with_static_runtimes_F77
=no
13547 # Source file extension for f77 test sources.
13550 # Object file extension for compiled f77 test sources.
13554 # Code to be used in simple compile tests
13555 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13557 # Code to be used in simple link tests
13558 lt_simple_link_test_code
=" program t\n end\n"
13560 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13562 # If no C compiler was specified, use CC.
13565 # Allow CC to be a program name with arguments.
13569 # Allow CC to be a program name with arguments.
13574 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13576 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13577 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13578 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13579 echo "${ECHO_T}$can_build_shared" >&6
13581 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13582 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13583 test "$can_build_shared" = "no" && enable_shared
=no
13585 # On AIX, shared libraries and static libraries use the same namespace, and
13586 # are all built from PIC.
13589 test "$enable_shared" = yes && enable_static
=no
13590 if test -n "$RANLIB"; then
13591 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13592 postinstall_cmds
='$RANLIB $lib'
13596 test "$enable_shared" = yes && enable_static
=no
13599 echo "$as_me:$LINENO: result: $enable_shared" >&5
13600 echo "${ECHO_T}$enable_shared" >&6
13602 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13603 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13604 # Make sure either enable_shared or enable_static is yes.
13605 test "$enable_shared" = yes || enable_static
=yes
13606 echo "$as_me:$LINENO: result: $enable_static" >&5
13607 echo "${ECHO_T}$enable_static" >&6
13609 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13614 lt_prog_compiler_wl_F77
=
13615 lt_prog_compiler_pic_F77
=
13616 lt_prog_compiler_static_F77
=
13618 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13619 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13621 if test "$GCC" = yes; then
13622 lt_prog_compiler_wl_F77
='-Wl,'
13623 lt_prog_compiler_static_F77
='-static'
13627 # All AIX code is PIC.
13628 if test "$host_cpu" = ia64
; then
13629 # AIX 5 now supports IA64 processor
13630 lt_prog_compiler_static_F77
='-Bstatic'
13635 # FIXME: we need at least 68020 code to build shared libraries, but
13636 # adding the `-m68020' flag to GCC prevents building anything better,
13638 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13641 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13642 # PIC is the default for these OSes.
13645 mingw
* | pw32
* | os2
*)
13646 # This hack is so that the source file can tell whether it is being
13647 # built for inclusion in a dll (and should export symbols for example).
13648 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13651 darwin
* | rhapsody
*)
13652 # PIC is the default on this platform
13653 # Common symbols not allowed in MH_DYLIB files
13654 lt_prog_compiler_pic_F77
='-fno-common'
13658 # Just because we use GCC doesn't mean we suddenly get shared libraries
13659 # on systems that don't support them.
13660 lt_prog_compiler_can_build_shared_F77
=no
13665 if test -d /usr
/nec
; then
13666 lt_prog_compiler_pic_F77
=-Kconform_pic
13671 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13672 # not for PA HP-UX.
13673 case "$host_cpu" in
13678 lt_prog_compiler_pic_F77
='-fPIC'
13684 lt_prog_compiler_pic_F77
='-fPIC'
13688 # PORTME Check for flag to pass linker flags through the system compiler.
13691 lt_prog_compiler_wl_F77
='-Wl,'
13692 if test "$host_cpu" = ia64
; then
13693 # AIX 5 now supports IA64 processor
13694 lt_prog_compiler_static_F77
='-Bstatic'
13696 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13700 # PIC is the default on this platform
13701 # Common symbols not allowed in MH_DYLIB files
13702 case "$cc_basename" in
13704 lt_prog_compiler_pic_F77
='-qnocommon'
13705 lt_prog_compiler_wl_F77
='-Wl,'
13710 mingw
* | pw32
* | os2
*)
13711 # This hack is so that the source file can tell whether it is being
13712 # built for inclusion in a dll (and should export symbols for example).
13713 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13716 hpux9
* | hpux10
* | hpux11
*)
13717 lt_prog_compiler_wl_F77
='-Wl,'
13718 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13719 # not for PA HP-UX.
13720 case "$host_cpu" in
13725 lt_prog_compiler_pic_F77
='+Z'
13728 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13729 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13732 irix5
* | irix6
* | nonstopux
*)
13733 lt_prog_compiler_wl_F77
='-Wl,'
13734 # PIC (with -KPIC) is the default.
13735 lt_prog_compiler_static_F77
='-non_shared'
13739 lt_prog_compiler_pic_F77
='-KPIC'
13740 lt_prog_compiler_static_F77
='-Bstatic'
13746 lt_prog_compiler_wl_F77
='-Wl,'
13747 lt_prog_compiler_pic_F77
='-KPIC'
13748 lt_prog_compiler_static_F77
='-static'
13751 lt_prog_compiler_wl_F77
='-Wl,'
13752 # All Alpha code is PIC.
13753 lt_prog_compiler_static_F77
='-non_shared'
13758 osf3
* | osf4
* | osf5
*)
13759 lt_prog_compiler_wl_F77
='-Wl,'
13760 # All OSF/1 code is PIC.
13761 lt_prog_compiler_static_F77
='-non_shared'
13765 lt_prog_compiler_pic_F77
='-Kpic'
13766 lt_prog_compiler_static_F77
='-dn'
13770 lt_prog_compiler_wl_F77
='-Wl,'
13771 lt_prog_compiler_pic_F77
='-KPIC'
13772 lt_prog_compiler_static_F77
='-Bstatic'
13776 lt_prog_compiler_wl_F77
='-Qoption ld '
13777 lt_prog_compiler_pic_F77
='-PIC'
13778 lt_prog_compiler_static_F77
='-Bstatic'
13781 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13782 lt_prog_compiler_wl_F77
='-Wl,'
13783 lt_prog_compiler_pic_F77
='-KPIC'
13784 lt_prog_compiler_static_F77
='-Bstatic'
13788 if test -d /usr
/nec
;then
13789 lt_prog_compiler_pic_F77
='-Kconform_pic'
13790 lt_prog_compiler_static_F77
='-Bstatic'
13795 lt_prog_compiler_pic_F77
='-pic'
13796 lt_prog_compiler_static_F77
='-Bstatic'
13800 lt_prog_compiler_can_build_shared_F77
=no
13805 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13806 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13809 # Check to make sure the PIC flag actually works.
13811 if test -n "$lt_prog_compiler_pic_F77"; then
13813 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13814 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13815 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13818 lt_prog_compiler_pic_works_F77
=no
13819 ac_outfile
=conftest.
$ac_objext
13820 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13821 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13822 # Insert the option either (1) after the last *FLAGS variable, or
13823 # (2) before a word containing "conftest.", or (3) at the end.
13824 # Note that $ac_compile itself does not contain backslashes and begins
13825 # with a dollar sign (not a hyphen), so the echo should work correctly.
13826 # The option is referenced via a variable to avoid confusing sed.
13827 lt_compile
=`echo "$ac_compile" | $SED \
13828 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13830 -e 's:$: $lt_compiler_flag:'`
13831 (eval echo "\"\$as_me:13831: $lt_compile\"" >&5)
13832 (eval "$lt_compile" 2>conftest.err
)
13834 cat conftest.err
>&5
13835 echo "$as_me:13835: \$? = $ac_status" >&5
13836 if (exit $ac_status) && test -s "$ac_outfile"; then
13837 # The compiler can only warn and ignore the option if not recognized
13838 # So say no if there are warnings
13839 if test ! -s conftest.err
; then
13840 lt_prog_compiler_pic_works_F77
=yes
13846 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13847 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13849 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13850 case $lt_prog_compiler_pic_F77 in
13852 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13855 lt_prog_compiler_pic_F77
=
13856 lt_prog_compiler_can_build_shared_F77
=no
13861 # For platforms which do not support PIC, -DPIC is meaningless:
13863 lt_prog_compiler_pic_F77
=
13866 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13870 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13871 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13872 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 lt_cv_prog_compiler_c_o_F77
=no
13876 $rm -r conftest
2>/dev
/null
13880 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13882 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13883 # Insert the option either (1) after the last *FLAGS variable, or
13884 # (2) before a word containing "conftest.", or (3) at the end.
13885 # Note that $ac_compile itself does not contain backslashes and begins
13886 # with a dollar sign (not a hyphen), so the echo should work correctly.
13887 lt_compile
=`echo "$ac_compile" | $SED \
13888 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13890 -e 's:$: $lt_compiler_flag:'`
13891 (eval echo "\"\$as_me:13891: $lt_compile\"" >&5)
13892 (eval "$lt_compile" 2>out
/conftest.err
)
13894 cat out
/conftest.err
>&5
13895 echo "$as_me:13895: \$? = $ac_status" >&5
13896 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13898 # The compiler can only warn and ignore the option if not recognized
13899 # So say no if there are warnings
13900 if test ! -s out
/conftest.err
; then
13901 lt_cv_prog_compiler_c_o_F77
=yes
13906 # SGI C++ compiler will create directory out/ii_files/ for
13907 # template instantiation
13908 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13909 $rm out
/* && rmdir out
13915 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13916 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13919 hard_links
="nottested"
13920 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13921 # do not overwrite the value of need_locks provided by the user
13922 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13923 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13926 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13928 ln conftest.a conftest.b
2>&5 || hard_links
=no
13929 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13930 echo "$as_me:$LINENO: result: $hard_links" >&5
13931 echo "${ECHO_T}$hard_links" >&6
13932 if test "$hard_links" = no
; then
13933 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13934 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13941 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13945 allow_undefined_flag_F77
=
13946 enable_shared_with_static_runtimes_F77
=no
13948 archive_expsym_cmds_F77
=
13949 old_archive_From_new_cmds_F77
=
13950 old_archive_from_expsyms_cmds_F77
=
13951 export_dynamic_flag_spec_F77
=
13952 whole_archive_flag_spec_F77
=
13953 thread_safe_flag_spec_F77
=
13954 hardcode_libdir_flag_spec_F77
=
13955 hardcode_libdir_flag_spec_ld_F77
=
13956 hardcode_libdir_separator_F77
=
13957 hardcode_direct_F77
=no
13958 hardcode_minus_L_F77
=no
13959 hardcode_shlibpath_var_F77
=unsupported
13960 link_all_deplibs_F77
=unknown
13961 hardcode_automatic_F77
=no
13963 module_expsym_cmds_F77
=
13964 always_export_symbols_F77
=no
13965 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13966 # include_expsyms should be a list of space-separated symbols to be *always*
13967 # included in the symbol list
13968 include_expsyms_F77
=
13969 # exclude_expsyms can be an extended regexp of symbols to exclude
13970 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13971 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13972 # as well as any symbol that contains `d'.
13973 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13974 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13975 # platforms (ab)use it in PIC code, but their linkers get confused if
13976 # the symbol is explicitly referenced. Since portable code cannot
13977 # rely on this symbol name, it's probably fine to never include it in
13978 # preloaded symbol tables.
13979 extract_expsyms_cmds
=
13982 cygwin
* | mingw
* | pw32
*)
13983 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13984 # When not using gcc, we currently assume that we are using
13985 # Microsoft Visual C++.
13986 if test "$GCC" != yes; then
13996 if test "$with_gnu_ld" = yes; then
13997 # If archive_cmds runs LD, not CC, wlarc should be empty
14000 # See if GNU ld supports shared libraries.
14002 aix3
* | aix4
* | aix5
*)
14003 # On AIX/PPC, the GNU linker is very broken
14004 if test "$host_cpu" != ia64
; then
14008 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14009 *** to be unable to reliably create shared libraries on AIX.
14010 *** Therefore, libtool is disabling shared libraries support. If you
14011 *** really care for shared libraries, you may want to modify your PATH
14012 *** so that a non-GNU linker is found, and then restart.
14019 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)'
14020 hardcode_libdir_flag_spec_F77
='-L$libdir'
14021 hardcode_minus_L_F77
=yes
14023 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14024 # that the semantics of dynamic libraries on AmigaOS, at least up
14025 # to version 4, is to share data among multiple programs linked
14026 # with the same dynamic library. Since this doesn't match the
14027 # behavior of shared libraries on other platforms, we can't use
14033 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14034 allow_undefined_flag_F77
=unsupported
14035 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14036 # support --undefined. This deserves some investigation. FIXME
14037 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14043 cygwin
* | mingw
* | pw32
*)
14044 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14045 # as there is no search path for DLLs.
14046 hardcode_libdir_flag_spec_F77
='-L$libdir'
14047 allow_undefined_flag_F77
=unsupported
14048 always_export_symbols_F77
=no
14049 enable_shared_with_static_runtimes_F77
=yes
14050 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14052 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14053 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14054 # If the export-symbols file already is a .def file (1st line
14055 # is EXPORTS), use it as is; otherwise, prepend...
14056 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14057 cp $export_symbols $output_objdir/$soname.def;
14059 echo EXPORTS > $output_objdir/$soname.def;
14060 cat $export_symbols >> $output_objdir/$soname.def;
14062 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14069 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14070 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14073 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14074 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14079 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14083 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14084 *** create shared libraries on Solaris systems. Therefore, libtool
14085 *** is disabling shared libraries support. We urge you to upgrade GNU
14086 *** binutils to release 2.9.1 or newer. Another option is to modify
14087 *** your PATH or compiler configuration so that the native linker is
14088 *** used, and then restart.
14091 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14092 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14093 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14100 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14102 hardcode_direct_F77
=yes
14103 hardcode_shlibpath_var_F77
=no
14107 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14108 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14109 archive_cmds_F77
="$tmp_archive_cmds"
14110 supports_anon_versioning
=no
14111 case `$LD -v 2>/dev/null` in
14112 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14113 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14114 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14115 *\
2.11.
*) ;; # other 2.11 versions
14116 *) supports_anon_versioning
=yes ;;
14118 if test $supports_anon_versioning = yes; then
14119 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14120 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14121 $echo "local: *; };" >> $output_objdir/$libname.ver~
14122 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14124 archive_expsym_cmds_F77
="$tmp_archive_cmds"
14132 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14133 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14134 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14141 if test "$ld_shlibs_F77" = yes; then
14142 runpath_var
=LD_RUN_PATH
14143 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14144 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14145 # ancient GNU ld didn't support --whole-archive et. al.
14146 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14147 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14149 whole_archive_flag_spec_F77
=
14153 # PORTME fill in a description of your system's linker (not GNU ld)
14156 allow_undefined_flag_F77
=unsupported
14157 always_export_symbols_F77
=yes
14158 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'
14159 # Note: this linker hardcodes the directories in LIBPATH if there
14160 # are no directories specified by -L.
14161 hardcode_minus_L_F77
=yes
14162 if test "$GCC" = yes && test -z "$link_static_flag"; then
14163 # Neither direct hardcoding nor static linking is supported with a
14165 hardcode_direct_F77
=unsupported
14170 if test "$host_cpu" = ia64
; then
14171 # On IA64, the linker does run time linking by default, so we don't
14172 # have to do anything special.
14173 aix_use_runtimelinking
=no
14174 exp_sym_flag
='-Bexport'
14177 # If we're using GNU nm, then we don't want the "-C" option.
14178 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14179 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14180 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'
14182 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'
14184 aix_use_runtimelinking
=no
14186 # Test if we are trying to use run time linking or normal
14187 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14188 # need to do runtime linking.
14189 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14190 for ld_flag
in $LDFLAGS; do
14191 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14192 aix_use_runtimelinking
=yes
14198 exp_sym_flag
='-bexport'
14199 no_entry_flag
='-bnoentry'
14202 # When large executables or shared objects are built, AIX ld can
14203 # have problems creating the table of contents. If linking a library
14204 # or program results in "error TOC overflow" add -mminimal-toc to
14205 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14206 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14208 archive_cmds_F77
=''
14209 hardcode_direct_F77
=yes
14210 hardcode_libdir_separator_F77
=':'
14211 link_all_deplibs_F77
=yes
14213 if test "$GCC" = yes; then
14214 case $host_os in aix4.012|aix4.012.
*)
14215 # We only want to do this on AIX 4.2 and lower, the check
14216 # below for broken collect2 doesn't work under 4.3+
14217 collect2name
=`${CC} -print-prog-name=collect2`
14218 if test -f "$collect2name" && \
14219 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14221 # We have reworked collect2
14222 hardcode_direct_F77
=yes
14224 # We have old collect2
14225 hardcode_direct_F77
=unsupported
14226 # It fails to find uninstalled libraries when the uninstalled
14227 # path is not listed in the libpath. Setting hardcode_minus_L
14228 # to unsupported forces relinking
14229 hardcode_minus_L_F77
=yes
14230 hardcode_libdir_flag_spec_F77
='-L$libdir'
14231 hardcode_libdir_separator_F77
=
14234 shared_flag
='-shared'
14237 if test "$host_cpu" = ia64
; then
14238 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14239 # chokes on -Wl,-G. The following line is correct:
14242 if test "$aix_use_runtimelinking" = yes; then
14243 shared_flag
='${wl}-G'
14245 shared_flag
='${wl}-bM:SRE'
14250 # It seems that -bexpall does not export symbols beginning with
14251 # underscore (_), so it is better to generate a list of symbols to export.
14252 always_export_symbols_F77
=yes
14253 if test "$aix_use_runtimelinking" = yes; then
14254 # Warning - without using the other runtime loading flags (-brtl),
14255 # -berok will link without error, but may produce a broken library.
14256 allow_undefined_flag_F77
='-berok'
14257 # Determine the default libpath from the value encoded in an empty executable.
14258 cat >conftest.
$ac_ext <<_ACEOF
14263 rm -f conftest.
$ac_objext conftest
$ac_exeext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14265 (eval $ac_link) 2>conftest.er1
14267 grep -v '^ *+' conftest.er1
>conftest.err
14269 cat conftest.err
>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } &&
14272 { ac_try
='test -z "$ac_f77_werror_flag"
14273 || test ! -s conftest.err'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; } &&
14279 { ac_try
='test -s conftest$ac_exeext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14286 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14288 # Check for a 64-bit object if we didn't find anything.
14289 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; }
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.
$ac_ext >&5
14296 rm -f conftest.err conftest.
$ac_objext \
14297 conftest
$ac_exeext conftest.
$ac_ext
14298 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14300 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14301 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14303 if test "$host_cpu" = ia64; then
14304 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14305 allow_undefined_flag_F77="-z nodefs"
14306 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
14308 # Determine the default libpath from the value encoded in an empty executable.
14309 cat >conftest.$ac_ext <<_ACEOF
14314 rm -f conftest.$ac_objext conftest$ac_exeext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14316 (eval $ac_link) 2>conftest.er1
14318 grep -v '^ *+' conftest.er1 >conftest.err
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -z "$ac_f77_werror_flag"
14324 || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try='test -s conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14335 (exit $ac_status); }; }; then
14337 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14339 # Check for a 64-bit object if we didn't find anything.
14340 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14343 echo "$as_me: failed program was
:" >&5
14344 sed 's/^/| /' conftest.$ac_ext >&5
14347 rm -f conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14351 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14352 # Warning - without using the other run time loading flags,
14353 # -berok will link without error, but may produce a broken library.
14354 no_undefined_flag_F77=' ${wl}-bernotok'
14355 allow_undefined_flag_F77=' ${wl}-berok'
14356 # -bexpall does not export symbols beginning with underscore (_)
14357 always_export_symbols_F77=yes
14358 # Exported symbols can be pulled into shared objects from archives
14359 whole_archive_flag_spec_F77=' '
14360 archive_cmds_need_lc_F77=yes
14361 # This is similar to how AIX traditionally builds it's shared libraries.
14362 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14368 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14369 hardcode_libdir_flag_spec_F77
='-L$libdir'
14370 hardcode_minus_L_F77
=yes
14371 # see comment about different semantics on the GNU ld section
14376 export_dynamic_flag_spec_F77
=-rdynamic
14379 cygwin
* | mingw
* | pw32
*)
14380 # When not using gcc, we currently assume that we are using
14381 # Microsoft Visual C++.
14382 # hardcode_libdir_flag_spec is actually meaningless, as there is
14383 # no search path for DLLs.
14384 hardcode_libdir_flag_spec_F77
=' '
14385 allow_undefined_flag_F77
=unsupported
14386 # Tell ltmain to make .lib files, not .a files.
14388 # Tell ltmain to make .dll files, not .so files.
14390 # FIXME: Setting linknames here is a bad hack.
14391 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14392 # The linker will automatically build a .lib file if we build a DLL.
14393 old_archive_From_new_cmds_F77
='true'
14394 # FIXME: Should let the user specify the lib program.
14395 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14396 fix_srcfile_path
='`cygpath -w "$srcfile"`'
14397 enable_shared_with_static_runtimes_F77
=yes
14400 darwin
* | rhapsody
*)
14402 rhapsody
* | darwin1.
[012])
14403 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14406 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14407 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14409 case ${MACOSX_DEPLOYMENT_TARGET} in
14411 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14414 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14420 archive_cmds_need_lc_F77
=no
14421 hardcode_direct_F77
=no
14422 hardcode_automatic_F77
=yes
14423 hardcode_shlibpath_var_F77
=unsupported
14424 whole_archive_flag_spec_F77
=''
14425 link_all_deplibs_F77
=yes
14426 if test "$GCC" = yes ; then
14427 output_verbose_link_cmd
='echo'
14428 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14429 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14430 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14431 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14432 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14434 case "$cc_basename" in
14436 output_verbose_link_cmd
='echo'
14437 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14438 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14439 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14440 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14441 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14451 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14452 hardcode_libdir_flag_spec_F77
='-L$libdir'
14453 hardcode_shlibpath_var_F77
=no
14460 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14461 # support. Future versions do this automatically, but an explicit c++rt0.o
14462 # does not break anything, and helps significantly (at the cost of a little
14465 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14466 hardcode_libdir_flag_spec_F77
='-R$libdir'
14467 hardcode_direct_F77
=yes
14468 hardcode_shlibpath_var_F77
=no
14471 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14473 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14474 hardcode_direct_F77
=yes
14475 hardcode_minus_L_F77
=yes
14476 hardcode_shlibpath_var_F77
=no
14479 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14480 freebsd
* | kfreebsd
*-gnu)
14481 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14482 hardcode_libdir_flag_spec_F77
='-R$libdir'
14483 hardcode_direct_F77
=yes
14484 hardcode_shlibpath_var_F77
=no
14488 if test "$GCC" = yes; then
14489 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14491 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14493 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14494 hardcode_libdir_separator_F77
=:
14495 hardcode_direct_F77
=yes
14497 # hardcode_minus_L: Not really in the search PATH,
14498 # but as the default location of the library.
14499 hardcode_minus_L_F77
=yes
14500 export_dynamic_flag_spec_F77
='${wl}-E'
14504 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14505 case "$host_cpu" in
14507 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14510 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14514 case "$host_cpu" in
14516 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14519 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14523 if test "$with_gnu_ld" = no
; then
14524 case "$host_cpu" in
14526 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14527 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14528 hardcode_libdir_separator_F77
=:
14529 hardcode_direct_F77
=no
14530 hardcode_shlibpath_var_F77
=no
14533 hardcode_libdir_flag_spec_F77
='-L$libdir'
14534 hardcode_direct_F77
=no
14535 hardcode_shlibpath_var_F77
=no
14537 # hardcode_minus_L: Not really in the search PATH,
14538 # but as the default location of the library.
14539 hardcode_minus_L_F77
=yes
14542 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14543 hardcode_libdir_separator_F77
=:
14544 hardcode_direct_F77
=yes
14545 export_dynamic_flag_spec_F77
='${wl}-E'
14547 # hardcode_minus_L: Not really in the search PATH,
14548 # but as the default location of the library.
14549 hardcode_minus_L_F77
=yes
14555 irix5
* | irix6
* | nonstopux
*)
14556 if test "$GCC" = yes; then
14557 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14559 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14560 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14562 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14563 hardcode_libdir_separator_F77
=:
14564 link_all_deplibs_F77
=yes
14568 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14569 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14571 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14573 hardcode_libdir_flag_spec_F77
='-R$libdir'
14574 hardcode_direct_F77
=yes
14575 hardcode_shlibpath_var_F77
=no
14579 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14580 hardcode_direct_F77
=yes
14581 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14582 hardcode_libdir_separator_F77
=:
14583 hardcode_shlibpath_var_F77
=no
14587 hardcode_direct_F77
=yes
14588 hardcode_shlibpath_var_F77
=no
14589 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14590 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14591 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14592 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14593 export_dynamic_flag_spec_F77
='${wl}-E'
14596 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14597 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14598 hardcode_libdir_flag_spec_F77
='-R$libdir'
14601 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14602 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14609 hardcode_libdir_flag_spec_F77
='-L$libdir'
14610 hardcode_minus_L_F77
=yes
14611 allow_undefined_flag_F77
=unsupported
14612 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14613 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14617 if test "$GCC" = yes; then
14618 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14619 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14621 allow_undefined_flag_F77
=' -expect_unresolved \*'
14622 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14624 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14625 hardcode_libdir_separator_F77
=:
14628 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14629 if test "$GCC" = yes; then
14630 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14631 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14632 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14634 allow_undefined_flag_F77
=' -expect_unresolved \*'
14635 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14636 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14637 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
14639 # Both c and cxx compiler support -rpath directly
14640 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14642 hardcode_libdir_separator_F77
=:
14646 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14647 hardcode_shlibpath_var_F77
=no
14648 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14649 runpath_var
=LD_RUN_PATH
14650 hardcode_runpath_var
=yes
14654 no_undefined_flag_F77
=' -z text'
14655 if test "$GCC" = yes; then
14656 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14657 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14658 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14660 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14661 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14662 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14664 hardcode_libdir_flag_spec_F77
='-R$libdir'
14665 hardcode_shlibpath_var_F77
=no
14667 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14668 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14669 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14671 link_all_deplibs_F77
=yes
14675 if test "x$host_vendor" = xsequent
; then
14676 # Use $CC to link under sequent, because it throws in some extra .o
14677 # files that make .init and .fini sections work.
14678 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14680 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14682 hardcode_libdir_flag_spec_F77
='-L$libdir'
14683 hardcode_direct_F77
=yes
14684 hardcode_minus_L_F77
=yes
14685 hardcode_shlibpath_var_F77
=no
14689 case $host_vendor in
14691 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14692 hardcode_direct_F77
=yes # is this really true???
14695 ## LD is ld it makes a PLAMLIB
14696 ## CC just makes a GrossModule.
14697 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14698 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14699 hardcode_direct_F77
=no
14702 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14703 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14706 runpath_var
='LD_RUN_PATH'
14707 hardcode_shlibpath_var_F77
=no
14711 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14712 hardcode_shlibpath_var_F77
=no
14713 export_dynamic_flag_spec_F77
='-Bexport'
14717 if test -d /usr
/nec
; then
14718 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14719 hardcode_shlibpath_var_F77
=no
14720 runpath_var
=LD_RUN_PATH
14721 hardcode_runpath_var
=yes
14727 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14728 hardcode_direct_F77
=yes
14729 hardcode_minus_L_F77
=no
14730 hardcode_shlibpath_var_F77
=no
14731 hardcode_runpath_var
=yes
14732 runpath_var
=LD_RUN_PATH
14735 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14736 no_undefined_flag_F77
='${wl}-z ${wl}text'
14737 if test "$GCC" = yes; then
14738 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 runpath_var
='LD_RUN_PATH'
14743 hardcode_shlibpath_var_F77
=no
14747 no_undefined_flag_F77
=' -z text'
14748 # $CC -shared without GNU ld will not create a library from C++
14749 # object files and a static libstdc++, better avoid it by now
14750 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14751 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14752 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14753 hardcode_libdir_flag_spec_F77
=
14754 hardcode_shlibpath_var_F77
=no
14755 runpath_var
='LD_RUN_PATH'
14759 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14760 hardcode_libdir_flag_spec_F77
='-L$libdir'
14761 hardcode_shlibpath_var_F77
=no
14770 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14771 echo "${ECHO_T}$ld_shlibs_F77" >&6
14772 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14774 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14775 if test "$GCC" = yes; then
14776 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14780 # Do we need to explicitly link libc?
14782 case "x$archive_cmds_need_lc_F77" in
14784 # Assume -lc should be added
14785 archive_cmds_need_lc_F77
=yes
14787 if test "$enable_shared" = yes && test "$GCC" = yes; then
14788 case $archive_cmds_F77 in
14790 # FIXME: we may have to deal with multi-command sequences.
14793 # Test whether the compiler implicitly links with -lc since on some
14794 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14795 # to ld, don't add -lc before -lgcc.
14796 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14797 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14799 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } 2>conftest.err
; then
14808 libobjs
=conftest.
$ac_objext
14810 wl
=$lt_prog_compiler_wl_F77
14816 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14817 allow_undefined_flag_F77
=
14818 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14819 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }
14824 archive_cmds_need_lc_F77
=no
14826 archive_cmds_need_lc_F77
=yes
14828 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14830 cat conftest.err
1>&5
14833 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14834 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14841 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14842 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14843 library_names_spec
=
14844 libname_spec
='lib$name'
14848 postuninstall_cmds
=
14852 shlibpath_overrides_runpath
=unknown
14854 dynamic_linker
="$host_os ld.so"
14855 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14856 if test "$GCC" = yes; then
14857 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14858 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14859 # if the path contains ";" then we assume it to be the separator
14860 # otherwise default to the standard path separator (i.e. ":") - it is
14861 # assumed that no part of a normal pathname contains ";" but that should
14862 # okay in the real world where ";" in dirpaths is itself problematic.
14863 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14865 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14868 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14870 need_lib_prefix
=unknown
14871 hardcode_into_libs
=no
14873 # when you set need_version to no, make sure it does not cause -set_version
14874 # flags to be left without arguments
14875 need_version
=unknown
14880 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14881 shlibpath_var
=LIBPATH
14883 # AIX 3 has no versioning support, so we append a major version to the name.
14884 soname_spec
='${libname}${release}${shared_ext}$major'
14891 hardcode_into_libs
=yes
14892 if test "$host_cpu" = ia64
; then
14893 # AIX 5 supports IA64
14894 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14895 shlibpath_var
=LD_LIBRARY_PATH
14897 # With GCC up to 2.95.x, collect2 would create an import file
14898 # for dependence libraries. The import file would start with
14899 # the line `#! .'. This would cause the generated library to
14900 # depend on `.', always an invalid library. This was fixed in
14901 # development snapshots of GCC prior to 3.0.
14903 aix4 | aix4.
[01] | aix4.
[01].
*)
14904 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14906 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14909 can_build_shared
=no
14913 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14914 # soname into executable. Probably we can add versioning support to
14915 # collect2, so additional links can be useful in future.
14916 if test "$aix_use_runtimelinking" = yes; then
14917 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14918 # instead of lib<name>.a to let people know that these are not
14919 # typical AIX shared libraries.
14920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922 # We preserve .a as extension for shared libraries through AIX4.2
14923 # and later when we are not doing run time linking.
14924 library_names_spec
='${libname}${release}.a $libname.a'
14925 soname_spec
='${libname}${release}${shared_ext}$major'
14927 shlibpath_var
=LIBPATH
14932 library_names_spec
='$libname.ixlibrary $libname.a'
14933 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14934 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'
14938 library_names_spec
='${libname}${shared_ext}'
14939 dynamic_linker
="$host_os ld.so"
14940 shlibpath_var
=LIBRARY_PATH
14946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 soname_spec
='${libname}${release}${shared_ext}$major'
14948 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14949 shlibpath_var
=LD_LIBRARY_PATH
14950 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14951 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14952 # the default ld.so.conf also contains /usr/contrib/lib and
14953 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14954 # libtool to hard-code these into programs
14957 cygwin
* | mingw
* | pw32
*)
14958 version_type
=windows
14963 case $GCC,$host_os in
14964 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14965 library_names_spec
='$libname.dll.a'
14966 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14967 postinstall_cmds
='base_file=`basename \${file}`~
14968 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14969 dldir=$destdir/`dirname \$dlpath`~
14970 test -d \$dldir || mkdir -p \$dldir~
14971 $install_prog $dir/$dlname \$dldir/$dlname'
14972 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14973 dlpath=$dir/\$dldll~
14975 shlibpath_overrides_runpath
=yes
14979 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14980 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14981 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14984 # MinGW DLLs use traditional 'lib' prefix
14985 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14986 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14987 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14988 # It is most probably a Windows format PATH printed by
14989 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14990 # path with ; separators, and with drive letters. We can handle the
14991 # drive letters (cygwin fileutils understands them), so leave them,
14992 # especially as we might pass files found there to a mingw objdump,
14993 # which wouldn't understand a cygwinified path. Ahh.
14994 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14996 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15000 # pw32 DLLs use 'pw' prefix rather than 'lib'
15001 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15007 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15010 dynamic_linker
='Win32 ld.exe'
15011 # FIXME: first we should search . and the directory the executable is in
15015 darwin
* | rhapsody
*)
15016 dynamic_linker
="$host_os dyld"
15017 version_type
=darwin
15020 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15021 soname_spec
='${libname}${release}${major}$shared_ext'
15022 shlibpath_overrides_runpath
=yes
15023 shlibpath_var
=DYLD_LIBRARY_PATH
15024 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
15025 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15026 if test "$GCC" = yes; then
15027 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"`
15029 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15031 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15039 soname_spec
='${libname}${release}${shared_ext}$major'
15040 shlibpath_var
=LD_LIBRARY_PATH
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15052 soname_spec
='${libname}${release}${shared_ext}$major'
15053 shlibpath_var
=LD_LIBRARY_PATH
15054 shlibpath_overrides_runpath
=no
15055 hardcode_into_libs
=yes
15056 dynamic_linker
='GNU ld.so'
15060 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15061 version_type
=freebsd-
$objformat
15062 case $version_type in
15064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15073 shlibpath_var
=LD_LIBRARY_PATH
15076 shlibpath_overrides_runpath
=yes
15078 freebsd3.01
* | freebsdelf3.01
*)
15079 shlibpath_overrides_runpath
=yes
15080 hardcode_into_libs
=yes
15083 shlibpath_overrides_runpath
=no
15084 hardcode_into_libs
=yes
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15094 soname_spec
='${libname}${release}${shared_ext}$major'
15095 shlibpath_var
=LD_LIBRARY_PATH
15096 hardcode_into_libs
=yes
15099 hpux9
* | hpux10
* | hpux11
*)
15100 # Give a soname corresponding to the major version so that dld.sl refuses to
15101 # link against other versions.
15105 case "$host_cpu" in
15108 hardcode_into_libs
=yes
15109 dynamic_linker
="$host_os dld.so"
15110 shlibpath_var
=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15113 soname_spec
='${libname}${release}${shared_ext}$major'
15114 if test "X$HPUX_IA64_MODE" = X32
; then
15115 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15117 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15119 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15123 hardcode_into_libs
=yes
15124 dynamic_linker
="$host_os dld.sl"
15125 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15126 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15128 soname_spec
='${libname}${release}${shared_ext}$major'
15129 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15130 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15134 dynamic_linker
="$host_os dld.sl"
15135 shlibpath_var
=SHLIB_PATH
15136 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15138 soname_spec
='${libname}${release}${shared_ext}$major'
15141 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15142 postinstall_cmds
='chmod 555 $lib'
15145 irix5
* | irix6
* | nonstopux
*)
15147 nonstopux
*) version_type
=nonstopux
;;
15149 if test "$lt_cv_prog_gnu_ld" = yes; then
15157 soname_spec
='${libname}${release}${shared_ext}$major'
15158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15160 irix5
* | nonstopux
*)
15161 libsuff
= shlibsuff
=
15164 case $LD in # libtool.m4 will add one of these switches to LD
15165 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15166 libsuff
= shlibsuff
= libmagic
=32-bit;;
15167 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15168 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15169 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15170 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15171 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15175 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15176 shlibpath_overrides_runpath
=no
15177 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15178 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15179 hardcode_into_libs
=yes
15182 # No shared lib support for Linux oldld, aout, or coff.
15183 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15187 # This must be Linux ELF.
15192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 soname_spec
='${libname}${release}${shared_ext}$major'
15194 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15195 shlibpath_var
=LD_LIBRARY_PATH
15196 shlibpath_overrides_runpath
=no
15197 # This implies no fast_install, which is unacceptable.
15198 # Some rework will be needed to allow for fast_install
15199 # before this can be enabled.
15200 hardcode_into_libs
=yes
15202 # Append ld.so.conf contents to the search path
15203 if test -f /etc
/ld.so.conf
; then
15204 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
15205 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15208 # We used to test for /lib/ld.so.1 and disable shared libraries on
15209 # powerpc, because MkLinux only supported shared libraries with the
15210 # GNU dynamic linker. Since this was broken with cross compilers,
15211 # most powerpc-linux boxes support dynamic linking these days and
15212 # people can always --disable-shared, the test was removed, and we
15213 # assume the GNU/Linux dynamic linker is in use.
15214 dynamic_linker
='GNU/Linux ld.so'
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15222 soname_spec
='${libname}${release}${shared_ext}$major'
15223 shlibpath_var
=LD_LIBRARY_PATH
15224 shlibpath_overrides_runpath
=no
15225 hardcode_into_libs
=yes
15226 dynamic_linker
='GNU ld.so'
15233 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15235 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15236 dynamic_linker
='NetBSD (a.out) ld.so'
15238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15239 soname_spec
='${libname}${release}${shared_ext}$major'
15240 dynamic_linker
='NetBSD ld.elf_so'
15242 shlibpath_var
=LD_LIBRARY_PATH
15243 shlibpath_overrides_runpath
=yes
15244 hardcode_into_libs
=yes
15249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15250 shlibpath_var
=LD_LIBRARY_PATH
15251 shlibpath_overrides_runpath
=yes
15258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15259 soname_spec
='${libname}${release}${shared_ext}$major'
15260 shlibpath_var
=LD_LIBRARY_PATH
15261 shlibpath_overrides_runpath
=yes
15268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15269 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15270 shlibpath_var
=LD_LIBRARY_PATH
15271 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15273 openbsd2.
[89] | openbsd2.
[89].
*)
15274 shlibpath_overrides_runpath
=no
15277 shlibpath_overrides_runpath
=yes
15281 shlibpath_overrides_runpath
=yes
15286 libname_spec
='$name'
15289 library_names_spec
='$libname${shared_ext} $libname.a'
15290 dynamic_linker
='OS/2 ld.exe'
15291 shlibpath_var
=LIBPATH
15294 osf3
* | osf4
* | osf5
*)
15298 soname_spec
='${libname}${release}${shared_ext}$major'
15299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300 shlibpath_var
=LD_LIBRARY_PATH
15301 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15302 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15307 soname_spec
='${libname}${release}${shared_ext}$major'
15308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15309 shlibpath_var
=LD_LIBRARY_PATH
15316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15317 soname_spec
='${libname}${release}${shared_ext}$major'
15318 shlibpath_var
=LD_LIBRARY_PATH
15319 shlibpath_overrides_runpath
=yes
15320 hardcode_into_libs
=yes
15321 # ldd complains unless libraries are executable
15322 postinstall_cmds
='chmod +x $lib'
15327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15328 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15329 shlibpath_var
=LD_LIBRARY_PATH
15330 shlibpath_overrides_runpath
=yes
15331 if test "$with_gnu_ld" = yes; then
15337 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15340 soname_spec
='${libname}${release}${shared_ext}$major'
15341 shlibpath_var
=LD_LIBRARY_PATH
15342 case $host_vendor in
15344 shlibpath_overrides_runpath
=no
15346 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15347 runpath_var
=LD_RUN_PATH
15355 shlibpath_overrides_runpath
=no
15356 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15362 if test -d /usr
/nec
;then
15364 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15365 soname_spec
='$libname${shared_ext}.$major'
15366 shlibpath_var
=LD_LIBRARY_PATH
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15373 soname_spec
='${libname}${release}${shared_ext}$major'
15374 shlibpath_var
=LD_LIBRARY_PATH
15381 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15382 echo "${ECHO_T}$dynamic_linker" >&6
15383 test "$dynamic_linker" = no
&& can_build_shared
=no
15385 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15386 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15387 hardcode_action_F77
=
15388 if test -n "$hardcode_libdir_flag_spec_F77" || \
15389 test -n "$runpath_var_F77" || \
15390 test "X$hardcode_automatic_F77" = "Xyes" ; then
15392 # We can hardcode non-existant directories.
15393 if test "$hardcode_direct_F77" != no
&&
15394 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15395 # have to relink, otherwise we might link with an installed library
15396 # when we should be linking with a yet-to-be-installed one
15397 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15398 test "$hardcode_minus_L_F77" != no
; then
15399 # Linking always hardcodes the temporary library directory.
15400 hardcode_action_F77
=relink
15402 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15403 hardcode_action_F77
=immediate
15406 # We cannot hardcode anything, or else we can only hardcode existing
15408 hardcode_action_F77
=unsupported
15410 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15411 echo "${ECHO_T}$hardcode_action_F77" >&6
15413 if test "$hardcode_action_F77" = relink
; then
15414 # Fast installation is not supported
15415 enable_fast_install
=no
15416 elif test "$shlibpath_overrides_runpath" = yes ||
15417 test "$enable_shared" = no
; then
15418 # Fast installation is not necessary
15419 enable_fast_install
=needless
15424 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15425 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15426 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15427 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15428 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15429 echo "$as_me:$LINENO: result: yes" >&5
15430 echo "${ECHO_T}yes" >&6
15432 # FIXME - insert some real tests, host_os isn't really good enough
15435 if test -n "$STRIP" ; then
15436 striplib
="$STRIP -x"
15437 echo "$as_me:$LINENO: result: yes" >&5
15438 echo "${ECHO_T}yes" >&6
15440 echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6
15445 echo "$as_me:$LINENO: result: no" >&5
15446 echo "${ECHO_T}no" >&6
15453 # The else clause should only fire when bootstrapping the
15454 # libtool distribution, otherwise you forgot to ship ltmain.sh
15455 # with your package, and you will get complaints that there are
15456 # no rules to generate ltmain.sh.
15457 if test -f "$ltmain"; then
15458 # See if we are running on zsh, and set the options which allow our commands through
15459 # without removal of \ escapes.
15460 if test -n "${ZSH_VERSION+set}" ; then
15461 setopt NO_GLOB_SUBST
15463 # Now quote all the things that may contain metacharacters while being
15464 # careful not to overquote the AC_SUBSTed values. We take copies of the
15465 # variables and quote the copies for generation of the libtool script.
15466 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15468 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15469 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15470 deplibs_check_method reload_flag reload_cmds need_locks \
15471 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15472 lt_cv_sys_global_symbol_to_c_name_address \
15473 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15474 old_postinstall_cmds old_postuninstall_cmds \
15478 lt_prog_compiler_wl_F77 \
15479 lt_prog_compiler_pic_F77 \
15480 lt_prog_compiler_static_F77 \
15481 lt_prog_compiler_no_builtin_flag_F77 \
15482 export_dynamic_flag_spec_F77 \
15483 thread_safe_flag_spec_F77 \
15484 whole_archive_flag_spec_F77 \
15485 enable_shared_with_static_runtimes_F77 \
15486 old_archive_cmds_F77 \
15487 old_archive_from_new_cmds_F77 \
15488 predep_objects_F77 \
15489 postdep_objects_F77 \
15492 compiler_lib_search_path_F77 \
15494 archive_expsym_cmds_F77 \
15495 postinstall_cmds_F77 \
15496 postuninstall_cmds_F77 \
15497 old_archive_from_expsyms_cmds_F77 \
15498 allow_undefined_flag_F77 \
15499 no_undefined_flag_F77 \
15500 export_symbols_cmds_F77 \
15501 hardcode_libdir_flag_spec_F77 \
15502 hardcode_libdir_flag_spec_ld_F77 \
15503 hardcode_libdir_separator_F77 \
15504 hardcode_automatic_F77 \
15506 module_expsym_cmds_F77 \
15507 lt_cv_prog_compiler_c_o_F77 \
15508 exclude_expsyms_F77 \
15509 include_expsyms_F77
; do
15512 old_archive_cmds_F77 | \
15513 old_archive_from_new_cmds_F77 | \
15514 archive_cmds_F77 | \
15515 archive_expsym_cmds_F77 | \
15516 module_cmds_F77 | \
15517 module_expsym_cmds_F77 | \
15518 old_archive_from_expsyms_cmds_F77 | \
15519 export_symbols_cmds_F77 | \
15520 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15521 postinstall_cmds | postuninstall_cmds | \
15522 old_postinstall_cmds | old_postuninstall_cmds | \
15523 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15524 # Double-quote double-evaled strings.
15525 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15528 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15534 *'\$0 --fallback-echo"')
15535 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15541 cat <<__EOF__ >> "$cfgfile"
15542 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15544 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15546 # Shell to use when invoking shell scripts.
15549 # Whether or not to build shared libraries.
15550 build_libtool_libs=$enable_shared
15552 # Whether or not to build static libraries.
15553 build_old_libs=$enable_static
15555 # Whether or not to add -lc for building shared libraries.
15556 build_libtool_need_lc=$archive_cmds_need_lc_F77
15558 # Whether or not to disallow shared libs when runtime libs are static
15559 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15561 # Whether or not to optimize for fast installation.
15562 fast_install=$enable_fast_install
15565 host_alias=$host_alias
15568 # An echo program that does not interpret backslashes.
15573 AR_FLAGS=$lt_AR_FLAGS
15578 # A language-specific compiler.
15579 CC=$lt_compiler_F77
15581 # Is the compiler the GNU C compiler?
15587 # The linker used to build libraries.
15590 # Whether we need hard or soft links.
15593 # A BSD-compatible nm program.
15596 # A symbol stripping program
15599 # Used to examine libraries when file_magic_cmd begins "file"
15600 MAGIC_CMD=$MAGIC_CMD
15602 # Used on cygwin: DLL creation program.
15605 # Used on cygwin: object dumper.
15608 # Used on cygwin: assembler.
15611 # The name of the directory that contains temporary libtool files.
15614 # How to create reloadable object files.
15615 reload_flag=$lt_reload_flag
15616 reload_cmds=$lt_reload_cmds
15618 # How to pass a linker flag through the compiler.
15619 wl=$lt_lt_prog_compiler_wl_F77
15621 # Object file suffix (normally "o").
15622 objext="$ac_objext"
15624 # Old archive suffix (normally "a").
15627 # Shared library suffix (normally ".so").
15628 shrext_cmds='$shrext_cmds'
15630 # Executable file suffix (normally "").
15633 # Additional compiler flags for building library objects.
15634 pic_flag=$lt_lt_prog_compiler_pic_F77
15637 # What is the maximum length of a command?
15638 max_cmd_len=$lt_cv_sys_max_cmd_len
15640 # Does compiler simultaneously support -c and -o options?
15641 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15643 # Must we lock files when doing compilation ?
15644 need_locks=$lt_need_locks
15646 # Do we need the lib prefix for modules?
15647 need_lib_prefix=$need_lib_prefix
15649 # Do we need a version for libraries?
15650 need_version=$need_version
15652 # Whether dlopen is supported.
15653 dlopen_support=$enable_dlopen
15655 # Whether dlopen of programs is supported.
15656 dlopen_self=$enable_dlopen_self
15658 # Whether dlopen of statically linked programs is supported.
15659 dlopen_self_static=$enable_dlopen_self_static
15661 # Compiler flag to prevent dynamic linking.
15662 link_static_flag=$lt_lt_prog_compiler_static_F77
15664 # Compiler flag to turn off builtin functions.
15665 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15667 # Compiler flag to allow reflexive dlopens.
15668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15670 # Compiler flag to generate shared objects directly from archives.
15671 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15673 # Compiler flag to generate thread-safe objects.
15674 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15676 # Library versioning type.
15677 version_type=$version_type
15679 # Format of library name prefix.
15680 libname_spec=$lt_libname_spec
15682 # List of archive names. First name is the real one, the rest are links.
15683 # The last name is the one that the linker finds with -lNAME.
15684 library_names_spec=$lt_library_names_spec
15686 # The coded name of the library, if different from the real name.
15687 soname_spec=$lt_soname_spec
15689 # Commands used to build and install an old-style archive.
15691 old_archive_cmds=$lt_old_archive_cmds_F77
15692 old_postinstall_cmds=$lt_old_postinstall_cmds
15693 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15695 # Create an old-style archive from a shared archive.
15696 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15698 # Create a temporary old-style archive to link instead of a shared archive.
15699 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15701 # Commands used to build and install a shared archive.
15702 archive_cmds=$lt_archive_cmds_F77
15703 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15704 postinstall_cmds=$lt_postinstall_cmds
15705 postuninstall_cmds=$lt_postuninstall_cmds
15707 # Commands used to build a loadable module (assumed same as above if empty)
15708 module_cmds=$lt_module_cmds_F77
15709 module_expsym_cmds=$lt_module_expsym_cmds_F77
15711 # Commands to strip libraries.
15712 old_striplib=$lt_old_striplib
15713 striplib=$lt_striplib
15715 # Dependencies to place before the objects being linked to create a
15717 predep_objects=$lt_predep_objects_F77
15719 # Dependencies to place after the objects being linked to create a
15721 postdep_objects=$lt_postdep_objects_F77
15723 # Dependencies to place before the objects being linked to create a
15725 predeps=$lt_predeps_F77
15727 # Dependencies to place after the objects being linked to create a
15729 postdeps=$lt_postdeps_F77
15731 # The library search path used internally by the compiler when linking
15732 # a shared library.
15733 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15735 # Method to check whether dependent libraries are shared objects.
15736 deplibs_check_method=$lt_deplibs_check_method
15738 # Command to use when deplibs_check_method == file_magic.
15739 file_magic_cmd=$lt_file_magic_cmd
15741 # Flag that allows shared libraries with undefined symbols to be built.
15742 allow_undefined_flag=$lt_allow_undefined_flag_F77
15744 # Flag that forces no undefined symbols.
15745 no_undefined_flag=$lt_no_undefined_flag_F77
15747 # Commands used to finish a libtool library installation in a directory.
15748 finish_cmds=$lt_finish_cmds
15750 # Same as above, but a single script fragment to be evaled but not shown.
15751 finish_eval=$lt_finish_eval
15753 # Take the output of nm and produce a listing of raw symbols and C names.
15754 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15756 # Transform the output of nm in a proper C declaration
15757 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15759 # Transform the output of nm in a C name address pair
15760 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15762 # This is the shared library runtime path variable.
15763 runpath_var=$runpath_var
15765 # This is the shared library path variable.
15766 shlibpath_var=$shlibpath_var
15768 # Is shlibpath searched before the hard-coded library search path?
15769 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15771 # How to hardcode a shared library path into an executable.
15772 hardcode_action=$hardcode_action_F77
15774 # Whether we should hardcode library paths into libraries.
15775 hardcode_into_libs=$hardcode_into_libs
15777 # Flag to hardcode \$libdir into a binary during linking.
15778 # This must work even if \$libdir does not exist.
15779 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15781 # If ld is used when linking, flag to hardcode \$libdir into
15782 # a binary during linking. This must work even if \$libdir does
15784 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15786 # Whether we need a single -rpath flag with a separated argument.
15787 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15789 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15790 # resulting binary.
15791 hardcode_direct=$hardcode_direct_F77
15793 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15794 # resulting binary.
15795 hardcode_minus_L=$hardcode_minus_L_F77
15797 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15798 # the resulting binary.
15799 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15801 # Set to yes if building a shared library automatically hardcodes DIR into the library
15802 # and all subsequent libraries and executables linked against it.
15803 hardcode_automatic=$hardcode_automatic_F77
15805 # Variables whose values should be saved in libtool wrapper scripts and
15806 # restored at relink time.
15807 variables_saved_for_relink="$variables_saved_for_relink"
15809 # Whether libtool must link a program against all its dependency libraries.
15810 link_all_deplibs=$link_all_deplibs_F77
15812 # Compile-time system search path for libraries
15813 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15815 # Run-time system search path for libraries
15816 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15818 # Fix the shell variable \$srcfile for the compiler.
15819 fix_srcfile_path="$fix_srcfile_path_F77"
15821 # Set to yes if exported symbols are required.
15822 always_export_symbols=$always_export_symbols_F77
15824 # The commands to list exported symbols.
15825 export_symbols_cmds=$lt_export_symbols_cmds_F77
15827 # The commands to extract the exported symbol list from a shared archive.
15828 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15830 # Symbols that should not be listed in the preloaded symbols.
15831 exclude_expsyms=$lt_exclude_expsyms_F77
15833 # Symbols that must always be exported.
15834 include_expsyms=$lt_include_expsyms_F77
15836 # ### END LIBTOOL TAG CONFIG: $tagname
15842 # If there is no Makefile yet, we rely on a make rule to execute
15843 # `config.status --recheck' to rerun these tests and create the
15844 # libtool script then.
15845 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15846 if test -f "$ltmain_in"; then
15847 test -f Makefile
&& make "$ltmain"
15853 ac_cpp
='$CPP $CPPFLAGS'
15854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15866 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15870 # Source file extension for Java test sources.
15873 # Object file extension for compiled Java test sources.
15877 # Code to be used in simple compile tests
15878 lt_simple_compile_test_code
="class foo {}\n"
15880 # Code to be used in simple link tests
15881 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15883 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15885 # If no C compiler was specified, use CC.
15888 # Allow CC to be a program name with arguments.
15892 # Allow CC to be a program name with arguments.
15898 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15899 archive_cmds_need_lc_GCJ
=no
15902 lt_prog_compiler_no_builtin_flag_GCJ
=
15904 if test "$GCC" = yes; then
15905 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15908 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15909 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15910 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 lt_cv_prog_compiler_rtti_exceptions
=no
15914 ac_outfile
=conftest.
$ac_objext
15915 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15916 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15917 # Insert the option either (1) after the last *FLAGS variable, or
15918 # (2) before a word containing "conftest.", or (3) at the end.
15919 # Note that $ac_compile itself does not contain backslashes and begins
15920 # with a dollar sign (not a hyphen), so the echo should work correctly.
15921 # The option is referenced via a variable to avoid confusing sed.
15922 lt_compile
=`echo "$ac_compile" | $SED \
15923 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15925 -e 's:$: $lt_compiler_flag:'`
15926 (eval echo "\"\$as_me:15926: $lt_compile\"" >&5)
15927 (eval "$lt_compile" 2>conftest.err
)
15929 cat conftest.err
>&5
15930 echo "$as_me:15930: \$? = $ac_status" >&5
15931 if (exit $ac_status) && test -s "$ac_outfile"; then
15932 # The compiler can only warn and ignore the option if not recognized
15933 # So say no if there are warnings
15934 if test ! -s conftest.err
; then
15935 lt_cv_prog_compiler_rtti_exceptions
=yes
15941 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15942 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15944 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15945 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15952 lt_prog_compiler_wl_GCJ
=
15953 lt_prog_compiler_pic_GCJ
=
15954 lt_prog_compiler_static_GCJ
=
15956 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15957 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15959 if test "$GCC" = yes; then
15960 lt_prog_compiler_wl_GCJ
='-Wl,'
15961 lt_prog_compiler_static_GCJ
='-static'
15965 # All AIX code is PIC.
15966 if test "$host_cpu" = ia64
; then
15967 # AIX 5 now supports IA64 processor
15968 lt_prog_compiler_static_GCJ
='-Bstatic'
15973 # FIXME: we need at least 68020 code to build shared libraries, but
15974 # adding the `-m68020' flag to GCC prevents building anything better,
15976 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15979 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15980 # PIC is the default for these OSes.
15983 mingw
* | pw32
* | os2
*)
15984 # This hack is so that the source file can tell whether it is being
15985 # built for inclusion in a dll (and should export symbols for example).
15986 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15989 darwin
* | rhapsody
*)
15990 # PIC is the default on this platform
15991 # Common symbols not allowed in MH_DYLIB files
15992 lt_prog_compiler_pic_GCJ
='-fno-common'
15996 # Just because we use GCC doesn't mean we suddenly get shared libraries
15997 # on systems that don't support them.
15998 lt_prog_compiler_can_build_shared_GCJ
=no
16003 if test -d /usr
/nec
; then
16004 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16009 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16010 # not for PA HP-UX.
16011 case "$host_cpu" in
16016 lt_prog_compiler_pic_GCJ
='-fPIC'
16022 lt_prog_compiler_pic_GCJ
='-fPIC'
16026 # PORTME Check for flag to pass linker flags through the system compiler.
16029 lt_prog_compiler_wl_GCJ
='-Wl,'
16030 if test "$host_cpu" = ia64
; then
16031 # AIX 5 now supports IA64 processor
16032 lt_prog_compiler_static_GCJ
='-Bstatic'
16034 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16038 # PIC is the default on this platform
16039 # Common symbols not allowed in MH_DYLIB files
16040 case "$cc_basename" in
16042 lt_prog_compiler_pic_GCJ
='-qnocommon'
16043 lt_prog_compiler_wl_GCJ
='-Wl,'
16048 mingw
* | pw32
* | os2
*)
16049 # This hack is so that the source file can tell whether it is being
16050 # built for inclusion in a dll (and should export symbols for example).
16051 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16054 hpux9
* | hpux10
* | hpux11
*)
16055 lt_prog_compiler_wl_GCJ
='-Wl,'
16056 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16057 # not for PA HP-UX.
16058 case "$host_cpu" in
16063 lt_prog_compiler_pic_GCJ
='+Z'
16066 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16067 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16070 irix5
* | irix6
* | nonstopux
*)
16071 lt_prog_compiler_wl_GCJ
='-Wl,'
16072 # PIC (with -KPIC) is the default.
16073 lt_prog_compiler_static_GCJ
='-non_shared'
16077 lt_prog_compiler_pic_GCJ
='-KPIC'
16078 lt_prog_compiler_static_GCJ
='-Bstatic'
16084 lt_prog_compiler_wl_GCJ
='-Wl,'
16085 lt_prog_compiler_pic_GCJ
='-KPIC'
16086 lt_prog_compiler_static_GCJ
='-static'
16089 lt_prog_compiler_wl_GCJ
='-Wl,'
16090 # All Alpha code is PIC.
16091 lt_prog_compiler_static_GCJ
='-non_shared'
16096 osf3
* | osf4
* | osf5
*)
16097 lt_prog_compiler_wl_GCJ
='-Wl,'
16098 # All OSF/1 code is PIC.
16099 lt_prog_compiler_static_GCJ
='-non_shared'
16103 lt_prog_compiler_pic_GCJ
='-Kpic'
16104 lt_prog_compiler_static_GCJ
='-dn'
16108 lt_prog_compiler_wl_GCJ
='-Wl,'
16109 lt_prog_compiler_pic_GCJ
='-KPIC'
16110 lt_prog_compiler_static_GCJ
='-Bstatic'
16114 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16115 lt_prog_compiler_pic_GCJ
='-PIC'
16116 lt_prog_compiler_static_GCJ
='-Bstatic'
16119 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16120 lt_prog_compiler_wl_GCJ
='-Wl,'
16121 lt_prog_compiler_pic_GCJ
='-KPIC'
16122 lt_prog_compiler_static_GCJ
='-Bstatic'
16126 if test -d /usr
/nec
;then
16127 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16128 lt_prog_compiler_static_GCJ
='-Bstatic'
16133 lt_prog_compiler_pic_GCJ
='-pic'
16134 lt_prog_compiler_static_GCJ
='-Bstatic'
16138 lt_prog_compiler_can_build_shared_GCJ
=no
16143 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16144 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16147 # Check to make sure the PIC flag actually works.
16149 if test -n "$lt_prog_compiler_pic_GCJ"; then
16151 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16152 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16153 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 lt_prog_compiler_pic_works_GCJ
=no
16157 ac_outfile
=conftest.
$ac_objext
16158 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16159 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16160 # Insert the option either (1) after the last *FLAGS variable, or
16161 # (2) before a word containing "conftest.", or (3) at the end.
16162 # Note that $ac_compile itself does not contain backslashes and begins
16163 # with a dollar sign (not a hyphen), so the echo should work correctly.
16164 # The option is referenced via a variable to avoid confusing sed.
16165 lt_compile
=`echo "$ac_compile" | $SED \
16166 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16168 -e 's:$: $lt_compiler_flag:'`
16169 (eval echo "\"\$as_me:16169: $lt_compile\"" >&5)
16170 (eval "$lt_compile" 2>conftest.err
)
16172 cat conftest.err
>&5
16173 echo "$as_me:16173: \$? = $ac_status" >&5
16174 if (exit $ac_status) && test -s "$ac_outfile"; then
16175 # The compiler can only warn and ignore the option if not recognized
16176 # So say no if there are warnings
16177 if test ! -s conftest.err
; then
16178 lt_prog_compiler_pic_works_GCJ
=yes
16184 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16185 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16187 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16188 case $lt_prog_compiler_pic_GCJ in
16190 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16193 lt_prog_compiler_pic_GCJ
=
16194 lt_prog_compiler_can_build_shared_GCJ
=no
16199 # For platforms which do not support PIC, -DPIC is meaningless:
16201 lt_prog_compiler_pic_GCJ
=
16204 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16208 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16209 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16210 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 lt_cv_prog_compiler_c_o_GCJ
=no
16214 $rm -r conftest
2>/dev
/null
16218 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16220 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16221 # Insert the option either (1) after the last *FLAGS variable, or
16222 # (2) before a word containing "conftest.", or (3) at the end.
16223 # Note that $ac_compile itself does not contain backslashes and begins
16224 # with a dollar sign (not a hyphen), so the echo should work correctly.
16225 lt_compile
=`echo "$ac_compile" | $SED \
16226 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16227 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16228 -e 's:$: $lt_compiler_flag:'`
16229 (eval echo "\"\$as_me:16229: $lt_compile\"" >&5)
16230 (eval "$lt_compile" 2>out
/conftest.err
)
16232 cat out
/conftest.err
>&5
16233 echo "$as_me:16233: \$? = $ac_status" >&5
16234 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16236 # The compiler can only warn and ignore the option if not recognized
16237 # So say no if there are warnings
16238 if test ! -s out
/conftest.err
; then
16239 lt_cv_prog_compiler_c_o_GCJ
=yes
16244 # SGI C++ compiler will create directory out/ii_files/ for
16245 # template instantiation
16246 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16247 $rm out
/* && rmdir out
16253 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16254 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16257 hard_links
="nottested"
16258 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16259 # do not overwrite the value of need_locks provided by the user
16260 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16261 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16264 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16266 ln conftest.a conftest.b
2>&5 || hard_links
=no
16267 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16268 echo "$as_me:$LINENO: result: $hard_links" >&5
16269 echo "${ECHO_T}$hard_links" >&6
16270 if test "$hard_links" = no
; then
16271 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16272 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16279 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16280 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16283 allow_undefined_flag_GCJ
=
16284 enable_shared_with_static_runtimes_GCJ
=no
16286 archive_expsym_cmds_GCJ
=
16287 old_archive_From_new_cmds_GCJ
=
16288 old_archive_from_expsyms_cmds_GCJ
=
16289 export_dynamic_flag_spec_GCJ
=
16290 whole_archive_flag_spec_GCJ
=
16291 thread_safe_flag_spec_GCJ
=
16292 hardcode_libdir_flag_spec_GCJ
=
16293 hardcode_libdir_flag_spec_ld_GCJ
=
16294 hardcode_libdir_separator_GCJ
=
16295 hardcode_direct_GCJ
=no
16296 hardcode_minus_L_GCJ
=no
16297 hardcode_shlibpath_var_GCJ
=unsupported
16298 link_all_deplibs_GCJ
=unknown
16299 hardcode_automatic_GCJ
=no
16301 module_expsym_cmds_GCJ
=
16302 always_export_symbols_GCJ
=no
16303 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16304 # include_expsyms should be a list of space-separated symbols to be *always*
16305 # included in the symbol list
16306 include_expsyms_GCJ
=
16307 # exclude_expsyms can be an extended regexp of symbols to exclude
16308 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16309 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16310 # as well as any symbol that contains `d'.
16311 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16312 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16313 # platforms (ab)use it in PIC code, but their linkers get confused if
16314 # the symbol is explicitly referenced. Since portable code cannot
16315 # rely on this symbol name, it's probably fine to never include it in
16316 # preloaded symbol tables.
16317 extract_expsyms_cmds
=
16320 cygwin
* | mingw
* | pw32
*)
16321 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16322 # When not using gcc, we currently assume that we are using
16323 # Microsoft Visual C++.
16324 if test "$GCC" != yes; then
16334 if test "$with_gnu_ld" = yes; then
16335 # If archive_cmds runs LD, not CC, wlarc should be empty
16338 # See if GNU ld supports shared libraries.
16340 aix3
* | aix4
* | aix5
*)
16341 # On AIX/PPC, the GNU linker is very broken
16342 if test "$host_cpu" != ia64
; then
16346 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16347 *** to be unable to reliably create shared libraries on AIX.
16348 *** Therefore, libtool is disabling shared libraries support. If you
16349 *** really care for shared libraries, you may want to modify your PATH
16350 *** so that a non-GNU linker is found, and then restart.
16357 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)'
16358 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16359 hardcode_minus_L_GCJ
=yes
16361 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16362 # that the semantics of dynamic libraries on AmigaOS, at least up
16363 # to version 4, is to share data among multiple programs linked
16364 # with the same dynamic library. Since this doesn't match the
16365 # behavior of shared libraries on other platforms, we can't use
16371 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16372 allow_undefined_flag_GCJ
=unsupported
16373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16374 # support --undefined. This deserves some investigation. FIXME
16375 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16381 cygwin
* | mingw
* | pw32
*)
16382 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16383 # as there is no search path for DLLs.
16384 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16385 allow_undefined_flag_GCJ
=unsupported
16386 always_export_symbols_GCJ
=no
16387 enable_shared_with_static_runtimes_GCJ
=yes
16388 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16390 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16391 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16392 # If the export-symbols file already is a .def file (1st line
16393 # is EXPORTS), use it as is; otherwise, prepend...
16394 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16395 cp $export_symbols $output_objdir/$soname.def;
16397 echo EXPORTS > $output_objdir/$soname.def;
16398 cat $export_symbols >> $output_objdir/$soname.def;
16400 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16407 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16408 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16411 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16412 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16417 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16421 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16422 *** create shared libraries on Solaris systems. Therefore, libtool
16423 *** is disabling shared libraries support. We urge you to upgrade GNU
16424 *** binutils to release 2.9.1 or newer. Another option is to modify
16425 *** your PATH or compiler configuration so that the native linker is
16426 *** used, and then restart.
16429 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16430 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16431 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16438 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16440 hardcode_direct_GCJ
=yes
16441 hardcode_shlibpath_var_GCJ
=no
16445 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16446 tmp_archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16447 archive_cmds_GCJ
="$tmp_archive_cmds"
16448 supports_anon_versioning
=no
16449 case `$LD -v 2>/dev/null` in
16450 *\
01.
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16451 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16452 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16453 *\
2.11.
*) ;; # other 2.11 versions
16454 *) supports_anon_versioning
=yes ;;
16456 if test $supports_anon_versioning = yes; then
16457 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16458 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16459 $echo "local: *; };" >> $output_objdir/$libname.ver~
16460 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16462 archive_expsym_cmds_GCJ
="$tmp_archive_cmds"
16470 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16471 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16472 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16479 if test "$ld_shlibs_GCJ" = yes; then
16480 runpath_var
=LD_RUN_PATH
16481 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16482 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16483 # ancient GNU ld didn't support --whole-archive et. al.
16484 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16485 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16487 whole_archive_flag_spec_GCJ
=
16491 # PORTME fill in a description of your system's linker (not GNU ld)
16494 allow_undefined_flag_GCJ
=unsupported
16495 always_export_symbols_GCJ
=yes
16496 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'
16497 # Note: this linker hardcodes the directories in LIBPATH if there
16498 # are no directories specified by -L.
16499 hardcode_minus_L_GCJ
=yes
16500 if test "$GCC" = yes && test -z "$link_static_flag"; then
16501 # Neither direct hardcoding nor static linking is supported with a
16503 hardcode_direct_GCJ
=unsupported
16508 if test "$host_cpu" = ia64
; then
16509 # On IA64, the linker does run time linking by default, so we don't
16510 # have to do anything special.
16511 aix_use_runtimelinking
=no
16512 exp_sym_flag
='-Bexport'
16515 # If we're using GNU nm, then we don't want the "-C" option.
16516 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16517 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16518 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'
16520 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'
16522 aix_use_runtimelinking
=no
16524 # Test if we are trying to use run time linking or normal
16525 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16526 # need to do runtime linking.
16527 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16528 for ld_flag
in $LDFLAGS; do
16529 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16530 aix_use_runtimelinking
=yes
16536 exp_sym_flag
='-bexport'
16537 no_entry_flag
='-bnoentry'
16540 # When large executables or shared objects are built, AIX ld can
16541 # have problems creating the table of contents. If linking a library
16542 # or program results in "error TOC overflow" add -mminimal-toc to
16543 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16544 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16546 archive_cmds_GCJ
=''
16547 hardcode_direct_GCJ
=yes
16548 hardcode_libdir_separator_GCJ
=':'
16549 link_all_deplibs_GCJ
=yes
16551 if test "$GCC" = yes; then
16552 case $host_os in aix4.012|aix4.012.
*)
16553 # We only want to do this on AIX 4.2 and lower, the check
16554 # below for broken collect2 doesn't work under 4.3+
16555 collect2name
=`${CC} -print-prog-name=collect2`
16556 if test -f "$collect2name" && \
16557 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16559 # We have reworked collect2
16560 hardcode_direct_GCJ
=yes
16562 # We have old collect2
16563 hardcode_direct_GCJ
=unsupported
16564 # It fails to find uninstalled libraries when the uninstalled
16565 # path is not listed in the libpath. Setting hardcode_minus_L
16566 # to unsupported forces relinking
16567 hardcode_minus_L_GCJ
=yes
16568 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16569 hardcode_libdir_separator_GCJ
=
16572 shared_flag
='-shared'
16575 if test "$host_cpu" = ia64
; then
16576 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16577 # chokes on -Wl,-G. The following line is correct:
16580 if test "$aix_use_runtimelinking" = yes; then
16581 shared_flag
='${wl}-G'
16583 shared_flag
='${wl}-bM:SRE'
16588 # It seems that -bexpall does not export symbols beginning with
16589 # underscore (_), so it is better to generate a list of symbols to export.
16590 always_export_symbols_GCJ
=yes
16591 if test "$aix_use_runtimelinking" = yes; then
16592 # Warning - without using the other runtime loading flags (-brtl),
16593 # -berok will link without error, but may produce a broken library.
16594 allow_undefined_flag_GCJ
='-berok'
16595 # Determine the default libpath from the value encoded in an empty executable.
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16611 rm -f conftest.
$ac_objext conftest
$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>conftest.er1
16615 grep -v '^ *+' conftest.er1
>conftest.err
16617 cat conftest.err
>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try
='test -z "$ac_c_werror_flag"
16621 || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try
='test -s conftest$ac_exeext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16634 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16636 # Check for a 64-bit object if we didn't find anything.
16637 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; }
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.
$ac_ext >&5
16644 rm -f conftest.err conftest.
$ac_objext \
16645 conftest
$ac_exeext conftest.
$ac_ext
16646 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16648 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16649 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16651 if test "$host_cpu" = ia64; then
16652 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
16653 allow_undefined_flag_GCJ="-z nodefs"
16654 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
16656 # Determine the default libpath from the value encoded in an empty executable.
16657 cat >conftest.$ac_ext <<_ACEOF
16660 cat confdefs.h >>conftest.$ac_ext
16661 cat >>conftest.$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16672 rm -f conftest.$ac_objext conftest$ac_exeext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16674 (eval $ac_link) 2>conftest.er1
16676 grep -v '^ *+' conftest.er1 >conftest.err
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -z "$ac_c_werror_flag"
16682 || test ! -s conftest.err'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16687 (exit $ac_status); }; } &&
16688 { ac_try='test -s conftest$ac_exeext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16693 (exit $ac_status); }; }; then
16695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16697 # Check for a 64-bit object if we didn't find anything.
16698 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; }
16701 echo "$as_me: failed program was
:" >&5
16702 sed 's/^/| /' conftest.$ac_ext >&5
16705 rm -f conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16707 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16709 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16710 # Warning - without using the other run time loading flags,
16711 # -berok will link without error, but may produce a broken library.
16712 no_undefined_flag_GCJ=' ${wl}-bernotok'
16713 allow_undefined_flag_GCJ=' ${wl}-berok'
16714 # -bexpall does not export symbols beginning with underscore (_)
16715 always_export_symbols_GCJ=yes
16716 # Exported symbols can be pulled into shared objects from archives
16717 whole_archive_flag_spec_GCJ=' '
16718 archive_cmds_need_lc_GCJ=yes
16719 # This is similar to how AIX traditionally builds it's shared libraries.
16720 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16726 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)'
16727 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16728 hardcode_minus_L_GCJ
=yes
16729 # see comment about different semantics on the GNU ld section
16734 export_dynamic_flag_spec_GCJ
=-rdynamic
16737 cygwin
* | mingw
* | pw32
*)
16738 # When not using gcc, we currently assume that we are using
16739 # Microsoft Visual C++.
16740 # hardcode_libdir_flag_spec is actually meaningless, as there is
16741 # no search path for DLLs.
16742 hardcode_libdir_flag_spec_GCJ
=' '
16743 allow_undefined_flag_GCJ
=unsupported
16744 # Tell ltmain to make .lib files, not .a files.
16746 # Tell ltmain to make .dll files, not .so files.
16748 # FIXME: Setting linknames here is a bad hack.
16749 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16750 # The linker will automatically build a .lib file if we build a DLL.
16751 old_archive_From_new_cmds_GCJ
='true'
16752 # FIXME: Should let the user specify the lib program.
16753 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16754 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16755 enable_shared_with_static_runtimes_GCJ
=yes
16758 darwin
* | rhapsody
*)
16760 rhapsody
* | darwin1.
[012])
16761 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16764 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16765 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16767 case ${MACOSX_DEPLOYMENT_TARGET} in
16769 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16772 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16778 archive_cmds_need_lc_GCJ
=no
16779 hardcode_direct_GCJ
=no
16780 hardcode_automatic_GCJ
=yes
16781 hardcode_shlibpath_var_GCJ
=unsupported
16782 whole_archive_flag_spec_GCJ
=''
16783 link_all_deplibs_GCJ
=yes
16784 if test "$GCC" = yes ; then
16785 output_verbose_link_cmd
='echo'
16786 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16787 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16788 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16789 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}'
16790 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}'
16792 case "$cc_basename" in
16794 output_verbose_link_cmd
='echo'
16795 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16796 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16797 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16798 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}'
16799 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}'
16809 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16810 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16811 hardcode_shlibpath_var_GCJ
=no
16818 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16819 # support. Future versions do this automatically, but an explicit c++rt0.o
16820 # does not break anything, and helps significantly (at the cost of a little
16823 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16824 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16825 hardcode_direct_GCJ
=yes
16826 hardcode_shlibpath_var_GCJ
=no
16829 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16831 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16832 hardcode_direct_GCJ
=yes
16833 hardcode_minus_L_GCJ
=yes
16834 hardcode_shlibpath_var_GCJ
=no
16837 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16838 freebsd
* | kfreebsd
*-gnu)
16839 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16840 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16841 hardcode_direct_GCJ
=yes
16842 hardcode_shlibpath_var_GCJ
=no
16846 if test "$GCC" = yes; then
16847 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'
16849 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'
16851 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16852 hardcode_libdir_separator_GCJ
=:
16853 hardcode_direct_GCJ
=yes
16855 # hardcode_minus_L: Not really in the search PATH,
16856 # but as the default location of the library.
16857 hardcode_minus_L_GCJ
=yes
16858 export_dynamic_flag_spec_GCJ
='${wl}-E'
16862 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16863 case "$host_cpu" in
16865 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16868 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16872 case "$host_cpu" in
16874 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16877 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16881 if test "$with_gnu_ld" = no
; then
16882 case "$host_cpu" in
16884 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16885 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16886 hardcode_libdir_separator_GCJ
=:
16887 hardcode_direct_GCJ
=no
16888 hardcode_shlibpath_var_GCJ
=no
16891 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16892 hardcode_direct_GCJ
=no
16893 hardcode_shlibpath_var_GCJ
=no
16895 # hardcode_minus_L: Not really in the search PATH,
16896 # but as the default location of the library.
16897 hardcode_minus_L_GCJ
=yes
16900 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16901 hardcode_libdir_separator_GCJ
=:
16902 hardcode_direct_GCJ
=yes
16903 export_dynamic_flag_spec_GCJ
='${wl}-E'
16905 # hardcode_minus_L: Not really in the search PATH,
16906 # but as the default location of the library.
16907 hardcode_minus_L_GCJ
=yes
16913 irix5
* | irix6
* | nonstopux
*)
16914 if test "$GCC" = yes; then
16915 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'
16917 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'
16918 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16920 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16921 hardcode_libdir_separator_GCJ
=:
16922 link_all_deplibs_GCJ
=yes
16926 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16927 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16929 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16931 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16932 hardcode_direct_GCJ
=yes
16933 hardcode_shlibpath_var_GCJ
=no
16937 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16938 hardcode_direct_GCJ
=yes
16939 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16940 hardcode_libdir_separator_GCJ
=:
16941 hardcode_shlibpath_var_GCJ
=no
16945 hardcode_direct_GCJ
=yes
16946 hardcode_shlibpath_var_GCJ
=no
16947 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16948 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16949 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16950 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16951 export_dynamic_flag_spec_GCJ
='${wl}-E'
16954 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16955 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16956 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16959 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16960 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16967 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16968 hardcode_minus_L_GCJ
=yes
16969 allow_undefined_flag_GCJ
=unsupported
16970 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'
16971 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16975 if test "$GCC" = yes; then
16976 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16977 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'
16979 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16980 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'
16982 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16983 hardcode_libdir_separator_GCJ
=:
16986 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16987 if test "$GCC" = yes; then
16988 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16989 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'
16990 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16992 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16993 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'
16994 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~
16995 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
16997 # Both c and cxx compiler support -rpath directly
16998 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17000 hardcode_libdir_separator_GCJ
=:
17004 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17005 hardcode_shlibpath_var_GCJ
=no
17006 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17007 runpath_var
=LD_RUN_PATH
17008 hardcode_runpath_var
=yes
17012 no_undefined_flag_GCJ
=' -z text'
17013 if test "$GCC" = yes; then
17014 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17015 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17016 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17018 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17019 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17020 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17022 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17023 hardcode_shlibpath_var_GCJ
=no
17025 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17026 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17027 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17029 link_all_deplibs_GCJ
=yes
17033 if test "x$host_vendor" = xsequent
; then
17034 # Use $CC to link under sequent, because it throws in some extra .o
17035 # files that make .init and .fini sections work.
17036 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17038 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17040 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17041 hardcode_direct_GCJ
=yes
17042 hardcode_minus_L_GCJ
=yes
17043 hardcode_shlibpath_var_GCJ
=no
17047 case $host_vendor in
17049 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17050 hardcode_direct_GCJ
=yes # is this really true???
17053 ## LD is ld it makes a PLAMLIB
17054 ## CC just makes a GrossModule.
17055 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17056 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17057 hardcode_direct_GCJ
=no
17060 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17061 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17064 runpath_var
='LD_RUN_PATH'
17065 hardcode_shlibpath_var_GCJ
=no
17069 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17070 hardcode_shlibpath_var_GCJ
=no
17071 export_dynamic_flag_spec_GCJ
='-Bexport'
17075 if test -d /usr
/nec
; then
17076 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17077 hardcode_shlibpath_var_GCJ
=no
17078 runpath_var
=LD_RUN_PATH
17079 hardcode_runpath_var
=yes
17085 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17086 hardcode_direct_GCJ
=yes
17087 hardcode_minus_L_GCJ
=no
17088 hardcode_shlibpath_var_GCJ
=no
17089 hardcode_runpath_var
=yes
17090 runpath_var
=LD_RUN_PATH
17093 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17094 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17095 if test "$GCC" = yes; then
17096 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17098 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17100 runpath_var
='LD_RUN_PATH'
17101 hardcode_shlibpath_var_GCJ
=no
17105 no_undefined_flag_GCJ
=' -z text'
17106 # $CC -shared without GNU ld will not create a library from C++
17107 # object files and a static libstdc++, better avoid it by now
17108 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17109 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17110 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17111 hardcode_libdir_flag_spec_GCJ
=
17112 hardcode_shlibpath_var_GCJ
=no
17113 runpath_var
='LD_RUN_PATH'
17117 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17118 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17119 hardcode_shlibpath_var_GCJ
=no
17128 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17129 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17130 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17132 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17133 if test "$GCC" = yes; then
17134 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17138 # Do we need to explicitly link libc?
17140 case "x$archive_cmds_need_lc_GCJ" in
17142 # Assume -lc should be added
17143 archive_cmds_need_lc_GCJ
=yes
17145 if test "$enable_shared" = yes && test "$GCC" = yes; then
17146 case $archive_cmds_GCJ in
17148 # FIXME: we may have to deal with multi-command sequences.
17151 # Test whether the compiler implicitly links with -lc since on some
17152 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17153 # to ld, don't add -lc before -lgcc.
17154 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17155 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17157 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17160 (eval $ac_compile) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } 2>conftest.err
; then
17166 libobjs
=conftest.
$ac_objext
17168 wl
=$lt_prog_compiler_wl_GCJ
17174 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17175 allow_undefined_flag_GCJ
=
17176 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17177 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }
17182 archive_cmds_need_lc_GCJ
=no
17184 archive_cmds_need_lc_GCJ
=yes
17186 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17188 cat conftest.err
1>&5
17191 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17192 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17199 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17200 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17201 library_names_spec
=
17202 libname_spec
='lib$name'
17206 postuninstall_cmds
=
17210 shlibpath_overrides_runpath
=unknown
17212 dynamic_linker
="$host_os ld.so"
17213 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17214 if test "$GCC" = yes; then
17215 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17216 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17217 # if the path contains ";" then we assume it to be the separator
17218 # otherwise default to the standard path separator (i.e. ":") - it is
17219 # assumed that no part of a normal pathname contains ";" but that should
17220 # okay in the real world where ";" in dirpaths is itself problematic.
17221 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17223 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17226 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17228 need_lib_prefix
=unknown
17229 hardcode_into_libs
=no
17231 # when you set need_version to no, make sure it does not cause -set_version
17232 # flags to be left without arguments
17233 need_version
=unknown
17238 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17239 shlibpath_var
=LIBPATH
17241 # AIX 3 has no versioning support, so we append a major version to the name.
17242 soname_spec
='${libname}${release}${shared_ext}$major'
17249 hardcode_into_libs
=yes
17250 if test "$host_cpu" = ia64
; then
17251 # AIX 5 supports IA64
17252 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17253 shlibpath_var
=LD_LIBRARY_PATH
17255 # With GCC up to 2.95.x, collect2 would create an import file
17256 # for dependence libraries. The import file would start with
17257 # the line `#! .'. This would cause the generated library to
17258 # depend on `.', always an invalid library. This was fixed in
17259 # development snapshots of GCC prior to 3.0.
17261 aix4 | aix4.
[01] | aix4.
[01].
*)
17262 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17264 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17267 can_build_shared
=no
17271 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17272 # soname into executable. Probably we can add versioning support to
17273 # collect2, so additional links can be useful in future.
17274 if test "$aix_use_runtimelinking" = yes; then
17275 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17276 # instead of lib<name>.a to let people know that these are not
17277 # typical AIX shared libraries.
17278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17280 # We preserve .a as extension for shared libraries through AIX4.2
17281 # and later when we are not doing run time linking.
17282 library_names_spec
='${libname}${release}.a $libname.a'
17283 soname_spec
='${libname}${release}${shared_ext}$major'
17285 shlibpath_var
=LIBPATH
17290 library_names_spec
='$libname.ixlibrary $libname.a'
17291 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17292 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'
17296 library_names_spec
='${libname}${shared_ext}'
17297 dynamic_linker
="$host_os ld.so"
17298 shlibpath_var
=LIBRARY_PATH
17304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17305 soname_spec
='${libname}${release}${shared_ext}$major'
17306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17307 shlibpath_var
=LD_LIBRARY_PATH
17308 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17309 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17310 # the default ld.so.conf also contains /usr/contrib/lib and
17311 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17312 # libtool to hard-code these into programs
17315 cygwin
* | mingw
* | pw32
*)
17316 version_type
=windows
17321 case $GCC,$host_os in
17322 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17323 library_names_spec
='$libname.dll.a'
17324 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17325 postinstall_cmds
='base_file=`basename \${file}`~
17326 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17327 dldir=$destdir/`dirname \$dlpath`~
17328 test -d \$dldir || mkdir -p \$dldir~
17329 $install_prog $dir/$dlname \$dldir/$dlname'
17330 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17331 dlpath=$dir/\$dldll~
17333 shlibpath_overrides_runpath
=yes
17337 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17338 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17339 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17342 # MinGW DLLs use traditional 'lib' prefix
17343 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17344 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17345 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17346 # It is most probably a Windows format PATH printed by
17347 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17348 # path with ; separators, and with drive letters. We can handle the
17349 # drive letters (cygwin fileutils understands them), so leave them,
17350 # especially as we might pass files found there to a mingw objdump,
17351 # which wouldn't understand a cygwinified path. Ahh.
17352 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17354 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17358 # pw32 DLLs use 'pw' prefix rather than 'lib'
17359 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17365 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17368 dynamic_linker
='Win32 ld.exe'
17369 # FIXME: first we should search . and the directory the executable is in
17373 darwin
* | rhapsody
*)
17374 dynamic_linker
="$host_os dyld"
17375 version_type
=darwin
17378 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17379 soname_spec
='${libname}${release}${major}$shared_ext'
17380 shlibpath_overrides_runpath
=yes
17381 shlibpath_var
=DYLD_LIBRARY_PATH
17382 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17383 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17384 if test "$GCC" = yes; then
17385 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"`
17387 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17389 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17397 soname_spec
='${libname}${release}${shared_ext}$major'
17398 shlibpath_var
=LD_LIBRARY_PATH
17409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17410 soname_spec
='${libname}${release}${shared_ext}$major'
17411 shlibpath_var
=LD_LIBRARY_PATH
17412 shlibpath_overrides_runpath
=no
17413 hardcode_into_libs
=yes
17414 dynamic_linker
='GNU ld.so'
17418 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17419 version_type
=freebsd-
$objformat
17420 case $version_type in
17422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17427 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17431 shlibpath_var
=LD_LIBRARY_PATH
17434 shlibpath_overrides_runpath
=yes
17436 freebsd3.01
* | freebsdelf3.01
*)
17437 shlibpath_overrides_runpath
=yes
17438 hardcode_into_libs
=yes
17441 shlibpath_overrides_runpath
=no
17442 hardcode_into_libs
=yes
17451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17452 soname_spec
='${libname}${release}${shared_ext}$major'
17453 shlibpath_var
=LD_LIBRARY_PATH
17454 hardcode_into_libs
=yes
17457 hpux9
* | hpux10
* | hpux11
*)
17458 # Give a soname corresponding to the major version so that dld.sl refuses to
17459 # link against other versions.
17463 case "$host_cpu" in
17466 hardcode_into_libs
=yes
17467 dynamic_linker
="$host_os dld.so"
17468 shlibpath_var
=LD_LIBRARY_PATH
17469 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17471 soname_spec
='${libname}${release}${shared_ext}$major'
17472 if test "X$HPUX_IA64_MODE" = X32
; then
17473 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17475 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17477 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17481 hardcode_into_libs
=yes
17482 dynamic_linker
="$host_os dld.sl"
17483 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17484 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17486 soname_spec
='${libname}${release}${shared_ext}$major'
17487 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17488 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17492 dynamic_linker
="$host_os dld.sl"
17493 shlibpath_var
=SHLIB_PATH
17494 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17496 soname_spec
='${libname}${release}${shared_ext}$major'
17499 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17500 postinstall_cmds
='chmod 555 $lib'
17503 irix5
* | irix6
* | nonstopux
*)
17505 nonstopux
*) version_type
=nonstopux
;;
17507 if test "$lt_cv_prog_gnu_ld" = yes; then
17515 soname_spec
='${libname}${release}${shared_ext}$major'
17516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17518 irix5
* | nonstopux
*)
17519 libsuff
= shlibsuff
=
17522 case $LD in # libtool.m4 will add one of these switches to LD
17523 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17524 libsuff
= shlibsuff
= libmagic
=32-bit;;
17525 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17526 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17527 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17528 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17529 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17533 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17534 shlibpath_overrides_runpath
=no
17535 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17536 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17537 hardcode_into_libs
=yes
17540 # No shared lib support for Linux oldld, aout, or coff.
17541 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17545 # This must be Linux ELF.
17550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17551 soname_spec
='${libname}${release}${shared_ext}$major'
17552 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17553 shlibpath_var
=LD_LIBRARY_PATH
17554 shlibpath_overrides_runpath
=no
17555 # This implies no fast_install, which is unacceptable.
17556 # Some rework will be needed to allow for fast_install
17557 # before this can be enabled.
17558 hardcode_into_libs
=yes
17560 # Append ld.so.conf contents to the search path
17561 if test -f /etc
/ld.so.conf
; then
17562 lt_ld_extra
=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17563 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17566 # We used to test for /lib/ld.so.1 and disable shared libraries on
17567 # powerpc, because MkLinux only supported shared libraries with the
17568 # GNU dynamic linker. Since this was broken with cross compilers,
17569 # most powerpc-linux boxes support dynamic linking these days and
17570 # people can always --disable-shared, the test was removed, and we
17571 # assume the GNU/Linux dynamic linker is in use.
17572 dynamic_linker
='GNU/Linux ld.so'
17579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17580 soname_spec
='${libname}${release}${shared_ext}$major'
17581 shlibpath_var
=LD_LIBRARY_PATH
17582 shlibpath_overrides_runpath
=no
17583 hardcode_into_libs
=yes
17584 dynamic_linker
='GNU ld.so'
17591 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17593 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17594 dynamic_linker
='NetBSD (a.out) ld.so'
17596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17597 soname_spec
='${libname}${release}${shared_ext}$major'
17598 dynamic_linker
='NetBSD ld.elf_so'
17600 shlibpath_var
=LD_LIBRARY_PATH
17601 shlibpath_overrides_runpath
=yes
17602 hardcode_into_libs
=yes
17607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17608 shlibpath_var
=LD_LIBRARY_PATH
17609 shlibpath_overrides_runpath
=yes
17616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17617 soname_spec
='${libname}${release}${shared_ext}$major'
17618 shlibpath_var
=LD_LIBRARY_PATH
17619 shlibpath_overrides_runpath
=yes
17626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17627 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17628 shlibpath_var
=LD_LIBRARY_PATH
17629 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17631 openbsd2.
[89] | openbsd2.
[89].
*)
17632 shlibpath_overrides_runpath
=no
17635 shlibpath_overrides_runpath
=yes
17639 shlibpath_overrides_runpath
=yes
17644 libname_spec
='$name'
17647 library_names_spec
='$libname${shared_ext} $libname.a'
17648 dynamic_linker
='OS/2 ld.exe'
17649 shlibpath_var
=LIBPATH
17652 osf3
* | osf4
* | osf5
*)
17656 soname_spec
='${libname}${release}${shared_ext}$major'
17657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17658 shlibpath_var
=LD_LIBRARY_PATH
17659 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17660 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17665 soname_spec
='${libname}${release}${shared_ext}$major'
17666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17667 shlibpath_var
=LD_LIBRARY_PATH
17674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17675 soname_spec
='${libname}${release}${shared_ext}$major'
17676 shlibpath_var
=LD_LIBRARY_PATH
17677 shlibpath_overrides_runpath
=yes
17678 hardcode_into_libs
=yes
17679 # ldd complains unless libraries are executable
17680 postinstall_cmds
='chmod +x $lib'
17685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17686 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17687 shlibpath_var
=LD_LIBRARY_PATH
17688 shlibpath_overrides_runpath
=yes
17689 if test "$with_gnu_ld" = yes; then
17695 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17698 soname_spec
='${libname}${release}${shared_ext}$major'
17699 shlibpath_var
=LD_LIBRARY_PATH
17700 case $host_vendor in
17702 shlibpath_overrides_runpath
=no
17704 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17705 runpath_var
=LD_RUN_PATH
17713 shlibpath_overrides_runpath
=no
17714 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17720 if test -d /usr
/nec
;then
17722 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17723 soname_spec
='$libname${shared_ext}.$major'
17724 shlibpath_var
=LD_LIBRARY_PATH
17730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17731 soname_spec
='${libname}${release}${shared_ext}$major'
17732 shlibpath_var
=LD_LIBRARY_PATH
17739 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17740 echo "${ECHO_T}$dynamic_linker" >&6
17741 test "$dynamic_linker" = no
&& can_build_shared
=no
17743 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17744 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17745 hardcode_action_GCJ
=
17746 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17747 test -n "$runpath_var_GCJ" || \
17748 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17750 # We can hardcode non-existant directories.
17751 if test "$hardcode_direct_GCJ" != no
&&
17752 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17753 # have to relink, otherwise we might link with an installed library
17754 # when we should be linking with a yet-to-be-installed one
17755 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17756 test "$hardcode_minus_L_GCJ" != no
; then
17757 # Linking always hardcodes the temporary library directory.
17758 hardcode_action_GCJ
=relink
17760 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17761 hardcode_action_GCJ
=immediate
17764 # We cannot hardcode anything, or else we can only hardcode existing
17766 hardcode_action_GCJ
=unsupported
17768 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17769 echo "${ECHO_T}$hardcode_action_GCJ" >&6
17771 if test "$hardcode_action_GCJ" = relink
; then
17772 # Fast installation is not supported
17773 enable_fast_install
=no
17774 elif test "$shlibpath_overrides_runpath" = yes ||
17775 test "$enable_shared" = no
; then
17776 # Fast installation is not necessary
17777 enable_fast_install
=needless
17782 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17783 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17784 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
17785 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
17786 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
17787 echo "$as_me:$LINENO: result: yes" >&5
17788 echo "${ECHO_T}yes" >&6
17790 # FIXME - insert some real tests, host_os isn't really good enough
17793 if test -n "$STRIP" ; then
17794 striplib
="$STRIP -x"
17795 echo "$as_me:$LINENO: result: yes" >&5
17796 echo "${ECHO_T}yes" >&6
17798 echo "$as_me:$LINENO: result: no" >&5
17799 echo "${ECHO_T}no" >&6
17803 echo "$as_me:$LINENO: result: no" >&5
17804 echo "${ECHO_T}no" >&6
17809 if test "x$enable_dlopen" != xyes
; then
17810 enable_dlopen
=unknown
17811 enable_dlopen_self
=unknown
17812 enable_dlopen_self_static
=unknown
17819 lt_cv_dlopen
="load_add_on"
17821 lt_cv_dlopen_self
=yes
17825 lt_cv_dlopen
="LoadLibrary"
17830 lt_cv_dlopen
="dlopen"
17835 # if libdl is installed we need to link against it
17836 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17837 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17838 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 ac_check_lib_save_LIBS
=$LIBS
17843 cat >conftest.
$ac_ext <<_ACEOF
17846 cat confdefs.h
>>conftest.
$ac_ext
17847 cat >>conftest.
$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17850 /* Override any gcc2 internal prototype to avoid an error. */
17854 /* We use char because int might match the return type of a gcc2
17855 builtin and then its argument prototype would still apply. */
17865 rm -f conftest.
$ac_objext conftest
$ac_exeext
17866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17867 (eval $ac_link) 2>conftest.er1
17869 grep -v '^ *+' conftest.er1
>conftest.err
17871 cat conftest.err
>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } &&
17874 { ac_try
='test -z "$ac_c_werror_flag"
17875 || test ! -s conftest.err'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; } &&
17881 { ac_try
='test -s conftest$ac_exeext'
17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883 (eval $ac_try) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; }; then
17887 ac_cv_lib_dl_dlopen
=yes
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.
$ac_ext >&5
17892 ac_cv_lib_dl_dlopen
=no
17894 rm -f conftest.err conftest.
$ac_objext \
17895 conftest
$ac_exeext conftest.
$ac_ext
17896 LIBS
=$ac_check_lib_save_LIBS
17898 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17899 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17900 if test $ac_cv_lib_dl_dlopen = yes; then
17901 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17904 lt_cv_dlopen
="dyld"
17906 lt_cv_dlopen_self
=yes
17913 echo "$as_me:$LINENO: checking for shl_load" >&5
17914 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17915 if test "${ac_cv_func_shl_load+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 cat >conftest.
$ac_ext <<_ACEOF
17921 cat confdefs.h
>>conftest.
$ac_ext
17922 cat >>conftest.
$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17926 #define shl_load innocuous_shl_load
17928 /* System header to define __stub macros and hopefully few prototypes,
17929 which can conflict with char shl_load (); below.
17930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17931 <limits.h> exists even on freestanding compilers. */
17934 # include <limits.h>
17936 # include <assert.h>
17941 /* Override any gcc2 internal prototype to avoid an error. */
17946 /* We use char because int might match the return type of a gcc2
17947 builtin and then its argument prototype would still apply. */
17949 /* The GNU C library defines this for functions which it implements
17950 to always fail with ENOSYS. Some functions are actually named
17951 something starting with __ and the normal name is an alias. */
17952 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17955 char (*f) () = shl_load;
17964 return f != shl_load;
17969 rm -f conftest.
$ac_objext conftest
$ac_exeext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17971 (eval $ac_link) 2>conftest.er1
17973 grep -v '^ *+' conftest.er1
>conftest.err
17975 cat conftest.err
>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); } &&
17978 { ac_try
='test -z "$ac_c_werror_flag"
17979 || test ! -s conftest.err'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; } &&
17985 { ac_try
='test -s conftest$ac_exeext'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; }; then
17991 ac_cv_func_shl_load
=yes
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.
$ac_ext >&5
17996 ac_cv_func_shl_load
=no
17998 rm -f conftest.err conftest.
$ac_objext \
17999 conftest
$ac_exeext conftest.
$ac_ext
18001 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18002 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18003 if test $ac_cv_func_shl_load = yes; then
18004 lt_cv_dlopen
="shl_load"
18006 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18007 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18008 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 ac_check_lib_save_LIBS
=$LIBS
18013 cat >conftest.
$ac_ext <<_ACEOF
18016 cat confdefs.h
>>conftest.
$ac_ext
18017 cat >>conftest.
$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18020 /* Override any gcc2 internal prototype to avoid an error. */
18024 /* We use char because int might match the return type of a gcc2
18025 builtin and then its argument prototype would still apply. */
18035 rm -f conftest.
$ac_objext conftest
$ac_exeext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18037 (eval $ac_link) 2>conftest.er1
18039 grep -v '^ *+' conftest.er1
>conftest.err
18041 cat conftest.err
>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try
='test -z "$ac_c_werror_flag"
18045 || test ! -s conftest.err'
18046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047 (eval $ac_try) 2>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); }; } &&
18051 { ac_try
='test -s conftest$ac_exeext'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; }; then
18057 ac_cv_lib_dld_shl_load
=yes
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18062 ac_cv_lib_dld_shl_load
=no
18064 rm -f conftest.err conftest.
$ac_objext \
18065 conftest
$ac_exeext conftest.
$ac_ext
18066 LIBS
=$ac_check_lib_save_LIBS
18068 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18069 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18070 if test $ac_cv_lib_dld_shl_load = yes; then
18071 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18073 echo "$as_me:$LINENO: checking for dlopen" >&5
18074 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18075 if test "${ac_cv_func_dlopen+set}" = set; then
18076 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 cat >conftest.
$ac_ext <<_ACEOF
18081 cat confdefs.h
>>conftest.
$ac_ext
18082 cat >>conftest.
$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18084 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18086 #define dlopen innocuous_dlopen
18088 /* System header to define __stub macros and hopefully few prototypes,
18089 which can conflict with char dlopen (); below.
18090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18091 <limits.h> exists even on freestanding compilers. */
18094 # include <limits.h>
18096 # include <assert.h>
18101 /* Override any gcc2 internal prototype to avoid an error. */
18106 /* We use char because int might match the return type of a gcc2
18107 builtin and then its argument prototype would still apply. */
18109 /* The GNU C library defines this for functions which it implements
18110 to always fail with ENOSYS. Some functions are actually named
18111 something starting with __ and the normal name is an alias. */
18112 #if defined (__stub_dlopen) || defined (__stub___dlopen)
18115 char (*f) () = dlopen;
18124 return f != dlopen;
18129 rm -f conftest.
$ac_objext conftest
$ac_exeext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18131 (eval $ac_link) 2>conftest.er1
18133 grep -v '^ *+' conftest.er1
>conftest.err
18135 cat conftest.err
>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try
='test -z "$ac_c_werror_flag"
18139 || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try
='test -s conftest$ac_exeext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 ac_cv_func_dlopen
=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 ac_cv_func_dlopen
=no
18158 rm -f conftest.err conftest.
$ac_objext \
18159 conftest
$ac_exeext conftest.
$ac_ext
18161 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18162 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18163 if test $ac_cv_func_dlopen = yes; then
18164 lt_cv_dlopen
="dlopen"
18166 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18167 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18168 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 ac_check_lib_save_LIBS
=$LIBS
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18180 /* Override any gcc2 internal prototype to avoid an error. */
18184 /* We use char because int might match the return type of a gcc2
18185 builtin and then its argument prototype would still apply. */
18195 rm -f conftest.
$ac_objext conftest
$ac_exeext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18197 (eval $ac_link) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1
>conftest.err
18201 cat conftest.err
>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -z "$ac_c_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try
='test -s conftest$ac_exeext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_cv_lib_dl_dlopen
=yes
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.
$ac_ext >&5
18222 ac_cv_lib_dl_dlopen
=no
18224 rm -f conftest.err conftest.
$ac_objext \
18225 conftest
$ac_exeext conftest.
$ac_ext
18226 LIBS
=$ac_check_lib_save_LIBS
18228 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18229 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18230 if test $ac_cv_lib_dl_dlopen = yes; then
18231 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18233 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18234 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18235 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 ac_check_lib_save_LIBS
=$LIBS
18239 LIBS
="-lsvld $LIBS"
18240 cat >conftest.
$ac_ext <<_ACEOF
18243 cat confdefs.h
>>conftest.
$ac_ext
18244 cat >>conftest.
$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18247 /* Override any gcc2 internal prototype to avoid an error. */
18251 /* We use char because int might match the return type of a gcc2
18252 builtin and then its argument prototype would still apply. */
18262 rm -f conftest.
$ac_objext conftest
$ac_exeext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18264 (eval $ac_link) 2>conftest.er1
18266 grep -v '^ *+' conftest.er1
>conftest.err
18268 cat conftest.err
>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } &&
18271 { ac_try
='test -z "$ac_c_werror_flag"
18272 || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try
='test -s conftest$ac_exeext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 ac_cv_lib_svld_dlopen
=yes
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.
$ac_ext >&5
18289 ac_cv_lib_svld_dlopen
=no
18291 rm -f conftest.err conftest.
$ac_objext \
18292 conftest
$ac_exeext conftest.
$ac_ext
18293 LIBS
=$ac_check_lib_save_LIBS
18295 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18296 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18297 if test $ac_cv_lib_svld_dlopen = yes; then
18298 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18300 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18301 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18302 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18305 ac_check_lib_save_LIBS
=$LIBS
18307 cat >conftest.
$ac_ext <<_ACEOF
18310 cat confdefs.h
>>conftest.
$ac_ext
18311 cat >>conftest.
$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18314 /* Override any gcc2 internal prototype to avoid an error. */
18318 /* We use char because int might match the return type of a gcc2
18319 builtin and then its argument prototype would still apply. */
18329 rm -f conftest.
$ac_objext conftest
$ac_exeext
18330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18331 (eval $ac_link) 2>conftest.er1
18333 grep -v '^ *+' conftest.er1
>conftest.err
18335 cat conftest.err
>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } &&
18338 { ac_try
='test -z "$ac_c_werror_flag"
18339 || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try
='test -s conftest$ac_exeext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_cv_lib_dld_dld_link
=yes
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.
$ac_ext >&5
18356 ac_cv_lib_dld_dld_link
=no
18358 rm -f conftest.err conftest.
$ac_objext \
18359 conftest
$ac_exeext conftest.
$ac_ext
18360 LIBS
=$ac_check_lib_save_LIBS
18362 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18363 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18364 if test $ac_cv_lib_dld_dld_link = yes; then
18365 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18386 if test "x$lt_cv_dlopen" != xno
; then
18392 case $lt_cv_dlopen in
18394 save_CPPFLAGS
="$CPPFLAGS"
18395 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18397 save_LDFLAGS
="$LDFLAGS"
18398 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18401 LIBS
="$lt_cv_dlopen_libs $LIBS"
18403 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18404 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18405 if test "${lt_cv_dlopen_self+set}" = set; then
18406 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 if test "$cross_compiling" = yes; then :
18409 lt_cv_dlopen_self
=cross
18411 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18412 lt_status
=$lt_dlunknown
18413 cat > conftest.
$ac_ext <<EOF
18414 #line 18414 "configure"
18415 #include "confdefs.h"
18424 # define LT_DLGLOBAL RTLD_GLOBAL
18427 # define LT_DLGLOBAL DL_GLOBAL
18429 # define LT_DLGLOBAL 0
18433 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18434 find out it does not work in some platform. */
18435 #ifndef LT_DLLAZY_OR_NOW
18437 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18440 # define LT_DLLAZY_OR_NOW DL_LAZY
18443 # define LT_DLLAZY_OR_NOW RTLD_NOW
18446 # define LT_DLLAZY_OR_NOW DL_NOW
18448 # define LT_DLLAZY_OR_NOW 0
18456 extern "C" void exit (int);
18459 void fnord() { int i=42;}
18462 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18463 int status = $lt_dlunknown;
18467 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18468 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18469 /* dlclose (self); */
18475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18476 (eval $ac_link) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18480 (.
/conftest
; exit; ) 2>/dev
/null
18482 case x
$lt_status in
18483 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18484 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18485 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18488 # compilation failed
18489 lt_cv_dlopen_self
=no
18496 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18497 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18499 if test "x$lt_cv_dlopen_self" = xyes
; then
18500 LDFLAGS
="$LDFLAGS $link_static_flag"
18501 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18502 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18503 if test "${lt_cv_dlopen_self_static+set}" = set; then
18504 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 if test "$cross_compiling" = yes; then :
18507 lt_cv_dlopen_self_static
=cross
18509 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18510 lt_status
=$lt_dlunknown
18511 cat > conftest.
$ac_ext <<EOF
18512 #line 18512 "configure"
18513 #include "confdefs.h"
18522 # define LT_DLGLOBAL RTLD_GLOBAL
18525 # define LT_DLGLOBAL DL_GLOBAL
18527 # define LT_DLGLOBAL 0
18531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18532 find out it does not work in some platform. */
18533 #ifndef LT_DLLAZY_OR_NOW
18535 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18538 # define LT_DLLAZY_OR_NOW DL_LAZY
18541 # define LT_DLLAZY_OR_NOW RTLD_NOW
18544 # define LT_DLLAZY_OR_NOW DL_NOW
18546 # define LT_DLLAZY_OR_NOW 0
18554 extern "C" void exit (int);
18557 void fnord() { int i=42;}
18560 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18561 int status = $lt_dlunknown;
18565 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18566 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18567 /* dlclose (self); */
18573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18574 (eval $ac_link) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18578 (.
/conftest
; exit; ) 2>/dev
/null
18580 case x
$lt_status in
18581 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18582 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18583 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18586 # compilation failed
18587 lt_cv_dlopen_self_static
=no
18594 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18595 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18598 CPPFLAGS
="$save_CPPFLAGS"
18599 LDFLAGS
="$save_LDFLAGS"
18604 case $lt_cv_dlopen_self in
18605 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18606 *) enable_dlopen_self
=unknown
;;
18609 case $lt_cv_dlopen_self_static in
18610 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18611 *) enable_dlopen_self_static
=unknown
;;
18616 # The else clause should only fire when bootstrapping the
18617 # libtool distribution, otherwise you forgot to ship ltmain.sh
18618 # with your package, and you will get complaints that there are
18619 # no rules to generate ltmain.sh.
18620 if test -f "$ltmain"; then
18621 # See if we are running on zsh, and set the options which allow our commands through
18622 # without removal of \ escapes.
18623 if test -n "${ZSH_VERSION+set}" ; then
18624 setopt NO_GLOB_SUBST
18626 # Now quote all the things that may contain metacharacters while being
18627 # careful not to overquote the AC_SUBSTed values. We take copies of the
18628 # variables and quote the copies for generation of the libtool script.
18629 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18631 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18632 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18633 deplibs_check_method reload_flag reload_cmds need_locks \
18634 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18635 lt_cv_sys_global_symbol_to_c_name_address \
18636 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18637 old_postinstall_cmds old_postuninstall_cmds \
18641 lt_prog_compiler_wl_GCJ \
18642 lt_prog_compiler_pic_GCJ \
18643 lt_prog_compiler_static_GCJ \
18644 lt_prog_compiler_no_builtin_flag_GCJ \
18645 export_dynamic_flag_spec_GCJ \
18646 thread_safe_flag_spec_GCJ \
18647 whole_archive_flag_spec_GCJ \
18648 enable_shared_with_static_runtimes_GCJ \
18649 old_archive_cmds_GCJ \
18650 old_archive_from_new_cmds_GCJ \
18651 predep_objects_GCJ \
18652 postdep_objects_GCJ \
18655 compiler_lib_search_path_GCJ \
18657 archive_expsym_cmds_GCJ \
18658 postinstall_cmds_GCJ \
18659 postuninstall_cmds_GCJ \
18660 old_archive_from_expsyms_cmds_GCJ \
18661 allow_undefined_flag_GCJ \
18662 no_undefined_flag_GCJ \
18663 export_symbols_cmds_GCJ \
18664 hardcode_libdir_flag_spec_GCJ \
18665 hardcode_libdir_flag_spec_ld_GCJ \
18666 hardcode_libdir_separator_GCJ \
18667 hardcode_automatic_GCJ \
18669 module_expsym_cmds_GCJ \
18670 lt_cv_prog_compiler_c_o_GCJ \
18671 exclude_expsyms_GCJ \
18672 include_expsyms_GCJ
; do
18675 old_archive_cmds_GCJ | \
18676 old_archive_from_new_cmds_GCJ | \
18677 archive_cmds_GCJ | \
18678 archive_expsym_cmds_GCJ | \
18679 module_cmds_GCJ | \
18680 module_expsym_cmds_GCJ | \
18681 old_archive_from_expsyms_cmds_GCJ | \
18682 export_symbols_cmds_GCJ | \
18683 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18684 postinstall_cmds | postuninstall_cmds | \
18685 old_postinstall_cmds | old_postuninstall_cmds | \
18686 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18687 # Double-quote double-evaled strings.
18688 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18691 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18697 *'\$0 --fallback-echo"')
18698 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18704 cat <<__EOF__ >> "$cfgfile"
18705 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18707 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18709 # Shell to use when invoking shell scripts.
18712 # Whether or not to build shared libraries.
18713 build_libtool_libs=$enable_shared
18715 # Whether or not to build static libraries.
18716 build_old_libs=$enable_static
18718 # Whether or not to add -lc for building shared libraries.
18719 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18721 # Whether or not to disallow shared libs when runtime libs are static
18722 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18724 # Whether or not to optimize for fast installation.
18725 fast_install=$enable_fast_install
18728 host_alias=$host_alias
18731 # An echo program that does not interpret backslashes.
18736 AR_FLAGS=$lt_AR_FLAGS
18741 # A language-specific compiler.
18742 CC=$lt_compiler_GCJ
18744 # Is the compiler the GNU C compiler?
18750 # The linker used to build libraries.
18753 # Whether we need hard or soft links.
18756 # A BSD-compatible nm program.
18759 # A symbol stripping program
18762 # Used to examine libraries when file_magic_cmd begins "file"
18763 MAGIC_CMD=$MAGIC_CMD
18765 # Used on cygwin: DLL creation program.
18768 # Used on cygwin: object dumper.
18771 # Used on cygwin: assembler.
18774 # The name of the directory that contains temporary libtool files.
18777 # How to create reloadable object files.
18778 reload_flag=$lt_reload_flag
18779 reload_cmds=$lt_reload_cmds
18781 # How to pass a linker flag through the compiler.
18782 wl=$lt_lt_prog_compiler_wl_GCJ
18784 # Object file suffix (normally "o").
18785 objext="$ac_objext"
18787 # Old archive suffix (normally "a").
18790 # Shared library suffix (normally ".so").
18791 shrext_cmds='$shrext_cmds'
18793 # Executable file suffix (normally "").
18796 # Additional compiler flags for building library objects.
18797 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18800 # What is the maximum length of a command?
18801 max_cmd_len=$lt_cv_sys_max_cmd_len
18803 # Does compiler simultaneously support -c and -o options?
18804 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18806 # Must we lock files when doing compilation ?
18807 need_locks=$lt_need_locks
18809 # Do we need the lib prefix for modules?
18810 need_lib_prefix=$need_lib_prefix
18812 # Do we need a version for libraries?
18813 need_version=$need_version
18815 # Whether dlopen is supported.
18816 dlopen_support=$enable_dlopen
18818 # Whether dlopen of programs is supported.
18819 dlopen_self=$enable_dlopen_self
18821 # Whether dlopen of statically linked programs is supported.
18822 dlopen_self_static=$enable_dlopen_self_static
18824 # Compiler flag to prevent dynamic linking.
18825 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18827 # Compiler flag to turn off builtin functions.
18828 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18830 # Compiler flag to allow reflexive dlopens.
18831 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18833 # Compiler flag to generate shared objects directly from archives.
18834 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18836 # Compiler flag to generate thread-safe objects.
18837 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18839 # Library versioning type.
18840 version_type=$version_type
18842 # Format of library name prefix.
18843 libname_spec=$lt_libname_spec
18845 # List of archive names. First name is the real one, the rest are links.
18846 # The last name is the one that the linker finds with -lNAME.
18847 library_names_spec=$lt_library_names_spec
18849 # The coded name of the library, if different from the real name.
18850 soname_spec=$lt_soname_spec
18852 # Commands used to build and install an old-style archive.
18854 old_archive_cmds=$lt_old_archive_cmds_GCJ
18855 old_postinstall_cmds=$lt_old_postinstall_cmds
18856 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18858 # Create an old-style archive from a shared archive.
18859 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18861 # Create a temporary old-style archive to link instead of a shared archive.
18862 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18864 # Commands used to build and install a shared archive.
18865 archive_cmds=$lt_archive_cmds_GCJ
18866 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18867 postinstall_cmds=$lt_postinstall_cmds
18868 postuninstall_cmds=$lt_postuninstall_cmds
18870 # Commands used to build a loadable module (assumed same as above if empty)
18871 module_cmds=$lt_module_cmds_GCJ
18872 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18874 # Commands to strip libraries.
18875 old_striplib=$lt_old_striplib
18876 striplib=$lt_striplib
18878 # Dependencies to place before the objects being linked to create a
18880 predep_objects=$lt_predep_objects_GCJ
18882 # Dependencies to place after the objects being linked to create a
18884 postdep_objects=$lt_postdep_objects_GCJ
18886 # Dependencies to place before the objects being linked to create a
18888 predeps=$lt_predeps_GCJ
18890 # Dependencies to place after the objects being linked to create a
18892 postdeps=$lt_postdeps_GCJ
18894 # The library search path used internally by the compiler when linking
18895 # a shared library.
18896 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18898 # Method to check whether dependent libraries are shared objects.
18899 deplibs_check_method=$lt_deplibs_check_method
18901 # Command to use when deplibs_check_method == file_magic.
18902 file_magic_cmd=$lt_file_magic_cmd
18904 # Flag that allows shared libraries with undefined symbols to be built.
18905 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18907 # Flag that forces no undefined symbols.
18908 no_undefined_flag=$lt_no_undefined_flag_GCJ
18910 # Commands used to finish a libtool library installation in a directory.
18911 finish_cmds=$lt_finish_cmds
18913 # Same as above, but a single script fragment to be evaled but not shown.
18914 finish_eval=$lt_finish_eval
18916 # Take the output of nm and produce a listing of raw symbols and C names.
18917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18919 # Transform the output of nm in a proper C declaration
18920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18922 # Transform the output of nm in a C name address pair
18923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18925 # This is the shared library runtime path variable.
18926 runpath_var=$runpath_var
18928 # This is the shared library path variable.
18929 shlibpath_var=$shlibpath_var
18931 # Is shlibpath searched before the hard-coded library search path?
18932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18934 # How to hardcode a shared library path into an executable.
18935 hardcode_action=$hardcode_action_GCJ
18937 # Whether we should hardcode library paths into libraries.
18938 hardcode_into_libs=$hardcode_into_libs
18940 # Flag to hardcode \$libdir into a binary during linking.
18941 # This must work even if \$libdir does not exist.
18942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18944 # If ld is used when linking, flag to hardcode \$libdir into
18945 # a binary during linking. This must work even if \$libdir does
18947 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18949 # Whether we need a single -rpath flag with a separated argument.
18950 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18952 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18953 # resulting binary.
18954 hardcode_direct=$hardcode_direct_GCJ
18956 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18957 # resulting binary.
18958 hardcode_minus_L=$hardcode_minus_L_GCJ
18960 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18961 # the resulting binary.
18962 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18964 # Set to yes if building a shared library automatically hardcodes DIR into the library
18965 # and all subsequent libraries and executables linked against it.
18966 hardcode_automatic=$hardcode_automatic_GCJ
18968 # Variables whose values should be saved in libtool wrapper scripts and
18969 # restored at relink time.
18970 variables_saved_for_relink="$variables_saved_for_relink"
18972 # Whether libtool must link a program against all its dependency libraries.
18973 link_all_deplibs=$link_all_deplibs_GCJ
18975 # Compile-time system search path for libraries
18976 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18978 # Run-time system search path for libraries
18979 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18981 # Fix the shell variable \$srcfile for the compiler.
18982 fix_srcfile_path="$fix_srcfile_path_GCJ"
18984 # Set to yes if exported symbols are required.
18985 always_export_symbols=$always_export_symbols_GCJ
18987 # The commands to list exported symbols.
18988 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18990 # The commands to extract the exported symbol list from a shared archive.
18991 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18993 # Symbols that should not be listed in the preloaded symbols.
18994 exclude_expsyms=$lt_exclude_expsyms_GCJ
18996 # Symbols that must always be exported.
18997 include_expsyms=$lt_include_expsyms_GCJ
18999 # ### END LIBTOOL TAG CONFIG: $tagname
19005 # If there is no Makefile yet, we rely on a make rule to execute
19006 # `config.status --recheck' to rerun these tests and create the
19007 # libtool script then.
19008 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19009 if test -f "$ltmain_in"; then
19010 test -f Makefile
&& make "$ltmain"
19016 ac_cpp
='$CPP $CPPFLAGS'
19017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19032 # Source file extension for RC test sources.
19035 # Object file extension for compiled RC test sources.
19039 # Code to be used in simple compile tests
19040 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19042 # Code to be used in simple link tests
19043 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19045 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19047 # If no C compiler was specified, use CC.
19050 # Allow CC to be a program name with arguments.
19054 # Allow CC to be a program name with arguments.
19059 lt_cv_prog_compiler_c_o_RC
=yes
19061 # The else clause should only fire when bootstrapping the
19062 # libtool distribution, otherwise you forgot to ship ltmain.sh
19063 # with your package, and you will get complaints that there are
19064 # no rules to generate ltmain.sh.
19065 if test -f "$ltmain"; then
19066 # See if we are running on zsh, and set the options which allow our commands through
19067 # without removal of \ escapes.
19068 if test -n "${ZSH_VERSION+set}" ; then
19069 setopt NO_GLOB_SUBST
19071 # Now quote all the things that may contain metacharacters while being
19072 # careful not to overquote the AC_SUBSTed values. We take copies of the
19073 # variables and quote the copies for generation of the libtool script.
19074 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19076 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19077 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19078 deplibs_check_method reload_flag reload_cmds need_locks \
19079 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19080 lt_cv_sys_global_symbol_to_c_name_address \
19081 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19082 old_postinstall_cmds old_postuninstall_cmds \
19086 lt_prog_compiler_wl_RC \
19087 lt_prog_compiler_pic_RC \
19088 lt_prog_compiler_static_RC \
19089 lt_prog_compiler_no_builtin_flag_RC \
19090 export_dynamic_flag_spec_RC \
19091 thread_safe_flag_spec_RC \
19092 whole_archive_flag_spec_RC \
19093 enable_shared_with_static_runtimes_RC \
19094 old_archive_cmds_RC \
19095 old_archive_from_new_cmds_RC \
19096 predep_objects_RC \
19097 postdep_objects_RC \
19100 compiler_lib_search_path_RC \
19102 archive_expsym_cmds_RC \
19103 postinstall_cmds_RC \
19104 postuninstall_cmds_RC \
19105 old_archive_from_expsyms_cmds_RC \
19106 allow_undefined_flag_RC \
19107 no_undefined_flag_RC \
19108 export_symbols_cmds_RC \
19109 hardcode_libdir_flag_spec_RC \
19110 hardcode_libdir_flag_spec_ld_RC \
19111 hardcode_libdir_separator_RC \
19112 hardcode_automatic_RC \
19114 module_expsym_cmds_RC \
19115 lt_cv_prog_compiler_c_o_RC \
19116 exclude_expsyms_RC \
19117 include_expsyms_RC
; do
19120 old_archive_cmds_RC | \
19121 old_archive_from_new_cmds_RC | \
19122 archive_cmds_RC | \
19123 archive_expsym_cmds_RC | \
19125 module_expsym_cmds_RC | \
19126 old_archive_from_expsyms_cmds_RC | \
19127 export_symbols_cmds_RC | \
19128 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19129 postinstall_cmds | postuninstall_cmds | \
19130 old_postinstall_cmds | old_postuninstall_cmds | \
19131 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19132 # Double-quote double-evaled strings.
19133 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19136 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19142 *'\$0 --fallback-echo"')
19143 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19149 cat <<__EOF__ >> "$cfgfile"
19150 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19152 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19154 # Shell to use when invoking shell scripts.
19157 # Whether or not to build shared libraries.
19158 build_libtool_libs=$enable_shared
19160 # Whether or not to build static libraries.
19161 build_old_libs=$enable_static
19163 # Whether or not to add -lc for building shared libraries.
19164 build_libtool_need_lc=$archive_cmds_need_lc_RC
19166 # Whether or not to disallow shared libs when runtime libs are static
19167 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19169 # Whether or not to optimize for fast installation.
19170 fast_install=$enable_fast_install
19173 host_alias=$host_alias
19176 # An echo program that does not interpret backslashes.
19181 AR_FLAGS=$lt_AR_FLAGS
19186 # A language-specific compiler.
19189 # Is the compiler the GNU C compiler?
19195 # The linker used to build libraries.
19198 # Whether we need hard or soft links.
19201 # A BSD-compatible nm program.
19204 # A symbol stripping program
19207 # Used to examine libraries when file_magic_cmd begins "file"
19208 MAGIC_CMD=$MAGIC_CMD
19210 # Used on cygwin: DLL creation program.
19213 # Used on cygwin: object dumper.
19216 # Used on cygwin: assembler.
19219 # The name of the directory that contains temporary libtool files.
19222 # How to create reloadable object files.
19223 reload_flag=$lt_reload_flag
19224 reload_cmds=$lt_reload_cmds
19226 # How to pass a linker flag through the compiler.
19227 wl=$lt_lt_prog_compiler_wl_RC
19229 # Object file suffix (normally "o").
19230 objext="$ac_objext"
19232 # Old archive suffix (normally "a").
19235 # Shared library suffix (normally ".so").
19236 shrext_cmds='$shrext_cmds'
19238 # Executable file suffix (normally "").
19241 # Additional compiler flags for building library objects.
19242 pic_flag=$lt_lt_prog_compiler_pic_RC
19245 # What is the maximum length of a command?
19246 max_cmd_len=$lt_cv_sys_max_cmd_len
19248 # Does compiler simultaneously support -c and -o options?
19249 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19251 # Must we lock files when doing compilation ?
19252 need_locks=$lt_need_locks
19254 # Do we need the lib prefix for modules?
19255 need_lib_prefix=$need_lib_prefix
19257 # Do we need a version for libraries?
19258 need_version=$need_version
19260 # Whether dlopen is supported.
19261 dlopen_support=$enable_dlopen
19263 # Whether dlopen of programs is supported.
19264 dlopen_self=$enable_dlopen_self
19266 # Whether dlopen of statically linked programs is supported.
19267 dlopen_self_static=$enable_dlopen_self_static
19269 # Compiler flag to prevent dynamic linking.
19270 link_static_flag=$lt_lt_prog_compiler_static_RC
19272 # Compiler flag to turn off builtin functions.
19273 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19275 # Compiler flag to allow reflexive dlopens.
19276 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19278 # Compiler flag to generate shared objects directly from archives.
19279 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19281 # Compiler flag to generate thread-safe objects.
19282 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19284 # Library versioning type.
19285 version_type=$version_type
19287 # Format of library name prefix.
19288 libname_spec=$lt_libname_spec
19290 # List of archive names. First name is the real one, the rest are links.
19291 # The last name is the one that the linker finds with -lNAME.
19292 library_names_spec=$lt_library_names_spec
19294 # The coded name of the library, if different from the real name.
19295 soname_spec=$lt_soname_spec
19297 # Commands used to build and install an old-style archive.
19299 old_archive_cmds=$lt_old_archive_cmds_RC
19300 old_postinstall_cmds=$lt_old_postinstall_cmds
19301 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19303 # Create an old-style archive from a shared archive.
19304 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19306 # Create a temporary old-style archive to link instead of a shared archive.
19307 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19309 # Commands used to build and install a shared archive.
19310 archive_cmds=$lt_archive_cmds_RC
19311 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19312 postinstall_cmds=$lt_postinstall_cmds
19313 postuninstall_cmds=$lt_postuninstall_cmds
19315 # Commands used to build a loadable module (assumed same as above if empty)
19316 module_cmds=$lt_module_cmds_RC
19317 module_expsym_cmds=$lt_module_expsym_cmds_RC
19319 # Commands to strip libraries.
19320 old_striplib=$lt_old_striplib
19321 striplib=$lt_striplib
19323 # Dependencies to place before the objects being linked to create a
19325 predep_objects=$lt_predep_objects_RC
19327 # Dependencies to place after the objects being linked to create a
19329 postdep_objects=$lt_postdep_objects_RC
19331 # Dependencies to place before the objects being linked to create a
19333 predeps=$lt_predeps_RC
19335 # Dependencies to place after the objects being linked to create a
19337 postdeps=$lt_postdeps_RC
19339 # The library search path used internally by the compiler when linking
19340 # a shared library.
19341 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19343 # Method to check whether dependent libraries are shared objects.
19344 deplibs_check_method=$lt_deplibs_check_method
19346 # Command to use when deplibs_check_method == file_magic.
19347 file_magic_cmd=$lt_file_magic_cmd
19349 # Flag that allows shared libraries with undefined symbols to be built.
19350 allow_undefined_flag=$lt_allow_undefined_flag_RC
19352 # Flag that forces no undefined symbols.
19353 no_undefined_flag=$lt_no_undefined_flag_RC
19355 # Commands used to finish a libtool library installation in a directory.
19356 finish_cmds=$lt_finish_cmds
19358 # Same as above, but a single script fragment to be evaled but not shown.
19359 finish_eval=$lt_finish_eval
19361 # Take the output of nm and produce a listing of raw symbols and C names.
19362 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19364 # Transform the output of nm in a proper C declaration
19365 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19367 # Transform the output of nm in a C name address pair
19368 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19370 # This is the shared library runtime path variable.
19371 runpath_var=$runpath_var
19373 # This is the shared library path variable.
19374 shlibpath_var=$shlibpath_var
19376 # Is shlibpath searched before the hard-coded library search path?
19377 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19379 # How to hardcode a shared library path into an executable.
19380 hardcode_action=$hardcode_action_RC
19382 # Whether we should hardcode library paths into libraries.
19383 hardcode_into_libs=$hardcode_into_libs
19385 # Flag to hardcode \$libdir into a binary during linking.
19386 # This must work even if \$libdir does not exist.
19387 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19389 # If ld is used when linking, flag to hardcode \$libdir into
19390 # a binary during linking. This must work even if \$libdir does
19392 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19394 # Whether we need a single -rpath flag with a separated argument.
19395 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19397 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19398 # resulting binary.
19399 hardcode_direct=$hardcode_direct_RC
19401 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19402 # resulting binary.
19403 hardcode_minus_L=$hardcode_minus_L_RC
19405 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19406 # the resulting binary.
19407 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19409 # Set to yes if building a shared library automatically hardcodes DIR into the library
19410 # and all subsequent libraries and executables linked against it.
19411 hardcode_automatic=$hardcode_automatic_RC
19413 # Variables whose values should be saved in libtool wrapper scripts and
19414 # restored at relink time.
19415 variables_saved_for_relink="$variables_saved_for_relink"
19417 # Whether libtool must link a program against all its dependency libraries.
19418 link_all_deplibs=$link_all_deplibs_RC
19420 # Compile-time system search path for libraries
19421 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19423 # Run-time system search path for libraries
19424 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19426 # Fix the shell variable \$srcfile for the compiler.
19427 fix_srcfile_path="$fix_srcfile_path_RC"
19429 # Set to yes if exported symbols are required.
19430 always_export_symbols=$always_export_symbols_RC
19432 # The commands to list exported symbols.
19433 export_symbols_cmds=$lt_export_symbols_cmds_RC
19435 # The commands to extract the exported symbol list from a shared archive.
19436 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19438 # Symbols that should not be listed in the preloaded symbols.
19439 exclude_expsyms=$lt_exclude_expsyms_RC
19441 # Symbols that must always be exported.
19442 include_expsyms=$lt_include_expsyms_RC
19444 # ### END LIBTOOL TAG CONFIG: $tagname
19450 # If there is no Makefile yet, we rely on a make rule to execute
19451 # `config.status --recheck' to rerun these tests and create the
19452 # libtool script then.
19453 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19454 if test -f "$ltmain_in"; then
19455 test -f Makefile
&& make "$ltmain"
19461 ac_cpp
='$CPP $CPPFLAGS'
19462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19471 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19472 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19473 { (exit 1); exit 1; }; }
19477 # Append the new tag name to the list of available tags.
19478 if test -n "$tagname" ; then
19479 available_tags
="$available_tags $tagname"
19485 # Now substitute the updated list of available tags.
19486 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19487 mv "${ofile}T" "$ofile"
19491 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19492 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19493 { (exit 1); exit 1; }; }
19499 # This can be used to rebuild libtool when needed
19500 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19502 # Always use our own libtool.
19503 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19505 # Prevent multiple expansion
19529 CFLAGS
="$CFLAGS -ansi -Wall -pedantic -I\$(top_srcdir)/src"
19530 NEUROFLAGS
="-D__USE_GNU -I\${top_srcdir}/include -I\${top_srcdir}/include/neuro"
19531 NEUROLIBFLAGS
="--enable-realtime-pseudo-reloc"
19532 SDLFLAGS
="`sdl-config --libs`"
19535 # Check whether --enable-Debug or --disable-Debug was given.
19536 if test "${enable_Debug+set}" = set; then
19537 enableval
="$enable_Debug"
19544 # Check whether --with-lowlib or --without-lowlib was given.
19545 if test "${with_lowlib+set}" = set; then
19546 withval
="$with_lowlib"
19554 # host related checkings
19556 echo "$as_me:$LINENO: checking if we need -no-undefined" >&5
19557 echo $ECHO_N "checking if we need -no-undefined... $ECHO_C" >&6
19559 *-*-cygwin |
*-*-mingw* |
*-*-pw32*)
19560 NEUROFLAGS
="$NEUROFLAGS -DWIN32"
19561 NEUROLIBFLAGS
="$NEUROLIBFLAGS -no-undefined"
19562 need_no_undefined
=yes
19564 #LIBS="$LIBS -lc -lgcc_s -ldl"
19568 need_no_undefined
=no
19571 echo "$as_me:$LINENO: result: $need_no_undefined" >&5
19572 echo "${ECHO_T}$need_no_undefined" >&6
19575 if test x
$need_no_undefined = xyes
; then
19577 NO_UNDEFINED_FALSE
='#'
19579 NO_UNDEFINED_TRUE
='#'
19580 NO_UNDEFINED_FALSE
=
19587 for ac_header
in windows.h
19589 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19591 echo "$as_me:$LINENO: checking for $ac_header" >&5
19592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19599 # Is the header compilable?
19600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19609 #include <$ac_header>
19611 rm -f conftest.
$ac_objext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613 (eval $ac_compile) 2>conftest.er1
19615 grep -v '^ *+' conftest.er1
>conftest.err
19617 cat conftest.err
>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } &&
19620 { ac_try
='test -z "$ac_c_werror_flag"
19621 || test ! -s conftest.err'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; } &&
19627 { ac_try
='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19633 ac_header_compiler
=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19638 ac_header_compiler
=no
19640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19642 echo "${ECHO_T}$ac_header_compiler" >&6
19644 # Is the header present?
19645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19647 cat >conftest.
$ac_ext <<_ACEOF
19650 cat confdefs.h
>>conftest.
$ac_ext
19651 cat >>conftest.
$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 #include <$ac_header>
19655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19658 grep -v '^ *+' conftest.er1
>conftest.err
19660 cat conftest.err
>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } >/dev
/null
; then
19663 if test -s conftest.err
; then
19664 ac_cpp_err
=$ac_c_preproc_warn_flag
19665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19672 if test -z "$ac_cpp_err"; then
19673 ac_header_preproc
=yes
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ac_header_preproc
=no
19680 rm -f conftest.err conftest.
$ac_ext
19681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19682 echo "${ECHO_T}$ac_header_preproc" >&6
19684 # So? What about this header?
19685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19691 ac_header_preproc
=yes
19694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19708 ## ------------------------------------------ ##
19709 ## Report this to the AC_PACKAGE_NAME lists. ##
19710 ## ------------------------------------------ ##
19713 sed "s/^/$as_me: WARNING: /" >&2
19716 echo "$as_me:$LINENO: checking for $ac_header" >&5
19717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 eval "$as_ac_Header=\$ac_header_preproc"
19723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19728 cat >>confdefs.h
<<_ACEOF
19729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19733 { { echo "$as_me:$LINENO: error: the required header windows is missing." >&5
19734 echo "$as_me: error: the required header windows is missing." >&2;}
19735 { (exit 1); exit 1; }; }
19740 #AC_CHECK_FUNCS([GetTickCount], , [AC_MSG_ERROR([a required function is missing.])])
19747 for ac_header
in stdlib.h
19749 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19751 echo "$as_me:$LINENO: checking for $ac_header" >&5
19752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19759 # Is the header compilable?
19760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19762 cat >conftest.
$ac_ext <<_ACEOF
19765 cat confdefs.h
>>conftest.
$ac_ext
19766 cat >>conftest.
$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 $ac_includes_default
19769 #include <$ac_header>
19771 rm -f conftest.
$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try
='test -z "$ac_c_werror_flag"
19781 || test ! -s conftest.err'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try
='test -s conftest.$ac_objext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_header_compiler
=yes
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.
$ac_ext >&5
19798 ac_header_compiler
=no
19800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19802 echo "${ECHO_T}$ac_header_compiler" >&6
19804 # Is the header present?
19805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19807 cat >conftest.
$ac_ext <<_ACEOF
19810 cat confdefs.h
>>conftest.
$ac_ext
19811 cat >>conftest.
$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 #include <$ac_header>
19815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19818 grep -v '^ *+' conftest.er1
>conftest.err
19820 cat conftest.err
>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } >/dev
/null
; then
19823 if test -s conftest.err
; then
19824 ac_cpp_err
=$ac_c_preproc_warn_flag
19825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19832 if test -z "$ac_cpp_err"; then
19833 ac_header_preproc
=yes
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.
$ac_ext >&5
19838 ac_header_preproc
=no
19840 rm -f conftest.err conftest.
$ac_ext
19841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19842 echo "${ECHO_T}$ac_header_preproc" >&6
19844 # So? What about this header?
19845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19851 ac_header_preproc
=yes
19854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19868 ## ------------------------------------------ ##
19869 ## Report this to the AC_PACKAGE_NAME lists. ##
19870 ## ------------------------------------------ ##
19873 sed "s/^/$as_me: WARNING: /" >&2
19876 echo "$as_me:$LINENO: checking for $ac_header" >&5
19877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 eval "$as_ac_Header=\$ac_header_preproc"
19883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19888 cat >>confdefs.h
<<_ACEOF
19889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19896 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
19897 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
19898 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 if test "$cross_compiling" = yes; then
19902 ac_cv_func_realloc_0_nonnull
=no
19904 cat >conftest.
$ac_ext <<_ACEOF
19907 cat confdefs.h
>>conftest.
$ac_ext
19908 cat >>conftest.
$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 #if STDC_HEADERS || HAVE_STDLIB_H
19911 # include <stdlib.h>
19919 exit (realloc (0, 0) ? 0 : 1);
19924 rm -f conftest
$ac_exeext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19926 (eval $ac_link) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 ac_cv_func_realloc_0_nonnull
=yes
19937 echo "$as_me: program exited with status $ac_status" >&5
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.
$ac_ext >&5
19941 ( exit $ac_status )
19942 ac_cv_func_realloc_0_nonnull
=no
19944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19947 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
19948 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
19949 if test $ac_cv_func_realloc_0_nonnull = yes; then
19951 cat >>confdefs.h
<<\_ACEOF
19952 #define HAVE_REALLOC 1
19956 cat >>confdefs.h
<<\_ACEOF
19957 #define HAVE_REALLOC 0
19961 "realloc.$ac_objext" | \
19962 *" realloc.$ac_objext" | \
19963 "realloc.$ac_objext "* | \
19964 *" realloc.$ac_objext "* ) ;;
19965 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
19969 cat >>confdefs.h
<<\_ACEOF
19970 #define realloc rpl_realloc
19978 for ac_header
in unistd.h
19980 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19982 echo "$as_me:$LINENO: checking for $ac_header" >&5
19983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19990 # Is the header compilable?
19991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19993 cat >conftest.
$ac_ext <<_ACEOF
19996 cat confdefs.h
>>conftest.
$ac_ext
19997 cat >>conftest.
$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 $ac_includes_default
20000 #include <$ac_header>
20002 rm -f conftest.
$ac_objext
20003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20004 (eval $ac_compile) 2>conftest.er1
20006 grep -v '^ *+' conftest.er1
>conftest.err
20008 cat conftest.err
>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } &&
20011 { ac_try
='test -z "$ac_c_werror_flag"
20012 || test ! -s conftest.err'
20013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20014 (eval $ac_try) 2>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); }; } &&
20018 { ac_try
='test -s conftest.$ac_objext'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_header_compiler
=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20029 ac_header_compiler
=no
20031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20033 echo "${ECHO_T}$ac_header_compiler" >&6
20035 # Is the header present?
20036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20038 cat >conftest.
$ac_ext <<_ACEOF
20041 cat confdefs.h
>>conftest.
$ac_ext
20042 cat >>conftest.
$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044 #include <$ac_header>
20046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20049 grep -v '^ *+' conftest.er1
>conftest.err
20051 cat conftest.err
>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } >/dev
/null
; then
20054 if test -s conftest.err
; then
20055 ac_cpp_err
=$ac_c_preproc_warn_flag
20056 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20063 if test -z "$ac_cpp_err"; then
20064 ac_header_preproc
=yes
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.
$ac_ext >&5
20069 ac_header_preproc
=no
20071 rm -f conftest.err conftest.
$ac_ext
20072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20073 echo "${ECHO_T}$ac_header_preproc" >&6
20075 # So? What about this header?
20076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20082 ac_header_preproc
=yes
20085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20099 ## ------------------------------------------ ##
20100 ## Report this to the AC_PACKAGE_NAME lists. ##
20101 ## ------------------------------------------ ##
20104 sed "s/^/$as_me: WARNING: /" >&2
20107 echo "$as_me:$LINENO: checking for $ac_header" >&5
20108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 eval "$as_ac_Header=\$ac_header_preproc"
20114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20119 cat >>confdefs.h
<<_ACEOF
20120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20124 { { echo "$as_me:$LINENO: error: the required header unistd is missing." >&5
20125 echo "$as_me: error: the required header unistd is missing." >&2;}
20126 { (exit 1); exit 1; }; }
20132 for ac_func
in gettimeofday
20134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20135 echo "$as_me:$LINENO: checking for $ac_func" >&5
20136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20137 if eval "test \"\${$as_ac_var+set}\" = set"; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20140 cat >conftest.
$ac_ext <<_ACEOF
20143 cat confdefs.h
>>conftest.
$ac_ext
20144 cat >>conftest.
$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20148 #define $ac_func innocuous_$ac_func
20150 /* System header to define __stub macros and hopefully few prototypes,
20151 which can conflict with char $ac_func (); below.
20152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20153 <limits.h> exists even on freestanding compilers. */
20156 # include <limits.h>
20158 # include <assert.h>
20163 /* Override any gcc2 internal prototype to avoid an error. */
20168 /* We use char because int might match the return type of a gcc2
20169 builtin and then its argument prototype would still apply. */
20171 /* The GNU C library defines this for functions which it implements
20172 to always fail with ENOSYS. Some functions are actually named
20173 something starting with __ and the normal name is an alias. */
20174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20177 char (*f) () = $ac_func;
20186 return f != $ac_func;
20191 rm -f conftest.
$ac_objext conftest
$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>conftest.er1
20195 grep -v '^ *+' conftest.er1
>conftest.err
20197 cat conftest.err
>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try
='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try
='test -s conftest$ac_exeext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 eval "$as_ac_var=yes"
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 eval "$as_ac_var=no"
20220 rm -f conftest.err conftest.
$ac_objext \
20221 conftest
$ac_exeext conftest.
$ac_ext
20223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20225 if test `eval echo '${'$as_ac_var'}'` = yes; then
20226 cat >>confdefs.h
<<_ACEOF
20227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20231 { { echo "$as_me:$LINENO: error: a required function is missing." >&5
20232 echo "$as_me: error: a required function is missing." >&2;}
20233 { (exit 1); exit 1; }; }
20241 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20242 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20243 if test "${ac_cv_header_stdc+set}" = set; then
20244 echo $ECHO_N "(cached) $ECHO_C" >&6
20246 cat >conftest.
$ac_ext <<_ACEOF
20249 cat confdefs.h
>>conftest.
$ac_ext
20250 cat >>conftest.
$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 #include <stdlib.h>
20253 #include <stdarg.h>
20254 #include <string.h>
20265 rm -f conftest.
$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try
='test -z "$ac_c_werror_flag"
20275 || test ! -s conftest.err'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try
='test -s conftest.$ac_objext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_cv_header_stdc
=yes
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20292 ac_cv_header_stdc
=no
20294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20296 if test $ac_cv_header_stdc = yes; then
20297 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20298 cat >conftest.
$ac_ext <<_ACEOF
20301 cat confdefs.h
>>conftest.
$ac_ext
20302 cat >>conftest.
$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 #include <string.h>
20307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20308 $EGREP "memchr" >/dev
/null
2>&1; then
20311 ac_cv_header_stdc
=no
20317 if test $ac_cv_header_stdc = yes; then
20318 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20319 cat >conftest.
$ac_ext <<_ACEOF
20322 cat confdefs.h
>>conftest.
$ac_ext
20323 cat >>conftest.
$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 #include <stdlib.h>
20328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20329 $EGREP "free" >/dev
/null
2>&1; then
20332 ac_cv_header_stdc
=no
20338 if test $ac_cv_header_stdc = yes; then
20339 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20340 if test "$cross_compiling" = yes; then
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20350 #if ((' ' & 0x0FF) == 0x020)
20351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20354 # define ISLOWER(c) \
20355 (('a' <= (c) && (c) <= 'i') \
20356 || ('j' <= (c) && (c) <= 'r') \
20357 || ('s' <= (c) && (c) <= 'z'))
20358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20366 for (i = 0; i < 256; i++)
20367 if (XOR (islower (i), ISLOWER (i))
20368 || toupper (i) != TOUPPER (i))
20373 rm -f conftest
$ac_exeext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20375 (eval $ac_link) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; }; then
20386 echo "$as_me: program exited with status $ac_status" >&5
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.
$ac_ext >&5
20390 ( exit $ac_status )
20391 ac_cv_header_stdc
=no
20393 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20397 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20398 echo "${ECHO_T}$ac_cv_header_stdc" >&6
20399 if test $ac_cv_header_stdc = yes; then
20401 cat >>confdefs.h
<<\_ACEOF
20402 #define STDC_HEADERS 1
20411 for ac_header
in fcntl.h stdlib.h string.h sys
/time.h
20413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20415 echo "$as_me:$LINENO: checking for $ac_header" >&5
20416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20423 # Is the header compilable?
20424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20426 cat >conftest.
$ac_ext <<_ACEOF
20429 cat confdefs.h
>>conftest.
$ac_ext
20430 cat >>conftest.
$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20433 #include <$ac_header>
20435 rm -f conftest.
$ac_objext
20436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20437 (eval $ac_compile) 2>conftest.er1
20439 grep -v '^ *+' conftest.er1
>conftest.err
20441 cat conftest.err
>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try
='test -z "$ac_c_werror_flag"
20445 || test ! -s conftest.err'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; } &&
20451 { ac_try
='test -s conftest.$ac_objext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_header_compiler
=yes
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_header_compiler
=no
20464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20466 echo "${ECHO_T}$ac_header_compiler" >&6
20468 # Is the header present?
20469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20471 cat >conftest.
$ac_ext <<_ACEOF
20474 cat confdefs.h
>>conftest.
$ac_ext
20475 cat >>conftest.
$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 #include <$ac_header>
20479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20482 grep -v '^ *+' conftest.er1
>conftest.err
20484 cat conftest.err
>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } >/dev
/null
; then
20487 if test -s conftest.err
; then
20488 ac_cpp_err
=$ac_c_preproc_warn_flag
20489 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20496 if test -z "$ac_cpp_err"; then
20497 ac_header_preproc
=yes
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.
$ac_ext >&5
20502 ac_header_preproc
=no
20504 rm -f conftest.err conftest.
$ac_ext
20505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20506 echo "${ECHO_T}$ac_header_preproc" >&6
20508 # So? What about this header?
20509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20515 ac_header_preproc
=yes
20518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20532 ## ------------------------------------------ ##
20533 ## Report this to the AC_PACKAGE_NAME lists. ##
20534 ## ------------------------------------------ ##
20537 sed "s/^/$as_me: WARNING: /" >&2
20540 echo "$as_me:$LINENO: checking for $ac_header" >&5
20541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20543 echo $ECHO_N "(cached) $ECHO_C" >&6
20545 eval "$as_ac_Header=\$ac_header_preproc"
20547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20552 cat >>confdefs.h
<<_ACEOF
20553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20557 { { echo "$as_me:$LINENO: error: a required header is missing." >&5
20558 echo "$as_me: error: a required header is missing." >&2;}
20559 { (exit 1); exit 1; }; }
20565 # Checks for typedefs, structures, and compiler characteristics.
20567 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20568 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20569 if test "${ac_cv_c_const+set}" = set; then
20570 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 cat >conftest.
$ac_ext <<_ACEOF
20575 cat confdefs.h
>>conftest.
$ac_ext
20576 cat >>conftest.
$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20582 /* FIXME: Include the comments suggested by Paul. */
20583 #ifndef __cplusplus
20584 /* Ultrix mips cc rejects this. */
20585 typedef int charset[2];
20587 /* SunOS 4.1.1 cc rejects this. */
20588 char const *const *ccp;
20590 /* NEC SVR4.0.2 mips cc rejects this. */
20591 struct point {int x, y;};
20592 static struct point const zero = {0,0};
20593 /* AIX XL C 1.02.0.0 rejects this.
20594 It does not let you subtract one const X* pointer from another in
20595 an arm of an if-expression whose if-part is not a constant
20597 const char *g = "string";
20598 ccp = &g + (g ? g-g : 0);
20599 /* HPUX 7.0 cc rejects these. */
20602 ccp = (char const *const *) p;
20603 { /* SCO 3.2v4 cc rejects this. */
20605 char const *s = 0 ? (char *) 0 : (char const *) 0;
20609 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20610 int x[] = {25, 17};
20611 const int *foo = &x[0];
20614 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20615 typedef const int *iptr;
20619 { /* AIX XL C 1.02.0.0 rejects this saying
20620 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20621 struct s { int j; const int *ap[3]; };
20622 struct s *b; b->j = 5;
20624 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20625 const int foo = 10;
20633 rm -f conftest.
$ac_objext
20634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20635 (eval $ac_compile) 2>conftest.er1
20637 grep -v '^ *+' conftest.er1
>conftest.err
20639 cat conftest.err
>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } &&
20642 { ac_try
='test -z "$ac_c_werror_flag"
20643 || test ! -s conftest.err'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; } &&
20649 { ac_try
='test -s conftest.$ac_objext'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; }; then
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.
$ac_ext >&5
20662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20664 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20665 echo "${ECHO_T}$ac_cv_c_const" >&6
20666 if test $ac_cv_c_const = no
; then
20668 cat >>confdefs.h
<<\_ACEOF
20674 echo "$as_me:$LINENO: checking for size_t" >&5
20675 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20676 if test "${ac_cv_type_size_t+set}" = set; then
20677 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 cat >conftest.
$ac_ext <<_ACEOF
20682 cat confdefs.h
>>conftest.
$ac_ext
20683 cat >>conftest.
$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20691 if (sizeof (size_t))
20697 rm -f conftest.
$ac_objext
20698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20699 (eval $ac_compile) 2>conftest.er1
20701 grep -v '^ *+' conftest.er1
>conftest.err
20703 cat conftest.err
>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); } &&
20706 { ac_try
='test -z "$ac_c_werror_flag"
20707 || 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_type_size_t
=yes
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.
$ac_ext >&5
20724 ac_cv_type_size_t
=no
20726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20728 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20729 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20730 if test $ac_cv_type_size_t = yes; then
20734 cat >>confdefs.h
<<_ACEOF
20735 #define size_t unsigned
20740 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20741 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20742 if test "${ac_cv_header_time+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/time.h>
20758 if ((struct tm *) 0)
20764 rm -f conftest.
$ac_objext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20766 (eval $ac_compile) 2>conftest.er1
20768 grep -v '^ *+' conftest.er1
>conftest.err
20770 cat conftest.err
>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try
='test -z "$ac_c_werror_flag"
20774 || 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_header_time
=yes
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.
$ac_ext >&5
20791 ac_cv_header_time
=no
20793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20796 echo "${ECHO_T}$ac_cv_header_time" >&6
20797 if test $ac_cv_header_time = yes; then
20799 cat >>confdefs.h
<<\_ACEOF
20800 #define TIME_WITH_SYS_TIME 1
20806 # Checks for library functions.
20808 for ac_func
in vprintf
20810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20811 echo "$as_me:$LINENO: checking for $ac_func" >&5
20812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20813 if eval "test \"\${$as_ac_var+set}\" = set"; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 cat >conftest.
$ac_ext <<_ACEOF
20819 cat confdefs.h
>>conftest.
$ac_ext
20820 cat >>conftest.
$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20824 #define $ac_func innocuous_$ac_func
20826 /* System header to define __stub macros and hopefully few prototypes,
20827 which can conflict with char $ac_func (); below.
20828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20829 <limits.h> exists even on freestanding compilers. */
20832 # include <limits.h>
20834 # include <assert.h>
20839 /* Override any gcc2 internal prototype to avoid an error. */
20844 /* We use char because int might match the return type of a gcc2
20845 builtin and then its argument prototype would still apply. */
20847 /* The GNU C library defines this for functions which it implements
20848 to always fail with ENOSYS. Some functions are actually named
20849 something starting with __ and the normal name is an alias. */
20850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20853 char (*f) () = $ac_func;
20862 return f != $ac_func;
20867 rm -f conftest.
$ac_objext conftest
$ac_exeext
20868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20869 (eval $ac_link) 2>conftest.er1
20871 grep -v '^ *+' conftest.er1
>conftest.err
20873 cat conftest.err
>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } &&
20876 { ac_try
='test -z "$ac_c_werror_flag"
20877 || test ! -s conftest.err'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; } &&
20883 { ac_try
='test -s conftest$ac_exeext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 eval "$as_ac_var=yes"
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 eval "$as_ac_var=no"
20896 rm -f conftest.err conftest.
$ac_objext \
20897 conftest
$ac_exeext conftest.
$ac_ext
20899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20901 if test `eval echo '${'$as_ac_var'}'` = yes; then
20902 cat >>confdefs.h
<<_ACEOF
20903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20906 echo "$as_me:$LINENO: checking for _doprnt" >&5
20907 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
20908 if test "${ac_cv_func__doprnt+set}" = set; then
20909 echo $ECHO_N "(cached) $ECHO_C" >&6
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
20918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20919 #define _doprnt innocuous__doprnt
20921 /* System header to define __stub macros and hopefully few prototypes,
20922 which can conflict with char _doprnt (); below.
20923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20924 <limits.h> exists even on freestanding compilers. */
20927 # include <limits.h>
20929 # include <assert.h>
20934 /* Override any gcc2 internal prototype to avoid an error. */
20939 /* We use char because int might match the return type of a gcc2
20940 builtin and then its argument prototype would still apply. */
20942 /* The GNU C library defines this for functions which it implements
20943 to always fail with ENOSYS. Some functions are actually named
20944 something starting with __ and the normal name is an alias. */
20945 #if defined (__stub__doprnt) || defined (__stub____doprnt)
20948 char (*f) () = _doprnt;
20957 return f != _doprnt;
20962 rm -f conftest.
$ac_objext conftest
$ac_exeext
20963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20964 (eval $ac_link) 2>conftest.er1
20966 grep -v '^ *+' conftest.er1
>conftest.err
20968 cat conftest.err
>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } &&
20971 { ac_try
='test -z "$ac_c_werror_flag"
20972 || test ! -s conftest.err'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; } &&
20978 { ac_try
='test -s conftest$ac_exeext'
20979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980 (eval $ac_try) 2>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; }; then
20984 ac_cv_func__doprnt
=yes
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.
$ac_ext >&5
20989 ac_cv_func__doprnt
=no
20991 rm -f conftest.err conftest.
$ac_objext \
20992 conftest
$ac_exeext conftest.
$ac_ext
20994 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
20995 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
20996 if test $ac_cv_func__doprnt = yes; then
20998 cat >>confdefs.h
<<\_ACEOF
20999 #define HAVE_DOPRNT 1
21011 for ac_func
in memchr memset strchr
21013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21014 echo "$as_me:$LINENO: checking for $ac_func" >&5
21015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21016 if eval "test \"\${$as_ac_var+set}\" = set"; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21027 #define $ac_func innocuous_$ac_func
21029 /* System header to define __stub macros and hopefully few prototypes,
21030 which can conflict with char $ac_func (); below.
21031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21032 <limits.h> exists even on freestanding compilers. */
21035 # include <limits.h>
21037 # include <assert.h>
21042 /* Override any gcc2 internal prototype to avoid an error. */
21047 /* We use char because int might match the return type of a gcc2
21048 builtin and then its argument prototype would still apply. */
21050 /* The GNU C library defines this for functions which it implements
21051 to always fail with ENOSYS. Some functions are actually named
21052 something starting with __ and the normal name is an alias. */
21053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21056 char (*f) () = $ac_func;
21065 return f != $ac_func;
21070 rm -f conftest.
$ac_objext conftest
$ac_exeext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21072 (eval $ac_link) 2>conftest.er1
21074 grep -v '^ *+' conftest.er1
>conftest.err
21076 cat conftest.err
>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } &&
21079 { ac_try
='test -z "$ac_c_werror_flag"
21080 || test ! -s conftest.err'
21081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21082 (eval $ac_try) 2>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; } &&
21086 { ac_try
='test -s conftest$ac_exeext'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; }; then
21092 eval "$as_ac_var=yes"
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.
$ac_ext >&5
21097 eval "$as_ac_var=no"
21099 rm -f conftest.err conftest.
$ac_objext \
21100 conftest
$ac_exeext conftest.
$ac_ext
21102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21104 if test `eval echo '${'$as_ac_var'}'` = yes; then
21105 cat >>confdefs.h
<<_ACEOF
21106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21110 { { echo "$as_me:$LINENO: error: a required function is missing." >&5
21111 echo "$as_me: error: a required function is missing." >&2;}
21112 { (exit 1); exit 1; }; }
21117 SELECTED_LOWLIB
=`echo $lowlib`
21122 if test x
$SELECTED_LOWLIB = xsdl
; then
21130 if test $SELECTED_LOWLIB = sdl
; then
21131 if test $targ = unix
; then
21132 echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5
21133 echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6
21134 if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then
21135 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 ac_check_lib_save_LIBS
=$LIBS
21139 cat >conftest.
$ac_ext <<_ACEOF
21142 cat confdefs.h
>>conftest.
$ac_ext
21143 cat >>conftest.
$ac_ext <<_ACEOF
21144 /* end confdefs.h. */
21146 /* Override any gcc2 internal prototype to avoid an error. */
21150 /* We use char because int might match the return type of a gcc2
21151 builtin and then its argument prototype would still apply. */
21161 rm -f conftest.
$ac_objext conftest
$ac_exeext
21162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21163 (eval $ac_link) 2>conftest.er1
21165 grep -v '^ *+' conftest.er1
>conftest.err
21167 cat conftest.err
>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } &&
21170 { ac_try
='test -z "$ac_c_werror_flag"
21171 || test ! -s conftest.err'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; } &&
21177 { ac_try
='test -s conftest$ac_exeext'
21178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 (eval $ac_try) 2>&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; }; then
21183 ac_cv_lib_SDL_SDL_Init
=yes
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.
$ac_ext >&5
21188 ac_cv_lib_SDL_SDL_Init
=no
21190 rm -f conftest.err conftest.
$ac_objext \
21191 conftest
$ac_exeext conftest.
$ac_ext
21192 LIBS
=$ac_check_lib_save_LIBS
21194 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_Init" >&5
21195 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_Init" >&6
21196 if test $ac_cv_lib_SDL_SDL_Init = yes; then
21197 cat >>confdefs.h
<<\_ACEOF
21200 LIBS
="$LIBS $SDLFLAGS"
21201 NEUROFLAGS
="$NEUROFLAGS `sdl-config --cflags`"
21203 { { echo "$as_me:$LINENO: error: You don't have libSDL you can get it from http://www.libsdl.org" >&5
21204 echo "$as_me: error: You don't have libSDL you can get it from http://www.libsdl.org" >&2;}
21205 { (exit 1); exit 1; }; }
21212 echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5
21213 echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6
21214 if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 ac_check_lib_save_LIBS
=$LIBS
21219 cat >conftest.
$ac_ext <<_ACEOF
21222 cat confdefs.h
>>conftest.
$ac_ext
21223 cat >>conftest.
$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21226 /* Override any gcc2 internal prototype to avoid an error. */
21230 /* We use char because int might match the return type of a gcc2
21231 builtin and then its argument prototype would still apply. */
21241 rm -f conftest.
$ac_objext conftest
$ac_exeext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243 (eval $ac_link) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1
>conftest.err
21247 cat conftest.err
>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try
='test -z "$ac_c_werror_flag"
21251 || test ! -s conftest.err'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; } &&
21257 { ac_try
='test -s conftest$ac_exeext'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; }; then
21263 ac_cv_lib_SDL_SDL_Init
=yes
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 ac_cv_lib_SDL_SDL_Init
=no
21270 rm -f conftest.err conftest.
$ac_objext \
21271 conftest
$ac_exeext conftest.
$ac_ext
21272 LIBS
=$ac_check_lib_save_LIBS
21274 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_Init" >&5
21275 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_Init" >&6
21276 if test $ac_cv_lib_SDL_SDL_Init = yes; then
21277 cat >>confdefs.h
<<\_ACEOF
21282 { { echo "$as_me:$LINENO: error: You don't have libSDL you can get it from http://www.libsdl.org" >&5
21283 echo "$as_me: error: You don't have libSDL you can get it from http://www.libsdl.org" >&2;}
21284 { (exit 1); exit 1; }; }
21292 freetype_enable
=yes
21294 echo "$as_me:$LINENO: checking for gzgetc in -lz" >&5
21295 echo $ECHO_N "checking for gzgetc in -lz... $ECHO_C" >&6
21296 if test "${ac_cv_lib_z_gzgetc+set}" = set; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21299 ac_check_lib_save_LIBS
=$LIBS
21301 cat >conftest.
$ac_ext <<_ACEOF
21304 cat confdefs.h
>>conftest.
$ac_ext
21305 cat >>conftest.
$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21308 /* Override any gcc2 internal prototype to avoid an error. */
21312 /* We use char because int might match the return type of a gcc2
21313 builtin and then its argument prototype would still apply. */
21323 rm -f conftest.
$ac_objext conftest
$ac_exeext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21325 (eval $ac_link) 2>conftest.er1
21327 grep -v '^ *+' conftest.er1
>conftest.err
21329 cat conftest.err
>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } &&
21332 { ac_try
='test -z "$ac_c_werror_flag"
21333 || test ! -s conftest.err'
21334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335 (eval $ac_try) 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; } &&
21339 { ac_try
='test -s conftest$ac_exeext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21345 ac_cv_lib_z_gzgetc
=yes
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.
$ac_ext >&5
21350 ac_cv_lib_z_gzgetc
=no
21352 rm -f conftest.err conftest.
$ac_objext \
21353 conftest
$ac_exeext conftest.
$ac_ext
21354 LIBS
=$ac_check_lib_save_LIBS
21356 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzgetc" >&5
21357 echo "${ECHO_T}$ac_cv_lib_z_gzgetc" >&6
21358 if test $ac_cv_lib_z_gzgetc = yes; then
21359 cat >>confdefs.h
<<\_ACEOF
21364 { { echo "$as_me:$LINENO: error: You don't have the Z library" >&5
21365 echo "$as_me: error: You don't have the Z library" >&2;}
21366 { (exit 1); exit 1; }; }
21373 if test x
$SELECTED_LOWLIB = xX11
; then
21381 if test $SELECTED_LOWLIB = X11
; then
21382 echo "$as_me:$LINENO: checking for X" >&5
21383 echo $ECHO_N "checking for X... $ECHO_C" >&6
21386 # Check whether --with-x or --without-x was given.
21387 if test "${with_x+set}" = set; then
21391 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21392 if test "x$with_x" = xno
; then
21393 # The user explicitly disabled X.
21396 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21397 # Both variables are already set.
21400 if test "${ac_cv_have_x+set}" = set; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 # One or both of the vars are not set, and there is no cached value.
21404 ac_x_includes
=no ac_x_libraries
=no
21405 rm -fr conftest.dir
21406 if mkdir conftest.dir
; then
21408 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21409 cat >Imakefile
<<'_ACEOF'
21411 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21413 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21415 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21416 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21417 for ac_extension
in a so sl
; do
21418 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21419 test -f $ac_im_libdir/libX11.
$ac_extension; then
21420 ac_im_usrlibdir
=$ac_im_libdir; break
21423 # Screen out bogus values from the imake configuration. They are
21424 # bogus both because they are the default anyway, and because
21425 # using them would break gcc on systems where it needs fixed includes.
21426 case $ac_im_incroot in
21428 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21430 case $ac_im_usrlibdir in
21431 /usr
/lib |
/lib
) ;;
21432 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21436 rm -fr conftest.dir
21439 # Standard set of common directories for X headers.
21440 # Check X11 before X11Rn because it is often a symlink to the current release.
21452 /usr/local/X11/include
21453 /usr/local/X11R6/include
21454 /usr/local/X11R5/include
21455 /usr/local/X11R4/include
21457 /usr/local/include/X11
21458 /usr/local/include/X11R6
21459 /usr/local/include/X11R5
21460 /usr/local/include/X11R4
21464 /usr/XFree86/include/X11
21468 /usr/unsupported/include
21469 /usr/athena/include
21470 /usr/local/x11r5/include
21471 /usr/lpp/Xamples/include
21473 /usr/openwin/include
21474 /usr/openwin/share/include'
21476 if test "$ac_x_includes" = no
; then
21477 # Guess where to find include files, by looking for Intrinsic.h.
21478 # First, try using that file with no special directory specified.
21479 cat >conftest.
$ac_ext <<_ACEOF
21482 cat confdefs.h
>>conftest.
$ac_ext
21483 cat >>conftest.
$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 #include <X11/Intrinsic.h>
21487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21490 grep -v '^ *+' conftest.er1
>conftest.err
21492 cat conftest.err
>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } >/dev
/null
; then
21495 if test -s conftest.err
; then
21496 ac_cpp_err
=$ac_c_preproc_warn_flag
21497 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21504 if test -z "$ac_cpp_err"; then
21505 # We can compile using X headers with no special include directory.
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.
$ac_ext >&5
21511 for ac_dir
in $ac_x_header_dirs; do
21512 if test -r "$ac_dir/X11/Intrinsic.h"; then
21513 ac_x_includes
=$ac_dir
21518 rm -f conftest.err conftest.
$ac_ext
21519 fi # $ac_x_includes = no
21521 if test "$ac_x_libraries" = no
; then
21522 # Check for the libraries.
21523 # See if we find them without any special options.
21524 # Don't add to $LIBS permanently.
21527 cat >conftest.
$ac_ext <<_ACEOF
21530 cat confdefs.h
>>conftest.
$ac_ext
21531 cat >>conftest.
$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 #include <X11/Intrinsic.h>
21542 rm -f conftest.
$ac_objext conftest
$ac_exeext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21544 (eval $ac_link) 2>conftest.er1
21546 grep -v '^ *+' conftest.er1
>conftest.err
21548 cat conftest.err
>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try
='test -z "$ac_c_werror_flag"
21552 || test ! -s conftest.err'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; } &&
21558 { ac_try
='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21565 # We can link X programs with no special library path.
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.
$ac_ext >&5
21572 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21574 # Don't even attempt the hair of trying to link an X program!
21575 for ac_extension
in a so sl
; do
21576 if test -r $ac_dir/libXt.
$ac_extension; then
21577 ac_x_libraries
=$ac_dir
21583 rm -f conftest.err conftest.
$ac_objext \
21584 conftest
$ac_exeext conftest.
$ac_ext
21585 fi # $ac_x_libraries = no
21587 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
21588 # Didn't find X anywhere. Cache the known absence of X.
21589 ac_cv_have_x
="have_x=no"
21591 # Record where we found X for the cache.
21592 ac_cv_have_x
="have_x=yes \
21593 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21598 eval "$ac_cv_have_x"
21601 if test "$have_x" != yes; then
21602 echo "$as_me:$LINENO: result: $have_x" >&5
21603 echo "${ECHO_T}$have_x" >&6
21606 # If each of the values was on the command line, it overrides each guess.
21607 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21608 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21609 # Update the cache value to reflect the command line values.
21610 ac_cv_have_x
="have_x=yes \
21611 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21612 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21613 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21616 if test "$no_x" = yes; then
21617 # Not all programs may use this symbol, but it does not hurt to define it.
21619 cat >>confdefs.h
<<\_ACEOF
21620 #define X_DISPLAY_MISSING 1
21623 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21625 if test -n "$x_includes"; then
21626 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21629 # It would also be nice to do this for all -L options, not just this one.
21630 if test -n "$x_libraries"; then
21631 X_LIBS
="$X_LIBS -L$x_libraries"
21632 # For Solaris; some versions of Sun CC require a space after -R and
21633 # others require no space. Words are not sufficient . . . .
21634 case `(uname -sr) 2>/dev/null` in
21636 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21637 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21638 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21639 cat >conftest.
$ac_ext <<_ACEOF
21642 cat confdefs.h
>>conftest.
$ac_ext
21643 cat >>conftest.
$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21654 rm -f conftest.
$ac_objext conftest
$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>conftest.er1
21658 grep -v '^ *+' conftest.er1
>conftest.err
21660 cat conftest.err
>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); } &&
21663 { ac_try
='test -z "$ac_c_werror_flag"
21664 || test ! -s conftest.err'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; } &&
21670 { ac_try
='test -s conftest$ac_exeext'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; }; then
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.
$ac_ext >&5
21683 rm -f conftest.err conftest.
$ac_objext \
21684 conftest
$ac_exeext conftest.
$ac_ext
21685 if test $ac_R_nospace = yes; then
21686 echo "$as_me:$LINENO: result: no" >&5
21687 echo "${ECHO_T}no" >&6
21688 X_LIBS
="$X_LIBS -R$x_libraries"
21690 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21691 cat >conftest.
$ac_ext <<_ACEOF
21694 cat confdefs.h
>>conftest.
$ac_ext
21695 cat >>conftest.
$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21706 rm -f conftest.
$ac_objext conftest
$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>conftest.er1
21710 grep -v '^ *+' conftest.er1
>conftest.err
21712 cat conftest.err
>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try
='test -z "$ac_c_werror_flag"
21716 || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try
='test -s conftest$ac_exeext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.
$ac_ext >&5
21735 rm -f conftest.err conftest.
$ac_objext \
21736 conftest
$ac_exeext conftest.
$ac_ext
21737 if test $ac_R_space = yes; then
21738 echo "$as_me:$LINENO: result: yes" >&5
21739 echo "${ECHO_T}yes" >&6
21740 X_LIBS
="$X_LIBS -R $x_libraries"
21742 echo "$as_me:$LINENO: result: neither works" >&5
21743 echo "${ECHO_T}neither works" >&6
21746 LIBS
=$ac_xsave_LIBS
21750 # Check for system-dependent libraries X programs must link with.
21751 # Do this before checking for the system-independent R6 libraries
21752 # (-lICE), since we may need -lsocket or whatever for X linking.
21754 if test "$ISC" = yes; then
21755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21757 # Martyn Johnson says this is needed for Ultrix, if the X
21758 # libraries were built with DECnet support. And Karl Berry says
21759 # the Alpha needs dnet_stub (dnet does not exist).
21760 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21768 /* Override any gcc2 internal prototype to avoid an error. */
21772 /* We use char because int might match the return type of a gcc2
21773 builtin and then its argument prototype would still apply. */
21774 char XOpenDisplay ();
21783 rm -f conftest.
$ac_objext conftest
$ac_exeext
21784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21785 (eval $ac_link) 2>conftest.er1
21787 grep -v '^ *+' conftest.er1
>conftest.err
21789 cat conftest.err
>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } &&
21792 { ac_try
='test -z "$ac_c_werror_flag"
21793 || test ! -s conftest.err'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; } &&
21799 { ac_try
='test -s conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.
$ac_ext >&5
21810 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21811 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21812 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21815 ac_check_lib_save_LIBS
=$LIBS
21816 LIBS
="-ldnet $LIBS"
21817 cat >conftest.
$ac_ext <<_ACEOF
21820 cat confdefs.h
>>conftest.
$ac_ext
21821 cat >>conftest.
$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21824 /* Override any gcc2 internal prototype to avoid an error. */
21828 /* We use char because int might match the return type of a gcc2
21829 builtin and then its argument prototype would still apply. */
21839 rm -f conftest.
$ac_objext conftest
$ac_exeext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21841 (eval $ac_link) 2>conftest.er1
21843 grep -v '^ *+' conftest.er1
>conftest.err
21845 cat conftest.err
>&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } &&
21848 { ac_try
='test -z "$ac_c_werror_flag"
21849 || test ! -s conftest.err'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; } &&
21855 { ac_try
='test -s conftest$ac_exeext'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21861 ac_cv_lib_dnet_dnet_ntoa
=yes
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.
$ac_ext >&5
21866 ac_cv_lib_dnet_dnet_ntoa
=no
21868 rm -f conftest.err conftest.
$ac_objext \
21869 conftest
$ac_exeext conftest.
$ac_ext
21870 LIBS
=$ac_check_lib_save_LIBS
21872 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21873 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21874 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21875 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21878 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21879 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21880 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21881 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21882 echo $ECHO_N "(cached) $ECHO_C" >&6
21884 ac_check_lib_save_LIBS
=$LIBS
21885 LIBS
="-ldnet_stub $LIBS"
21886 cat >conftest.
$ac_ext <<_ACEOF
21889 cat confdefs.h
>>conftest.
$ac_ext
21890 cat >>conftest.
$ac_ext <<_ACEOF
21891 /* end confdefs.h. */
21893 /* Override any gcc2 internal prototype to avoid an error. */
21897 /* We use char because int might match the return type of a gcc2
21898 builtin and then its argument prototype would still apply. */
21908 rm -f conftest.
$ac_objext conftest
$ac_exeext
21909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21910 (eval $ac_link) 2>conftest.er1
21912 grep -v '^ *+' conftest.er1
>conftest.err
21914 cat conftest.err
>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } &&
21917 { ac_try
='test -z "$ac_c_werror_flag"
21918 || test ! -s conftest.err'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; } &&
21924 { ac_try
='test -s conftest$ac_exeext'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; }; then
21930 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21932 echo "$as_me: failed program was:" >&5
21933 sed 's/^/| /' conftest.
$ac_ext >&5
21935 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21937 rm -f conftest.err conftest.
$ac_objext \
21938 conftest
$ac_exeext conftest.
$ac_ext
21939 LIBS
=$ac_check_lib_save_LIBS
21941 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21942 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21943 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21944 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21949 rm -f conftest.err conftest.
$ac_objext \
21950 conftest
$ac_exeext conftest.
$ac_ext
21951 LIBS
="$ac_xsave_LIBS"
21953 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21954 # to get the SysV transport functions.
21955 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21957 # The nsl library prevents programs from opening the X display
21958 # on Irix 5.2, according to T.E. Dickey.
21959 # The functions gethostbyname, getservbyname, and inet_addr are
21960 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21961 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21962 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21963 if test "${ac_cv_func_gethostbyname+set}" = set; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21966 cat >conftest.
$ac_ext <<_ACEOF
21969 cat confdefs.h
>>conftest.
$ac_ext
21970 cat >>conftest.
$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
21973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21974 #define gethostbyname innocuous_gethostbyname
21976 /* System header to define __stub macros and hopefully few prototypes,
21977 which can conflict with char gethostbyname (); below.
21978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21979 <limits.h> exists even on freestanding compilers. */
21982 # include <limits.h>
21984 # include <assert.h>
21987 #undef gethostbyname
21989 /* Override any gcc2 internal prototype to avoid an error. */
21994 /* We use char because int might match the return type of a gcc2
21995 builtin and then its argument prototype would still apply. */
21996 char gethostbyname ();
21997 /* The GNU C library defines this for functions which it implements
21998 to always fail with ENOSYS. Some functions are actually named
21999 something starting with __ and the normal name is an alias. */
22000 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22003 char (*f) () = gethostbyname;
22012 return f != gethostbyname;
22017 rm -f conftest.
$ac_objext conftest
$ac_exeext
22018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22019 (eval $ac_link) 2>conftest.er1
22021 grep -v '^ *+' conftest.er1
>conftest.err
22023 cat conftest.err
>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); } &&
22026 { ac_try
='test -z "$ac_c_werror_flag"
22027 || test ! -s conftest.err'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; } &&
22033 { ac_try
='test -s conftest$ac_exeext'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; }; then
22039 ac_cv_func_gethostbyname
=yes
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.
$ac_ext >&5
22044 ac_cv_func_gethostbyname
=no
22046 rm -f conftest.err conftest.
$ac_objext \
22047 conftest
$ac_exeext conftest.
$ac_ext
22049 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22050 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22052 if test $ac_cv_func_gethostbyname = no
; then
22053 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22054 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22055 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22056 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 ac_check_lib_save_LIBS
=$LIBS
22060 cat >conftest.
$ac_ext <<_ACEOF
22063 cat confdefs.h
>>conftest.
$ac_ext
22064 cat >>conftest.
$ac_ext <<_ACEOF
22065 /* end confdefs.h. */
22067 /* Override any gcc2 internal prototype to avoid an error. */
22071 /* We use char because int might match the return type of a gcc2
22072 builtin and then its argument prototype would still apply. */
22073 char gethostbyname ();
22082 rm -f conftest.
$ac_objext conftest
$ac_exeext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22084 (eval $ac_link) 2>conftest.er1
22086 grep -v '^ *+' conftest.er1
>conftest.err
22088 cat conftest.err
>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } &&
22091 { ac_try
='test -z "$ac_c_werror_flag"
22092 || test ! -s conftest.err'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; } &&
22098 { ac_try
='test -s conftest$ac_exeext'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; }; then
22104 ac_cv_lib_nsl_gethostbyname
=yes
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.
$ac_ext >&5
22109 ac_cv_lib_nsl_gethostbyname
=no
22111 rm -f conftest.err conftest.
$ac_objext \
22112 conftest
$ac_exeext conftest.
$ac_ext
22113 LIBS
=$ac_check_lib_save_LIBS
22115 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22116 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22117 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22118 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22121 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22122 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22123 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22124 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22125 echo $ECHO_N "(cached) $ECHO_C" >&6
22127 ac_check_lib_save_LIBS
=$LIBS
22129 cat >conftest.
$ac_ext <<_ACEOF
22132 cat confdefs.h
>>conftest.
$ac_ext
22133 cat >>conftest.
$ac_ext <<_ACEOF
22134 /* end confdefs.h. */
22136 /* Override any gcc2 internal prototype to avoid an error. */
22140 /* We use char because int might match the return type of a gcc2
22141 builtin and then its argument prototype would still apply. */
22142 char gethostbyname ();
22151 rm -f conftest.
$ac_objext conftest
$ac_exeext
22152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22153 (eval $ac_link) 2>conftest.er1
22155 grep -v '^ *+' conftest.er1
>conftest.err
22157 cat conftest.err
>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } &&
22160 { ac_try
='test -z "$ac_c_werror_flag"
22161 || test ! -s conftest.err'
22162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163 (eval $ac_try) 2>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); }; } &&
22167 { ac_try
='test -s conftest$ac_exeext'
22168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22169 (eval $ac_try) 2>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); }; }; then
22173 ac_cv_lib_bsd_gethostbyname
=yes
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.
$ac_ext >&5
22178 ac_cv_lib_bsd_gethostbyname
=no
22180 rm -f conftest.err conftest.
$ac_objext \
22181 conftest
$ac_exeext conftest.
$ac_ext
22182 LIBS
=$ac_check_lib_save_LIBS
22184 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22185 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22186 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22187 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22193 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22194 # socket/setsockopt and other routines are undefined under SCO ODT
22195 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22196 # on later versions), says Simon Leinen: it contains gethostby*
22197 # variants that don't use the name server (or something). -lsocket
22198 # must be given before -lnsl if both are needed. We assume that
22199 # if connect needs -lnsl, so does gethostbyname.
22200 echo "$as_me:$LINENO: checking for connect" >&5
22201 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22202 if test "${ac_cv_func_connect+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22205 cat >conftest.
$ac_ext <<_ACEOF
22208 cat confdefs.h
>>conftest.
$ac_ext
22209 cat >>conftest.
$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
22212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22213 #define connect innocuous_connect
22215 /* System header to define __stub macros and hopefully few prototypes,
22216 which can conflict with char connect (); below.
22217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22218 <limits.h> exists even on freestanding compilers. */
22221 # include <limits.h>
22223 # include <assert.h>
22228 /* Override any gcc2 internal prototype to avoid an error. */
22233 /* We use char because int might match the return type of a gcc2
22234 builtin and then its argument prototype would still apply. */
22236 /* The GNU C library defines this for functions which it implements
22237 to always fail with ENOSYS. Some functions are actually named
22238 something starting with __ and the normal name is an alias. */
22239 #if defined (__stub_connect) || defined (__stub___connect)
22242 char (*f) () = connect;
22251 return f != connect;
22256 rm -f conftest.
$ac_objext conftest
$ac_exeext
22257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258 (eval $ac_link) 2>conftest.er1
22260 grep -v '^ *+' conftest.er1
>conftest.err
22262 cat conftest.err
>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } &&
22265 { ac_try
='test -z "$ac_c_werror_flag"
22266 || test ! -s conftest.err'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; } &&
22272 { ac_try
='test -s conftest$ac_exeext'
22273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274 (eval $ac_try) 2>&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); }; }; then
22278 ac_cv_func_connect
=yes
22280 echo "$as_me: failed program was:" >&5
22281 sed 's/^/| /' conftest.
$ac_ext >&5
22283 ac_cv_func_connect
=no
22285 rm -f conftest.err conftest.
$ac_objext \
22286 conftest
$ac_exeext conftest.
$ac_ext
22288 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22289 echo "${ECHO_T}$ac_cv_func_connect" >&6
22291 if test $ac_cv_func_connect = no
; then
22292 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22293 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22294 if test "${ac_cv_lib_socket_connect+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22297 ac_check_lib_save_LIBS
=$LIBS
22298 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22299 cat >conftest.
$ac_ext <<_ACEOF
22302 cat confdefs.h
>>conftest.
$ac_ext
22303 cat >>conftest.
$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22306 /* Override any gcc2 internal prototype to avoid an error. */
22310 /* We use char because int might match the return type of a gcc2
22311 builtin and then its argument prototype would still apply. */
22321 rm -f conftest.
$ac_objext conftest
$ac_exeext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22323 (eval $ac_link) 2>conftest.er1
22325 grep -v '^ *+' conftest.er1
>conftest.err
22327 cat conftest.err
>&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
22330 { ac_try
='test -z "$ac_c_werror_flag"
22331 || 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_exeext'
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_lib_socket_connect
=yes
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.
$ac_ext >&5
22348 ac_cv_lib_socket_connect
=no
22350 rm -f conftest.err conftest.
$ac_objext \
22351 conftest
$ac_exeext conftest.
$ac_ext
22352 LIBS
=$ac_check_lib_save_LIBS
22354 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22355 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22356 if test $ac_cv_lib_socket_connect = yes; then
22357 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22362 # Guillermo Gomez says -lposix is necessary on A/UX.
22363 echo "$as_me:$LINENO: checking for remove" >&5
22364 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22365 if test "${ac_cv_func_remove+set}" = set; then
22366 echo $ECHO_N "(cached) $ECHO_C" >&6
22368 cat >conftest.
$ac_ext <<_ACEOF
22371 cat confdefs.h
>>conftest.
$ac_ext
22372 cat >>conftest.
$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
22375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22376 #define remove innocuous_remove
22378 /* System header to define __stub macros and hopefully few prototypes,
22379 which can conflict with char remove (); below.
22380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22381 <limits.h> exists even on freestanding compilers. */
22384 # include <limits.h>
22386 # include <assert.h>
22391 /* Override any gcc2 internal prototype to avoid an error. */
22396 /* We use char because int might match the return type of a gcc2
22397 builtin and then its argument prototype would still apply. */
22399 /* The GNU C library defines this for functions which it implements
22400 to always fail with ENOSYS. Some functions are actually named
22401 something starting with __ and the normal name is an alias. */
22402 #if defined (__stub_remove) || defined (__stub___remove)
22405 char (*f) () = remove;
22414 return f != remove;
22419 rm -f conftest.
$ac_objext conftest
$ac_exeext
22420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22421 (eval $ac_link) 2>conftest.er1
22423 grep -v '^ *+' conftest.er1
>conftest.err
22425 cat conftest.err
>&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); } &&
22428 { ac_try
='test -z "$ac_c_werror_flag"
22429 || test ! -s conftest.err'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; } &&
22435 { ac_try
='test -s conftest$ac_exeext'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; }; then
22441 ac_cv_func_remove
=yes
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.
$ac_ext >&5
22446 ac_cv_func_remove
=no
22448 rm -f conftest.err conftest.
$ac_objext \
22449 conftest
$ac_exeext conftest.
$ac_ext
22451 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22452 echo "${ECHO_T}$ac_cv_func_remove" >&6
22454 if test $ac_cv_func_remove = no
; then
22455 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22456 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22457 if test "${ac_cv_lib_posix_remove+set}" = set; then
22458 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 ac_check_lib_save_LIBS
=$LIBS
22461 LIBS
="-lposix $LIBS"
22462 cat >conftest.
$ac_ext <<_ACEOF
22465 cat confdefs.h
>>conftest.
$ac_ext
22466 cat >>conftest.
$ac_ext <<_ACEOF
22467 /* end confdefs.h. */
22469 /* Override any gcc2 internal prototype to avoid an error. */
22473 /* We use char because int might match the return type of a gcc2
22474 builtin and then its argument prototype would still apply. */
22484 rm -f conftest.
$ac_objext conftest
$ac_exeext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22486 (eval $ac_link) 2>conftest.er1
22488 grep -v '^ *+' conftest.er1
>conftest.err
22490 cat conftest.err
>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } &&
22493 { ac_try
='test -z "$ac_c_werror_flag"
22494 || test ! -s conftest.err'
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496 (eval $ac_try) 2>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; } &&
22500 { ac_try
='test -s conftest$ac_exeext'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; }; then
22506 ac_cv_lib_posix_remove
=yes
22508 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.
$ac_ext >&5
22511 ac_cv_lib_posix_remove
=no
22513 rm -f conftest.err conftest.
$ac_objext \
22514 conftest
$ac_exeext conftest.
$ac_ext
22515 LIBS
=$ac_check_lib_save_LIBS
22517 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22518 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22519 if test $ac_cv_lib_posix_remove = yes; then
22520 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22525 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22526 echo "$as_me:$LINENO: checking for shmat" >&5
22527 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22528 if test "${ac_cv_func_shmat+set}" = set; then
22529 echo $ECHO_N "(cached) $ECHO_C" >&6
22531 cat >conftest.
$ac_ext <<_ACEOF
22534 cat confdefs.h
>>conftest.
$ac_ext
22535 cat >>conftest.
$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
22538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22539 #define shmat innocuous_shmat
22541 /* System header to define __stub macros and hopefully few prototypes,
22542 which can conflict with char shmat (); below.
22543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22544 <limits.h> exists even on freestanding compilers. */
22547 # include <limits.h>
22549 # include <assert.h>
22554 /* Override any gcc2 internal prototype to avoid an error. */
22559 /* We use char because int might match the return type of a gcc2
22560 builtin and then its argument prototype would still apply. */
22562 /* The GNU C library defines this for functions which it implements
22563 to always fail with ENOSYS. Some functions are actually named
22564 something starting with __ and the normal name is an alias. */
22565 #if defined (__stub_shmat) || defined (__stub___shmat)
22568 char (*f) () = shmat;
22582 rm -f conftest.
$ac_objext conftest
$ac_exeext
22583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22584 (eval $ac_link) 2>conftest.er1
22586 grep -v '^ *+' conftest.er1
>conftest.err
22588 cat conftest.err
>&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } &&
22591 { ac_try
='test -z "$ac_c_werror_flag"
22592 || test ! -s conftest.err'
22593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594 (eval $ac_try) 2>&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; } &&
22598 { ac_try
='test -s conftest$ac_exeext'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; }; then
22604 ac_cv_func_shmat
=yes
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.
$ac_ext >&5
22609 ac_cv_func_shmat
=no
22611 rm -f conftest.err conftest.
$ac_objext \
22612 conftest
$ac_exeext conftest.
$ac_ext
22614 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22615 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22617 if test $ac_cv_func_shmat = no
; then
22618 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22619 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22620 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22621 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 ac_check_lib_save_LIBS
=$LIBS
22625 cat >conftest.
$ac_ext <<_ACEOF
22628 cat confdefs.h
>>conftest.
$ac_ext
22629 cat >>conftest.
$ac_ext <<_ACEOF
22630 /* end confdefs.h. */
22632 /* Override any gcc2 internal prototype to avoid an error. */
22636 /* We use char because int might match the return type of a gcc2
22637 builtin and then its argument prototype would still apply. */
22647 rm -f conftest.
$ac_objext conftest
$ac_exeext
22648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22649 (eval $ac_link) 2>conftest.er1
22651 grep -v '^ *+' conftest.er1
>conftest.err
22653 cat conftest.err
>&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } &&
22656 { ac_try
='test -z "$ac_c_werror_flag"
22657 || test ! -s conftest.err'
22658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22659 (eval $ac_try) 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; } &&
22663 { ac_try
='test -s conftest$ac_exeext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_lib_ipc_shmat
=yes
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.
$ac_ext >&5
22674 ac_cv_lib_ipc_shmat
=no
22676 rm -f conftest.err conftest.
$ac_objext \
22677 conftest
$ac_exeext conftest.
$ac_ext
22678 LIBS
=$ac_check_lib_save_LIBS
22680 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22681 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22682 if test $ac_cv_lib_ipc_shmat = yes; then
22683 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22689 # Check for libraries that X11R6 Xt/Xaw programs need.
22690 ac_save_LDFLAGS
=$LDFLAGS
22691 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22692 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22693 # check for ICE first), but we must link in the order -lSM -lICE or
22694 # we get undefined symbols. So assume we have SM if we have ICE.
22695 # These have to be linked with before -lX11, unlike the other
22696 # libraries we check for below, so use a different variable.
22697 # John Interrante, Karl Berry
22698 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22699 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22700 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 ac_check_lib_save_LIBS
=$LIBS
22704 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22705 cat >conftest.
$ac_ext <<_ACEOF
22708 cat confdefs.h
>>conftest.
$ac_ext
22709 cat >>conftest.
$ac_ext <<_ACEOF
22710 /* end confdefs.h. */
22712 /* Override any gcc2 internal prototype to avoid an error. */
22716 /* We use char because int might match the return type of a gcc2
22717 builtin and then its argument prototype would still apply. */
22718 char IceConnectionNumber ();
22722 IceConnectionNumber ();
22727 rm -f conftest.
$ac_objext conftest
$ac_exeext
22728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22729 (eval $ac_link) 2>conftest.er1
22731 grep -v '^ *+' conftest.er1
>conftest.err
22733 cat conftest.err
>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try
='test -z "$ac_c_werror_flag"
22737 || test ! -s conftest.err'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; } &&
22743 { ac_try
='test -s conftest$ac_exeext'
22744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22745 (eval $ac_try) 2>&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); }; }; then
22749 ac_cv_lib_ICE_IceConnectionNumber
=yes
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.
$ac_ext >&5
22754 ac_cv_lib_ICE_IceConnectionNumber
=no
22756 rm -f conftest.err conftest.
$ac_objext \
22757 conftest
$ac_exeext conftest.
$ac_ext
22758 LIBS
=$ac_check_lib_save_LIBS
22760 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22761 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22762 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22763 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22766 LDFLAGS
=$ac_save_LDFLAGS
22770 LDFLAGS
="$CFLAGS $X_LIBS"
22771 CFLAGS
="$CFLAGS $X_CFLAGS"
22772 echo "$as_me:$LINENO: checking for XCreateGC in -lX11" >&5
22773 echo $ECHO_N "checking for XCreateGC in -lX11... $ECHO_C" >&6
22774 if test "${ac_cv_lib_X11_XCreateGC+set}" = set; then
22775 echo $ECHO_N "(cached) $ECHO_C" >&6
22777 ac_check_lib_save_LIBS
=$LIBS
22779 cat >conftest.
$ac_ext <<_ACEOF
22782 cat confdefs.h
>>conftest.
$ac_ext
22783 cat >>conftest.
$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22786 /* Override any gcc2 internal prototype to avoid an error. */
22790 /* We use char because int might match the return type of a gcc2
22791 builtin and then its argument prototype would still apply. */
22801 rm -f conftest.
$ac_objext conftest
$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>conftest.er1
22805 grep -v '^ *+' conftest.er1
>conftest.err
22807 cat conftest.err
>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } &&
22810 { ac_try
='test -z "$ac_c_werror_flag"
22811 || test ! -s conftest.err'
22812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22813 (eval $ac_try) 2>&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); }; } &&
22817 { ac_try
='test -s conftest$ac_exeext'
22818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22819 (eval $ac_try) 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); }; }; then
22823 ac_cv_lib_X11_XCreateGC
=yes
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.
$ac_ext >&5
22828 ac_cv_lib_X11_XCreateGC
=no
22830 rm -f conftest.err conftest.
$ac_objext \
22831 conftest
$ac_exeext conftest.
$ac_ext
22832 LIBS
=$ac_check_lib_save_LIBS
22834 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XCreateGC" >&5
22835 echo "${ECHO_T}$ac_cv_lib_X11_XCreateGC" >&6
22836 if test $ac_cv_lib_X11_XCreateGC = yes; then
22837 cat >>confdefs.h
<<\_ACEOF
22840 LIBS
="$LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
22842 { { echo "$as_me:$LINENO: error: You don't have libX11" >&5
22843 echo "$as_me: error: You don't have libX11" >&2;}
22844 { (exit 1); exit 1; }; }
22847 # LIBS="$LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
22848 # NEUROFLAGS="$NEUROFLAGS $X_CFLAGS"
22849 echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
22850 echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
22851 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22854 ac_check_lib_save_LIBS
=$LIBS
22856 cat >conftest.
$ac_ext <<_ACEOF
22859 cat confdefs.h
>>conftest.
$ac_ext
22860 cat >>conftest.
$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22863 /* Override any gcc2 internal prototype to avoid an error. */
22867 /* We use char because int might match the return type of a gcc2
22868 builtin and then its argument prototype would still apply. */
22869 char XpmCreatePixmapFromData ();
22873 XpmCreatePixmapFromData ();
22878 rm -f conftest.
$ac_objext conftest
$ac_exeext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22880 (eval $ac_link) 2>conftest.er1
22882 grep -v '^ *+' conftest.er1
>conftest.err
22884 cat conftest.err
>&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } &&
22887 { ac_try
='test -z "$ac_c_werror_flag"
22888 || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try
='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.
$ac_ext >&5
22905 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=no
22907 rm -f conftest.err conftest.
$ac_objext \
22908 conftest
$ac_exeext conftest.
$ac_ext
22909 LIBS
=$ac_check_lib_save_LIBS
22911 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
22912 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
22913 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
22916 { { echo "$as_me:$LINENO: error: You don't have libXpm" >&5
22917 echo "$as_me: error: You don't have libXpm" >&2;}
22918 { (exit 1); exit 1; }; }
22922 freetype_enable
=yes
22926 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
22927 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
22928 if test "${ac_cv_lib_m_log10+set}" = set; then
22929 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 ac_check_lib_save_LIBS
=$LIBS
22933 cat >conftest.
$ac_ext <<_ACEOF
22936 cat confdefs.h
>>conftest.
$ac_ext
22937 cat >>conftest.
$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22940 /* Override any gcc2 internal prototype to avoid an error. */
22944 /* We use char because int might match the return type of a gcc2
22945 builtin and then its argument prototype would still apply. */
22955 rm -f conftest.
$ac_objext conftest
$ac_exeext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22957 (eval $ac_link) 2>conftest.er1
22959 grep -v '^ *+' conftest.er1
>conftest.err
22961 cat conftest.err
>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try
='test -z "$ac_c_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try
='test -s conftest$ac_exeext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_lib_m_log10
=yes
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22982 ac_cv_lib_m_log10
=no
22984 rm -f conftest.err conftest.
$ac_objext \
22985 conftest
$ac_exeext conftest.
$ac_ext
22986 LIBS
=$ac_check_lib_save_LIBS
22988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
22989 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
22990 if test $ac_cv_lib_m_log10 = yes; then
22991 cat >>confdefs.h
<<_ACEOF
22992 #define HAVE_LIBM 1
22998 { { echo "$as_me:$LINENO: error: You don't have libm -- math" >&5
22999 echo "$as_me: error: You don't have libm -- math" >&2;}
23000 { (exit 1); exit 1; }; }
23005 if test x
$freetype_enable = xyes
; then
23006 echo "$as_me:$LINENO: checking for FT_New_Face in -lfreetype" >&5
23007 echo $ECHO_N "checking for FT_New_Face in -lfreetype... $ECHO_C" >&6
23008 if test "${ac_cv_lib_freetype_FT_New_Face+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 ac_check_lib_save_LIBS
=$LIBS
23012 LIBS
="-lfreetype $LIBS"
23013 cat >conftest.
$ac_ext <<_ACEOF
23016 cat confdefs.h
>>conftest.
$ac_ext
23017 cat >>conftest.
$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23020 /* Override any gcc2 internal prototype to avoid an error. */
23024 /* We use char because int might match the return type of a gcc2
23025 builtin and then its argument prototype would still apply. */
23026 char FT_New_Face ();
23035 rm -f conftest.
$ac_objext conftest
$ac_exeext
23036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23037 (eval $ac_link) 2>conftest.er1
23039 grep -v '^ *+' conftest.er1
>conftest.err
23041 cat conftest.err
>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } &&
23044 { ac_try
='test -z "$ac_c_werror_flag"
23045 || test ! -s conftest.err'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; } &&
23051 { ac_try
='test -s conftest$ac_exeext'
23052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23053 (eval $ac_try) 2>&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); }; }; then
23057 ac_cv_lib_freetype_FT_New_Face
=yes
23059 echo "$as_me: failed program was:" >&5
23060 sed 's/^/| /' conftest.
$ac_ext >&5
23062 ac_cv_lib_freetype_FT_New_Face
=no
23064 rm -f conftest.err conftest.
$ac_objext \
23065 conftest
$ac_exeext conftest.
$ac_ext
23066 LIBS
=$ac_check_lib_save_LIBS
23068 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_New_Face" >&5
23069 echo "${ECHO_T}$ac_cv_lib_freetype_FT_New_Face" >&6
23070 if test $ac_cv_lib_freetype_FT_New_Face = yes; then
23071 LIBS
="$LIBS `freetype-config --libs`" CFLAGS
="$CFLAGS `freetype-config --cflags`"
23073 { { echo "$as_me:$LINENO: error: You don't have the libfreetype2 library you can get it from freetype.sourceforge.net" >&5
23074 echo "$as_me: error: You don't have the libfreetype2 library you can get it from freetype.sourceforge.net" >&2;}
23075 { (exit 1); exit 1; }; }
23081 if test x
$enable_Debug = xyes
; then
23082 #NEUROFLAGS="$NEUROFLAGS -g"
23083 CFLAGS
="$CFLAGS -g"
23085 #NEUROFLAGS="$NEUROFLAGS -O2 -s"
23086 CFLAGS
="$CFLAGS -Os -s"
23092 # set the installation path for the headers
23093 includedir
=$includedir/neuro
23097 # enumerate the Makefiles to be created
23098 ac_config_files
="$ac_config_files Makefile include/Makefile include/neuro/Makefile src/Makefile src/memory/Makefile src/video/Makefile src/events/Makefile src/extlib/Makefile src/misc/Makefile docs/Makefile"
23101 #AC_MSG_NOTICE([This is the low library Neuro will use : $SELECTED_LOWLIB])
23103 cat >confcache
<<\_ACEOF
23104 # This file is a shell script that caches the results of configure
23105 # tests run on this system so they can be shared between configure
23106 # scripts and configure runs, see configure's option --config-cache.
23107 # It is not useful on other systems. If it contains results you don't
23108 # want to keep, you may remove or edit it.
23110 # config.status only pays attention to the cache file if you give it
23111 # the --recheck option to rerun configure.
23113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23115 # following values.
23119 # The following way of writing the cache mishandles newlines in values,
23120 # but we know of no workaround that is simple, portable, and efficient.
23121 # So, don't put newlines in cache variables' values.
23122 # Ultrix sh set writes to stderr and can't be redirected directly,
23123 # and sets the high bit in the cache file unless we assign to the vars.
23126 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23128 # `set' does not quote correctly, so add quotes (double-quote
23129 # substitution turns \\\\ into \\, and sed turns \\ into \).
23132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23135 # `set' quotes correctly as required by POSIX, so do not add quotes.
23137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23146 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23148 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23149 if test -w $cache_file; then
23150 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23151 cat confcache
>$cache_file
23153 echo "not updating unwritable cache $cache_file"
23158 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23159 # Let make expand exec_prefix.
23160 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23162 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23163 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23164 # trailing colons and then remove the whole line if VPATH becomes empty
23165 # (actually we leave an empty line to preserve line numbers).
23166 if test "x$srcdir" = x.
; then
23167 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23168 s/:*\$(srcdir):*/:/;
23169 s/:*\${srcdir}:*/:/;
23171 s/^\([^=]*=[ ]*\):*/\1/;
23177 # Transform confdefs.h into DEFS.
23178 # Protect against shell expansion while executing Makefile rules.
23179 # Protect against Makefile macro expansion.
23181 # If the first sed substitution is executed (which looks for macros that
23182 # take arguments), then we branch to the quote section. Otherwise,
23183 # look for a macro that doesn't take arguments.
23184 cat >confdef2opt.
sed <<\_ACEOF
23187 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
23189 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
23193 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
23199 # We use echo to avoid assuming a particular line-breaking character.
23200 # The extra dot is to prevent the shell from consuming trailing
23201 # line-breaks from the sub-command output. A line-break within
23202 # single-quotes doesn't work because, if this script is created in a
23203 # platform that uses two characters for line-breaks (e.g., DOS), tr
23205 ac_LF_and_DOT=`echo; echo .
`
23206 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
23207 rm -f confdef2opt.sed
23212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23213 # 1. Remove the extension, and $U if already installed.
23214 ac_i=`echo "$ac_i" |
23215 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23217 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23218 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23220 LIBOBJS=$ac_libobjs
23222 LTLIBOBJS=$ac_ltlibobjs
23225 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23226 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23227 Usually this means the macro was only invoked conditionally." >&5
23228 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23229 Usually this means the macro was only invoked conditionally." >&2;}
23230 { (exit 1); exit 1; }; }
23232 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23233 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23234 Usually this means the macro was only invoked conditionally." >&5
23235 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23236 Usually this means the macro was only invoked conditionally." >&2;}
23237 { (exit 1); exit 1; }; }
23239 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23240 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23241 Usually this means the macro was only invoked conditionally." >&5
23242 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23243 Usually this means the macro was only invoked conditionally." >&2;}
23244 { (exit 1); exit 1; }; }
23246 if test -z "${NO_UNDEFINED_TRUE}" && test -z "${NO_UNDEFINED_FALSE}"; then
23247 { { echo "$as_me:$LINENO: error: conditional \"NO_UNDEFINED\" was never defined.
23248 Usually this means the macro was only invoked conditionally." >&5
23249 echo "$as_me: error: conditional \"NO_UNDEFINED\" was never defined.
23250 Usually this means the macro was only invoked conditionally." >&2;}
23251 { (exit 1); exit 1; }; }
23253 if test -z "${USE_SDL_TRUE}" && test -z "${USE_SDL_FALSE}"; then
23254 { { echo "$as_me:$LINENO: error: conditional \"USE_SDL\" was never defined.
23255 Usually this means the macro was only invoked conditionally." >&5
23256 echo "$as_me: error: conditional \"USE_SDL\" was never defined.
23257 Usually this means the macro was only invoked conditionally." >&2;}
23258 { (exit 1); exit 1; }; }
23260 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
23261 { { echo "$as_me:$LINENO: error: conditional \"USE_X11\" was never defined.
23262 Usually this means the macro was only invoked conditionally." >&5
23263 echo "$as_me: error: conditional \"USE_X11\" was never defined.
23264 Usually this means the macro was only invoked conditionally." >&2;}
23265 { (exit 1); exit 1; }; }
23268 : ${CONFIG_STATUS=./config.status}
23269 ac_clean_files_save=$ac_clean_files
23270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23271 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23272 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23273 cat >$CONFIG_STATUS <<_ACEOF
23275 # Generated by $as_me.
23276 # Run this file to recreate the current configuration.
23277 # Compiler output produced by configure, useful for debugging
23278 # configure, is in config.log if it exists.
23281 ac_cs_recheck=false
23283 SHELL=\${CONFIG_SHELL-$SHELL}
23286 cat >>$CONFIG_STATUS <<\_ACEOF
23287 ## --------------------- ##
23288 ## M4sh Initialization. ##
23289 ## --------------------- ##
23291 # Be Bourne compatible
23292 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23295 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23296 # is contrary to our usage. Disable this feature.
23297 alias -g '${1+"$@"}'='"$@"'
23298 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23301 DUALCASE=1; export DUALCASE # for MKS sh
23303 # Support unset when possible.
23304 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23311 # Work around bugs in pre-3.0 UWIN ksh.
23312 $as_unset ENV MAIL MAILPATH
23319 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23320 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23321 LC_TELEPHONE LC_TIME
23323 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
23324 eval $as_var=C; export $as_var
23330 # Required to use basename.
23331 if expr a : '\(a\)' >/dev/null 2>&1; then
23337 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23338 as_basename=basename
23344 # Name of the executable.
23345 as_me=`$as_basename "$0" ||
23346 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23347 X
"$0" : 'X\(//\)$' \| \
23348 X
"$0" : 'X\(/\)$' \| \
23349 .
: '\(.\)' 2>/dev
/null ||
23351 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23352 /^X\/\(\/\/\)$/{ s//\1/; q; }
23353 /^X\/\(\/\).*/{ s//\1/; q; }
23357 # PATH needs CR, and LINENO needs CR and PATH.
23358 # Avoid depending upon Character Ranges.
23359 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23360 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23361 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23362 as_cr_digits='0123456789'
23363 as_cr_alnum=$as_cr_Letters$as_cr_digits
23365 # The user is always right.
23366 if test "${PATH_SEPARATOR+set}" != set; then
23367 echo "#! /bin/sh" >conf$$.sh
23368 echo "exit 0" >>conf$$.sh
23370 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23379 as_lineno_1=$LINENO
23380 as_lineno_2=$LINENO
23381 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
23382 test "x$as_lineno_1" != "x$as_lineno_2" &&
23383 test "x$as_lineno_3" = "x$as_lineno_2" || {
23384 # Find who we are. Look in the path if we contain no path at all
23387 *[\\/]* ) as_myself=$0 ;;
23388 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23389 for as_dir in $PATH
23392 test -z "$as_dir" && as_dir=.
23393 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23398 # We did not find ourselves, most probably we were run as `sh COMMAND
'
23399 # in which case we are not to be found in the path.
23400 if test "x$as_myself" = x; then
23403 if test ! -f "$as_myself"; then
23404 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23405 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23406 { (exit 1); exit 1; }; }
23408 case $CONFIG_SHELL in
23410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23411 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23414 test -z "$as_dir" && as_dir=.
23415 for as_base in sh bash ksh sh5; do
23418 if ("$as_dir/$as_base" -c '
23419 as_lineno_1
=$LINENO
23420 as_lineno_2
=$LINENO
23421 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
23422 test "x$as_lineno_1" != "x$as_lineno_2" &&
23423 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23424 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23425 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23426 CONFIG_SHELL=$as_dir/$as_base
23427 export CONFIG_SHELL
23428 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23436 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23437 # uniformly replaced by the line number. The first 'sed' inserts a
23438 # line-number line before each line; the second 'sed' does the real
23439 # work. The second script uses 'N
' to pair each line-number line
23440 # with the numbered line, and appends trailing '-' during
23441 # substitution so that $LINENO is not a special case at line end.
23442 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23443 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
23444 sed '=' <$as_myself |
23449 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23452 s,^['$as_cr_digits']*\n,,
23453 ' >$as_me.lineno
&&
23454 chmod +x
$as_me.lineno ||
23455 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23456 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23457 { (exit 1); exit 1; }; }
23459 # Don't try to exec as it changes $[0], causing all sort of problems
23460 # (the dirname of $[0] is not the place where we might find the
23461 # original and so on. Autoconf is especially sensible to this).
23463 # Exit status is that of the last command.
23468 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23469 *c
*,-n*) ECHO_N
= ECHO_C
='
23471 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
23472 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
23475 if expr a
: '\(a\)' >/dev
/null
2>&1; then
23481 rm -f conf$$ conf$$.exe conf$$.
file
23483 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23484 # We could just check for DJGPP; but this test a) works b) is more generic
23485 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23486 if test -f conf$$.exe
; then
23487 # Don't use ln at all; we don't have any links
23492 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23497 rm -f conf$$ conf$$.exe conf$$.
file
23499 if mkdir
-p .
2>/dev
/null
; then
23502 test -d .
/-p && rmdir .
/-p
23506 as_executable_p
="test -f"
23508 # Sed expression to map a string onto a valid CPP name.
23509 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23511 # Sed expression to map a string onto a valid variable name.
23512 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23516 # We need space, tab and new line, in precisely that order.
23526 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23527 # report actual input values of CONFIG_FILES etc. instead of their
23528 # values after options handling. Logging --version etc. is OK.
23532 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23533 ## Running $as_me. ##
23538 This file was extended by $as_me, which was
23539 generated by GNU Autoconf 2.59. Invocation command line was
23541 CONFIG_FILES = $CONFIG_FILES
23542 CONFIG_HEADERS = $CONFIG_HEADERS
23543 CONFIG_LINKS = $CONFIG_LINKS
23544 CONFIG_COMMANDS = $CONFIG_COMMANDS
23548 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23552 # Files that config.status was made for.
23553 if test -n "$ac_config_files"; then
23554 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23557 if test -n "$ac_config_headers"; then
23558 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23561 if test -n "$ac_config_links"; then
23562 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23565 if test -n "$ac_config_commands"; then
23566 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23569 cat >>$CONFIG_STATUS <<\_ACEOF
23572 \`$as_me' instantiates files from templates according to the
23573 current configuration.
23575 Usage: $0 [OPTIONS] [FILE]...
23577 -h, --help print this help, then exit
23578 -V, --version print version number, then exit
23579 -q, --quiet do not print progress messages
23580 -d, --debug don't remove temporary files
23581 --recheck update $as_me by reconfiguring in the same conditions
23582 --file=FILE[:TEMPLATE]
23583 instantiate the configuration file FILE
23585 Configuration files:
23588 Configuration commands:
23591 Report bugs to <bug-autoconf@gnu.org>."
23594 cat >>$CONFIG_STATUS <<_ACEOF
23597 configured by $0, generated by GNU Autoconf 2.59,
23598 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23600 Copyright (C) 2003 Free Software Foundation, Inc.
23601 This config.status script is free software; the Free Software Foundation
23602 gives unlimited permission to copy, distribute and modify it."
23607 cat >>$CONFIG_STATUS <<\_ACEOF
23608 # If no file are specified by the user, then we need to provide default
23609 # value. By we need to know if files were specified by the user.
23615 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
23616 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
23624 *) # This is not an option, so the user has probably given explicit
23627 ac_need_defaults
=false
;;
23631 # Handling of the options.
23633 cat >>$CONFIG_STATUS <<\_ACEOF
23634 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23636 --version |
--vers* |
-V )
23637 echo "$ac_cs_version"; exit 0 ;;
23639 # Conflict between --help and --header
23640 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23641 Try \`$0 --help' for more information." >&5
23642 echo "$as_me: error: ambiguous option: $1
23643 Try \`$0 --help' for more information." >&2;}
23644 { (exit 1); exit 1; }; };;
23645 --help |
--hel |
-h )
23646 echo "$ac_cs_usage"; exit 0 ;;
23647 --debug |
--d* |
-d )
23649 --file |
--fil |
--fi |
--f )
23651 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23652 ac_need_defaults
=false
;;
23653 --header |
--heade |
--head |
--hea )
23655 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23656 ac_need_defaults
=false
;;
23657 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23658 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23661 # This is an error.
23662 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23663 Try \`$0 --help' for more information." >&5
23664 echo "$as_me: error: unrecognized option: $1
23665 Try \`$0 --help' for more information." >&2;}
23666 { (exit 1); exit 1; }; } ;;
23668 *) ac_config_targets
="$ac_config_targets $1" ;;
23674 ac_configure_extra_args
=
23676 if $ac_cs_silent; then
23678 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23682 cat >>$CONFIG_STATUS <<_ACEOF
23683 if \$ac_cs_recheck; then
23684 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23685 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23690 cat >>$CONFIG_STATUS <<_ACEOF
23692 # INIT-COMMANDS section.
23695 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23701 cat >>$CONFIG_STATUS <<\_ACEOF
23702 for ac_config_target
in $ac_config_targets
23704 case "$ac_config_target" in
23705 # Handling of arguments.
23706 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23707 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23708 "include/neuro/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/neuro/Makefile" ;;
23709 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23710 "src/memory/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/memory/Makefile" ;;
23711 "src/video/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/video/Makefile" ;;
23712 "src/events/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/events/Makefile" ;;
23713 "src/extlib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/extlib/Makefile" ;;
23714 "src/misc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/misc/Makefile" ;;
23715 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
23716 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23717 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23718 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23719 { (exit 1); exit 1; }; };;
23723 # If the user did not use the arguments to specify the items to instantiate,
23724 # then the envvar interface is used. Set only those that are not.
23725 # We use the long form for the default assignment because of an extremely
23726 # bizarre bug on SunOS 4.1.3.
23727 if $ac_need_defaults; then
23728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23729 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23732 # Have a temporary directory for convenience. Make it in the build tree
23733 # simply because there is no reason to put it here, and in addition,
23734 # creating and moving files from /tmp can sometimes cause problems.
23735 # Create a temporary directory, and hook for its removal unless debugging.
23738 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23739 trap '{ (exit 1); exit 1; }' 1 2 13 15
23742 # Create a (secure) tmp directory for tmp files.
23745 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23746 test -n "$tmp" && test -d "$tmp"
23749 tmp
=.
/confstat$$
-$RANDOM
23750 (umask 077 && mkdir
$tmp)
23753 echo "$me: cannot create a temporary directory in ." >&2
23754 { (exit 1); exit 1; }
23759 cat >>$CONFIG_STATUS <<_ACEOF
23762 # CONFIG_FILES section.
23765 # No need to generate the scripts if there are no CONFIG_FILES.
23766 # This happens for instance when ./config.status config.h
23767 if test -n "\$CONFIG_FILES"; then
23768 # Protect against being on the right side of a sed subst in config.status.
23769 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23770 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23771 s,@SHELL@,$SHELL,;t t
23772 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23773 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23774 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23775 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23776 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23777 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23778 s,@exec_prefix@,$exec_prefix,;t t
23779 s,@prefix@,$prefix,;t t
23780 s,@program_transform_name@,$program_transform_name,;t t
23781 s,@bindir@,$bindir,;t t
23782 s,@sbindir@,$sbindir,;t t
23783 s,@libexecdir@,$libexecdir,;t t
23784 s,@datadir@,$datadir,;t t
23785 s,@sysconfdir@,$sysconfdir,;t t
23786 s,@sharedstatedir@,$sharedstatedir,;t t
23787 s,@localstatedir@,$localstatedir,;t t
23788 s,@libdir@,$libdir,;t t
23789 s,@includedir@,$includedir,;t t
23790 s,@oldincludedir@,$oldincludedir,;t t
23791 s,@infodir@,$infodir,;t t
23792 s,@mandir@,$mandir,;t t
23793 s,@build_alias@,$build_alias,;t t
23794 s,@host_alias@,$host_alias,;t t
23795 s,@target_alias@,$target_alias,;t t
23796 s,@DEFS@,$DEFS,;t t
23797 s,@ECHO_C@,$ECHO_C,;t t
23798 s,@ECHO_N@,$ECHO_N,;t t
23799 s,@ECHO_T@,$ECHO_T,;t t
23800 s,@LIBS@,$LIBS,;t t
23801 s,@NEURO_MAJOR_VERSION@,$NEURO_MAJOR_VERSION,;t t
23802 s,@NEURO_MINOR_VERSION@,$NEURO_MINOR_VERSION,;t t
23803 s,@NEURO_MICRO_VERSION@,$NEURO_MICRO_VERSION,;t t
23804 s,@NEURO_INTERFACE_AGE@,$NEURO_INTERFACE_AGE,;t t
23805 s,@NEURO_BINARY_AGE@,$NEURO_BINARY_AGE,;t t
23806 s,@NEURO_VERSION@,$NEURO_VERSION,;t t
23807 s,@LT_CURRENT@,$LT_CURRENT,;t t
23808 s,@LT_REVISION@,$LT_REVISION,;t t
23809 s,@LT_AGE@,$LT_AGE,;t t
23810 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23811 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23812 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23813 s,@CYGPATH_W@,$CYGPATH_W,;t t
23814 s,@PACKAGE@,$PACKAGE,;t t
23815 s,@VERSION@,$VERSION,;t t
23816 s,@ACLOCAL@,$ACLOCAL,;t t
23817 s,@AUTOCONF@,$AUTOCONF,;t t
23818 s,@AUTOMAKE@,$AUTOMAKE,;t t
23819 s,@AUTOHEADER@,$AUTOHEADER,;t t
23820 s,@MAKEINFO@,$MAKEINFO,;t t
23821 s,@install_sh@,$install_sh,;t t
23822 s,@STRIP@,$STRIP,;t t
23823 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23824 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23825 s,@mkdir_p@,$mkdir_p,;t t
23827 s,@SET_MAKE@,$SET_MAKE,;t t
23828 s,@am__leading_dot@,$am__leading_dot,;t t
23829 s,@AMTAR@,$AMTAR,;t t
23830 s,@am__tar@,$am__tar,;t t
23831 s,@am__untar@,$am__untar,;t t
23832 s,@build@,$build,;t t
23833 s,@build_cpu@,$build_cpu,;t t
23834 s,@build_vendor@,$build_vendor,;t t
23835 s,@build_os@,$build_os,;t t
23836 s,@host@,$host,;t t
23837 s,@host_cpu@,$host_cpu,;t t
23838 s,@host_vendor@,$host_vendor,;t t
23839 s,@host_os@,$host_os,;t t
23841 s,@CXXFLAGS@,$CXXFLAGS,;t t
23842 s,@LDFLAGS@,$LDFLAGS,;t t
23843 s,@CPPFLAGS@,$CPPFLAGS,;t t
23844 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23845 s,@EXEEXT@,$EXEEXT,;t t
23846 s,@OBJEXT@,$OBJEXT,;t t
23847 s,@DEPDIR@,$DEPDIR,;t t
23848 s,@am__include@,$am__include,;t t
23849 s,@am__quote@,$am__quote,;t t
23850 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23851 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23852 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23853 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23854 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23855 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23857 s,@CFLAGS@,$CFLAGS,;t t
23858 s,@ac_ct_CC@,$ac_ct_CC,;t t
23859 s,@CCDEPMODE@,$CCDEPMODE,;t t
23860 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23861 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23863 s,@LN_S@,$LN_S,;t t
23864 s,@EGREP@,$EGREP,;t t
23865 s,@ECHO@,$ECHO,;t t
23867 s,@ac_ct_AR@,$ac_ct_AR,;t t
23868 s,@RANLIB@,$RANLIB,;t t
23869 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23870 s,@DLLTOOL@,$DLLTOOL,;t t
23871 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
23873 s,@ac_ct_AS@,$ac_ct_AS,;t t
23874 s,@OBJDUMP@,$OBJDUMP,;t t
23875 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
23876 s,@CXXCPP@,$CXXCPP,;t t
23878 s,@FFLAGS@,$FFLAGS,;t t
23879 s,@ac_ct_F77@,$ac_ct_F77,;t t
23880 s,@LIBTOOL@,$LIBTOOL,;t t
23881 s,@NO_UNDEFINED_TRUE@,$NO_UNDEFINED_TRUE,;t t
23882 s,@NO_UNDEFINED_FALSE@,$NO_UNDEFINED_FALSE,;t t
23883 s,@LIBOBJS@,$LIBOBJS,;t t
23884 s,@USE_SDL_TRUE@,$USE_SDL_TRUE,;t t
23885 s,@USE_SDL_FALSE@,$USE_SDL_FALSE,;t t
23886 s,@USE_X11_TRUE@,$USE_X11_TRUE,;t t
23887 s,@USE_X11_FALSE@,$USE_X11_FALSE,;t t
23888 s,@X_CFLAGS@,$X_CFLAGS,;t t
23889 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
23890 s,@X_LIBS@,$X_LIBS,;t t
23891 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
23892 s,@NEUROFLAGS@,$NEUROFLAGS,;t t
23893 s,@NEUROLIBFLAGS@,$NEUROLIBFLAGS,;t t
23894 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23899 cat >>$CONFIG_STATUS <<\_ACEOF
23900 # Split the substitutions into bite-sized pieces for seds with
23901 # small command number limits, like on Digital OSF/1 and HP-UX.
23902 ac_max_sed_lines
=48
23903 ac_sed_frag
=1 # Number of current file.
23904 ac_beg
=1 # First line for current file.
23905 ac_end
=$ac_max_sed_lines # Line after last line for current file.
23908 while $ac_more_lines; do
23909 if test $ac_beg -gt 1; then
23910 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23912 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
23914 if test ! -s $tmp/subs.frag
; then
23915 ac_more_lines
=false
23917 # The purpose of the label and of the branching condition is to
23918 # speed up the sed processing (if there are no `@' at all, there
23919 # is no need to browse any of the substitutions).
23920 # These are the two extra sed commands mentioned above.
23922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
23923 if test -z "$ac_sed_cmds"; then
23924 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
23926 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23928 ac_sed_frag
=`expr $ac_sed_frag + 1`
23930 ac_end
=`expr $ac_end + $ac_max_sed_lines`
23933 if test -z "$ac_sed_cmds"; then
23936 fi # test -n "$CONFIG_FILES"
23939 cat >>$CONFIG_STATUS <<\_ACEOF
23940 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
23941 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23943 - |
*:- |
*:-:* ) # input from stdin
23945 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23946 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23947 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23948 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23949 * ) ac_file_in
=$ac_file.
in ;;
23952 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23953 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23955 X"$ac_file" : 'X\(//\)[^/]' \| \
23956 X"$ac_file" : 'X\(//\)$' \| \
23957 X"$ac_file" : 'X\(/\)' \| \
23958 . : '\(.\)' 2>/dev/null ||
23960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23962 /^X\(\/\/\)$/{ s//\1/; q; }
23963 /^X\(\/\).*/{ s//\1/; q; }
23965 { if $as_mkdir_p; then
23970 while test ! -d "$as_dir"; do
23971 as_dirs
="$as_dir $as_dirs"
23972 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23974 X"$as_dir" : 'X\(//\)[^/]' \| \
23975 X"$as_dir" : 'X\(//\)$' \| \
23976 X"$as_dir" : 'X\(/\)' \| \
23977 . : '\(.\)' 2>/dev/null ||
23979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23981 /^X\(\/\/\)$/{ s//\1/; q; }
23982 /^X\(\/\).*/{ s//\1/; q; }
23985 test ! -n "$as_dirs" || mkdir
$as_dirs
23986 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23988 { (exit 1); exit 1; }; }; }
23992 if test "$ac_dir" != .
; then
23993 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23994 # A "../" for each directory in $ac_dir_suffix.
23995 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23997 ac_dir_suffix
= ac_top_builddir
=
24001 .
) # No --srcdir option. We are building in place.
24003 if test -z "$ac_top_builddir"; then
24006 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24008 [\\/]* | ?
:[\\/]* ) # Absolute path.
24009 ac_srcdir
=$srcdir$ac_dir_suffix;
24010 ac_top_srcdir
=$srcdir ;;
24011 *) # Relative path.
24012 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24013 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24016 # Do not use `cd foo && pwd` to compute absolute paths, because
24017 # the directories may not exist.
24019 .
) ac_abs_builddir
="$ac_dir";;
24022 .
) ac_abs_builddir
=`pwd`;;
24023 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24024 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24027 case $ac_abs_builddir in
24028 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24030 case ${ac_top_builddir}.
in
24031 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24032 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24033 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24036 case $ac_abs_builddir in
24037 .
) ac_abs_srcdir
=$ac_srcdir;;
24040 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24041 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24042 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24045 case $ac_abs_builddir in
24046 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24048 case $ac_top_srcdir in
24049 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24050 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24051 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24057 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24058 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24061 if test x
"$ac_file" != x-
; then
24062 { echo "$as_me:$LINENO: creating $ac_file" >&5
24063 echo "$as_me: creating $ac_file" >&6;}
24066 # Let's still pretend it is `configure' which instantiates (i.e., don't
24067 # use $as_me), people would be surprised to read:
24068 # /* config.h. Generated by config.status. */
24069 if test x
"$ac_file" = x-
; then
24072 configure_input
="$ac_file. "
24074 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24075 sed 's,.*/,,'` by configure."
24077 # First look for the input files in the build tree, otherwise in the
24079 ac_file_inputs
=`IFS=:
24080 for f in $ac_file_in; do
24082 -) echo $tmp/stdin ;;
24084 # Absolute (can't be DOS-style, as IFS=:)
24085 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24086 echo "$as_me: error: cannot find input file: $f" >&2;}
24087 { (exit 1); exit 1; }; }
24090 if test -f "$f"; then
24093 elif test -f "$srcdir/$f"; then
24098 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24099 echo "$as_me: error: cannot find input file: $f" >&2;}
24100 { (exit 1); exit 1; }; }
24103 done` ||
{ (exit 1); exit 1; }
24105 cat >>$CONFIG_STATUS <<_ACEOF
24109 cat >>$CONFIG_STATUS <<\_ACEOF
24111 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24112 s
,@configure_input@
,$configure_input,;t t
24113 s
,@srcdir@
,$ac_srcdir,;t t
24114 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24115 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24116 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24117 s
,@builddir@
,$ac_builddir,;t t
24118 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24119 s
,@top_builddir@
,$ac_top_builddir,;t t
24120 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24121 s
,@INSTALL@
,$ac_INSTALL,;t t
24122 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24124 if test x"$ac_file" != x-; then
24125 mv $tmp/out $ac_file
24133 cat >>$CONFIG_STATUS <<\_ACEOF
24136 # CONFIG_COMMANDS section.
24138 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
24139 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24140 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24141 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24142 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24143 X"$ac_dest" : 'X\(//\)[^/]' \| \
24144 X"$ac_dest" : 'X\(//\)$' \| \
24145 X"$ac_dest" : 'X\(/\)' \| \
24146 . : '\(.\)' 2>/dev/null ||
24148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24150 /^X\(\/\/\)$/{ s//\1/; q; }
24151 /^X\(\/\).*/{ s//\1/; q; }
24153 { if $as_mkdir_p; then
24158 while test ! -d "$as_dir"; do
24159 as_dirs="$as_dir $as_dirs"
24160 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24162 X"$as_dir" : 'X\(//\)[^/]' \| \
24163 X"$as_dir" : 'X\(//\)$' \| \
24164 X"$as_dir" : 'X\(/\)' \| \
24165 . : '\(.\)' 2>/dev/null ||
24167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24169 /^X\(\/\/\)$/{ s//\1/; q; }
24170 /^X\(\/\).*/{ s//\1/; q; }
24173 test ! -n "$as_dirs" || mkdir $as_dirs
24174 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
24175 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
24176 { (exit 1); exit 1; }; }; }
24180 if test "$ac_dir" != .; then
24181 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24182 # A "..
/" for each directory in $ac_dir_suffix.
24183 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24185 ac_dir_suffix= ac_top_builddir=
24189 .) # No --srcdir option. We are building in place.
24191 if test -z "$ac_top_builddir"; then
24194 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24196 [\\/]* | ?:[\\/]* ) # Absolute path.
24197 ac_srcdir=$srcdir$ac_dir_suffix;
24198 ac_top_srcdir=$srcdir ;;
24199 *) # Relative path.
24200 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24201 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24204 # Do not use `cd foo && pwd` to compute absolute paths, because
24205 # the directories may not exist.
24207 .) ac_abs_builddir="$ac_dir";;
24210 .) ac_abs_builddir=`pwd`;;
24211 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24212 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24215 case $ac_abs_builddir in
24216 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24218 case ${ac_top_builddir}. in
24219 .) ac_abs_top_builddir=$ac_abs_builddir;;
24220 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24221 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24224 case $ac_abs_builddir in
24225 .) ac_abs_srcdir=$ac_srcdir;;
24228 .) ac_abs_srcdir=$ac_abs_builddir;;
24229 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24230 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24233 case $ac_abs_builddir in
24234 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24236 case $ac_top_srcdir in
24237 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24238 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24239 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24244 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
24245 echo "$as_me: executing
$ac_dest commands
" >&6;}
24247 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24248 # Strip MF so we end up with the name of the file.
24249 mf=`echo "$mf" | sed -e 's/:.*$//'`
24250 # Check whether this is an Automake generated Makefile or not.
24251 # We used to match only the files named `Makefile.in', but
24252 # some people rename them; so instead we look at the file content.
24253 # Grep'ing the first line is not enough: some people post-process
24254 # each Makefile.in and add a new line on top of each file to say so.
24255 # So let's grep whole file.
24256 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24257 dirpart=`(dirname "$mf") 2>/dev/null ||
24258 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24259 X"$mf" : 'X\(//\)[^/]' \| \
24260 X"$mf" : 'X\(//\)$' \| \
24261 X"$mf" : 'X\(/\)' \| \
24262 . : '\(.\)' 2>/dev/null ||
24264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24265 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24266 /^X\(\/\/\)$/{ s//\1/; q; }
24267 /^X\(\/\).*/{ s//\1/; q; }
24272 # Extract the definition of DEPDIR, am__include, and am__quote
24273 # from the Makefile without running `make'.
24274 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24275 test -z "$DEPDIR" && continue
24276 am__include=`sed -n 's/^am__include = //p' < "$mf"`
24277 test -z "am__include
" && continue
24278 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24279 # When using ansi2knr, U may be empty or an underscore; expand it
24280 U=`sed -n 's/^U = //p' < "$mf"`
24281 # Find all dependency output files, they are included files with
24282 # $(DEPDIR) in their names. We invoke sed twice because it is the
24283 # simplest approach to changing $(DEPDIR) to its actual value in the
24285 for file in `sed -n "
24286 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
24287 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24288 # Make sure the directory exists.
24289 test -f "$dirpart/$file" && continue
24290 fdir=`(dirname "$file") 2>/dev/null ||
24291 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24292 X"$file" : 'X\(//\)[^/]' \| \
24293 X"$file" : 'X\(//\)$' \| \
24294 X"$file" : 'X\(/\)' \| \
24295 . : '\(.\)' 2>/dev/null ||
24297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24299 /^X\(\/\/\)$/{ s//\1/; q; }
24300 /^X\(\/\).*/{ s//\1/; q; }
24302 { if $as_mkdir_p; then
24303 mkdir -p $dirpart/$fdir
24305 as_dir=$dirpart/$fdir
24307 while test ! -d "$as_dir"; do
24308 as_dirs="$as_dir $as_dirs"
24309 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24311 X"$as_dir" : 'X\(//\)[^/]' \| \
24312 X"$as_dir" : 'X\(//\)$' \| \
24313 X"$as_dir" : 'X\(/\)' \| \
24314 . : '\(.\)' 2>/dev/null ||
24316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24318 /^X\(\/\/\)$/{ s//\1/; q; }
24319 /^X\(\/\).*/{ s//\1/; q; }
24322 test ! -n "$as_dirs" || mkdir $as_dirs
24323 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
24324 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
24325 { (exit 1); exit 1; }; }; }
24327 # echo "creating
$dirpart/$file"
24328 echo '# dummy' > "$dirpart/$file"
24336 cat >>$CONFIG_STATUS <<\_ACEOF
24338 { (exit 0); exit 0; }
24340 chmod +x $CONFIG_STATUS
24341 ac_clean_files=$ac_clean_files_save
24344 # configure is writing to config.log, and then calls config.status.
24345 # config.status does its own redirection, appending to config.log.
24346 # Unfortunately, on DOS this fails, as config.log is still kept open
24347 # by configure, so config.status won't be able to write to it; its
24348 # output is simply discarded. So we exec the FD to /dev/null,
24349 # effectively closing config.log, so it can be properly (re)opened and
24350 # appended to by config.status. When coming back to configure, we
24351 # need to make the FD available again.
24352 if test "$no_create" != yes; then
24354 ac_config_status_args=
24355 test "$silent" = yes &&
24356 ac_config_status_args="$ac_config_status_args --quiet"
24358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24361 # would make configure fail if this is the last instruction.
24362 $ac_cs_success || { (exit 1); exit 1; }
24367 echo "This is the low library Neuro will use
: $SELECTED_LOWLIB"